public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/150] New: Wrong linkonce section name is used
@ 2004-05-06 16:03 hjl at lucon dot org
2004-05-06 16:04 ` [Bug libc/150] " hjl at lucon dot org
2004-06-15 19:55 ` roland at gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: hjl at lucon dot org @ 2004-05-06 16:03 UTC (permalink / raw)
To: glibc-bugs
sysdeps/generic/strtol_l.c has
const TYPE NAME[] attribute_hidden
__attribute__((section(".gnu.linkonce.ro." #NAME))) =
But both gcc and ld use ".gnu.linkonce.r." as the prefix for linkonce section.
We got
# objdump -h libc.so
...
14 .gnu.linkonce.ro.__strtol_ul_rem_tab 00000023 000000000011c800
000000000011c800 0011c800 2**5
CONTENTS, ALLOC, LOAD, READONLY, DATA, LINK_ONCE_DISCARD
15 .gnu.linkonce.ro.__strtol_ul_max_tab 00000118 000000000011c840
000000000011c840 0011c840 2**5
They should be in .rodata section.
--
Summary: Wrong linkonce section name is used
Product: glibc
Version: 2.3.3
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: gotom at debian dot or dot jp
ReportedBy: hjl at lucon dot org
CC: glibc-bugs at sources dot redhat dot com
http://sources.redhat.com/bugzilla/show_bug.cgi?id=150
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libc/150] Wrong linkonce section name is used
2004-05-06 16:03 [Bug libc/150] New: Wrong linkonce section name is used hjl at lucon dot org
@ 2004-05-06 16:04 ` hjl at lucon dot org
2004-06-15 19:55 ` roland at gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: hjl at lucon dot org @ 2004-05-06 16:04 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From hjl at lucon dot org 2004-05-06 16:04 -------
Created an attachment (id=70)
--> (http://sources.redhat.com/bugzilla/attachment.cgi?id=70&action=view)
A patch
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=150
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libc/150] Wrong linkonce section name is used
2004-05-06 16:03 [Bug libc/150] New: Wrong linkonce section name is used hjl at lucon dot org
2004-05-06 16:04 ` [Bug libc/150] " hjl at lucon dot org
@ 2004-06-15 19:55 ` roland at gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: roland at gnu dot org @ 2004-06-15 19:55 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From roland at gnu dot org 2004-06-15 19:55 -------
I've put the patch in.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://sources.redhat.com/bugzilla/show_bug.cgi?id=150
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-06-15 19:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-06 16:03 [Bug libc/150] New: Wrong linkonce section name is used hjl at lucon dot org
2004-05-06 16:04 ` [Bug libc/150] " hjl at lucon dot org
2004-06-15 19:55 ` roland at gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).