aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-arm.c
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2006-11-29 17:53:39 +0000
committerPaul Brook <paul@codesourcery.com>2006-11-29 17:53:39 +0000
commite1da3f5b9645750e966e471ff0db480d6450dcb7 (patch)
treec2b3c0e23c7c61d0c38e755977902505a3659baf /gas/config/tc-arm.c
parent0eaedd0eb68e6b71c75b1f8d2d9d62a12bde3e9e (diff)
downloadgdb-e1da3f5b9645750e966e471ff0db480d6450dcb7.zip
gdb-e1da3f5b9645750e966e471ff0db480d6450dcb7.tar.gz
gdb-e1da3f5b9645750e966e471ff0db480d6450dcb7.tar.bz2
2006-11-29 Paul Brook <paul@codesourcery.com>
gas/ * config/tc-arm.c (arm_is_eabi): New function. * config/tc-arm.h (arm_is_eabi): New prototype. (THUMB_IS_FUNC): Use ELF function type for EABI objects. * doc/c-arm.texi (.thumb_func): Update documentation.
Diffstat (limited to 'gas/config/tc-arm.c')
-rw-r--r--gas/config/tc-arm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 7f3751d..8ea3ad1 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -232,6 +232,12 @@ static int meabi_flags = EABI_DEFAULT;
# else
static int meabi_flags = EF_ARM_EABI_UNKNOWN;
# endif
+
+bfd_boolean
+arm_is_eabi(void)
+{
+ return (EF_ARM_EABI_VERSION (meabi_flags) >= EF_ARM_EABI_VER4);
+}
#endif
#ifdef OBJ_ELF