From 3a4a14e9ea1af8d2e5f0d54452be81ccc19c9a1a Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Fri, 10 Mar 2006 17:20:30 +0000 Subject: 2006-03-10 Paul Brook bfd/ * elf32-arm.c (INTERWORK_FLAG): Handle EABIv5. (elf32_arm_print_private_bfd_data): Ditto. binutils/ * readelf.c (decode_ARM_machine_flags): Handle EABIv5. gas/ * config/tc-arm.c (md_begin): Handle EABIv5. (arm_eabis): Add EF_ARM_EABI_VER5. * doc/c-arm.texi: Document -meabi=5. include/elf/ * arm.h (EF_ARM_EABI_VER5): Define. --- gas/ChangeLog | 6 ++++++ gas/config/tc-arm.c | 4 +++- gas/doc/c-arm.texi | 5 +++-- 3 files changed, 12 insertions(+), 3 deletions(-) (limited to 'gas') diff --git a/gas/ChangeLog b/gas/ChangeLog index ac85bae..1b72e39 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2006-03-10 Paul Brook + + * config/tc-arm.c (md_begin): Handle EABIv5. + (arm_eabis): Add EF_ARM_EABI_VER5. + * doc/c-arm.texi: Document -meabi=5. + 2006-03-10 Ben Elliston * app.c (do_scrub_chars): Simplify string handling. diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index e98733d..cab398f 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -12851,6 +12851,7 @@ md_begin (void) break; case EF_ARM_EABI_VER4: + case EF_ARM_EABI_VER5: /* No additional flags to set. */ break; @@ -13367,11 +13368,12 @@ static const struct arm_option_value_table arm_float_abis[] = }; #ifdef OBJ_ELF -/* We only know how to output GNU and ver 4 (AAELF) formats. */ +/* We only know how to output GNU and ver 4/5 (AAELF) formats. */ static const struct arm_option_value_table arm_eabis[] = { {"gnu", EF_ARM_EABI_UNKNOWN}, {"4", EF_ARM_EABI_VER4}, + {"5", EF_ARM_EABI_VER5}, {NULL, 0} }; #endif diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi index 299dc42..ca0998b 100644 --- a/gas/doc/c-arm.texi +++ b/gas/doc/c-arm.texi @@ -255,9 +255,10 @@ and This option specifies which EABI version the produced object files should conform to. The following values are recognised: -@code{gnu} +@code{gnu}, +@code{4} and -@code{4}. +@code{5}. @cindex @code{-EB} command line option, ARM @item -EB -- cgit v1.1