This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [nonworking patch] gold/arm: define $a/$d markers in .plt
On Wed, Apr 18, 2012 at 12:10 PM, Cary Coutant <ccoutant@google.com> wrote:
> first_global_index_ is kind of misleading -- it's actually the first
> symbol index where symbols from the global symbol table get written,
> and that includes symbols that have been forced local, and will also
> include the generated locals that you're creating. All the symbols
> below that point are locals that come directly from relocatable object
> files.
I was indeed misled in exactly that way. I took it to be the local/global
ordering split in the output ELF symbol table, and so was not using it for
my local symbols. With that adjustment, my code now works. I'll post a
working patch shortly.
Thanks,
Roland