Re: MIPS64 -msym32 and DWARF2_ADDR_SIZE

2009-02-02 Thread Richard Sandiford
Eric Christopher writes: >>> So my question is whether the saving in the size of the debug info with >>> -msym32 is really worth the trouble here or should we just start generating >>> 64-bit addresses with -msym32? >> >> Generating 64-bit addresses would be fine with me FWIW. I'm not sure >> the

Re: MIPS64 -msym32 and DWARF2_ADDR_SIZE

2009-02-01 Thread Adam Nemet
Richard Sandiford writes: > How about the patch below? I'll apply it in the next couple of days > if there are no objections. Thanks for patch. I also like the new comments you added. Adam

Re: MIPS64 -msym32 and DWARF2_ADDR_SIZE

2009-01-31 Thread Eric Christopher
>> So my question is whether the saving in the size of the debug info with >> -msym32 is really worth the trouble here or should we just start generating >> 64-bit addresses with -msym32? > > Generating 64-bit addresses would be fine with me FWIW. I'm not sure > the current behaviour is exactly de

Re: MIPS64 -msym32 and DWARF2_ADDR_SIZE

2009-01-31 Thread Richard Sandiford
Adam Nemet writes: > -msym32 changes DWARF's address_size from 64 bits to 32 bits. This means that > while symbols are 64-bit (due to ELF64), target addresses in the debug info > are 32-bit. > > There is support for this in DWARF of course in fact you can specify different > address_size for each

MIPS64 -msym32 and DWARF2_ADDR_SIZE

2009-01-30 Thread Adam Nemet
-msym32 changes DWARF's address_size from 64 bits to 32 bits. This means that while symbols are 64-bit (due to ELF64), target addresses in the debug info are 32-bit. There is support for this in DWARF of course in fact you can specify different address_size for each compilation unit which nicely