summaryrefslogtreecommitdiffstats
path: root/gcc/config/darwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/darwin.c')
-rw-r--r--gcc/config/darwin.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c
index 5796ace485d..507b1b47a3f 100644
--- a/gcc/config/darwin.c
+++ b/gcc/config/darwin.c
@@ -1172,6 +1172,12 @@ darwin_mergeable_constant_section (tree exp,
return readonly_data_section;
}
+int
+machopic_reloc_rw_mask (void)
+{
+ return MACHOPIC_INDIRECT ? 3 : 0;
+}
+
section *
machopic_select_section (tree decl,
int reloc,
OpenPOWER on IntegriCloud