2006-10-31 Paul Brook <paul@codesourcery.com>
authorPaul Brook <paul@codesourcery.com>
Tue, 31 Oct 2006 20:33:40 +0000 (20:33 +0000)
committerPaul Brook <paul@codesourcery.com>
Tue, 31 Oct 2006 20:33:40 +0000 (20:33 +0000)
gas/
* config/tc-arm.c (arm_adjust_symtab): Don't use STT_ARM_16BIT
for EABIv4.

gas/ChangeLog
gas/config/tc-arm.c

index 3907b9a22fb3abb6b3436837110aa5fe15e554de..1a8148babcee310c0895c2a914e6b2038f08079c 100644 (file)
@@ -1,3 +1,8 @@
+2006-10-31  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (arm_adjust_symtab): Don't use STT_ARM_16BIT
+       for EABIv4.
+
 2006-10-31  Paul Brook  <paul@codesourcery.com>
 
        gas/
index 40c598ec6a86e7d7ea98cfaf6f8714dabd749826..9c534a6358f52c047dcfd9fea4ec4103037e0d39 100644 (file)
@@ -19159,7 +19159,7 @@ arm_adjust_symtab (void)
              if (THUMB_IS_FUNC (sym))
                elf_sym->internal_elf_sym.st_info =
                  ELF_ST_INFO (bind, STT_ARM_TFUNC);
-             else
+             else if (EF_ARM_EABI_VERSION (meabi_flags) < EF_ARM_EABI_VER4)
                elf_sym->internal_elf_sym.st_info =
                  ELF_ST_INFO (bind, STT_ARM_16BIT);
            }