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: [PATCH][PR ld/10144] MIPS/BFD: Don't make debug section relocs dynamic


"Maciej W. Rozycki" <macro@codesourcery.com> writes:
> On Thu, 9 Dec 2010, Richard Sandiford wrote:
>
>> > 2010-12-07  Maciej W. Rozycki  <macro@codesourcery.com>
>> >
>> > 	gas/
>> > 	* config/tc-mips.h (TC_ADDRESS_BYTES): New macro.
>> > 	(mips_address_bytes): New prototype.
>> > 	* config/tc-mips.c (mips_address_bytes): New function.
>> 
>> OK
>
>  Thanks, I'll be applying the following change on top of that change then, 
> unless you have any further concerns.

I think this is likely to break other targets that have 32-bit ABIs
and 64-bit architectures.  A general fix along the lines of the
bfd.c:is32bit thing that I mentioned upthread would be needed first.

(That fix would also have worked for your three examples, without
the need for a MIPS-specific patch.  The reason I didn't insist
is that a MIPS-specific change is needed for EABI64 (32-bit ELF,
64-bit addresses, ick.).)

Richard


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