Browse Source
2004-04-30 H.J. Lu <hongjiu.lu@intel.com> * config/obj-elf.c (get_section): New function. (obj_elf_change_section): Support multiple sections with same name. gas/testsuite/ 2004-04-30 H.J. Lu <hongjiu.lu@intel.com> * gas/elf/elf.exp: Remove group1, add group1a and group1b for section group. * gas/elf/group1a.d: New file. * gas/elf/group1b.d: Likewise. * gas/elf/group1.e: Removed.jimb-rda-nptl-branch
7 changed files with 92 additions and 25 deletions
@ -1,7 +0,0 @@ |
|||
|
|||
Symbol table '.symtab' contains 4 entries: |
|||
Num: Value[ ]* Size Type Bind Vis Ndx Name |
|||
0: 0+0 0 NOTYPE LOCAL DEFAULT UND |
|||
1: 0+0 0 SECTION LOCAL DEFAULT 1 |
|||
2: 0+0 0 SECTION LOCAL DEFAULT 2 |
|||
3: 0+0 0 SECTION LOCAL DEFAULT 3 |
|||
@ -0,0 +1,10 @@ |
|||
#readelf: -SW |
|||
#name: group section with multiple sections of same name |
|||
#source: group1.s |
|||
|
|||
#... |
|||
[ ]*\[.*\][ ]+\.text[ ]+PROGBITS.*[ ]+AX[ ]+.* |
|||
#... |
|||
[ ]*\[.*\][ ]+\.text[ ]+PROGBITS.*[ ]+AXG[ ]+.* |
|||
[ ]*\[.*\][ ]+\.foo_group[ ]+GROUP.* |
|||
#pass |
|||
@ -0,0 +1,9 @@ |
|||
#readelf: -g |
|||
#name: group section with multiple sections of same name |
|||
#source: group1.s |
|||
|
|||
#... |
|||
COMDAT group section `.foo_group' \[.foo_group\] contains 1 sections: |
|||
[ ]+\[Index\][ ]+Name |
|||
[ ]+\[.*\][ ]+.text |
|||
#pass |
|||
Loading…
Reference in new issue