as = *place->section;
- if (!as)
+ if (!as || bfd_link_relocatable (&link_info))
{
/* Put the section at the end of the list. */
#source: ../../../binutils/testsuite/binutils-all/group.s
#ld: -r
#readelf: -Sg --wide
-# xstormy uses a non-standard script, putting .data before .text.
-#xfail: xstormy*-*-*
#...
\[[ 0-9]+\] \.group[ \t]+GROUP[ \t]+.*
#source: ../../../binutils/testsuite/binutils-all/group-2.s
#ld: -r
#readelf: -Sg --wide
-# xstormy uses a non-standard script, putting .data before .text.
-#xfail: xstormy*-*-*
#...
\[[ 0-9]+\] .group[ \t]+GROUP[ \t]+.*
#source: ../../../binutils/testsuite/binutils-all/group-3.s
#ld: -r
#readelf: -Sg --wide
-# xstormy uses a non-standard script, putting .data before .text.
-#xfail: xstormy*-*-*
#...
\[[ 0-9]+\] .group[ \t]+GROUP[ \t]+.*
#source: ../../../binutils/testsuite/binutils-all/group-4.s
#ld: -r
#readelf: -Sg --wide
-# xstormy uses a non-standard script, putting .data before .text.
-#xfail: xstormy*-*-*
#...
\[[ 0-9]+\] .group[ \t]+GROUP[ \t]+.*
#source: orphan2.s
#ld: -r
#readelf: -S --wide
-#xfail: xstormy*-*-*
-# xstormy uses a non-standard script, resulting is unexpected section order
#...
\[[ 0-9]+\] \.text[ \t]+PROGBITS[ \t0-9a-f]+AX?.*
puts $ofd "#..."
puts $ofd " 340..: 0+\[ \]+0\[ \]+SECTION\[ \]+LOCAL\[ \]+DEFAULT\[ \]+68... .*"
puts $ofd "#..."
- puts $ofd " 340..: 0+(2|4|8)\[ \]+0\[ \]+NOTYPE\[ \]+LOCAL\[ \]+DEFAULT\[ \]+\[2-7\] bar_1$"
+ puts $ofd " 340..: 0+(2|4|8)\[ \]+0\[ \]+NOTYPE\[ \]+LOCAL\[ \]+DEFAULT\[ \]+\[2-8\] bar_1$"
puts $ofd "#..."
puts $ofd ".* bar_34000$"
puts $ofd "#..."
\[..\] \.lit4 +PROGBITS .*
\[..\] \.sbss +NOBITS .*
\[..\] \.bss +NOBITS .*
+ \[..\] \.gnu\.attributes +GNU_ATTRIBUTES .*
\[..\] \.pdr +PROGBITS .*
\[..\] \.gcc_compiled_long32 +PROGBITS .*
\[..\] \.gcc_compiled_long64 +PROGBITS .*
\[..\] \.mdebug\.abiO64 +PROGBITS .*
\[..\] \.mdebug\.eabi32 +PROGBITS .*
\[..\] \.mdebug\.eabi64 +PROGBITS .*
- \[..\] \.gnu\.attributes +GNU_ATTRIBUTES .*
\[..\] \.symtab +SYMTAB .*
\[..\] \.strtab +STRTAB .*
\[..\] \.shstrtab +STRTAB .*
\[..\] \.lit4 +PROGBITS .*
\[..\] \.sbss +NOBITS .*
\[..\] \.bss +NOBITS .*
+ \[..\] \.gnu\.attributes +GNU_ATTRIBUTES .*
+ \[..\] \.gptab\.sdata +MIPS_GPTAB .*
+ \[..\] \.gptab\.sbss +MIPS_GPTAB .*
\[..\] \.pdr +PROGBITS .*
\[..\] \.gcc_compiled_long32 +PROGBITS .*
\[..\] \.gcc_compiled_long64 +PROGBITS .*
\[..\] \.mdebug\.abiO64 +PROGBITS .*
\[..\] \.mdebug\.eabi32 +PROGBITS .*
\[..\] \.mdebug\.eabi64 +PROGBITS .*
- \[..\] \.gnu\.attributes +GNU_ATTRIBUTES .*
- \[..\] \.gptab\.sdata +MIPS_GPTAB .*
- \[..\] \.gptab\.sbss +MIPS_GPTAB .*
\[..\] \.symtab +SYMTAB .*
\[..\] \.strtab +STRTAB .*
\[..\] \.shstrtab +STRTAB .*
\[..\] \.lit4 +PROGBITS .*
\[..\] \.sbss +NOBITS .*
\[..\] \.bss +NOBITS .*
+ \[..\] \.gnu\.attributes +GNU_ATTRIBUTES .*
+ \[..\] \.gptab\.sdata +MIPS_GPTAB .*
+ \[..\] \.gptab\.sbss +MIPS_GPTAB .*
\[..\] \.pdr +PROGBITS .*
\[..\] \.gcc_compiled_long32 +PROGBITS .*
\[..\] \.gcc_compiled_long64 +PROGBITS .*
\[..\] \.mdebug\.abiO64 +PROGBITS .*
\[..\] \.mdebug\.eabi32 +PROGBITS .*
\[..\] \.mdebug\.eabi64 +PROGBITS .*
- \[..\] \.gnu\.attributes +GNU_ATTRIBUTES .*
- \[..\] \.gptab\.sdata +MIPS_GPTAB .*
- \[..\] \.gptab\.sbss +MIPS_GPTAB .*
\[..\] \.symtab +SYMTAB .*
\[..\] \.strtab +STRTAB .*
\[..\] \.shstrtab +STRTAB .*
\[..\] \.lit4 +PROGBITS .*
\[..\] \.sbss +NOBITS .*
\[..\] \.bss +NOBITS .*
+ \[..\] \.gnu\.attributes +GNU_ATTRIBUTES .*
\[..\] \.pdr +PROGBITS .*
\[..\] \.gcc_compiled_long32 +PROGBITS .*
\[..\] \.gcc_compiled_long64 +PROGBITS .*
\[..\] \.mdebug\.abiO64 +PROGBITS .*
\[..\] \.mdebug\.eabi32 +PROGBITS .*
\[..\] \.mdebug\.eabi64 +PROGBITS .*
- \[..\] \.gnu\.attributes +GNU_ATTRIBUTES .*
\[..\] \.symtab +SYMTAB .*
\[..\] \.strtab +STRTAB .*
\[..\] \.shstrtab +STRTAB .*
\[..\] \.lit4 +PROGBITS .*
\[..\] \.sbss +NOBITS .*
\[..\] \.bss +NOBITS .*
+ \[..\] \.gnu\.attributes +GNU_ATTRIBUTES .*
+ \[..\] \.gptab\.sdata +MIPS_GPTAB .*
+ \[..\] \.gptab\.sbss +MIPS_GPTAB .*
\[..\] \.pdr +PROGBITS .*
\[..\] \.gcc_compiled_long32 +PROGBITS .*
\[..\] \.gcc_compiled_long64 +PROGBITS .*
\[..\] \.mdebug\.abiO64 +PROGBITS .*
\[..\] \.mdebug\.eabi32 +PROGBITS .*
\[..\] \.mdebug\.eabi64 +PROGBITS .*
- \[..\] \.gnu\.attributes +GNU_ATTRIBUTES .*
- \[..\] \.gptab\.sdata +MIPS_GPTAB .*
- \[..\] \.gptab\.sbss +MIPS_GPTAB .*
\[..\] \.symtab +SYMTAB .*
\[..\] \.strtab +STRTAB .*
\[..\] \.shstrtab +STRTAB .*
\[..\] \.lit4 +PROGBITS .*
\[..\] \.sbss +NOBITS .*
\[..\] \.bss +NOBITS .*
- \[..\] \.pdr +PROGBITS .*
\[..\] \.gnu\.attributes +GNU_ATTRIBUTES .*
\[..\] \.gptab\.sdata +MIPS_GPTAB .*
\[..\] \.gptab\.sbss +MIPS_GPTAB .*
\[..\] \.mdebug\.eabi64 +PROGBITS .*
\[..\] \.gcc_compiled_long32 +PROGBITS .*
\[..\] \.gcc_compiled_long64 +PROGBITS .*
+ \[..\] \.pdr +PROGBITS .*
\[..\] \.symtab +SYMTAB .*
\[..\] \.strtab +STRTAB .*
\[..\] \.shstrtab +STRTAB .*
\[..\] \.lit4 +PROGBITS .*
\[..\] \.sbss +NOBITS .*
\[..\] \.bss +NOBITS .*
- \[..\] \.pdr +PROGBITS .*
\[..\] \.gnu\.attributes +GNU_ATTRIBUTES .*
\[..\] \.gptab\.sdata +MIPS_GPTAB .*
\[..\] \.gptab\.sbss +MIPS_GPTAB .*
\[..\] \.mdebug\.eabi64 +PROGBITS .*
\[..\] \.gcc_compiled_long32 +PROGBITS .*
\[..\] \.gcc_compiled_long64 +PROGBITS .*
+ \[..\] \.pdr +PROGBITS .*
\[..\] \.symtab +SYMTAB .*
\[..\] \.strtab +STRTAB .*
\[..\] \.shstrtab +STRTAB .*
Sections:
Idx Name Size VMA +LMA +File off Algn
- 0 \.(text|bss ) [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
- (CONTENTS, ALLOC, LOAD, (READONLY, )?CODE|ALLOC)
- 1 \.text\.very\.long\.section\.name [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
+#...
+ *[0-9]+ \.text\.very\.long\.section\.name [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
CONTENTS, ALLOC, LOAD, READONLY, CODE, DATA
- 2 \.data [0-9a-fA-F]+ [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-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
+ *[0-9]+ \.rodata\$123456789 [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
CONTENTS, ALLOC, LOAD, DATA
- 9 \.data\.very\.long\.section [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
+ *[0-9]+ \.data\.very\.long\.section [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
CONTENTS, ALLOC, LOAD, DATA
- 10 \.rodata\.very\.long\.section [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
+ *[0-9]+ \.rodata\.very\.long\.section [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
CONTENTS, ALLOC, LOAD, DATA
- 11 \.data\.very\.long\.section\$1 [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
+ *[0-9]+ \.data\.very\.long\.section\$1 [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
CONTENTS, ALLOC, LOAD, DATA
- 12 \.rodata\.very\.long\.section\$1 [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
+ *[0-9]+ \.rodata\.very\.long\.section\$1 [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
CONTENTS, ALLOC, LOAD, DATA
- 13 \.data\.very\.long\.section\$1234 [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
+ *[0-9]+ \.data\.very\.long\.section\$1234 [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
CONTENTS, ALLOC, LOAD, DATA
- 14 \.rodata\.very\.long\.section\$1234 [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
+ *[0-9]+ \.rodata\.very\.long\.section\$1234 [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
CONTENTS, ALLOC, LOAD, DATA
#...
Sections:
Idx Name Size VMA +LMA +File off Algn
- 0 \.(text|bss ) [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
- (CONTENTS, ALLOC, LOAD, (READONLY, )?CODE|ALLOC)
- 1 \.text\.ve [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
+#...
+ *[0-9]+ \.text\.ve [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
CONTENTS, ALLOC, LOAD, READONLY, CODE, DATA
- 2 \.data [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
- CONTENTS, ALLOC, LOAD, DATA
- 3 \.data\$1 [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
+ *[0-9]+ \.data\$1 [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
CONTENTS, ALLOC, LOAD, DATA
- 4 \.rodata\$ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
+ *[0-9]+ \.rodata\$ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-f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*[0-9]+ \.rodata\. [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
CONTENTS, ALLOC, LOAD, DATA
- 11 \.data\.ve [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
+ *[0-9]+ \.data\.ve [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
CONTENTS, ALLOC, LOAD, DATA
- 12 \.rodata\. [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
+ *[0-9]+ \.rodata\. [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
CONTENTS, ALLOC, LOAD, DATA
- 13 \.data\.ve [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
+ *[0-9]+ \.data\.ve [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
CONTENTS, ALLOC, LOAD, DATA
- 14 \.rodata\. [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
+ *[0-9]+ \.rodata\. [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
CONTENTS, ALLOC, LOAD, DATA
#...
Sections:
Idx Name Size VMA +LMA +File off Algn
- 0 \.(text|bss ) [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
- (CONTENTS, ALLOC, LOAD, (READONLY, )?CODE|ALLOC)
- 1 \.text\.very\.long\.section\.name [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA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\*[0-9]
+ *[0-9]+ \.data\$123456789 [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
CONTENTS, ALLOC, LOAD, DATA
- 8 \.rodata\$123456789 [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
+ *[0-9]+ \.rodata\$123456789 [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
CONTENTS, ALLOC, LOAD, DATA
- 9 \.data\.very\.long\.section [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
+ *[0-9]+ \.data\.very\.long\.section [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
CONTENTS, ALLOC, LOAD, DATA
- 10 \.rodata\.very\.long\.section [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
+ *[0-9]+ \.rodata\.very\.long\.section [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
CONTENTS, ALLOC, LOAD, DATA
- 11 \.data\.very\.long\.section\$1 [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
+ *[0-9]+ \.data\.very\.long\.section\$1 [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
CONTENTS, ALLOC, LOAD, DATA
- 12 \.rodata\.very\.long\.section\$1 [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
+ *[0-9]+ \.rodata\.very\.long\.section\$1 [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
CONTENTS, ALLOC, LOAD, DATA
- 13 \.data\.very\.long\.section\$1234 [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
+ *[0-9]+ \.data\.very\.long\.section\$1234 [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
CONTENTS, ALLOC, LOAD, DATA
- 14 \.rodata\.very\.long\.section\$1234 [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
+ *[0-9]+ \.rodata\.very\.long\.section\$1234 [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ [0-9a-fA-F]+ 2\*\*[0-9]
CONTENTS, ALLOC, LOAD, DATA
#...
#...
\[[ 0-9]+\] .gnu.debuglto_.debug_info PROGBITS +0+ [0-9a-f]+ 0+42 00 +E 0 +0 1
- \[[ 0-9]+\] .rela.gnu.debuglto_.debug_info RELA +0+ [0-9a-f]+ 0+f0 18 +I 26 17 8
+ \[[ 0-9]+\] .rela.gnu.debuglto_.debug_info RELA +0+ [0-9a-f]+ 0+f0 18 +I 26 +[1-9][0-9]* 8
\[[ 0-9]+\] .gnu.debuglto_.debug_abbrev PROGBITS +0+ [0-9a-f]+ 0+26 00 +E 0 +0 1
\[[ 0-9]+\] .gnu.debuglto_.debug_macro PROGBITS +0+ [0-9a-f]+ 0+2a 00 +E 0 +0 1
- \[[ 0-9]+\] .rela.gnu.debuglto_.debug_macro RELA +0+ [0-9a-f]+ 0+60 18 +I 26 20 8
+ \[[ 0-9]+\] .rela.gnu.debuglto_.debug_macro RELA +0+ [0-9a-f]+ 0+60 18 +I 26 +[1-9][0-9]* 8
\[[ 0-9]+\] .gnu.debuglto_.debug_macro PROGBITS +0+ [0-9a-f]+ 0+10 00 GE 0 +0 1
- \[[ 0-9]+\] .rela.gnu.debuglto_.debug_macro RELA +0+ [0-9a-f]+ 0+30 18 IG 26 22 8
+ \[[ 0-9]+\] .rela.gnu.debuglto_.debug_macro RELA +0+ [0-9a-f]+ 0+30 18 IG 26 +[1-9][0-9]* 8
\[[ 0-9]+\] .gnu.debuglto_.debug_line PROGBITS +0+ [0-9a-f]+ 0+8a 00 +E 0 +0 1
\[[ 0-9]+\] .gnu.debuglto_.debug_str PROGBITS +0+ [0-9a-f]+ 0+15c 01 MSE 0 +0 1
#pass
\[Nr\] Name Type Address Off Size ES Flg Lk Inf Al
\[ 0\] NULL 0000000000000000 000000 000000 00 0 0 0
\[ 1\] .text PROGBITS 0000000000000000 000040 000000 00 AX 0 0 1
- \[ 2\] .foo PROGBITS 0000000000000000 000040 000003 00 AXl 0 0 1
- \[ 3\] .data PROGBITS 0000000000000000 000043 000000 00 WA 0 0 1
- \[ 4\] .bss NOBITS 0000000000000000 000043 000000 00 WA 0 0 1
+ \[ 2\] .data PROGBITS 0000000000000000 000040 000000 00 WA 0 0 1
+ \[ 3\] .bss NOBITS 0000000000000000 000040 000000 00 WA 0 0 1
+ \[ 4\] .foo PROGBITS 0000000000000000 000040 000003 00 AXl 0 0 1
\[ 5\] .foo.0 PROGBITS 0000000000000003 000043 000003 00 AXl 0 0 1
\[ 6\] .symtab SYMTAB 0000000000000000 [0-9a-f]+ [0-9a-f]+ 18 7 [0-9] 8
\[ 7\] .strtab STRTAB 0000000000000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1