This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 5/9] gas: Don't mark thumb symbols differently in the arm-mingw32 target


In armv7pe, everything is thumb, and the ms tools don't recognize
symbols if they are marked as thumb symbols.
---
 gas/config/tc-arm.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index a72b0b0..543e01b 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -23256,7 +23256,10 @@ check_mapping_symbols (bfd *abfd ATTRIBUTE_UNUSED, asection *sec,
 void
 arm_adjust_symtab (void)
 {
-#ifdef OBJ_COFF
+/* Don't mark Thumb symbols differently when targeting win/armv7, where
+   everything is supposed to be Thumb and the ms tools don't recognize
+   the thumb symbol types. */
+#if defined(OBJ_COFF) && !defined(TE_WIN_ARMV7)
   symbolS * sym;
 
   for (sym = symbol_rootP; sym != NULL; sym = symbol_next (sym))
-- 
1.7.9.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]