Re: RFA: dwarf2out vs. LP64-on-ELF32

2012-06-25 Thread Richard Sandiford
Andrew Pinski writes: > On Sun, Jun 24, 2012 at 3:36 AM, Richard Sandiford > wrote: >> One of the more unfortunate things MIPS has inherited is an LP64 ABI >> that uses 32-bit rather than 64-bit ELF.  I've no idea how many people >> use it these days (if anyone), but it happens to the ABI of the

Re: RFA: dwarf2out vs. LP64-on-ELF32

2012-06-24 Thread Andrew Pinski
On Sun, Jun 24, 2012 at 3:36 AM, Richard Sandiford wrote: > One of the more unfortunate things MIPS has inherited is an LP64 ABI > that uses 32-bit rather than 64-bit ELF.  I've no idea how many people > use it these days (if anyone), but it happens to the ABI of the MIPS > primary target, mipsisa

Re: RFA: dwarf2out vs. LP64-on-ELF32

2012-06-24 Thread H.J. Lu
On Sun, Jun 24, 2012 at 8:46 AM, Richard Sandiford wrote: > "H.J. Lu" writes: >> On Sun, Jun 24, 2012 at 3:36 AM, Richard Sandiford >> wrote: >>> I realise it's a bit clunky, but is the attached patch OK? >>> Tested on mipsisa64-elf, where it restores the build, and on >>> x86_64-linux-gnu. >>>

Re: RFA: dwarf2out vs. LP64-on-ELF32

2012-06-24 Thread Richard Sandiford
"H.J. Lu" writes: > On Sun, Jun 24, 2012 at 3:36 AM, Richard Sandiford > wrote: >> I realise it's a bit clunky, but is the attached patch OK? >> Tested on mipsisa64-elf, where it restores the build, and on >> x86_64-linux-gnu. >> >> Richard >> >> >> gcc/ >>        * dwarf2out.c (mem_loc_descripto

Re: RFA: dwarf2out vs. LP64-on-ELF32

2012-06-24 Thread H.J. Lu
On Sun, Jun 24, 2012 at 3:36 AM, Richard Sandiford wrote: > One of the more unfortunate things MIPS has inherited is an LP64 ABI > that uses 32-bit rather than 64-bit ELF.  I've no idea how many people > use it these days (if anyone), but it happens to the ABI of the MIPS > primary target, mipsisa

RFA: dwarf2out vs. LP64-on-ELF32

2012-06-24 Thread Richard Sandiford
One of the more unfortunate things MIPS has inherited is an LP64 ABI that uses 32-bit rather than 64-bit ELF. I've no idea how many people use it these days (if anyone), but it happens to the ABI of the MIPS primary target, mipsisa64-elf. Because we're using 32-bit ELF, DWARF2_ADDR_SIZE is 4 rath