This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/974] init_array doesn't take argc, argv in executable


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]