bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/2462] -Wl,-s doesn't strip everything in 2.16.91.0.6


From: others1 at pervalidus dot net
Subject: [Bug binutils/2462] -Wl,-s doesn't strip everything in 2.16.91.0.6
Date: 16 Mar 2006 23:43:38 -0000

------- Additional Comments From others1 at pervalidus dot net  2006-03-16 
23:43 -------
I can reproduce it with anything, even a single

#include <stdio.h>
void main(void) {
printf("Hello world \n");
}

New binutils:

$ gcc -o foo -Wl,-s foo.c
foo.c: In function `main':
foo.c:2: warning: return type of 'main' is not `int'
$ ls -l foo
-rwxr-xr-x 1 root root 3313 2006-03-16 20:38 foo
$ strip foo
$ ls -l foo
-rwxr-xr-x 1 root root 2896 2006-03-16 20:39 foo

Old binutils:

$ gcc -o foo -Wl,-s foo.c
foo.c: In function `main':
foo.c:2: warning: return type of 'main' is not `int'
$ ls -l foo
-rwxr-xr-x 1 root root 2896 2006-03-16 23:40 foo
$ strip foo
-rwxr-xr-x 1 root root 2896 2006-03-16 23:40 foo

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=2462

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]