2004-07-01 H.J. Lu <hongjiu.lu@intel.com>

* gas/ia64/group-1.d: New.
	* gas/ia64/group-1.s: Likewise.

	* gas/ia64/ia64.exp: Add group-1 to test comdat group.
This commit is contained in:
H.J. Lu 2004-07-02 02:01:23 +00:00
parent b602c853d8
commit 2d2b9592a7
4 changed files with 52 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2004-07-01 H.J. Lu <hongjiu.lu@intel.com>
* gas/ia64/group-1.d: New.
* gas/ia64/group-1.s: Likewise.
* gas/ia64/ia64.exp: Add group-1 to test comdat group.
2004-06-30 James E Wilson <wilson@specifixinc.com>
* gas/ia64/dv-imply.d: Update.

View File

@ -0,0 +1,34 @@
#readelf: -Sg
#name: ia64 group
There are 9 section headers, starting at offset 0x90:
Section Headers:
\[Nr\] Name Type Address Offset
Size EntSize Flags Link Info Align
\[ 0\] NULL 0000000000000000 00000000
0000000000000000 0000000000000000 0 0 0
\[ 1\] \.text PROGBITS 0000000000000000 00000040
0000000000000000 0000000000000000 AX 0 0 16
\[ 2\] \.data PROGBITS 0000000000000000 00000040
0000000000000000 0000000000000000 WA 0 0 1
\[ 3\] \.bss NOBITS 0000000000000000 00000040
0000000000000000 0000000000000000 WA 0 0 1
\[ 4\] \.text PROGBITS 0000000000000000 00000040
0000000000000010 0000000000000000 AXG 0 0 16
\[ 5\] \._foo GROUP 0000000000000000 00000050
0000000000000008 0000000000000004 7 6 4
\[ 6\] \.shstrtab STRTAB 0000000000000000 00000058
0000000000000032 0000000000000000 0 0 1
\[ 7\] \.symtab SYMTAB 0000000000000000 000002d0
00000000000000a8 0000000000000018 8 7 8
\[ 8\] \.strtab STRTAB 0000000000000000 00000378
0000000000000006 0000000000000000 0 0 1
Key to Flags:
W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\)
I \(info\), L \(link order\), G \(group\), x \(unknown\)
O \(extra OS processing required\) o \(OS specific\), p \(processor specific\)
COMDAT group section `\._foo' \[\._foo\] contains 1 sections:
\[Index\] Name
\[ 4\] \.text

View File

@ -0,0 +1,10 @@
.section .text,"axG",@progbits,._foo,comdat
.proc _foo#
_foo:
(p6) br.cond.dptk .L37
.L48:
.L70:
.L37:
.L77:
.L74:
.endp _foo#

View File

@ -56,5 +56,6 @@ if [istarget "ia64-*"] then {
run_dump_test "secname"
run_dump_test "unwind"
run_dump_test "alias"
run_dump_test "group-1"
}
}