bfd:
* elf32-ppc.c (ppc_elf_merge_obj_attributes): New. (ppc_elf_merge_private_bfd_data): Call it. binutils: * readelf.c (display_power_gnu_attribute, process_power_specific): New. (process_arch_specific): Call process_power_specific. include/elf: * ppc.h (Tag_GNU_Power_ABI_FP): Define. ld/testsuite: * ld-powerpc/attr-gnu-4-0.s, ld-powerpc/attr-gnu-4-00.d, ld-powerpc/attr-gnu-4-01.d, ld-powerpc/attr-gnu-4-02.d, ld-powerpc/attr-gnu-4-1.s, ld-powerpc/attr-gnu-4-10.d, ld-powerpc/attr-gnu-4-11.d, ld-powerpc/attr-gnu-4-12.d, ld-powerpc/attr-gnu-4-13.d, ld-powerpc/attr-gnu-4-2.s, ld-powerpc/attr-gnu-4-20.d, ld-powerpc/attr-gnu-4-21.d, ld-powerpc/attr-gnu-4-22.d, ld-powerpc/attr-gnu-4-3.s, ld-powerpc/attr-gnu-4-31.d: New. * ld-powerpc/powerpc.exp: Run these new tests.
This commit is contained in:
		@@ -1,3 +1,7 @@
 | 
			
		||||
2007-06-29  Joseph Myers  <joseph@codesourcery.com>
 | 
			
		||||
 | 
			
		||||
	* ppc.h (Tag_GNU_Power_ABI_FP): Define.
 | 
			
		||||
 | 
			
		||||
2007-06-29  Joseph Myers  <joseph@codesourcery.com>
 | 
			
		||||
 | 
			
		||||
	* mips.h (Tag_GNU_MIPS_ABI_FP): Define.
 | 
			
		||||
 
 | 
			
		||||
@@ -171,4 +171,15 @@ END_RELOC_NUMBERS (R_PPC_max)
 | 
			
		||||
						   builds when those objects \
 | 
			
		||||
						   are not to be furhter \
 | 
			
		||||
						   relocated.  */
 | 
			
		||||
 | 
			
		||||
/* Object attribute tags.  */
 | 
			
		||||
enum
 | 
			
		||||
{
 | 
			
		||||
  /* 0-3 are generic.  */
 | 
			
		||||
  Tag_GNU_Power_ABI_FP = 4, /* Value 1 for hard-float, 2 for
 | 
			
		||||
			       soft-float; 0 for not tagged or not
 | 
			
		||||
			       using any ABIs affected by the
 | 
			
		||||
			       differences.  */
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
#endif /* _ELF_PPC_H */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user