(dbxout_symbol_location): Test DECL_IN_TEXT_SECTION.
authorRichard Stallman <rms@gnu.org>
Thu, 4 Nov 1993 08:21:35 +0000 (08:21 +0000)
committerRichard Stallman <rms@gnu.org>
Thu, 4 Nov 1993 08:21:35 +0000 (08:21 +0000)
From-SVN: r5990

gcc/dbxout.c

index 8308ab8fd69c687313655c86bb76bca283fd0999..2a9cc962fec356556b13e0b37138902d1c650341 100644 (file)
@@ -1796,7 +1796,7 @@ dbxout_symbol_location (decl, type, suffix, home)
 
          if (!DECL_INITIAL (decl))
            current_sym_code = N_LCSYM;
-         else if (in_text_section ())
+         else if (DECL_IN_TEXT_SECTION (decl))
            /* This is not quite right, but it's the closest
               of all the codes that Unix defines.  */
            current_sym_code = DBX_STATIC_CONST_VAR_CODE;