[Bug uprobes/12851] Wrong section group usage in <sys/sdt.h>
hjl.tools at gmail dot com
sourceware-bugzilla@sourceware.org
Tue Jun 7 13:11:00 GMT 2011
http://sourceware.org/bugzilla/show_bug.cgi?id=12851
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2011-06-07 13:10:48 UTC ---
Please build and run "make check" GCC mainline on Fedora 15/x86.
I see
`_.stapsdt.base' referenced in section `.note.stapsdt' of
/usr/lib/../lib/libc.a(libc-lowlevellock.o): defined in discarded section
`.stapsdt.base[.stapsdt.base]' of /usr/lib/../lib/libc.a(bsd-_setjmp.o)^M
`_.stapsdt.base' referenced in section `.note.stapsdt' of
/usr/lib/../lib/libc.a(dl-lookup.o): defined in discarded section
`.stapsdt.base[.stapsdt.base]' of /usr/lib/../lib/libc.a(bsd-_setjmp.o)^M
`_.stapsdt.base' referenced in section `.note.stapsdt' of
/usr/lib/../lib/libc.a(setjmp.o): defined in discarded section
`.stapsdt.base[.stapsdt.base]' of /usr/lib/../lib/libc.a(bsd-_setjmp.o)^M
`_.stapsdt.base' referenced in section `.note.stapsdt' of
/usr/lib/../lib/libc.a(__longjmp.o): defined in discarded section
`.stapsdt.base[.stapsdt.base]' of /usr/lib/../lib/libc.a(bsd-_setjmp.o)^M
`_.stapsdt.base' referenced in section `.note.stapsdt' of
/usr/lib/../lib/libc.a(__longjmp.o): defined in discarded section
`.stapsdt.base[.stapsdt.base]' of /usr/lib/../lib/libc.a(bsd-_setjmp.o)^M
`_.stapsdt.base' referenced in section `.note.stapsdt' of
/usr/lib/../lib/libc.a(dl-runtime.o): defined in discarded section
`.stapsdt.base[.stapsdt.base]' of /usr/lib/../lib/libc.a(bsd-_setjmp.o)^M
`_.stapsdt.base' referenced in section `.note.stapsdt' of
/usr/lib/../lib/libc.a(dl-runtime.o): defined in discarded section
`.stapsdt.base[.stapsdt.base]' of /usr/lib/../lib/libc.a(bsd-_setjmp.o)^M
[hjl@gnu-33 tmp]$ readelf -Sg bsd-_setjmp.o
There are 14 section headers, starting at offset 0x15c:
Section Headers:
[Nr] Name Type Addr Off Size ES Flg Lk Inf
Al
[ 0] NULL 00000000 000000 000000 00 0 0
0
[ 1] .group GROUP 00000000 000034 000008 04 12 2
4
[ 2] .text PROGBITS 00000000 000040 000037 00 AX 0 0
16
[ 3] .data PROGBITS 00000000 000078 000000 00 WA 0 0
4
[ 4] .bss NOBITS 00000000 000078 000000 00 WA 0 0
4
[ 5] .note.stapsdt NOTE 00000000 000078 000040 00 0 0
4
[ 6] .rel.note.stapsdt REL 00000000 000454 000010 08 12 5
4
[ 7] .stapsdt.base PROGBITS 00000000 0000b8 000001 00 AG 0 0
1
[ 8] .note.GNU-stack PROGBITS 00000000 0000b9 000000 00 0 0
1
[ 9] .eh_frame PROGBITS 00000000 0000bc 00002c 00 A 0 0
4
[10] .rel.eh_frame REL 00000000 000464 000008 08 12 9
4
[11] .shstrtab STRTAB 00000000 0000e8 000071 00 0 0
1
[12] .symtab SYMTAB 00000000 00038c 0000b0 10 13 9
4
[13] .strtab STRTAB 00000000 00043c 000018 00 0 0
1
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings)
I (info), L (link order), G (group), T (TLS), E (exclude), x (unknown)
O (extra OS processing required) o (OS specific), p (processor specific)
COMDAT group section [ 1] `.group' [.stapsdt.base] contains 1 sections:
[Index] Name
[ 7] .stapsdt.base
[hjl@gnu-33 tmp]$
.stapsdt.base and .note.stapsdt aren't in the same section group.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Systemtap
mailing list