old-cross-binutils/ld/testsuite/ld-elf
H.J. Lu 258795f524 ld/
2009-01-16  H.J. Lu  <hongjiu.lu@intel.com>

	* lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT.
	(ld_options): Add -Ttext-segment.
	(parse_args): Handle OPTION_TTEXT_SEGMENT.

	* ld.texinfo: Document -Ttext-segment.

	* NEWS: Mention -Ttext-segment.

	* scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START.
	(SHLIB_TEXT_START_ADDR): Likewise.

ld/testsuite/

2009-01-16  H.J. Lu  <hongjiu.lu@intel.com>

	* ld-elf/textaddr1.d: New.
	* ld-elf/textaddr2.d: Likewise.
2009-01-16 14:14:07 +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 missed from last commit 2008-05-07 04:52:35 +00:00
comm1.c bfd/ 2008-09-16 14:09:34 +00:00
commonpage1.d include/elf/ 2006-06-01 05:40:24 +00:00
data1.c 2007-05-15 H.J. Lu <hongjiu.lu@intel.com> 2007-05-15 13:57:03 +00:00
data1.h 2007-05-15 H.J. Lu <hongjiu.lu@intel.com> 2007-05-15 13:57:03 +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.list * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): 2007-05-14 08:53:23 +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 Update sources to GPLv3 2007-07-06 14:09:45 +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
dynbss1.c 2007-05-15 H.J. Lu <hongjiu.lu@intel.com> 2007-05-15 13:57:03 +00:00
eh-frame-hdr.d Provide virtual target "cfi" for targets supporting CFI. 2008-09-20 08:42:53 +00:00
eh-frame-hdr.s bfd/ 2006-12-04 08:57:09 +00:00
eh-group.exp * ld-elf/eh-group.exp: Only run on ELF targets. 2008-09-25 03:16:42 +00:00
eh-group1.s Provide virtual target "cfi" for targets supporting CFI. 2008-09-20 08:42:53 +00:00
eh-group2.s Provide virtual target "cfi" for targets supporting CFI. 2008-09-20 08:42:53 +00:00
eh1.d * dwarf.c (display_debug_frames): Change text for uniformity. 2008-10-06 16:27:35 +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 * dwarf.c (display_debug_frames): Change text for uniformity. 2008-10-06 16:27:35 +00:00
eh2a.s 2006-05-23 H.J. Lu <hongjiu.lu@intel.com> 2006-05-24 02:39:16 +00:00
eh3.d * dwarf.c (display_debug_frames): Change text for uniformity. 2008-10-06 16:27:35 +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 * dwarf.c (display_debug_frames): Change text for uniformity. 2008-10-06 16:27:35 +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 * dwarf.c (display_debug_frames): Change text for uniformity. 2008-10-06 16:27:35 +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 * ld-elf/eh-group.exp: Only run on ELF targets. 2008-09-25 03:16:42 +00:00
eh6.d * dwarf.c (display_debug_frames): Change text for uniformity. 2008-10-06 16:27:35 +00:00
eh6.s bfd/ 2008-01-09 09:36:11 +00:00
elf.exp * ld-elf/elf.exp: Save and restore LDFLAGS. 2009-01-12 13:57:59 +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 bfd: 2007-08-28 13:21:58 +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 bfd/ 2008-09-29 14:12:02 +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
flags1.d * ld-elf/flags1.d: Adjust for MIPS text alignment. 2008-03-26 16:02:25 +00:00
flags1.ld 2007-11-13 H.J. Lu <hongjiu.lu@intel.com> 2007-11-13 13:20:02 +00:00
flags1.s 2007-11-13 H.J. Lu <hongjiu.lu@intel.com> 2007-11-13 13:20:02 +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 Update sources to GPLv3 2007-07-06 14:09:45 +00:00
frame.s Fixes for assembling with an ARM targeted version of GAS 2004-05-18 16:18:56 +00:00
func1.c bfd/ 2008-09-16 14:09:34 +00:00
group.ld * ld-elf/group.ld: Discard .reginfo. 2007-05-18 19:04:51 +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
group4.d 2008-10-03 H.J. Lu <hongjiu.lu@intel.com> 2008-10-03 14:08:38 +00:00
group5.d binutils/testsuite/ 2008-10-03 15:08:22 +00:00
group6.d binutils/testsuite/ 2008-10-03 15:08:22 +00:00
group7.d 2008-10-04 H.J. Lu <hongjiu.lu@intel.com> 2008-10-04 14:55:47 +00:00
group8.s bfd/ 2009-01-14 21:52:49 +00:00
group8a.d bfd/ 2009-01-14 21:52:49 +00:00
group8b.d bfd/ 2009-01-14 21:52:49 +00:00
group9.s bfd/ 2009-01-14 21:52:49 +00:00
group9a.d bfd/ 2009-01-14 21:52:49 +00:00
group9b.d bfd/ 2009-01-14 21:52:49 +00:00
hash.d binutils/ 2007-10-09 13:32:50 +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
linkoncerdiff.d bfd/ 2009-01-11 21:09:49 +00:00
linkoncerdiff1.s bfd/ 2009-01-11 21:09:49 +00:00
linkoncerdiff2.s bfd/ 2009-01-11 21:09:49 +00:00
lma.lnk PR 6473 2008-05-05 01:43:55 +00:00
lma.s PR 6473 2008-05-05 01:43:55 +00:00
loadaddr.s 2006-09-15 H.J. Lu <hongjiu.lu@intel.com> 2006-09-15 14:48:46 +00:00
loadaddr.t * ld-elf/loadaddr.t: New, extracted from.. 2008-01-26 02:57:06 +00:00
loadaddr1.d * ld-elf/loadaddr.t: New, extracted from.. 2008-01-26 02:57:06 +00:00
loadaddr1.t * ld-elf/loadaddr.t: New, extracted from.. 2008-01-26 02:57:06 +00:00
loadaddr2.d * ld-elf/loadaddr.t: New, extracted from.. 2008-01-26 02:57:06 +00:00
loadaddr2.t * ld-elf/loadaddr.t: New, extracted from.. 2008-01-26 02:57:06 +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 LM32 port. 2008-12-23 19:10:25 +00:00
merge.ld * ld-elf/elf.exp: Renamed from sec64k.exp. Add test_list loop. 2002-11-21 13:30:31 +00:00
merge.s * ld-elf/elf.exp: Renamed from sec64k.exp. Add test_list loop. 2002-11-21 13:30:31 +00:00
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 2007-05-17 Paul Brook <paul@codesourcery.com> 2007-05-17 16:54:38 +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
noload-2.d 2007-06-28 H.J. Lu <hongjiu.lu@intel.com> 2007-06-29 03:10:53 +00:00
noload-3.d bfd/ 2008-01-07 16:45:35 +00:00
noload-3.s bfd/ 2008-01-07 16:45:35 +00:00
noload-3.t bfd/ 2008-01-07 16:45:35 +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
note-2.d bfd/ 2007-12-24 16:58:23 +00:00
note-2.s bfd/ 2007-12-24 16:58:23 +00:00
note-2.t bfd/ 2007-12-24 16:58:23 +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
pass.out 2007-05-15 H.J. Lu <hongjiu.lu@intel.com> 2007-05-15 13:57:03 +00:00
pr9676-1.c bfd/ 2009-01-02 16:48:11 +00:00
pr9676-2.c bfd/ 2009-01-02 16:48:11 +00:00
pr9676-3.c bfd/ 2009-01-02 16:48:11 +00:00
pr9676-4.c bfd/ 2009-01-02 16:48:11 +00:00
pr9676.rd bfd/ 2009-01-02 16:48:11 +00:00
pr9679-1.c bfd/ 2009-01-02 19:29:38 +00:00
pr9679-2.c bfd/ 2009-01-02 19:29:38 +00:00
pr9679.rd bfd/ 2009-01-02 19:29:38 +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
relro1.s bfd/ 2007-09-18 00:25:07 +00:00
relro2.s bfd/ 2007-09-18 00:25:07 +00:00
sec-to-seg-script-adjoining-pages.t * ld-elf/sec-to-seg.exp: New test: Checks the assignment of 2008-07-30 10:28:31 +00:00
sec-to-seg-script-disjoint-pages.t * ld-elf/sec-to-seg.exp: New test: Checks the assignment of 2008-07-30 10:28:31 +00:00
sec-to-seg-script-same-page.t * ld-elf/sec-to-seg.exp: New test: Checks the assignment of 2008-07-30 10:28:31 +00:00
sec-to-seg.exp * ld-elf/sec-to-seg.exp: New test: Checks the assignment of 2008-07-30 10:28:31 +00:00
sec-to-seg1.s * ld-elf/sec-to-seg1.s: Shorten test data to align the section to 2008-08-17 20:42:53 +00:00
sec-to-seg2.s * ld-elf/sec-to-seg.exp: New test: Checks the assignment of 2008-07-30 10:28:31 +00:00
sec64k.exp include/elf/ 2008-03-12 08:37:09 +00:00
seg.d ld/testsuite/ 2008-02-22 23:10:45 +00:00
seg.s * ld-elf/seg.t: New. 2007-12-19 10:22:02 +00:00
seg.t * ld-elf/seg.t: New. 2007-12-19 10:22:02 +00:00
shared.exp bfd/ 2009-01-02 19:29:38 +00:00
stab.d 2008-10-03 Tristan Gingold <gingold@adacore.com> 2008-10-03 14:13:37 +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
textaddr1.d ld/ 2009-01-16 14:14:07 +00:00
textaddr2.d ld/ 2009-01-16 14:14:07 +00:00
tls_common.exp bfd: 2007-08-28 13:21:58 +00:00
tls_common.s * elflink.c (elf_link_add_object_symbols): Don't create .tcommon 2006-06-20 16:36:18 +00:00
tls_gc.s oops - omitted from previous delta 2007-11-20 16:58:47 +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
weak-dyn-1.ld bfd/ 2007-07-23 09:56:19 +00:00
weak-dyn-1.rd ld/ 2007-07-29 12:33:38 +00:00
weak-dyn-1a.s Remove unnecessary symbols from last commit. 2007-07-23 10:04:01 +00:00
weak-dyn-1b.s Remove unnecessary symbols from last commit. 2007-07-23 10:04:01 +00:00
wrap.exp Update sources to GPLv3 2007-07-06 14:09:45 +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