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 3907b9a..1a8148b 100644 (file)
@@ -1,5 +1,10 @@
 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/
        * config/tc-arm.c (object_arch): New variable.
        (s_arm_object_arch): New function.
index 40c598e..9c534a6 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);
            }