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 11:19 AM, Cary Coutant <firstname.lastname@example.org> wrote:
> It ?looks to me like the "if (0)" is preventing those new locals from
> being written to the output file:
> Did you forget to remove a hack?
D'oh! Clearly I did. But removing that doesn't change the results.
I think I just added that while debugging to verify that this code
was not having any effect.
What's happening is that the symbols it writes are later being overwritten
with globals. This is because first_global_index hasn't counted the
generated_locals. I tried a couple of different tacks to increment it
but those ran afoul of other assertions. I really don't understand the
bookkeeping associated with first_global_index_ and output_count_.