Plugin interfaces to do Pettis Hansen style code layout in the gold linker.
Ian Lance Taylor
iant@google.com
Tue Mar 15 20:11:00 GMT 2011
Cary Coutant <ccoutant@google.com> writes:
>> However, I don't see why you are using an index here. You have an
>> Object* pointer. Why not just use that as the handle?
>
> Sri's first patch did use the Object* as the handle, but I suggested
> using an index like the original plugin APIs do. This makes it more
> consistent with the existing interfaces, and also makes it easier to
> sanity check the value passed in from a plugin library.
Hmmmm, well, OK.
Ian
More information about the Binutils
mailing list