diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2012-10-23 09:33:51 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@codesourcery.com> | 2012-10-23 09:33:51 +0000 |
commit | 127c4d4a4fe65bd17ea64db1be7f3c93d393afcb (patch) | |
tree | 23f6c2248a1d4a1bcfaedb66bdba1f5d7bfbab82 /ld/testsuite | |
parent | 65f603f178aa91b969ed1ec6b2e780b99b02bd84 (diff) | |
download | binutils-redhat-127c4d4a4fe65bd17ea64db1be7f3c93d393afcb.tar.gz |
bfd/
* bfd-in.h (bfd_elf_stack_segment_size): Declare.
* bfd-in2.h: Rebuilt.
* elfxx-target.h (elf_backend_stack_align): New.
(elfNN_bed): Add it.
* elf-bfd.h (struct elf_backend_data): Add stack_align field.
* elf.c (bfd_elf_map_sections_to_segments): Pay attention to
stack_align and stacksize for PT_GNU_STACK segment.
(assign_file_positions_for_non_load_sections): Set p_memsz for
PT_GNU_STACK segment.
(copy_elf_program_header): Copy PT_GNU_STACK size.
* elflink.c (bfd_elf_stack_segment_size): New function, taken from
uclinux backends.
(bfd_elf_size_dynamic_sections): Determine
PT_GNU_STACK requirements after calling backend. Pay attention to
stacksize.
* elf32-bfin.c (elf32_bfinfdpic_always_size_sections): Call
bfd_elf_stack_segment_size.
(elf32_bfinfdpic_modify_program_headers): Delete.
(elf32_bfingfdpic_copy_private_bfd_data): Don't copy PT_GNU_STACK
here.
(elf_backend_stack_align): Override.
(elf_backend_modify_program_headers): Don't override.
* elf32-frv.c (frvfdpic_always_size_sections): Call
bfd_elf_stack_segment_size.
(elf32_frvfdpic_modify_program_headers): Delete.
(elf32_frvfdpic_copy_private_bfd_data): Don't copy PT_GNU_STACK
here.
(elf_backend_stack_align): Override.
(elf_backend_modify_program_headers): Don't override.
* elf32-lm32.c (lm32_elf_always_size_sections): Leave
PT_GNU_STACK creation to underlying elf support. Check
__stacksize here for backwards compatibility, and set it if
needed.
(lm32_elf_modify_segment_map): Delete.
(lm32_elf_modify_program_headers): Delete.
(elf_backend_stack_align): Override.
(elf_backend_modify_segment_map): Don't override.
(elf_backend_modify_program_headers): Don't override.
* elf32-sh.c (sh_elf_always_size_sections): Call
bfd_elf_stack_segment_size.
(sh_elf_modify_program_headers): Delete.
(sh_elf_copy_private_data): Don't copy PT_GNU_STACK
here.
(elf_backend_stack_align): Override.
(elf_backend_modify_program_headers): Don't override.
* elf32-tic6x.c (elf32_tic6x_always_size_sections): Call
bfd_elf_stack_segment_size.
(elf32_tic6x_modify_program_headers): Delete.
(elf32_tic6x_copy_private_data): Delete.
(elf_backend_stack_align): Override.
(bfd_elf32_bfd_copy_private_bfd_data): Don't override.
(elf_backend_modify_program_headers): Don't override.
include/
* bfdlink.h (struct bfd_link_info): Add stacksize option.
ld/
* ld.texinfo (stack-size): New option.
* emultempl/elf32.em: Add stack-size option.
ld/testsuite/
* ld-elf/binutils.exp: Add -z stack-size=0.
* ld-elf/elf.exp: Add stack-exec and stack-size tests.
* ld-elf/orphan-region.d: Add stack-size option. Remove xfail.
* ld-elf/stack-exec.rd: New.
* ld-elf/stack-size.rd: New.
* ld-elf/stack.s: New.
* ld-scripts/empty-aligned.d: Add stack-size option.
* ld-sh/fdpic-stack-set.d: New.
* ld-tic6x/shlib-1.rd: Remove __stacksize symbol.
* ld-tic6x/shlib-1b.rd: Likewise.
* ld-tic6x/shlib-1r.rd: Likewise.
* ld-tic6x/shlib-1rb.rd: Likewise.
* ld-tic6x/shlib-app-1.rd: Likewise.
* ld-tic6x/shlib-app-1b.rd: Likewise.
* ld-tic6x/shlib-app-1r.rd: Likewise.
* ld-tic6x/shlib-app-1rb.rd: Likewise.
* ld-tic6x/shlib-noindex.rd: Likewise.
* ld-tic6x/static-app-1.rd: Likewise.
* ld-tic6x/static-app-1b.rd: Likewise.
* ld-tic6x/static-app-1r.rd: Likewise.
* ld-tic6x/static-app-1rb.rd: Likewise.
Diffstat (limited to 'ld/testsuite')
22 files changed, 73 insertions, 18 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index a27d274426..d0a777c9af 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,27 @@ +2012-10-23 Nathan Sidwell <nathan@codesourcery.com> + + * ld-elf/binutils.exp: Add -z stack-size=0. + * ld-elf/elf.exp: Add stack-exec and stack-size tests. + * ld-elf/orphan-region.d: Add stack-size option. Remove xfail. + * ld-elf/stack-exec.rd: New. + * ld-elf/stack-size.rd: New. + * ld-elf/stack.s: New. + * ld-scripts/empty-aligned.d: Add stack-size option. + * ld-sh/fdpic-stack-set.d: New. + * ld-tic6x/shlib-1.rd: Remove __stacksize symbol. + * ld-tic6x/shlib-1b.rd: Likewise. + * ld-tic6x/shlib-1r.rd: Likewise. + * ld-tic6x/shlib-1rb.rd: Likewise. + * ld-tic6x/shlib-app-1.rd: Likewise. + * ld-tic6x/shlib-app-1b.rd: Likewise. + * ld-tic6x/shlib-app-1r.rd: Likewise. + * ld-tic6x/shlib-app-1rb.rd: Likewise. + * ld-tic6x/shlib-noindex.rd: Likewise. + * ld-tic6x/static-app-1.rd: Likewise. + * ld-tic6x/static-app-1b.rd: Likewise. + * ld-tic6x/static-app-1r.rd: Likewise. + * ld-tic6x/static-app-1rb.rd: Likewise. + 2012-10-16 Sofiane Naci <sofiane.naci@arm.com> * ld-aarch64/tlsle-symbol-offset.s: New file. diff --git a/ld/testsuite/ld-elf/binutils.exp b/ld/testsuite/ld-elf/binutils.exp index 249fa2a4ac..010151254b 100644 --- a/ld/testsuite/ld-elf/binutils.exp +++ b/ld/testsuite/ld-elf/binutils.exp @@ -60,7 +60,7 @@ proc binutils_test { prog_name ld_options test {test_name ""}} { return } - if { ![ld_simple_link $ld tmpdir/$test "$ld_options tmpdir/$test.o"] } { + if { ![ld_simple_link $ld tmpdir/$test "$ld_options -z stack-size=0 tmpdir/$test.o"] } { if { [string match "*not supported*" $link_output] || [string match "*unrecognized option*" $link_output] || [string match "*-z relro ignored*" $link_output] } { diff --git a/ld/testsuite/ld-elf/elf.exp b/ld/testsuite/ld-elf/elf.exp index a97e3df8e6..a33e3b6b9a 100644 --- a/ld/testsuite/ld-elf/elf.exp +++ b/ld/testsuite/ld-elf/elf.exp @@ -126,6 +126,15 @@ if { [check_gc_sections_available] && ![istarget "v850-*-*"] } { } } +if { [istarget *-*-*linux*] } { + run_ld_link_tests { + {"stack exec" "-z execstack" "" {stack.s} + {{readelf {-Wl} stack-exec.rd}} "stack-exec.exe"} + {"stack size" "-z stack-size=0x123400" "" {stack.s} + {{readelf {-Wl} stack-size.rd}} "stack-size.exe"} + } +} + set LDFLAGS $old_ldflags # The following tests require running the executable generated by ld. diff --git a/ld/testsuite/ld-elf/orphan-region.d b/ld/testsuite/ld-elf/orphan-region.d index 9d6c90c279..d961a07d0a 100644 --- a/ld/testsuite/ld-elf/orphan-region.d +++ b/ld/testsuite/ld-elf/orphan-region.d @@ -1,11 +1,11 @@ #source: orphan-region.s -#ld: -T orphan-region.ld -N +#ld: -T orphan-region.ld -N -z stack-size=0 #readelf: -S -l --wide #xfail: arc-*-* d30v-*-* dlx-*-* fr30-*-* frv-*-elf i860-*-* i960-*-* #xfail: iq*-*-* mn10200-*-* moxie-*-* msp*-*-* mt-*-* or32-*-* pj*-*-* -#xfail: spu-*-* hppa*64*-*-* frv-*-* +#xfail: spu-*-* hppa*64*-*-* # if not using elf32.em, you don't get fancy orphan handling -# spu twiddles LOAD range, hppa64 adds PHDR, frv-linux adds GNU_STACK +# spu twiddles LOAD range, hppa64 adds PHDR #... \[[ 0-9]+\] \.text[ \t]+PROGBITS[ \t]+0*40000000[ \t]+.* diff --git a/ld/testsuite/ld-elf/stack-exec.rd b/ld/testsuite/ld-elf/stack-exec.rd new file mode 100644 index 0000000000..7f68a6cbe9 --- /dev/null +++ b/ld/testsuite/ld-elf/stack-exec.rd @@ -0,0 +1,3 @@ +#... + GNU_STACK 0x0+00000 0x0+000000 0x0+000000 0x0+000 0x.+0000 RWE 0x[0-9a-f]+ +#pass diff --git a/ld/testsuite/ld-elf/stack-size.rd b/ld/testsuite/ld-elf/stack-size.rd new file mode 100644 index 0000000000..413db3a941 --- /dev/null +++ b/ld/testsuite/ld-elf/stack-size.rd @@ -0,0 +1,3 @@ +#... + GNU_STACK 0x0+00000 0x0+000000 0x0+000000 0x0+000 0x123400 RW. 0x[0-9a-f]+ +#pass diff --git a/ld/testsuite/ld-elf/stack.s b/ld/testsuite/ld-elf/stack.s new file mode 100644 index 0000000000..b92617bd5c --- /dev/null +++ b/ld/testsuite/ld-elf/stack.s @@ -0,0 +1,10 @@ + .text + .globl start + .globl _start +start: +_start: + nop + nop + nop + nop + diff --git a/ld/testsuite/ld-scripts/empty-aligned.d b/ld/testsuite/ld-scripts/empty-aligned.d index 283ef64936..4a0c87cd18 100644 --- a/ld/testsuite/ld-scripts/empty-aligned.d +++ b/ld/testsuite/ld-scripts/empty-aligned.d @@ -1,5 +1,5 @@ #source: empty-aligned.s -#ld: -T empty-aligned.t +#ld: -T empty-aligned.t -z stack-size=0 #readelf: -l --wide #xfail: "hppa64-*-*" #notarget: frv-*-*linux* diff --git a/ld/testsuite/ld-sh/fdpic-stack-set.d b/ld/testsuite/ld-sh/fdpic-stack-set.d new file mode 100644 index 0000000000..3bdb78381a --- /dev/null +++ b/ld/testsuite/ld-sh/fdpic-stack-set.d @@ -0,0 +1,19 @@ +#source: fdpic-stack.s +#as: --isa=sh2a -big --fdpic +#ld: -EB -mshelf_fd -z stack-size=0x40000 +#readelf: -l +#target: sh*-*-uclinux* + +Elf file type is EXEC \(Executable file\) +Entry point 0x400074 +There are 2 program headers, starting at offset 52 + +Program Headers: +[ \t]+Type[ \t]+Offset[ \t]+VirtAddr[ \t]+PhysAddr[ \t]+FileSiz MemSiz[ \t]+Flg Align +[ \t]+LOAD[ \t]+0x000000 0x00400000 0x00400000 0x00076 0x00076 R E 0x10000 +[ \t]+GNU_STACK[ \t]+0x000000 0x00000000 0x00000000 0x00000 0x40000 RWE 0x8 + + Section to Segment mapping: +[ \t]+Segment Sections\.\.\. +[ \t]+00[ \t]+\.text +[ \t]+01[ \t]+ diff --git a/ld/testsuite/ld-tic6x/shlib-1.rd b/ld/testsuite/ld-tic6x/shlib-1.rd index d3bf087a1f..029bda18ec 100644 --- a/ld/testsuite/ld-tic6x/shlib-1.rd +++ b/ld/testsuite/ld-tic6x/shlib-1.rd @@ -117,7 +117,6 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 1000010c 0 OBJECT LOCAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_ .* 10000100 0 NOTYPE LOCAL DEFAULT 10 __c6xabi_DSBT_BASE .* 00000000 0 NOTYPE WEAK DEFAULT UND b -.* 00020000 0 OBJECT GLOBAL DEFAULT ABS __stacksize .* 00000000 0 NOTYPE WEAK DEFAULT UND g1 .* 1000012c 4 OBJECT GLOBAL DEFAULT 11 g2 .* 10000088 52 FUNC GLOBAL DEFAULT 9 sub0 diff --git a/ld/testsuite/ld-tic6x/shlib-1b.rd b/ld/testsuite/ld-tic6x/shlib-1b.rd index d3bf087a1f..029bda18ec 100644 --- a/ld/testsuite/ld-tic6x/shlib-1b.rd +++ b/ld/testsuite/ld-tic6x/shlib-1b.rd @@ -117,7 +117,6 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 1000010c 0 OBJECT LOCAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_ .* 10000100 0 NOTYPE LOCAL DEFAULT 10 __c6xabi_DSBT_BASE .* 00000000 0 NOTYPE WEAK DEFAULT UND b -.* 00020000 0 OBJECT GLOBAL DEFAULT ABS __stacksize .* 00000000 0 NOTYPE WEAK DEFAULT UND g1 .* 1000012c 4 OBJECT GLOBAL DEFAULT 11 g2 .* 10000088 52 FUNC GLOBAL DEFAULT 9 sub0 diff --git a/ld/testsuite/ld-tic6x/shlib-1r.rd b/ld/testsuite/ld-tic6x/shlib-1r.rd index d3bf087a1f..029bda18ec 100644 --- a/ld/testsuite/ld-tic6x/shlib-1r.rd +++ b/ld/testsuite/ld-tic6x/shlib-1r.rd @@ -117,7 +117,6 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 1000010c 0 OBJECT LOCAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_ .* 10000100 0 NOTYPE LOCAL DEFAULT 10 __c6xabi_DSBT_BASE .* 00000000 0 NOTYPE WEAK DEFAULT UND b -.* 00020000 0 OBJECT GLOBAL DEFAULT ABS __stacksize .* 00000000 0 NOTYPE WEAK DEFAULT UND g1 .* 1000012c 4 OBJECT GLOBAL DEFAULT 11 g2 .* 10000088 52 FUNC GLOBAL DEFAULT 9 sub0 diff --git a/ld/testsuite/ld-tic6x/shlib-1rb.rd b/ld/testsuite/ld-tic6x/shlib-1rb.rd index d3bf087a1f..029bda18ec 100644 --- a/ld/testsuite/ld-tic6x/shlib-1rb.rd +++ b/ld/testsuite/ld-tic6x/shlib-1rb.rd @@ -117,7 +117,6 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 1000010c 0 OBJECT LOCAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_ .* 10000100 0 NOTYPE LOCAL DEFAULT 10 __c6xabi_DSBT_BASE .* 00000000 0 NOTYPE WEAK DEFAULT UND b -.* 00020000 0 OBJECT GLOBAL DEFAULT ABS __stacksize .* 00000000 0 NOTYPE WEAK DEFAULT UND g1 .* 1000012c 4 OBJECT GLOBAL DEFAULT 11 g2 .* 10000088 52 FUNC GLOBAL DEFAULT 9 sub0 diff --git a/ld/testsuite/ld-tic6x/shlib-app-1.rd b/ld/testsuite/ld-tic6x/shlib-app-1.rd index 6461371c15..9c691c9556 100644 --- a/ld/testsuite/ld-tic6x/shlib-app-1.rd +++ b/ld/testsuite/ld-tic6x/shlib-app-1.rd @@ -122,7 +122,6 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 100000ac 0 OBJECT LOCAL DEFAULT 11 _GLOBAL_OFFSET_TABLE_ .* 100000a0 0 NOTYPE LOCAL DEFAULT 11 __c6xabi_DSBT_BASE .* 100000c0 4 OBJECT GLOBAL DEFAULT 12 b -.* 00020000 0 OBJECT GLOBAL DEFAULT ABS __stacksize .* 00000000 0 NOTYPE WEAK DEFAULT UND g1 .* 00000000 0 OBJECT WEAK DEFAULT UND g2 .* 00000000 0 FUNC GLOBAL DEFAULT UND sub0 diff --git a/ld/testsuite/ld-tic6x/shlib-app-1b.rd b/ld/testsuite/ld-tic6x/shlib-app-1b.rd index f4e818847e..a541a5cda9 100644 --- a/ld/testsuite/ld-tic6x/shlib-app-1b.rd +++ b/ld/testsuite/ld-tic6x/shlib-app-1b.rd @@ -122,7 +122,6 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 100000ac 0 OBJECT LOCAL DEFAULT 11 _GLOBAL_OFFSET_TABLE_ .* 100000a0 0 NOTYPE LOCAL DEFAULT 11 __c6xabi_DSBT_BASE .* 100000c0 4 OBJECT GLOBAL DEFAULT 12 b -.* 00020000 0 OBJECT GLOBAL DEFAULT ABS __stacksize .* 00000000 0 NOTYPE WEAK DEFAULT UND g1 .* 00000000 0 OBJECT WEAK DEFAULT UND g2 .* 00000000 0 FUNC GLOBAL DEFAULT UND sub0 diff --git a/ld/testsuite/ld-tic6x/shlib-app-1r.rd b/ld/testsuite/ld-tic6x/shlib-app-1r.rd index b00447c2d2..5c1b675aa7 100644 --- a/ld/testsuite/ld-tic6x/shlib-app-1r.rd +++ b/ld/testsuite/ld-tic6x/shlib-app-1r.rd @@ -112,6 +112,5 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 100000ac 0 OBJECT LOCAL DEFAULT 10 _GLOBAL_OFFSET_TABLE_ .* 100000a0 0 NOTYPE LOCAL DEFAULT 10 __c6xabi_DSBT_BASE .* 100000c0 4 OBJECT GLOBAL DEFAULT 11 b -.* 00020000 0 OBJECT GLOBAL DEFAULT ABS __stacksize .* 00000000 0 FUNC GLOBAL DEFAULT UND sub0 .* 100000c4 4 OBJECT GLOBAL DEFAULT 12 a diff --git a/ld/testsuite/ld-tic6x/shlib-app-1rb.rd b/ld/testsuite/ld-tic6x/shlib-app-1rb.rd index 7c2c1106b3..d12183216b 100644 --- a/ld/testsuite/ld-tic6x/shlib-app-1rb.rd +++ b/ld/testsuite/ld-tic6x/shlib-app-1rb.rd @@ -112,6 +112,5 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 100000ac 0 OBJECT LOCAL DEFAULT 10 _GLOBAL_OFFSET_TABLE_ .* 100000a0 0 NOTYPE LOCAL DEFAULT 10 __c6xabi_DSBT_BASE .* 100000c0 4 OBJECT GLOBAL DEFAULT 11 b -.* 00020000 0 OBJECT GLOBAL DEFAULT ABS __stacksize .* 00000000 0 FUNC GLOBAL DEFAULT UND sub0 .* 100000c4 4 OBJECT GLOBAL DEFAULT 12 a diff --git a/ld/testsuite/ld-tic6x/shlib-noindex.rd b/ld/testsuite/ld-tic6x/shlib-noindex.rd index 3d50e68572..e030b17b49 100644 --- a/ld/testsuite/ld-tic6x/shlib-noindex.rd +++ b/ld/testsuite/ld-tic6x/shlib-noindex.rd @@ -124,7 +124,6 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 1000010c 0 OBJECT LOCAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_ .* 10000100 0 NOTYPE LOCAL DEFAULT 11 __c6xabi_DSBT_BASE .* 00000000 0 NOTYPE WEAK DEFAULT UND b -.* 00020000 0 OBJECT GLOBAL DEFAULT ABS __stacksize .* 00000000 0 NOTYPE WEAK DEFAULT UND g1 .* 1000012c 4 OBJECT GLOBAL DEFAULT 12 g2 .* 10000088 52 FUNC GLOBAL DEFAULT 10 sub0 diff --git a/ld/testsuite/ld-tic6x/static-app-1.rd b/ld/testsuite/ld-tic6x/static-app-1.rd index ae5bc8d671..c56d637c1a 100644 --- a/ld/testsuite/ld-tic6x/static-app-1.rd +++ b/ld/testsuite/ld-tic6x/static-app-1.rd @@ -107,7 +107,6 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 100000cc 0 OBJECT LOCAL DEFAULT 8 _GLOBAL_OFFSET_TABLE_ .* 100000c0 0 NOTYPE LOCAL DEFAULT 8 __c6xabi_DSBT_BASE .* 100000e8 4 OBJECT GLOBAL DEFAULT 9 b -.* 00020000 0 OBJECT GLOBAL DEFAULT ABS __stacksize .* 00000000 0 NOTYPE WEAK DEFAULT UND g1 .* 100000e4 4 OBJECT GLOBAL DEFAULT 9 g2 .* 10000008 52 FUNC GLOBAL DEFAULT 7 sub0 diff --git a/ld/testsuite/ld-tic6x/static-app-1b.rd b/ld/testsuite/ld-tic6x/static-app-1b.rd index ae5bc8d671..c56d637c1a 100644 --- a/ld/testsuite/ld-tic6x/static-app-1b.rd +++ b/ld/testsuite/ld-tic6x/static-app-1b.rd @@ -107,7 +107,6 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 100000cc 0 OBJECT LOCAL DEFAULT 8 _GLOBAL_OFFSET_TABLE_ .* 100000c0 0 NOTYPE LOCAL DEFAULT 8 __c6xabi_DSBT_BASE .* 100000e8 4 OBJECT GLOBAL DEFAULT 9 b -.* 00020000 0 OBJECT GLOBAL DEFAULT ABS __stacksize .* 00000000 0 NOTYPE WEAK DEFAULT UND g1 .* 100000e4 4 OBJECT GLOBAL DEFAULT 9 g2 .* 10000008 52 FUNC GLOBAL DEFAULT 7 sub0 diff --git a/ld/testsuite/ld-tic6x/static-app-1r.rd b/ld/testsuite/ld-tic6x/static-app-1r.rd index 3bc91dd6c2..588e4224df 100644 --- a/ld/testsuite/ld-tic6x/static-app-1r.rd +++ b/ld/testsuite/ld-tic6x/static-app-1r.rd @@ -104,7 +104,6 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 100000cc 0 OBJECT LOCAL DEFAULT 8 _GLOBAL_OFFSET_TABLE_ .* 100000c0 0 NOTYPE LOCAL DEFAULT 8 __c6xabi_DSBT_BASE .* 100000e8 4 OBJECT GLOBAL DEFAULT 9 b -.* 00020000 0 OBJECT GLOBAL DEFAULT ABS __stacksize .* 00000000 0 NOTYPE WEAK DEFAULT UND g1 .* 100000e4 4 OBJECT GLOBAL DEFAULT 9 g2 .* 10000008 52 FUNC GLOBAL DEFAULT 7 sub0 diff --git a/ld/testsuite/ld-tic6x/static-app-1rb.rd b/ld/testsuite/ld-tic6x/static-app-1rb.rd index 3bc91dd6c2..588e4224df 100644 --- a/ld/testsuite/ld-tic6x/static-app-1rb.rd +++ b/ld/testsuite/ld-tic6x/static-app-1rb.rd @@ -104,7 +104,6 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 100000cc 0 OBJECT LOCAL DEFAULT 8 _GLOBAL_OFFSET_TABLE_ .* 100000c0 0 NOTYPE LOCAL DEFAULT 8 __c6xabi_DSBT_BASE .* 100000e8 4 OBJECT GLOBAL DEFAULT 9 b -.* 00020000 0 OBJECT GLOBAL DEFAULT ABS __stacksize .* 00000000 0 NOTYPE WEAK DEFAULT UND g1 .* 100000e4 4 OBJECT GLOBAL DEFAULT 9 g2 .* 10000008 52 FUNC GLOBAL DEFAULT 7 sub0 |