mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
709001e957
* config/obj-elf.c (elf_adjust_symtab): New. Move group section processing here from elf_frob_file. Ensure that group signature symbols have the name of the group. (elf_frob_file): Move group section processing to elf_adjust_symtab. * config/obj-elf.h (elf_adjust_symtab): Declare. (obj_adjust_symtab): Define. * config/tc-arm.c (arm_adjust_symtab): Call elf_adjust_symtab. 2010-10-23 Mark Mitchell <mark@codesourcery.com> * gas/elf/elf.exp: Add group0c test. * gas/elf/group0c.d: New. * gas/elf/group0a.d: Expect ".group" for the name of group sections. * gas/elf/group0b.d: Likewise. * gas/elf/group1a.d: Likewise. * gas/elf/group1b.d: Likewise. * gas/elf/groupautoa.d: Likewise. * gas/elf/groupautob.d: Likewise. * gas/elf/section4.d: Likewise. * gas/ia64/group-1.d: Likewise. Adjust hard-coded constants. 2010-10-22 Mark Mitchell <mark@codesourcery.com> * binutils-all/group-5.d: Expect ".group" for the name of group sections. * binutils-all/strip-2.d: Likewise. 2010-10-23 Mark Mitchell <mark@codesourcery.com> * ld-elf/group10.d: Expect ".group" for the name of group sections. * ld-elf/group2.d: Likewise. * ld-elf/group7.d: Likewise.
32 lines
1.0 KiB
Makefile
32 lines
1.0 KiB
Makefile
#source: ../../../binutils/testsuite/binutils-all/group.s
|
|
#source: ../../../binutils/testsuite/binutils-all/group-2.s
|
|
#source: ../../../binutils/testsuite/binutils-all/group-3.s
|
|
#source: ../../../binutils/testsuite/binutils-all/group-4.s
|
|
#ld: -r
|
|
#readelf: -g --wide
|
|
#xfail: cr16-*-* crx-*-*
|
|
# cr16 and crx use non-standard scripts with memory regions, which don't play
|
|
# well with unique group sections under ld -r.
|
|
|
|
#...
|
|
COMDAT group section \[[ 0-9]+\] `\.group' \[foo_group\] contains 2 sections:
|
|
\[Index\] Name
|
|
\[[ 0-9]+\] .text.foo
|
|
\[[ 0-9]+\] .data.foo
|
|
#...
|
|
COMDAT group section \[[ 0-9]+\] `.group' \[.text.foo\] contains 2 sections:
|
|
\[Index\] Name
|
|
\[[ 0-9]+\] .text.foo
|
|
\[[ 0-9]+\] .data.bar
|
|
#...
|
|
COMDAT group section \[[ 0-9]+\] `.group' \[foo3\] contains 2 sections:
|
|
\[Index\] Name
|
|
\[[ 0-9]+\] .text.foo3
|
|
\[[ 0-9]+\] .data.bar3
|
|
#...
|
|
COMDAT group section \[[ 0-9]+\] `.group' \[foo4\] contains 2 sections:
|
|
\[Index\] Name
|
|
\[[ 0-9]+\] .text.foo4
|
|
\[[ 0-9]+\] .data.foo4
|
|
#pass
|