This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Weak symbol support on powerpc-ibm-aix5.2.0.0 (binutils 2.15)


Hi all!

Are weak symbols unsupported on AIX 5.2 or is this a gas/bfd bug?

weak.a:

----8<------8<-----8<-----8<-----8<---
	.csect 	.data[RW]

	.globl 	g
g:	.long 	0

	.weak 	w
w:	.long 	0
----8<------8<-----8<-----8<-----8<---

$ as -uppc32 weak.a -o weak.o ; nm -l weak.o   # IBM as
g                    D           0
w                    D*          4
weak.a               f           -

$ gas -mppc32 weak.a -o weak.o ; nm -l weak.o  # GNU as
fake                 f           -
g                    D           0

-> where is 'w'?

$ gas -v
GNU assembler version 2.15 () using BFD version 2.15


Regards,

-- 
Michael Klein

#exclude <windows.h>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]