diff options
author | Maciej W. Rozycki <macro@mips.com> | 2018-06-21 21:40:56 +0100 |
---|---|---|
committer | Maciej W. Rozycki <macro@mips.com> | 2018-06-21 21:40:56 +0100 |
commit | bb29b84d8c2cc2e91f8dec7f7eb64f03470bd03c (patch) | |
tree | 1dc12741f93ae254d4aab252fd03200e7aff5f86 /opcodes | |
parent | 25eb8346acc04b10d62295eb4c67c928b01a8aaf (diff) | |
download | gdb-bb29b84d8c2cc2e91f8dec7f7eb64f03470bd03c.zip gdb-bb29b84d8c2cc2e91f8dec7f7eb64f03470bd03c.tar.gz gdb-bb29b84d8c2cc2e91f8dec7f7eb64f03470bd03c.tar.bz2 |
MIPS/BFD: Use enumeration constants for EI_ABIVERSION
Define enumeration constants based on generated `libc-abis.h' from GNU
libc, adding a MIPS_ prefix as these are port-specific. Use them to
replace magic numbers stored in the EI_ABIVERSION field of the ELF file
header.
bfd/
* elfxx-mips.c (MIPS_LIBC_ABI_DEFAULT, MIPS_LIBC_ABI_MIPS_PLT)
(MIPS_LIBC_ABI_UNIQUE, MIPS_LIBC_ABI_MIPS_O32_FP64)
(MIPS_LIBC_ABI_MAX): New enumeration constants.
(_bfd_mips_post_process_headers): Use them in place of magic
numbers.
Diffstat (limited to 'opcodes')
0 files changed, 0 insertions, 0 deletions