This is the mail archive of the
mailing list for the binutils project.
Re: [nonworking patch] gold/arm: define $a/$d markers in .plt
On Wed, Apr 18, 2012 at 2:08 PM, Cary Coutant <firstname.lastname@example.org> wrote:
> The global symbol table is, as its name suggests, for global symbols
> -- i.e., symbols that should be unique by name. The reason
> forced-local symbols are in the table is because they were global
> symbols for static linking, and were turned into local symbols for
> dynamic linking.
I see. I was not clear on what forced-local meant before.
> I think this generated-locals treatment would actually be appropriate
> for _GLOBAL_OFFSET_TABLE_, _DYNAMIC, and the other linker-generated
> STB_LOCAL symbols, but we get away with adding them to the global
> symbol table because their names happen to be unique. That's why I
> suggested keying off of the binding in define_in_output_data() rather
> than adding a new method to the Symbol_table class.
That makes sense. I'll change it that way.