binutils-gdb/ld/testsuite/ld-scripts
Nick Clifton 52b010e442 * config/tc-h8300.c (h8300_elf_section): New function - issue a
warning message if a new section is created without setting any
        attributes for it.
        (md_pseudo_table): Intercept section creation pseudos.
        (md_pcrel_from): Replace abort with an error message.
        * config/obj-elf.c (obj_elf_section_name): Export this function.
        * config/obj-elf.h (obj_elf_section_name): Prototype.

        * gas/elf/section0.d: Skip this test for the h8300.
        * gas/elf/section1.d: Likewise.
        * gas/elf/section6.d: Likewise.
        * gas/elf/elf.exp: Skip section2 and section5 tests when the
        target is the h8300.

        * ld-scrips/sort.exp: Skip these tests when the target is the
        h8300.
2010-01-13 14:08:54 +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 * ldgram.y (exp): Add two operand ALIGN. 2004-02-20 15:31:10 +00:00
align.t * ldgram.y (exp): Add two operand ALIGN. 2004-02-20 15:31:10 +00:00
align2.t * ld-elf/warn1.d: Specify -Ttext. 2005-02-21 08:18:49 +00:00
align2a.d Add x86_64-mingw64 target 2006-09-20 11:35:11 +00:00
align2a.s * ldexp.c (assigning_to_dot): New global flag. 2005-02-17 20:57:01 +00:00
align2b.d * ld-elf/warn1.d: Specify -Ttext. 2005-02-21 08:18:49 +00:00
align2b.s * ldexp.c (assigning_to_dot): New global flag. 2005-02-17 20:57:01 +00:00
align2c.d * ldexp.c (assigning_to_dot): New global flag. 2005-02-17 20:57:01 +00:00
align2c.s * ldexp.c (assigning_to_dot): New global flag. 2005-02-17 20:57:01 +00:00
alignof.exp include 2007-11-04 23:49:09 +00:00
alignof.s * ldlex.l, ldgram.y: Add ALIGNOF. 2007-06-18 12:38:22 +00:00
alignof.t * ldlex.l, ldgram.y: Add ALIGNOF. 2007-06-18 12:38:22 +00:00
assert.exp update copyright dates 2009-09-02 07:25:43 +00:00
assert.s gas/ 2004-04-15 01:49:22 +00:00
assert.t * ld-scripts/assert.t: Tweak to avoid relying on empty's VMA being 2007-07-13 09:09:25 +00:00
cross1.c 19990502 sourceware import 1999-05-03 07:29:11 +00:00
cross1.t * ld-scripts/cross1.t: Remove .opd section spec. 2004-08-17 01:18:50 +00:00
cross2.c 19990502 sourceware import 1999-05-03 07:29:11 +00:00
cross2.t * ld-checks/checks.exp: .lcomm is incompatible with ppc coff. 2001-08-27 10:49:55 +00:00
cross3.c 19990502 sourceware import 1999-05-03 07:29:11 +00:00
cross3.t * ld-scripts/cross3.t: Add .opd section. 2007-06-18 18:53:45 +00:00
cross4.c 2005-10-04 H.J. Lu <hongjiu.lu@intel.com> 2005-10-04 19:54:08 +00:00
crossref.exp update copyright dates 2009-09-02 07:25:43 +00:00
data.d * ld-scripts/align.exp: Don't run on aix. 2004-04-08 00:51:37 +00:00
data.exp update copyright dates 2009-09-02 07:25:43 +00:00
data.s gas/ 2004-04-15 01:49:22 +00:00
data.t * ld-scripts/align.exp: Don't run on aix. 2004-04-08 00:51:37 +00:00
default-script.exp update copyright dates 2009-09-02 07:25:43 +00:00
default-script.s * ld-scripts/default-script.s (text): Globalize. 2009-07-29 06:47:48 +00:00
default-script.t ld/ 2007-01-19 14:51:27 +00:00
default-script1.d * ld-scripts/default-script.s (text): Globalize. 2009-07-29 06:47:48 +00:00
default-script2.d * ld-scripts/default-script.s (text): Globalize. 2009-07-29 06:47:48 +00:00
default-script3.d * ld-scripts/default-script.s (text): Globalize. 2009-07-29 06:47:48 +00:00
default-script4.d * ld-scripts/default-script.s (text): Globalize. 2009-07-29 06:47:48 +00:00
defined.exp update copyright dates 2009-09-02 07:25:43 +00:00
defined.s Missed from my 2009-04-16 commit 2009-05-21 06:13:28 +00:00
defined.t 19990502 sourceware import 1999-05-03 07:29:11 +00:00
defined2.d * ld-d10v/default_layout.d: Adjust for section removal. 2005-08-18 07:51:08 +00:00
defined2.t * ld-scripts/defined2.d, ld-scripts/defined2.t: New test. 2003-10-08 12:35:18 +00:00
defined3.d * ld-d10v/default_layout.d: Adjust for section removal. 2005-08-18 07:51:08 +00:00
defined3.t * ld-scripts/defined3.d, ld-scripts/defined3.t: New test. 2003-10-11 09:18:58 +00:00
dynamic-sections-1.s * ld-scripts/dynamic-sections*: New test. 2002-07-09 08:47:24 +00:00
dynamic-sections-2.s * ld-scripts/dynamic-sections*: New test. 2002-07-09 08:47:24 +00:00
dynamic-sections.d * ld-scripts/dynamic-sections*: New test. 2002-07-09 08:47:24 +00:00
dynamic-sections.exp Update sources to GPLv3 2007-07-06 14:09:45 +00:00
dynamic-sections.t * ld-scripts/dynamic-sections*: New test. 2002-07-09 08:47:24 +00:00
empty-address-1.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
empty-address-1.s bfd/ 2006-09-27 04:18:16 +00:00
empty-address-1.t bfd/ 2006-09-27 04:18:16 +00:00
empty-address-2.s bfd/ 2006-09-27 04:18:16 +00:00
empty-address-2a.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
empty-address-2a.t bfd/ 2006-09-27 04:18:16 +00:00
empty-address-2b.d * ld-elf/sec64k.exp: For frv-linux use "aw" sections. 2009-09-09 12:13:42 +00:00
empty-address-2b.t bfd/ 2006-09-27 04:18:16 +00:00
empty-address-3.s bfd/ 2006-09-27 04:18:16 +00:00
empty-address-3a.d * ld-scripts/empty-address-3a.d, ld-scripts/empty-address-3b.d: 2009-07-30 00:13:55 +00:00
empty-address-3a.t bfd/ 2006-09-27 04:18:16 +00:00
empty-address-3b.d * ld-scripts/empty-address-3a.d, ld-scripts/empty-address-3b.d: 2009-07-30 00:13:55 +00:00
empty-address-3b.t bfd/ 2006-09-27 04:18:16 +00:00
empty-address-3c.d bfd/ 2006-10-17 13:41:49 +00:00
empty-address-3c.t bfd/ 2006-09-27 04:18:16 +00:00
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 Update sources to GPLv3 2007-07-06 14:09:45 +00:00
empty-aligned.s * ld-elf/empty.s: Define "start". 2005-08-15 14:08:58 +00:00
empty-aligned.t * ld-elf/empty.s: Define "start". 2005-08-15 14:08:58 +00:00
empty-orphan.d * ld-scripts/empty-orphan.d: Update again. 2006-05-19 11:50:31 +00:00
empty-orphan.exp update copyright dates 2009-09-02 07:25:43 +00:00
empty-orphan.s ld/ChangeLog: 2005-03-17 16:20:39 +00:00
empty-orphan.t bfd/ 2006-10-17 13:41:49 +00:00
expr.exp Update sources to GPLv3 2007-07-06 14:09:45 +00:00
expr1.d ld/ 2007-01-06 22:03:46 +00:00
expr1.s ld/ 2007-01-06 22:03:46 +00:00
expr1.t ld/ 2007-01-06 22:03:46 +00:00
extern.exp Update sources to GPLv3 2007-07-06 14:09:45 +00:00
extern.s * ldlex.l: ASSERT is recognized in SCRIPT env. NAMES cannot 2007-05-24 09:24:09 +00:00
extern.t * ldlex.l: ASSERT is recognized in SCRIPT env. NAMES cannot 2007-05-24 09:24:09 +00:00
include-1.d * ld-scripts/include.exp: Don't run test for aout. 2008-07-26 01:23:37 +00:00
include-1.t * ld.texinfo (File Commands): Document that INCLUDE can be used in 2008-07-06 13:38:37 +00:00
include-data.t * ld.texinfo (File Commands): Document that INCLUDE can be used in 2008-07-06 13:38:37 +00:00
include-mem.t * ld.texinfo (File Commands): Document that INCLUDE can be used in 2008-07-06 13:38:37 +00:00
include-ram.t * ld.texinfo (File Commands): Document that INCLUDE can be used in 2008-07-06 13:38:37 +00:00
include-sections.t * ld-scripts/include-sections.t: Discard all sections not 2008-07-21 08:38:35 +00:00
include-subdata.t * ld.texinfo (File Commands): Document that INCLUDE can be used in 2008-07-06 13:38:37 +00:00
include.exp update copyright dates 2009-09-02 07:25:43 +00:00
include.s * ld-scripts/include.exp: Don't run test for aout. 2008-07-26 01:23:37 +00:00
map-address.d * ldlang.c (lang_map): Increment lang_statement_iteration so that DEFINED() expressions are correctly computed. 2007-08-31 14:46:55 +00:00
map-address.exp update copyright dates 2009-09-02 07:25:43 +00:00
map-address.t * ldlang.c (lang_map): Increment lang_statement_iteration so that DEFINED() expressions are correctly computed. 2007-08-31 14:46:55 +00:00
memory.t * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
overlay-size-map.d * ldlang.c (print_output_section_statement): If the output section 2008-06-12 11:27:38 +00:00
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 * lib/ld-lib.exp (run_dump_test): Add -L$srcdir/$subdir. 2002-05-07 11:08:57 +00:00
overlay-size.t * ldlang.c (print_output_section_statement): If the output section 2008-06-12 11:27:38 +00:00
phdrs.exp update copyright dates 2009-09-02 07:25:43 +00:00
phdrs.s 19990502 sourceware import 1999-05-03 07:29:11 +00:00
phdrs.t * ld-scripts/phdrs.exp: Fix regexp, s390x is 64 bit platform. 2001-05-01 08:07:35 +00:00
phdrs2.exp update copyright dates 2009-09-02 07:25:43 +00:00
phdrs2.s Fix phdrs2 test 2002-06-07 10:30:56 +00:00
phdrs2.t Fix phdrs2 test 2002-06-07 10:30:56 +00:00
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 * ld-scripts/align.exp: Don't run on aix. 2004-04-08 00:51:37 +00:00
provide-1.s * ld-scripts/align.exp: Don't run on aix. 2004-04-08 00:51:37 +00:00
provide-1.t * ld-scripts/align.exp: Don't run on aix. 2004-04-08 00:51:37 +00:00
provide-2.d * ld-crx/reloc-num8.d: Adjust for changed orphan placement. 2004-10-15 00:27:12 +00:00
provide-2.s * ld-scripts/align.exp: Don't run on aix. 2004-04-08 00:51:37 +00:00
provide-2.t * ld-crx/reloc-num8.d: Adjust for changed orphan placement. 2004-10-15 00:27:12 +00:00
provide-3.d * ld-scripts/align.exp: Don't run on aix. 2004-04-08 00:51:37 +00:00
provide-3.s * ld-scripts/align.exp: Don't run on aix. 2004-04-08 00:51:37 +00:00
provide-3.t * ldlang.h (struct lang_output_section_state): Change processed 2004-02-23 10:10:02 +00:00
provide.exp update copyright dates 2009-09-02 07:25:43 +00:00
region-alias-1.t * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
region-alias-2.t * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
region-alias-3.t * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
region-alias-4.t * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
rgn-at.exp * ldlang.c (lang_leave_output_section_statement): Set lma_region 2009-04-03 07:45:28 +00:00
rgn-at.s * ld-scripts/rgn-at.s: Use explicit .section pseudos. 2009-04-03 10:15:21 +00:00
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 * ldlang.c (lang_leave_output_section_statement): Set lma_region 2009-04-03 07:45:28 +00:00
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 * ldlang.c (lang_leave_output_section_statement): Set lma_region 2009-04-03 07:45:28 +00:00
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 * ldlang.c (lang_leave_output_section_statement): Set lma_region 2009-04-03 07:45:28 +00:00
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 * ldlang.c (lang_check_section_addresses): Ignore non-loadable 2009-05-22 11:27:44 +00:00
rgn-over.exp update copyright dates 2009-09-02 07:25:43 +00:00
rgn-over.s 2007-10-17 Zack Weinberg <zack@codesourcery.com> 2007-10-17 19:26:10 +00:00
rgn-over1.d * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
rgn-over1.t 2007-10-17 Zack Weinberg <zack@codesourcery.com> 2007-10-17 19:26:10 +00:00
rgn-over2.d * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
rgn-over2.t 2007-10-17 Zack Weinberg <zack@codesourcery.com> 2007-10-17 19:26:10 +00:00
rgn-over3.d * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
rgn-over3.t 2007-10-17 Zack Weinberg <zack@codesourcery.com> 2007-10-17 19:26:10 +00:00
rgn-over4.d * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
rgn-over4.t 2007-10-17 Zack Weinberg <zack@codesourcery.com> 2007-10-17 19:26:10 +00:00
rgn-over5.d * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
rgn-over5.t 2007-10-17 Zack Weinberg <zack@codesourcery.com> 2007-10-17 19:26:10 +00:00
rgn-over6.d * ldgram.y: Add support for REGION_ALIAS operator. 2009-03-02 17:27:36 +00:00
rgn-over6.t 2007-10-17 Zack Weinberg <zack@codesourcery.com> 2007-10-17 19:26:10 +00:00
rgn-over7.d * ld-scripts/rgn-over7.d: Adjust expected message for recent change. 2009-05-22 15:54:36 +00:00
rgn-over7.t 2007-10-17 Zack Weinberg <zack@codesourcery.com> 2007-10-17 19:26:10 +00:00
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 * ld-scripts/rgn-over8.s: Tweak. 2008-04-28 14:08:15 +00:00
rgn-over8.t ld/ 2008-04-28 12:45:34 +00:00
script.exp update copyright dates 2009-09-02 07:25:43 +00:00
script.s 19990502 sourceware import 1999-05-03 07:29:11 +00:00
script.t 19990502 sourceware import 1999-05-03 07:29:11 +00:00
scriptm.t 19990502 sourceware import 1999-05-03 07:29:11 +00:00
size-1.d * ld-scripts/align.exp: Don't run on aix. 2004-04-08 00:51:37 +00:00
size-1.s * ld-scripts/align.exp: Don't run on aix. 2004-04-08 00:51:37 +00:00
size-1.t * ld-scripts/align.exp: Don't run on aix. 2004-04-08 00:51:37 +00:00
size-2.d * ld-d10v/default_layout.d: Adjust for section removal. 2005-08-18 07:51:08 +00:00
size-2.s * ld-scripts/align.exp: Don't run on aix. 2004-04-08 00:51:37 +00:00
size-2.t * ld-scripts/align.exp: Don't run on aix. 2004-04-08 00:51:37 +00:00
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 19990502 sourceware import 1999-05-03 07:29:11 +00:00
sizeof.t 19990502 sourceware import 1999-05-03 07:29:11 +00:00
sort.exp * config/tc-h8300.c (h8300_elf_section): New function - issue a 2010-01-13 14:08:54 +00:00
sort.t ld/ 2006-08-08 15:07:16 +00:00
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 ld/ 2006-08-08 15:07:16 +00:00
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 ld/ 2004-10-04 16:45:51 +00:00
sort_b_a.t ld/ 2004-10-04 16:45:51 +00:00
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 ld/ 2004-10-04 16:45:51 +00:00
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 ld/ 2004-10-04 16:45:51 +00:00
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 ld/ 2006-08-08 15:07:16 +00:00
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 ld/ 2004-10-04 16:45:51 +00:00
sort_b_n.t ld/ 2004-10-04 16:45:51 +00:00
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 ld/ 2004-10-04 16:45:51 +00:00
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 ld/ 2004-10-04 16:45:51 +00:00
sort_n_a-a.s ld/ 2004-10-04 16:45:51 +00:00
sort_n_a-b.s ld/ 2004-10-04 16:45:51 +00:00
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 ld/ 2004-10-04 16:45:51 +00:00
weak.exp update copyright dates 2009-09-02 07:25:43 +00:00
weak.t 19990502 sourceware import 1999-05-03 07:29:11 +00:00
weak1.s gas/testsuite/ 2005-03-22 14:20:38 +00:00
weak2.s gas/testsuite/ 2005-03-22 14:20:38 +00:00