darwin.c (darwin_encode_section_info): Call default_encode_section_info.
authorStan Shebs <shebs@apple.com>
Thu, 1 May 2003 18:00:50 +0000 (18:00 +0000)
committerStan Shebs <shebs@gcc.gnu.org>
Thu, 1 May 2003 18:00:50 +0000 (18:00 +0000)
        * config/darwin.c (darwin_encode_section_info): Call
        default_encode_section_info.

From-SVN: r66339

gcc/ChangeLog
gcc/config/darwin.c

index 9e779770d12553b946c8513ae88c45460f0dfbe5..2a4fc9de5d0917fb26b6e6d7d488820758f20b05 100644 (file)
@@ -1,3 +1,8 @@
+2003-05-01  Stan Shebs  <shebs@apple.com>
+
+       * config/darwin.c (darwin_encode_section_info): Call
+       default_encode_section_info.
+
 2003-05-01  David Edelsohn  <edelsohn@gnu.org>
 
        * config/rs6000/rs6000.md (define_attr "type"): Add mfjmpr.
index 8f7599f0f91e783a904a3dbce31c3e5b8f0253a0..d9ba56f7a5e1261d6f82fa767c91408682058ca6 100644 (file)
@@ -986,6 +986,12 @@ darwin_encode_section_info (decl, rtl, first)
   char *new_str;
   size_t len, new_len;
 
+  /* Do the standard encoding things first.  */
+  default_encode_section_info (decl, rtl, first);
+
+  /* With the introduction of symbol_ref flags, some of the following
+     code has become redundant and should be removed at some point.  */
+
   if ((TREE_CODE (decl) == FUNCTION_DECL
        || TREE_CODE (decl) == VAR_DECL)
       && !DECL_EXTERNAL (decl)