[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] MiNTlib assembly labels naming?



Eero Tamminen <oak@helsinkinet.fi> writes:

> Could that and similar non-function ASM labels be made local,

Labels not declared global are local.  If you want them left out of the
symbol table, then their name needs to start with L.

> PS. the symbol not having leading '_' should have been
> a hint, but I didn't think of that at first (real exit()
> symbol is of course named "__exit")...

The C identifier exit is mapped to _exit, not __exit.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."