* INTERWORK_FLAG: Return true for EABIv3 objects.
authorPaul Brook <paul@codesourcery.com>
Thu, 26 Aug 2004 16:18:37 +0000 (16:18 +0000)
committerPaul Brook <paul@codesourcery.com>
Thu, 26 Aug 2004 16:18:37 +0000 (16:18 +0000)
bfd/ChangeLog
bfd/elf32-arm.h

index 1cb24266d9341c6ddf5104f585aaab179cb56cb7..0892217731ed0bef2ac55d634314de69ba859d1b 100644 (file)
@@ -1,3 +1,7 @@
+2004-08-26  Paul Brook  <paul@codesourcery.com>
+
+       * INTERWORK_FLAG: Return true for EABIv3 objects.
+
 2004-08-26  Alan Modra  <amodra@bigpond.net.au>
 
        * elf32-m32r.c (m32r_elf_relocate_section): Don't compare with
index 6fd68e6afc7f047827e8c829c264cd6751c81243..17521836b8ac832aea898ddd085f46a000b834fd 100644 (file)
 typedef unsigned long int insn32;
 typedef unsigned short int insn16;
 
+/* In leiu of proper flags, assume all EABIv3 objects are interworkable.  */
 #define INTERWORK_FLAG(abfd)  \
-  (elf_elfheader (abfd)->e_flags & EF_ARM_INTERWORK)
+  (EF_ARM_EABI_VERSION (elf_elfheader (abfd)->e_flags) == EF_ARM_EABI_VER3 \
+  || (elf_elfheader (abfd)->e_flags & EF_ARM_INTERWORK))
 
 /* The linker script knows the section names for placement.
    The entry_names are used to do simple name mangling on the stubs.
This page took 0.029765 seconds and 4 git commands to generate.