Target-specific FDE pointer sizes (1/3)

Nick Clifton nickc@redhat.com
Mon Jan 31 11:12:00 GMT 2005


Hi Richard,

> bfd/
> 	* elf-bfd.h (elf_backend_data): Add elf_backend_eh_frame_address_size.
> 	(_bfd_elf_eh_frame_address_size): Declare.
> 	* elfxx-target.h (elf_backend_eh_frame_address_size): Define a default.
> 	(elfNN_bed): Initialize elf_backend_eh_frame_address_size.
> 	* elfxx-mips.h (_bfd_mips_elf_eh_frame_address_size): Declare.
> 	(elf_backend_eh_frame_address_size): Define.
> 	* elfxx-mips.c (_bfd_mips_elf_eh_frame_address_size): New function.
> 	* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Get the address
> 	size from the new backend hook.
> 	(_bfd_elf_write_section_eh_frame): Likewise.
> 	(_bfd_elf_eh_frame_address_size): New function.
> 
> ld/testsuite/
> 	* ld-mips-elf/eh-frame1.s: Create a .gcc_compiled_long32 if using
> 	32-bit pointers.
> 	* ld-mips-elf/eh-frame1.d: Link in .gcc_compiled_long32 sections.
> 	* ld-mips-elf/eh-frame[34].d: New tests.
> 	* ld-mips-elf/mips-elf.exp: Run them.

Approved - please apply.

Cheers
   Nick




More information about the Binutils mailing list