old-cross-binutils/ld/testsuite/ld-elf
Richard Sandiford 8c252fd9c3 bfd/
* elf.c (assign_file_positions_for_load_sections): Use p_memsz
	rather than p_filesz to calculate the LMA of the end of a segment.

ld/testsuite/
	* ld-elf/multibss1.d, ld-elf/multibss1.s: New test.
2007-05-10 14:46:48 +00:00
..
begin.c bfd/ 2006-07-12 15:45:33 +00:00
beginwarn.c bfd/ 2007-02-14 14:15:52 +00:00
binutils.exp ld/testsuite/ 2007-03-02 09:20:13 +00:00
commonpage1.d include/elf/ 2006-06-01 05:40:24 +00:00
del.cc bfd/ 2007-01-16 14:56:32 +00:00
dl1.c bfd/ 2006-09-07 17:16:34 +00:00
dl1.list bfd/ 2006-09-07 17:16:34 +00:00
dl1.out bfd/ 2006-09-07 17:16:34 +00:00
dl1main.c 2007-01-16 H.J. Lu <hongjiu.lu@intel.com> 2007-01-16 18:55:06 +00:00
dl2.c bfd/ 2006-09-07 17:16:34 +00:00
dl2.list bfd/ 2006-09-07 17:16:34 +00:00
dl2a.out bfd/ 2006-09-07 17:16:34 +00:00
dl2b.out bfd/ 2006-09-07 17:16:34 +00:00
dl2main.c bfd/ 2006-09-07 17:16:34 +00:00
dl2xxx.c bfd/ 2006-09-07 17:16:34 +00:00
dl2xxx.list bfd/ 2006-09-07 17:16:34 +00:00
dl3.cc bfd/ 2006-09-07 17:16:34 +00:00
dl3.list bfd/ 2006-09-07 17:16:34 +00:00
dl3a.out bfd/ 2006-09-07 17:16:34 +00:00
dl3b.out bfd/ 2006-09-07 17:16:34 +00:00
dl3header.h bfd/ 2006-09-07 17:16:34 +00:00
dl3main.cc bfd/ 2006-09-07 17:16:34 +00:00
dl4.c 2006-10-18 H.J. Lu <hongjiu.lu@intel.com> 2006-10-18 16:23:24 +00:00
dl4.list 2006-10-18 H.J. Lu <hongjiu.lu@intel.com> 2006-10-18 16:23:24 +00:00
dl4a.out 2006-10-18 H.J. Lu <hongjiu.lu@intel.com> 2006-10-18 16:23:24 +00:00
dl4b.out 2006-10-18 H.J. Lu <hongjiu.lu@intel.com> 2006-10-18 16:23:24 +00:00
dl4main.c 2006-10-18 H.J. Lu <hongjiu.lu@intel.com> 2006-10-18 16:23:24 +00:00
dl4xxx.c 2006-10-18 H.J. Lu <hongjiu.lu@intel.com> 2006-10-18 16:23:24 +00:00
dl4xxx.list 2006-10-18 H.J. Lu <hongjiu.lu@intel.com> 2006-10-18 16:23:24 +00:00
dl5.cc bfd/ 2007-01-16 14:56:32 +00:00
dl5.out bfd/ 2007-01-16 14:56:32 +00:00
dl6.c ld/ 2007-01-19 15:13:29 +00:00
dl6a.out ld/ 2007-01-19 15:13:29 +00:00
dl6amain.c ld/ 2007-01-19 15:13:29 +00:00
dl6b.out ld/ 2007-01-19 15:13:29 +00:00
dl6bmain.c ld/ 2007-01-19 15:13:29 +00:00
dl6cmain.c ld/ 2007-01-19 15:13:29 +00:00
dl6dmain.c ld/ 2007-01-19 15:13:29 +00:00
dummy.c bfd/ 2006-10-19 02:40:14 +00:00
dwarf.exp bfd/ 2006-10-19 02:40:14 +00:00
dwarf1.c bfd/ 2006-10-19 02:40:14 +00:00
dwarf1.h bfd/ 2006-10-19 02:40:14 +00:00
dwarf1.out bfd/ 2006-10-19 02:40:14 +00:00
dwarf1main.c bfd/ 2006-10-19 02:40:14 +00:00
eh-frame-hdr.d bfd/ 2006-12-04 08:57:09 +00:00
eh-frame-hdr.s bfd/ 2006-12-04 08:57:09 +00:00
eh1.d bfd/ 2006-06-20 02:22:16 +00:00
eh1.s 2006-05-23 H.J. Lu <hongjiu.lu@intel.com> 2006-05-24 02:39:16 +00:00
eh1a.s 2006-05-23 H.J. Lu <hongjiu.lu@intel.com> 2006-05-24 02:39:16 +00:00
eh2.d bfd/ 2006-06-20 02:22:16 +00:00
eh2a.s 2006-05-23 H.J. Lu <hongjiu.lu@intel.com> 2006-05-24 02:39:16 +00:00
eh3.d bfd/ 2006-06-20 02:22:16 +00:00
eh3.s 2006-05-23 H.J. Lu <hongjiu.lu@intel.com> 2006-05-24 02:39:16 +00:00
eh3a.s 2006-05-23 H.J. Lu <hongjiu.lu@intel.com> 2006-05-24 02:39:16 +00:00
eh4.d * elf-bfd.h (struct eh_cie_fde): Add set_loc pointer. 2006-10-03 13:15:39 +00:00
eh4.s * elf-bfd.h (struct eh_cie_fde): Add set_loc pointer. 2006-10-03 13:15:39 +00:00
eh4a.s * elf-bfd.h (struct eh_cie_fde): Add set_loc pointer. 2006-10-03 13:15:39 +00:00
eh5.d * elf-eh-frame.c (struct cie): New type. 2006-11-21 11:25:17 +00:00
eh5.s * elf-eh-frame.c (struct cie): New type. 2006-11-21 11:25:17 +00:00
eh5a.s * elf-eh-frame.c (struct cie): New type. 2006-11-21 11:25:17 +00:00
eh5b.s * elf-eh-frame.c (struct cie): New type. 2006-11-21 11:25:17 +00:00
elf.exp * ld-elf/elf.exp: Add "--local-store 0:0" to LDFLAGS for spu. 2007-03-22 23:44:00 +00:00
empty.d bfd/ 2005-04-13 16:44:08 +00:00
empty.s * ld-d10v/default_layout.d: Adjust for section removal. 2005-08-18 07:51:08 +00:00
empty2.d * ld-elf/empty2.d: Allow more symbols. 2005-10-26 07:53:15 +00:00
empty2.s ld/testsuite/ 2005-10-24 07:48:47 +00:00
end.c bfd/ 2006-07-12 15:45:33 +00:00
endhidden.c bfd/ 2006-07-12 15:45:33 +00:00
endprotected.c bfd/ 2006-07-12 15:45:33 +00:00
exclude.exp Update FSF addresses 2005-05-12 07:32:09 +00:00
exclude1.s gas/ 2005-02-21 08:39:53 +00:00
exclude2.s 2004-10-19 H.J. Lu <hongjiu.lu@intel.com> 2004-10-19 17:14:38 +00:00
expr1.d ld/ 2007-04-02 16:32:04 +00:00
expr1.s ld/ 2007-04-02 16:32:04 +00:00
expr1.t ld/ 2007-04-02 16:32:04 +00:00
extract-symbol-1.ld ld/testsuite/ 2007-03-08 17:54:29 +00:00
extract-symbol-1.s binutils/ 2007-03-01 16:39:42 +00:00
extract-symbol-1sec.d xfail hppa 2007-03-07 10:25:11 +00:00
extract-symbol-1sym.d xfail hppa 2007-03-07 10:25:11 +00:00
fini.c 2005-07-14 H.J. Lu <hongjiu.lu@intel.com> 2005-07-14 17:02:11 +00:00
fini.out 2005-07-14 H.J. Lu <hongjiu.lu@intel.com> 2005-07-14 17:02:11 +00:00
foo.c bfd/ 2006-07-12 15:45:33 +00:00
foo.map bfd/ 2006-07-12 15:45:33 +00:00
frame.exp * ld-d10v/default_layout.d: Adjust for section removal. 2005-08-18 07:51:08 +00:00
frame.s Fixes for assembling with an ARM targeted version of GAS 2004-05-18 16:18:56 +00:00
group.ld ld/ 2006-11-08 11:29:16 +00:00
group1.d * ld-d10v/default_layout.d: Adjust for section removal. 2005-08-18 07:51:08 +00:00
group1a.s 2004-12-01 Paul Brook <paul@codesourcery.com> 2004-12-01 23:23:12 +00:00
group1b.s 2004-12-01 Paul Brook <paul@codesourcery.com> 2004-12-01 23:23:12 +00:00
group2.d binutils/testsuite/ 2005-10-20 17:06:41 +00:00
group3a.d bfd/ 2006-12-07 13:32:02 +00:00
group3a.s bfd/ 2006-12-07 13:32:02 +00:00
group3b.d bfd/ 2006-12-07 13:32:02 +00:00
group3b.s bfd/ 2006-12-07 13:32:02 +00:00
hash.d 2006-09-15 H.J. Lu <hongjiu.lu@intel.com> 2006-09-15 14:55:42 +00:00
header.d * ld-elf/header.d: Reduce page size, restrict to linux & vxworks 2007-01-23 16:42:43 +00:00
header.s * ld-elf/header.d: Reduce page size, restrict to linux & vxworks 2007-01-23 16:42:43 +00:00
header.t * ld-elf/header.d: Reduce page size, restrict to linux & vxworks 2007-01-23 16:42:43 +00:00
hidden.out bfd/ 2006-07-12 15:45:33 +00:00
init.c 2005-07-14 H.J. Lu <hongjiu.lu@intel.com> 2005-07-14 17:02:11 +00:00
init.out 2005-07-14 H.J. Lu <hongjiu.lu@intel.com> 2005-07-14 17:02:11 +00:00
linkonce1.d PR 3958 2007-03-07 08:54:35 +00:00
linkonce1a.s PR 3958 2007-03-07 08:54:35 +00:00
linkonce1b.s PR 3958 2007-03-07 08:54:35 +00:00
linkonce2.d PR 3958 2007-03-07 08:54:35 +00:00
loadaddr.s 2006-09-15 H.J. Lu <hongjiu.lu@intel.com> 2006-09-15 14:48:46 +00:00
loadaddr1.d 2006-09-15 H.J. Lu <hongjiu.lu@intel.com> 2006-09-15 14:48:46 +00:00
loadaddr1.t 2006-08-23 H.J. Lu <hongjiu.lu@intel.com> 2006-08-23 14:45:30 +00:00
loadaddr2.d 2006-09-15 H.J. Lu <hongjiu.lu@intel.com> 2006-09-15 14:48:46 +00:00
loadaddr2.t 2006-08-23 H.J. Lu <hongjiu.lu@intel.com> 2006-08-23 14:45:30 +00:00
loadaddr3.t New tests. 2006-08-29 01:24:17 +00:00
loadaddr3a.d 2006-09-15 H.J. Lu <hongjiu.lu@intel.com> 2006-09-15 14:48:46 +00:00
loadaddr3b.d 2006-09-15 H.J. Lu <hongjiu.lu@intel.com> 2006-09-15 14:48:46 +00:00
main.c bfd/ 2006-07-12 15:45:33 +00:00
maxpage1.d include/elf/ 2006-06-01 05:40:24 +00:00
maxpage1.s include/elf/ 2006-06-01 05:40:24 +00:00
maxpage2.d include/elf/ 2006-06-01 05:40:24 +00:00
maxpage3.t ld/ 2007-01-19 15:06:27 +00:00
maxpage3a.d ld/ 2007-01-19 15:06:27 +00:00
maxpage3b.d ld/ 2007-01-19 15:06:27 +00:00
maxpage3c.d ld/ 2007-01-19 15:06:27 +00:00
merge.d Add support for Score target. 2006-09-16 23:51:50 +00:00
merge.ld
merge.s
merge2.d * ld-d10v/default_layout.d: Adjust for section removal. 2005-08-18 07:51:08 +00:00
merge2.s * ld-elf/merge2.s: New. 2003-09-10 23:35:40 +00:00
multibss1.d bfd/ 2007-05-10 14:46:48 +00:00
multibss1.s bfd/ 2007-05-10 14:46:48 +00:00
new.cc bfd/ 2007-01-16 14:56:32 +00:00
nobits-1.d 2007-03-06 H.J. Lu <hongjiu.lu@intel.com> 2007-03-07 03:58:44 +00:00
nobits-1.s 2007-03-06 H.J. Lu <hongjiu.lu@intel.com> 2007-03-07 03:58:44 +00:00
nobits-1.t 2007-03-06 H.J. Lu <hongjiu.lu@intel.com> 2007-03-07 03:58:44 +00:00
noload-1.d ld/ 2006-08-01 17:50:52 +00:00
noload-1.s ld/ 2006-08-01 17:50:52 +00:00
noload-1.t ld/ 2006-08-01 17:50:52 +00:00
normal.out bfd/ 2006-07-12 15:45:33 +00:00
note-1.d bfd/ 2007-03-22 15:50:38 +00:00
note-1.s * ld-elf/note-1.s: Increase .foo size. 2007-03-27 14:14:19 +00:00
note-1.t bfd/ 2007-03-22 15:50:38 +00:00
orphan.d bfd/ 2006-10-17 13:41:49 +00:00
orphan.ld * ld-elf/orphan.ld: Add placement for MIPS .reginfo section. 2006-05-16 13:58:51 +00:00
orphan.s 2005-10-21 H.J. Lu <hongjiu.lu@intel.com> 2005-10-21 21:18:05 +00:00
orphan2.d bfd/ 2006-10-17 13:41:49 +00:00
orphan2.s 2005-12-18 H.J. Lu <hongjiu.lu@intel.com> 2005-12-18 23:50:41 +00:00
overlay.d ld/ 2007-03-24 06:49:03 +00:00
overlay.s 2006-08-23 H.J. Lu <hongjiu.lu@intel.com> 2006-08-23 14:43:56 +00:00
overlay.t 2006-08-23 H.J. Lu <hongjiu.lu@intel.com> 2006-08-23 14:43:56 +00:00
preinit.c 2005-07-14 H.J. Lu <hongjiu.lu@intel.com> 2005-07-14 17:02:11 +00:00
preinit.out 2005-07-14 H.J. Lu <hongjiu.lu@intel.com> 2005-07-14 17:02:11 +00:00
sec64k.exp PR ld/3805 2007-02-06 15:26:53 +00:00
shared.exp bfd/ 2007-02-14 14:15:52 +00:00
stab.d 2006-05-14 H.J. Lu <hongjiu.lu@intel.com> 2006-05-15 00:48:44 +00:00
start.s * ld-elf/sec64k.exp: Add "main" symbol. Use dc.a for addresses. 2006-06-05 12:53:50 +00:00
symbol1ref.s 2006-11-06 Vladimir Prus <vladimir@codesourcery.com> 2006-11-06 12:15:35 +00:00
symbol1w.s 2005-02-11 Paul Brook <paul@codesourcery.com> 2005-02-11 17:01:17 +00:00
symbol2ref.s * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): 2006-11-06 10:39:17 +00:00
symbol2w.s 2006-11-07 Vladimir Prus <vladimir@codesourcery.com> 2006-11-08 10:21:12 +00:00
table.s Fixes for assembling with an ARM targeted version of GAS 2004-05-18 16:18:56 +00:00
tbss.s gas/testsuite/ 2005-03-22 14:20:38 +00:00
tbss1.s include/elf/ 2006-06-01 05:40:24 +00:00
tbss2.s include/elf/ 2006-06-01 05:40:24 +00:00
tdata1.s include/elf/ 2006-06-01 05:40:24 +00:00
tdata2.s include/elf/ 2006-06-01 05:40:24 +00:00
tls_common.exp * ld-elf/tls_common.exp: Match 32-bit output. 2006-06-21 05:36:17 +00:00
tls_common.s * elflink.c (elf_link_add_object_symbols): Don't create .tcommon 2006-06-20 16:36:18 +00:00
unknown.d binutils/testsuite/ 2005-10-20 17:06:41 +00:00
unknown2.d * ld-elf/unknown2.d: Only run for *-*-linux*. 2005-12-19 11:59:15 +00:00
unknown2.s 2005-12-18 H.J. Lu <hongjiu.lu@intel.com> 2005-12-18 16:21:49 +00:00
warn.out bfd/ 2007-02-14 14:15:52 +00:00
warn1.d * ld-d10v/default_layout.d: Adjust for section removal. 2005-08-18 07:51:08 +00:00
warn2.d * ld-elf/warn2.d: Match regex also for the second segment. 2006-11-23 16:50:39 +00:00
wrap.exp bfd/ 2006-12-29 17:56:32 +00:00
wrap1.c bfd/ 2006-12-29 17:56:32 +00:00
wrap1.out bfd/ 2006-12-29 17:56:32 +00:00
wrap1a.c bfd/ 2006-12-29 17:56:32 +00:00
wrap1b.c bfd/ 2006-12-29 17:56:32 +00:00