old-cross-binutils/ld/testsuite/ld-scripts
Alan Modra d2667025dd ld/
* ldlang.h (lang_output_section_statement_type): Add after_end field.
	(lang_abs_symbol_at_beginning_of, lang_abs_symbol_at_end_of): Delete.
	(section_for_dot): Declare.
	* ldlang.c (lang_size_sections_1): Correct comment.
	(current_section): Move earlier.
	(current_assign, prefer_next_section): New static vars.
	(lang_do_assignments_1): Add found_end param.  Detect _end
	assignment to set found_end.  Set os->after_end.  Set above statics.
	(lang_do_assignments): Adjust lang_do_assignments_1 call.  Init
	vars.
	(section_for_dot): New function.
	(lang_set_startof): Don't make an absolute symbol.
	(lang_abs_symbol_at_beginning_of, lang_abs_symbol_at_end_of): Delete.
	* ldexp.c (new_rel_from_abs): Use section_for_dot.
	* emultempl/lnk960.em (symbol_at_beginning_of): New function.
	(symbol_at_end_of): Likewise.
	(lnk960_after_allocation): Use them.
	* scripttempl/elf.sc: Precede OTHER_GOT_SYMBOLS with . = .; and
	likewise before __bss_start.

ld/testsuite/
Update far too many tests.
2012-06-15 15:13:41 +00:00
..
align.exp * coff-z80.c (z80coff_vec): Allow sections to be of type SEC_CODE or SEC_DATA 2009-10-17 17:18:28 +00:00
align.s
align.t
align2.t
align2a.d
align2a.s
align2b.d
align2b.s
align2c.d
align2c.s
alignof.exp
alignof.s
alignof.t
assert.exp Add a test for linker ASSERT. 2011-01-10 14:37:40 +00:00
assert.s
assert.t
assert2.d Remove the extra `.'. 2011-01-10 15:03:15 +00:00
assert2.t Add a test for linker ASSERT. 2011-01-10 14:37:40 +00:00
cross1.c
cross1.t
cross2.c
cross2.t
cross3.c
cross3.t
cross4.c
crossref.exp include/elf/ 2011-03-31 08:58:28 +00:00
data.d
data.exp update copyright dates 2009-09-02 07:25:43 +00:00
data.s
data.t
default-script.exp update copyright dates 2009-09-02 07:25:43 +00:00
default-script.s
default-script.t
default-script1.d
default-script2.d PR ld/12001 2010-12-20 06:27:11 +00:00
default-script3.d
default-script4.d
defined.exp * ld-scripts/defined.exp: Don't run defined5 for AOUT. 2011-02-10 08:04:22 +00:00
defined.s
defined.t
defined2.d
defined2.t
defined3.d
defined3.t
defined4.d Add xfail and notarget. 2011-01-13 15:23:59 +00:00
defined4.s Add testcases for PR ld/12327. 2010-12-28 18:04:10 +00:00
defined4.t Add testcases for PR ld/12327. 2010-12-28 18:04:10 +00:00
defined5.d Add a testcase for PR ld/12356. 2011-01-13 17:07:52 +00:00
defined5.s * ld-scripts/defined.exp: Don't run defined5 for AOUT. 2011-02-10 08:04:22 +00:00
defined5.t * ld-scripts/defined.exp: Don't run defined5 for AOUT. 2011-02-10 08:04:22 +00:00
dynamic-sections-1.s
dynamic-sections-2.s
dynamic-sections.d
dynamic-sections.exp
dynamic-sections.t
empty-address-1.d ld/ 2012-06-15 15:13:41 +00:00
empty-address-1.s
empty-address-1.t
empty-address-2.s
empty-address-2a.d ld/ 2012-06-15 15:13:41 +00:00
empty-address-2a.t
empty-address-2b.d ld/ 2012-06-15 15:13:41 +00:00
empty-address-2b.t
empty-address-3.s
empty-address-3a.d ld/ 2012-06-15 15:13:41 +00:00
empty-address-3a.t
empty-address-3b.d ld/ 2012-06-15 15:13:41 +00:00
empty-address-3b.t
empty-address-3c.d ld/ 2012-06-15 15:13:41 +00:00
empty-address-3c.t
empty-address.exp update copyright dates 2009-09-02 07:25:43 +00:00
empty-aligned.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
empty-aligned.exp
empty-aligned.s
empty-aligned.t
empty-orphan.d
empty-orphan.exp update copyright dates 2009-09-02 07:25:43 +00:00
empty-orphan.s
empty-orphan.t
expr.exp * ld-scripts/sane1.d, * ld-scripts/sane1.t: New test. 2011-01-23 03:29:30 +00:00
expr1.d
expr1.s
expr1.t
expr2.d Add xfail and notarget. 2011-01-13 15:23:59 +00:00
expr2.s Add testcases for PR ld/12327. 2010-12-28 18:04:10 +00:00
expr2.t Add testcases for PR ld/12327. 2010-12-28 18:04:10 +00:00
extern.exp
extern.s
extern.t
include-1.d
include-1.t
include-data.t
include-mem.t
include-ram.t
include-sections.t
include-subdata.t
include.exp update copyright dates 2009-09-02 07:25:43 +00:00
include.s
map-address.d
map-address.exp update copyright dates 2009-09-02 07:25:43 +00:00
map-address.t
memory.t binutils/ 2010-08-19 05:51:50 +00:00
overlay-size-map.d
overlay-size.d * ld-elf/extract-symbol-1sec.d: Expect to fail for the RX target. 2009-11-18 16:37:56 +00:00
overlay-size.exp update copyright dates 2009-09-02 07:25:43 +00:00
overlay-size.s
overlay-size.t
phdrs.exp * readelf.c (get_machine_dlags): Add support for RX's PID mode. 2011-10-05 14:13:31 +00:00
phdrs.s
phdrs.t
phdrs2.exp Replace --private with --private-headers for objdump. 2011-05-16 13:47:28 +00:00
phdrs2.s
phdrs2.t
phdrs3.d * ld-scripts/phdrs3.d: Allow colon in name of linker binary. 2009-10-14 23:12:16 +00:00
phdrs3.exp * ld-scripts/phdrs3.exp (LDFLAGS): Add "--local-store 0:0" for SPU. 2009-11-02 03:44:20 +00:00
phdrs3.t ld/ 2009-10-07 07:25:36 +00:00
phdrs3a.d 2009-10-07 H.J. Lu <hongjiu.lu@intel.com> 2009-10-08 02:38:26 +00:00
phdrs3a.t 2009-10-07 H.J. Lu <hongjiu.lu@intel.com> 2009-10-08 02:38:26 +00:00
provide-1.d
provide-1.s
provide-1.t
provide-2.d
provide-2.s
provide-2.t
provide-3.d
provide-3.s
provide-3.t
provide.exp update copyright dates 2009-09-02 07:25:43 +00:00
region-alias-1.t
region-alias-2.t
region-alias-3.t
region-alias-4.t
rgn-at.exp
rgn-at.s
rgn-at1.d * ld-elf/extract-symbol-1sec.d: Expect to fail for the RX target. 2009-11-18 16:37:56 +00:00
rgn-at1.t
rgn-at2.d * ld-elf/extract-symbol-1sec.d: Expect to fail for the RX target. 2009-11-18 16:37:56 +00:00
rgn-at2.t
rgn-at3.d * ld-elf/extract-symbol-1sec.d: Expect to fail for the RX target. 2009-11-18 16:37:56 +00:00
rgn-at3.t
rgn-at4.d * ld-elf/extract-symbol-1sec.d: Expect to fail for the RX target. 2009-11-18 16:37:56 +00:00
rgn-at4.t
rgn-at5.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
rgn-at5.s * ld-elf/group3b.d: Disable for generic linker targets. 2010-09-16 00:28:57 +00:00
rgn-at5.t * script-sections.cc(class Memory_region): Remove 2010-10-06 08:58:59 +00:00
rgn-over.exp update copyright dates 2009-09-02 07:25:43 +00:00
rgn-over.s
rgn-over1.d
rgn-over1.t
rgn-over2.d
rgn-over2.t
rgn-over3.d
rgn-over3.t
rgn-over4.d
rgn-over4.t
rgn-over5.d
rgn-over5.t
rgn-over6.d
rgn-over6.t
rgn-over7.d
rgn-over7.t
rgn-over8-ok.d * ld-elf/extract-symbol-1sec.d: Expect to fail for the RX target. 2009-11-18 16:37:56 +00:00
rgn-over8.s
rgn-over8.t
sane1.d * ld-scripts/sane1.d, * ld-scripts/sane1.t: New test. 2011-01-23 03:29:30 +00:00
sane1.t * ld-scripts/sane1.d, * ld-scripts/sane1.t: New test. 2011-01-23 03:29:30 +00:00
script.exp * ld/testsuite/ld-scripts/script.exp: Remove full path from REGION_ALIAS test 2010-11-30 13:38:59 +00:00
script.s
script.t
scriptm.t
section-flags-1.s include/ChangeLog 2011-07-11 15:03:09 +00:00
section-flags-1.t include/ChangeLog 2011-07-11 15:03:09 +00:00
section-flags-2.s include/ChangeLog 2011-07-11 15:03:09 +00:00
section-flags-2.t include/ChangeLog 2011-07-11 15:03:09 +00:00
section-flags.exp * ld-scripts/section-flags.exp: Pass --local-store 0:0 for 2011-07-14 06:49:45 +00:00
section-match-1.d * ld-gc/abi-note.d: Exclude aout and oldld targets. 2010-09-10 07:18:36 +00:00
section-match-1.s * ld-scripts/section-match.exp: New file. Runs ths 2010-09-01 08:05:16 +00:00
section-match-1.t * ld-scripts/section-match.exp: New file. Runs ths 2010-09-01 08:05:16 +00:00
section-match.exp * ld-scripts/section-match.exp: New file. Runs ths 2010-09-01 08:05:16 +00:00
size-1.d
size-1.s
size-1.t
size-2.d
size-2.s
size-2.t
size.exp update copyright dates 2009-09-02 07:25:43 +00:00
sizeof.exp update copyright dates 2009-09-02 07:25:43 +00:00
sizeof.s
sizeof.t
sort.exp * config/tc-h8300.c (h8300_elf_section): New function - issue a 2010-01-13 14:08:54 +00:00
sort.t
sort_b_a-1.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_a-1.s
sort_b_a.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_a.s
sort_b_a.t
sort_b_a_a-1.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_a_a-2.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_a_a-3.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_a_a.t
sort_b_a_n-1.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_a_n-2.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_a_n-3.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_a_n.t
sort_b_n-1.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_n-1.s
sort_b_n.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_n.s
sort_b_n.t
sort_b_n_a-1.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_n_a-2.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_n_a-3.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_n_a.t
sort_b_n_n-1.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_n_n-2.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_n_n-3.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_b_n_n.t
sort_n_a-a.s
sort_n_a-b.s
sort_no-1.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_no-2.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
sort_no.t
weak.exp * ld-elf/flags1.d: Don't xfail tic6x. 2011-05-13 04:19:18 +00:00
weak.t
weak1.s
weak2.s