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; 14+ 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] 14+ messages in thread
[parent not found: <1060095548.9686.69.camel@brick.watson.ibm.com>]

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

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-29 14:35 ld bug? 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
     [not found]         ` <mailpost.1004538510.13276@postal.sibyte.com>
     [not found]           ` <yov5wv1bpxbb.fsf@broadcom.com>
2001-10-31 10:37             ` PATCH: Add the "ld -r" test for ELF visibility H . J . Lu
2001-10-31 11:12               ` Hans-Peter Nilsson
2001-10-31 12:07                 ` H . J . Lu
2001-10-31 13:20                 ` H . J . Lu
2001-10-31 13:31                   ` Hans-Peter Nilsson
2001-10-31 13:35                     ` cgd
2001-10-31 13:53                     ` H . J . Lu
2001-10-31 15:09                       ` Hans-Peter Nilsson
     [not found] <1060095548.9686.69.camel@brick.watson.ibm.com>
2003-08-06  1:26 ` ld bug? Alan Modra

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