diff options
author | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2015-04-27 10:32:23 +0200 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2015-04-27 10:32:23 +0200 |
commit | 643f7afb0d7f63dcff873d3cbfd7ed3eaf94197f (patch) | |
tree | 4bff220a5e5372b4ab9ee2a33d6bf761dbf3248c /include | |
parent | 3b78cfe1033fafa6ca36c69cf8587c1bd96996ca (diff) | |
download | fsf-binutils-gdb-643f7afb0d7f63dcff873d3cbfd7ed3eaf94197f.zip fsf-binutils-gdb-643f7afb0d7f63dcff873d3cbfd7ed3eaf94197f.tar.gz fsf-binutils-gdb-643f7afb0d7f63dcff873d3cbfd7ed3eaf94197f.tar.bz2 |
S/390: z13 use GNU attribute to indicate vector ABI
bfd/
* elf-s390-common.c (elf_s390_merge_obj_attributes): New function.
* elf32-s390.c (elf32_s390_merge_private_bfd_data): Call
elf_s390_merge_obj_attributes.
* elf64-s390.c (elf64_s390_merge_private_bfd_data): New function.
binutils/
* readelf.c (display_s390_gnu_attribute): New function.
(process_s390_specific): New function.
(process_arch_specific): Call process_s390_specific.
gas/
* doc/as.texinfo: Document Tag_GNU_S390_ABI_Vector.
include/elf/
* s390.h: Define Tag_GNU_S390_ABI_Vector.
Diffstat (limited to 'include')
-rw-r--r-- | include/elf/ChangeLog | 4 | ||||
-rw-r--r-- | include/elf/s390.h | 15 |
2 files changed, 17 insertions, 2 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index e4e094b..a30b2de 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,7 @@ +2015-04-27 Andreas Krebbel <krebbel@linux.vnet.ibm.com> + + * s390.h: Define Tag_GNU_S390_ABI_Vector. + 2015-04-24 Alan Modra <amodra@gmail.com> * internal.h (ELF_SECTION_IN_SEGMENT_1): Ensure PT_LOAD and diff --git a/include/elf/s390.h b/include/elf/s390.h index 0642d2e..57bbadd 100644 --- a/include/elf/s390.h +++ b/include/elf/s390.h @@ -129,6 +129,17 @@ START_RELOC_NUMBERS (elf_s390_reloc_type) RELOC_NUMBER (R_390_GNU_VTENTRY, 251) END_RELOC_NUMBERS (R_390_max) -#endif /* _ELF_390_H */ - +/* Object attribute tags. */ +enum +{ + /* 0-3 are generic. */ + /* 4 is reserved for the FP ABI. */ + + /* Vector ABI: + 0 = not affected by the vector ABI, or not tagged. + 1 = software vector ABI being used + 2 = hardware vector ABI being used. */ + Tag_GNU_S390_ABI_Vector = 8, +}; +#endif /* _ELF_390_H */ |