This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
linker options
- From: "Karcich, Ann" <ann dot karcich at baesystems dot com>
- To: "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Date: Wed, 02 Oct 2002 15:55:41 -0400
- Subject: linker options
I'm compiling/dynamically linking with gcc 2.95.3 on Slackware Linux 8.0.
When I disassemble the code, some of the function addresses are two bytes
offset from
the actual address reported by 'nm' . So of course, the code is crashing.
So far, I
have not seen the problem if I do a static link but customer requirements
are for
dynamic linking.
Has anyone seen this problem?
Are there any switches that I can set to avoid this problem?
Thanks in advance for any suggestions.
Ann Karcich
Email: ann.karcich@baesystems.com