public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* ld bug?
@ 2001-10-29 14:35 Vassili Karpov
  2001-10-30 23:30 ` H . J . Lu
  0 siblings, 1 reply; 6+ messages in thread
From: Vassili Karpov @ 2001-10-29 14:35 UTC (permalink / raw)
  To: binutils

LD discards ELF visibility attributes when making relocateable objects.

Example:
a.s
==
.protected symbol

b.s
==
dummy:
---
as -o a.o a.s
as -o b.o b.s
ld -r -o c.o a.o b.o

a.o:     4: 00000000     0 NOTYPE  GLOBAL PROTECTED  UND symbol
c.o:     8: 00000000     0 NOTYPE  GLOBAL DEFAULT  UND symbol
-- 
mailto:malc@pulsesoft.com

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

end of thread, other threads:[~2003-08-06  1:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1060095548.9686.69.camel@brick.watson.ibm.com>
2003-08-06  1:26 ` ld bug? Alan Modra
2001-10-29 14:35 Vassili Karpov
2001-10-30 23:30 ` H . J . Lu
2001-10-30 23:33   ` H . J . Lu
2001-10-30 23:42     ` H . J . Lu
2001-10-31  6:27       ` Nick Clifton

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