aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/darwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/darwin.c')
-rw-r--r--gcc/config/darwin.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c
index 934d997..8f7599f 100644
--- a/gcc/config/darwin.c
+++ b/gcc/config/darwin.c
@@ -974,8 +974,9 @@ machopic_operand_p (op)
use later. */
void
-darwin_encode_section_info (decl, first)
+darwin_encode_section_info (decl, rtl, first)
tree decl;
+ rtx rtl;
int first ATTRIBUTE_UNUSED;
{
char code = '\0';
@@ -1002,7 +1003,7 @@ darwin_encode_section_info (decl, first)
if (code == '\0')
return;
- sym_ref = XEXP (DECL_RTL (decl), 0);
+ sym_ref = XEXP (rtl, 0);
orig_str = XSTR (sym_ref, 0);
len = strlen (orig_str) + 1;