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: Define DWARF2_FDE_RELOC_SIZE for MIPS


Richard Sandiford wrote:
> MIPS n64 needs the same treatment as 64-bit HPPA, where absolute FDE
> addresses must be 8 rather than 4 bytes in size.
> 
> Tested on mips64-linux-gnu.  OK to install?
> 
> Richard
> 
> 
> gas/
> 	* config/tc-mips.h (DWARF2_FDE_RELOC_SIZE): Define.
> 
> gas/testsuite/
> 	* gas/mips/cfi-n64-1.s, gas/mips/cfi-n64-1.d: New test.
> 	* gas/mips/mips.exp: Run it.
> 
> Index: gas/config/tc-mips.h
> ===================================================================
> --- gas/config/tc-mips.h	2008-09-04 20:47:38.000000000 +0100
> +++ gas/config/tc-mips.h	2008-09-04 20:47:58.000000000 +0100
> @@ -168,6 +168,7 @@ #define DWARF2_FORMAT(SEC) mips_dwarf2_f
>  
>  extern int mips_dwarf2_addr_size (void);
>  #define DWARF2_ADDR_SIZE(bfd) mips_dwarf2_addr_size ()
> +#define DWARF2_FDE_RELOC_SIZE (mips_dwarf2_addr_size ())

Extra parentheses, otherwise ok.


Thiemo


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