From e1a4211d228816f0e0178ffc9f807b72e9dea26c Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Thu, 1 May 2003 18:00:50 +0000 Subject: [PATCH] darwin.c (darwin_encode_section_info): Call default_encode_section_info. * config/darwin.c (darwin_encode_section_info): Call default_encode_section_info. From-SVN: r66339 --- gcc/ChangeLog | 5 +++++ gcc/config/darwin.c | 6 ++++++ 2 files changed, 11 insertions(+) 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 + + * config/darwin.c (darwin_encode_section_info): Call + default_encode_section_info. + 2003-05-01 David Edelsohn * 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)