This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

Re: Builtins-vs-libcalls-vs-optimised-away-vs-still-emitting-an-undefined-symbol-reference


Paul Brook <paul@codesourcery.com> writes:

> > >         .file   "<stdin>"
> > >  foo    .global _ffs
> >
> > Is this really a reference?  It just looks like a declaration.  A
> > typical ELF assembler will not generate an undefined symbol merely
> > because it sees a .global pseudo-op.
> 
> I think gas 2.17 counts as a "typical ELF assembler". It does create undefined 
> symbols in response to a .global pseudo-op.

Whoops, you're right.  I tested that, but I goofed the test.

Ian


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