diff options
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r-- | bfd/coffcode.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h index 669cfde..b9894a0 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -3415,6 +3415,10 @@ coff_slurp_symbol_table (abfd) #endif case C_EXT: +#ifdef ARM + case C_THUMBEXT: + case C_THUMBEXTFUNC: +#endif #ifdef RS6000COFF_C case C_HIDEXT: #endif @@ -3484,6 +3488,11 @@ coff_slurp_symbol_table (abfd) #ifdef I960 case C_LEAFSTAT: /* static leaf procedure */ #endif +#ifdef ARM + case C_THUMBSTAT: /* Thumb static */ + case C_THUMBLABEL: /* Thumb label */ + case C_THUMBSTATFUNC:/* Thumb static function */ +#endif case C_LABEL: /* label */ if (src->u.syment.n_scnum == -2) dst->symbol.flags = BSF_DEBUGGING; @@ -3687,9 +3696,17 @@ coff_slurp_symbol_table (abfd) #define OTHER_GLOBAL_CLASS C_LEAFEXT #endif +#ifdef COFFARM +#ifdef COFF_WITH_PE +#define OTHER_GLOBAL_CLASS C_SECTION || syment->n_sclass == C_THUMBEXT +#else +#define OTHER_GLOBAL_CLASS C_THUMBEXT || syment->n_sclass == C_THUMBEXTFUNC +#endif +#else #ifdef COFF_WITH_PE #define OTHER_GLOBAL_CLASS C_SECTION #endif +#endif #ifdef OTHER_GLOBAL_CLASS |