Add C_THUMBEXT etc.
authorNick Clifton <nickc@redhat.com>
Wed, 26 Nov 1997 22:14:52 +0000 (22:14 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 26 Nov 1997 22:14:52 +0000 (22:14 +0000)
bfd/ChangeLog
bfd/coffcode.h

index 7cab93354eb4552ca81f5a32c46f8773dfebda3d..2c3fc42191c235c36d27c3d1da18cd8b2fd88e6e 100644 (file)
@@ -1,3 +1,8 @@
+Wed Nov 26 14:13:34 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * coffcode.h (coff_slurp_symbol_table): Add ARM and Thumb symbol
+       classes. 
+
 Sun Nov 23 16:02:58 1997  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * freebsd.h (SWAP_MAGIC): Read magic number little and not big
index 669cfdefb9f3a350e83bb667973ae4c40c5f71dc..b9894a0ad081e9dc8cc5cb979bffe473c99737cb 100644 (file)
@@ -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
@@ -3483,6 +3487,11 @@ coff_slurp_symbol_table (abfd)
            case C_STAT:        /* static                        */
 #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)
@@ -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
 
This page took 0.039452 seconds and 4 git commands to generate.