This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.


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

Bugs in gcc or binutils 2.7?


I got this with binutils 2.7 under i486-linux:

# cat foo.c
#pragma weak foo
foo ()
{
}
# gcc -c foo.c
/tmp/cca21074.s: Assembler messages:
/tmp/cca21074.s:17: Error: foo already declared as global


-- 
H.J. Lu
Innovix Technologies, Inc.
hjl@innovix.com