summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-01 18:00:50 +0000
committershebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-01 18:00:50 +0000
commit9af9a32ce3ae1cd4a8d6928351611ac8e1cc02f1 (patch)
tree9578a147853b5ff6a08a722aac596237341c68b3
parent65b7b8e2932da94e0b12d46d0fe1e2b044607d11 (diff)
downloadppe42-gcc-9af9a32ce3ae1cd4a8d6928351611ac8e1cc02f1.tar.gz
ppe42-gcc-9af9a32ce3ae1cd4a8d6928351611ac8e1cc02f1.zip
* config/darwin.c (darwin_encode_section_info): Call
default_encode_section_info. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66339 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/darwin.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9e779770d12..2a4fc9de5d0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c
index 8f7599f0f91..d9ba56f7a5e 100644
--- a/gcc/config/darwin.c
+++ b/gcc/config/darwin.c
@@ -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)
OpenPOWER on IntegriCloud