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: [GOLD][COMMITTED] Fix incorrect encoding of DT_PREINIT_ARRAY.


They are used in different contexts.  DT_ENCODING is used to mark a
range of dynamic tags.  Here is what the specs say.

DT_ENCODING
    Values greater than or equal to DT_ENCODING and less than DT_LOOS
follow the rules for the interpretation of the d_un union described
above.

-Doug

2009/10/17 Andreas Schwab <schwab@linux-m68k.org>:
> Ian Lance Taylor <iant@google.com> writes:
>
>> Andreas Schwab <schwab@linux-m68k.org> writes:
>>
>>> "Doug Kwan (Ãö®¶¼w)" <dougkwan@google.com> writes:
>>>
>>>> @@ -657,7 +657,7 @@ enum DT
>>>>    DT_RUNPATH = 29,
>>>>    DT_FLAGS = 30,
>>>>    DT_ENCODING = 32,
>>>> -  DT_PREINIT_ARRAY = 33,
>>>> +  DT_PREINIT_ARRAY = 32,
>>>
>>> What about DT_ENCODING?
>>
>> The value for DT_ENCODING is correct.
>
> How can you distinguish DT_ENCODING from DT_PREINIT_ARRAY?
>
> Andreas.
>
> --
> Andreas Schwab, schwab@linux-m68k.org
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
> "And now for something completely different."
>


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