This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Plugin interfaces to do Pettis Hansen style code layout in the gold linker.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]