include/elf/
* ppc.h: Add Tag_GNU_Power_ABI_Struct_Return. bfd/ * elf32-ppc.c (ppc_elf_merge_obj_attributes): Merge Tag_GNU_Power_ABI_Struct_Return. binutils/ * readelf.c (display_power_gnu_attribute): Decode Tag_GNU_Power_ABI_Struct_Return. ld/testsuite/ * ld-powerpc/gnu-attr-12-1.s: New file. * ld-powerpc/gnu-attr-12-2.s: New file. * ld-powerpc/gnu-attr-12-11.d: New file. * ld-powerpc/gnu-attr-12-21.d: New file. * ld-powerpc/powerpc.exp: Run new dump tests.
This commit is contained in:
@ -186,6 +186,11 @@ enum
|
||||
registers, 3 for SPE registers; 0 for not tagged or not using any
|
||||
ABIs affected by the differences. */
|
||||
Tag_GNU_Power_ABI_Vector = 8,
|
||||
|
||||
/* Value 1 for ABIs using r3/r4 for returning structures <= 8 bytes,
|
||||
2 for ABIs using memory; 0 for not tagged or not using any ABIs
|
||||
affected by the differences. */
|
||||
Tag_GNU_Power_ABI_Struct_Return = 12
|
||||
};
|
||||
|
||||
#endif /* _ELF_PPC_H */
|
||||
|
Reference in New Issue
Block a user