public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/974] New: init_array doesn't take argc, argv in executable
@ 2005-05-26 22:13 hjl at lucon dot org
2005-05-26 22:14 ` [Bug libc/974] " hjl at lucon dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: hjl at lucon dot org @ 2005-05-26 22:13 UTC (permalink / raw)
To: glibc-bugs
init_array in DSO is implemented as
void (*const init_array[])(int, char **, ...);
But in executable, it is
void (*const init_array[])();
preinit_array has the same issue.
--
Summary: init_array doesn't take argc, argv in executable
Product: glibc
Version: unspecified
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=974
------- 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] 4+ messages in thread
* [Bug libc/974] init_array doesn't take argc, argv in executable
2005-05-26 22:13 [Bug libc/974] New: init_array doesn't take argc, argv in executable hjl at lucon dot org
@ 2005-05-26 22:14 ` hjl at lucon dot org
2005-07-07 19:39 ` hjl at lucon dot org
2005-07-29 3:56 ` gotom at debian dot or dot jp
2 siblings, 0 replies; 4+ messages in thread
From: hjl at lucon dot org @ 2005-05-26 22:14 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From hjl at lucon dot org 2005-05-26 22:13 -------
Created an attachment (id=499)
--> (http://sources.redhat.com/bugzilla/attachment.cgi?id=499&action=view)
A testcase
[hjl@gnu-d array]$ make
gcc -c -o foo.o foo.c
gcc -shared -o libfoo.so libfoo.c -fPIC
gcc -o foo foo.o libfoo.so -Wl,-rpath,
gcc -c -o bar.o bar.c
gcc -o bar bar.o
./foo
argv[0]: ./foo
./bar
argv[0]: \x01
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=974
------- 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] 4+ messages in thread
* [Bug libc/974] init_array doesn't take argc, argv in executable
2005-05-26 22:13 [Bug libc/974] New: init_array doesn't take argc, argv in executable hjl at lucon dot org
2005-05-26 22:14 ` [Bug libc/974] " hjl at lucon dot org
@ 2005-07-07 19:39 ` hjl at lucon dot org
2005-07-29 3:56 ` gotom at debian dot or dot jp
2 siblings, 0 replies; 4+ messages in thread
From: hjl at lucon dot org @ 2005-07-07 19:39 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From hjl at lucon dot org 2005-07-07 19:39 -------
A patch is posted at
http://sources.redhat.com/ml/libc-alpha/2005-07/msg00011.html
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=974
------- 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] 4+ messages in thread
* [Bug libc/974] init_array doesn't take argc, argv in executable
2005-05-26 22:13 [Bug libc/974] New: init_array doesn't take argc, argv in executable hjl at lucon dot org
2005-05-26 22:14 ` [Bug libc/974] " hjl at lucon dot org
2005-07-07 19:39 ` hjl at lucon dot org
@ 2005-07-29 3:56 ` gotom at debian dot or dot jp
2 siblings, 0 replies; 4+ messages in thread
From: gotom at debian dot or dot jp @ 2005-07-29 3:56 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From gotom at debian dot or dot jp 2005-07-29 03:56 -------
Fixed in the cvs.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://sources.redhat.com/bugzilla/show_bug.cgi?id=974
------- 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] 4+ messages in thread
end of thread, other threads:[~2005-07-29 3:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-26 22:13 [Bug libc/974] New: init_array doesn't take argc, argv in executable hjl at lucon dot org
2005-05-26 22:14 ` [Bug libc/974] " hjl at lucon dot org
2005-07-07 19:39 ` hjl at lucon dot org
2005-07-29 3:56 ` gotom at debian dot or dot jp
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).