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

Re: [MiNT] linker question



Andreas Schwab wrote:
00000195 t .LC5
00000e36 t .LC5

These symbols are not mangled, and there is nothing wrong with having
multiple local symbols with the same name.  They originate from
different object files and are independent from each other.

Moreover, you shown the "nm" output.

The 't' in lowercase indicates a local text symbol, it is used only for debug purposes, but it is ignored by the linker.

By opposition, a 'T' on uppercase indicates a globally visible label, this one can't be duplicated.

--
Vincent Rivière