[nonworking patch] gold/arm: define $a/$d markers in .plt

Cary Coutant ccoutant@google.com
Wed Apr 18 18:51:00 GMT 2012


> Here's my attempt at that.  It produces three new symbol table entries.
> But they are nameless and SHN_UNDEF instead of the names and sections
> they should have.

It  looks to me like the "if (0)" is preventing those new locals from
being written to the output file:

> +  // Next do all the symbols which have been generated as local.
> +  // They too must appear before all global symbols.
> +  if (0)
> +  for (Forced_locals::const_iterator p = this->generated_locals_.begin();
> +       p != this->generated_locals_.end();
> +       ++p)
> +    {

Did you forget to remove a hack?

-cary



More information about the Binutils mailing list