[Bug middle-end/103762] [12 Regression] glibc master branch is miscompiled by r12-897
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Dec 18 14:25:40 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103762
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
Good:
There are 16 section headers, starting at offset 0x21d8:
Section Headers:
[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 00084d 00 AX
0 0 16
[ 2] .rela.text RELA 0000000000000000 001d80 000348 18 I
13 1 8
[ 3] .data PROGBITS 0000000000000000 00088d 000000 00 WA
0 0 1
[ 4] .bss NOBITS 0000000000000000 00088d 000000 00 WA
0 0 1
[ 5] .rodata.str1.1 PROGBITS 0000000000000000 00088d 000044 01 AMS
0 0 1
[ 6] .rodata.str1.8 PROGBITS 0000000000000000 0008d8 000070 01 AMS
0 0 8
[ 7] .data.rel.ro PROGBITS 0000000000000000 000960 000f50 00 WA
0 0 32
[ 8] .comment PROGBITS 0000000000000000 0018b0 00007e 01 MS
0 0 1
[ 9] .note.GNU-stack PROGBITS 0000000000000000 00192e 000000 00
0 0 1
[10] .note.gnu.property NOTE 0000000000000000 001930 000050 00 A
0 0 8
[11] .eh_frame PROGBITS 0000000000000000 001980 0000f0 00 A
0 0 8
[12] .rela.eh_frame RELA 0000000000000000 0020c8 000078 18 I
13 11 8
[13] .symtab SYMTAB 0000000000000000 001a70 000228 18
14 14 8
[14] .strtab STRTAB 0000000000000000 001c98 0000e4 00
0 0 1
[15] .shstrtab STRTAB 0000000000000000 002140 000097 00
0 0 1
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
L (link order), O (extra OS processing required), G (group), T (TLS),
C (compressed), x (unknown), o (OS specific), E (exclude),
D (mbind), l (large), p (processor specific)
Bad:
There are 18 section headers, starting at offset 0x2208:
Section Headers:
[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 00083d 00 AX
0 0 16
[ 2] .rela.text RELA 0000000000000000 001d80 000348 18 I
15 1 8
[ 3] .data PROGBITS 0000000000000000 00087d 000000 00 WA
0 0 1
[ 4] .bss NOBITS 0000000000000000 00087d 000000 00 WA
0 0 1
[ 5] .rodata.str1.1 PROGBITS 0000000000000000 00087d 000044 01 AMS
0 0 1
[ 6] .rodata.str1.8 PROGBITS 0000000000000000 0008c8 000070 01 AMS
0 0 8
[ 7] .data.rel.ro PROGBITS 0000000000000000 000940 000f50 00 WA
0 0 32
[ 8] .data.rel.ro.local PROGBITS 0000000000000000 001890 000008 00 WA
0 0 8
[ 9] .rela.data.rel.ro.local RELA 0000000000000000 0020c8 000018
18 I 15 8 8
[10] .comment PROGBITS 0000000000000000 001898 00007e 01 MS
0 0 1
[11] .note.GNU-stack PROGBITS 0000000000000000 001916 000000 00
0 0 1
[12] .note.gnu.property NOTE 0000000000000000 001918 000050 00 A
0 0 8
[13] .eh_frame PROGBITS 0000000000000000 001968 0000f0 00 A
0 0 8
[14] .rela.eh_frame RELA 0000000000000000 0020e0 000078 18 I
15 13 8
[15] .symtab SYMTAB 0000000000000000 001a58 000240 18
16 15 8
[16] .strtab STRTAB 0000000000000000 001c98 0000e4 00
0 0 1
[17] .shstrtab STRTAB 0000000000000000 002158 0000af 00
0 0 1
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
L (link order), O (extra OS processing required), G (group), T (TLS),
C (compressed), x (unknown), o (OS specific), E (exclude),
D (mbind), l (large), p (processor specific)
These
[ 8] .data.rel.ro.local PROGBITS 0000000000000000 001890 000008 00 WA
0 0 8
[ 9] .rela.data.rel.ro.local RELA 0000000000000000 0020c8 000018
18 I 15 8 8
are only on bad elf/dl-tunables.o.
More information about the Gcc-bugs
mailing list