[PATCH] (version 2) Change MIPS linker stubs to allow for more than 2^15 symbols.
David Daney
ddaney@avtrex.com
Thu Jun 8 23:19:00 GMT 2006
More information about the Binutils mailing list
Thu Jun 8 23:19:00 GMT 2006
- Previous message (by thread): [PATCH] (version 2) Change MIPS linker stubs to allow for more than 2^15 symbols.
- Next message (by thread): [PATCH] (version 2) Change MIPS linker stubs to allow for more than 2^15 symbols.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thiemo Seufer wrote:
> David Daney wrote:
>>--- 8020,8061 ----
>> MIPS_ELF_STUB_SECTION_NAME (dynobj));
>> BFD_ASSERT (s != NULL);
>>
>>! BFD_ASSERT ((MIPS_FUNCTION_STUB_SIZE (info) == 20)
>>! || (h->dynindx <= 65536));
>>!
>>! /* Values up to 2^31 - 1 are allowed. Larger values would cause
>>! * sign extension at runtime in the stub, resulting in a negative
>>! * index value.
>>! */
>>! if (h->dynindx & 0x80000000)
>> return FALSE;
>>
>> /* Fill the stub. */
>>! idx = 0;
>>! bfd_put_32 (output_bfd, STUB_LW (output_bfd), stub + idx);
>>! idx += 4;
>>! bfd_put_32 (output_bfd, STUB_MOVE (output_bfd), stub + idx);
>>! idx += 4;
>>! if (MIPS_FUNCTION_STUB_SIZE (info) == 20)
>>! {
>>! bfd_put_32 (output_bfd, STUB_LUI ((h->dynindx >> 16 ) & 0xffff),
>
>
> Formatting. Otherwise ok for trunk.
>
I try to keep current on GNU coding standards, but could you tell me
which aspect of the formatting is non-compliant?
David Daney.
- Previous message (by thread): [PATCH] (version 2) Change MIPS linker stubs to allow for more than 2^15 symbols.
- Next message (by thread): [PATCH] (version 2) Change MIPS linker stubs to allow for more than 2^15 symbols.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list