aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2006-10-31 20:33:40 +0000
committerPaul Brook <paul@codesourcery.com>2006-10-31 20:33:40 +0000
commit3ba674705bf35a109ecf0b6f91cceb0f9717ef41 (patch)
treea6dd21843cbeba09bfd928578be33174adeb9864 /gas
parent2087ad8497a3aa9818a7bf0a866b56ac92069bfa (diff)
downloadgdb-3ba674705bf35a109ecf0b6f91cceb0f9717ef41.zip
gdb-3ba674705bf35a109ecf0b6f91cceb0f9717ef41.tar.gz
gdb-3ba674705bf35a109ecf0b6f91cceb0f9717ef41.tar.bz2
2006-10-31 Paul Brook <paul@codesourcery.com>
gas/ * config/tc-arm.c (arm_adjust_symtab): Don't use STT_ARM_16BIT for EABIv4.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-arm.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 3907b9a..1a8148b 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 40c598e..9c534a6 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -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);
}