This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/974] init_array doesn't take argc, argv in executable
- From: "hjl at lucon dot org" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 26 May 2005 22:13:56 -0000
- Subject: [Bug libc/974] init_array doesn't take argc, argv in executable
- References: <20050526221305.974.hjl@lucon.org>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- 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]:
--
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.