This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
linker option -s
- From: Oliver Lange <bloodrock at bloody dot in-berlin dot de>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 28 Nov 2003 17:50:44 +0100
- Subject: linker option -s
Hello everyone,
I found a link to this mailing list at
http://www.gnu.org/software/gcc/gcc.html
but i don't know how to subscribe to the list, so i can't read
answers within the list.
I'd just like to see a better documentation for the linker option
'-s' in future versions of the manual. The current single-line
description is, however, unsufficient. Removing 'relocation information'
could be misunderstood as removing 'reloc tables', which would make
an executable unloadable, which is in fact not true. I wonder if
I could use this option when linking a dynamic library - can applications
still find library functions if a lib was linked using -s ?
And what kinda symbols are removed ? I still have absolutely no clue
what this option is exactly doing, but i'm using it by default..
Have a nice day..