diff options
author | Stan Shebs <shebs@apple.com> | 2003-05-01 18:00:50 +0000 |
---|---|---|
committer | Stan Shebs <shebs@gcc.gnu.org> | 2003-05-01 18:00:50 +0000 |
commit | e1a4211d228816f0e0178ffc9f807b72e9dea26c (patch) | |
tree | 9578a147853b5ff6a08a722aac596237341c68b3 | |
parent | 3489e0614d915345451544ee69fe6fd932a95c2b (diff) | |
download | gcc-e1a4211d228816f0e0178ffc9f807b72e9dea26c.zip gcc-e1a4211d228816f0e0178ffc9f807b72e9dea26c.tar.gz gcc-e1a4211d228816f0e0178ffc9f807b72e9dea26c.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/darwin.c | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9e77977..2a4fc9d 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 8f7599f..d9ba56f 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) |