public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* discard a weak symbol in object file
@ 2006-06-28  8:02 Wolfgang Haidinger
  2006-06-28 19:37 ` Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Haidinger @ 2006-06-28  8:02 UTC (permalink / raw)
  To: gcc-help

Hi all,

I tired to remove a local symbol in an .o file by the use of:
arm-elf-objcopy -N <symbol-name> infile.o outfile.o

This works fine as long as the symbol is global (not weak nor local).
Unfortunately objcopy provides just the conversion of symbols into weak or 
local, but no option to convert into global.

Has anyone an idea how I can get rid of an unwanted symbol in an object 
file, or how I can change it to be global?

Thanks a lot & Grüße
Wolfgang Haidinger
---
Wolfgang Haidinger
B&R Industrie-Elektronik GmbH
BU Controls, Safety
Tel: +43 (0)7748 6586 1121
eMail: wolfgang dot haidinger at br-automation dot com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-06-28 19:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-28  8:02 discard a weak symbol in object file Wolfgang Haidinger
2006-06-28 19:37 ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).