diff options
author | Nick Clifton <nickc@redhat.com> | 2012-07-06 10:05:15 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2012-07-06 10:05:15 +0000 |
commit | 2ba3d2a9fc577c7627866f564a8419a6cee48c98 (patch) | |
tree | 858b0771da215c23ee619c58df245903dec6734e /gcc | |
parent | dea8f801d300077191cf65016069ce1554e96521 (diff) | |
download | gcc-2ba3d2a9fc577c7627866f564a8419a6cee48c98.zip gcc-2ba3d2a9fc577c7627866f564a8419a6cee48c98.tar.gz gcc-2ba3d2a9fc577c7627866f564a8419a6cee48c98.tar.bz2 |
mn10300.c (mn10300_encode_section_info): Call default_encode_section_info.
* config/mn10300/mn10300.c (mn10300_encode_section_info): Call
default_encode_section_info.
From-SVN: r189316
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mn10300/mn10300.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d6d932b..834f4eb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-07-06 Nick Clifton <nickc@redhat.com> + + * config/mn10300/mn10300.c (mn10300_encode_section_info): Call + default_encode_section_info. + 2012-07-06 Uros Bizjak <ubizjak@gmail.com> PR target/53811 diff --git a/gcc/config/mn10300/mn10300.c b/gcc/config/mn10300/mn10300.c index 5b9f069..c93eff9 100644 --- a/gcc/config/mn10300/mn10300.c +++ b/gcc/config/mn10300/mn10300.c @@ -2468,12 +2468,15 @@ mn10300_rtx_costs (rtx x, int code, int outer_code, int opno ATTRIBUTE_UNUSED, may access it using GOTOFF instead of GOT. */ static void -mn10300_encode_section_info (tree decl, rtx rtl, int first ATTRIBUTE_UNUSED) +mn10300_encode_section_info (tree decl, rtx rtl, int first) { rtx symbol; + default_encode_section_info (decl, rtl, first); + if (! MEM_P (rtl)) return; + symbol = XEXP (rtl, 0); if (GET_CODE (symbol) != SYMBOL_REF) return; |