diff mbox series

[Darwin,PPC,committed] Handle GCC target pragma.

Message ID A7F632F7-3C32-4E9E-9C6D-F1F8B5D55AA9@sandoe.co.uk
State New
Headers show
Series [Darwin,PPC,committed] Handle GCC target pragma. | expand

Commit Message

Iain Sandoe June 23, 2019, 7:25 p.m. UTC
Primarily, for compatibility with other members of the port.

Note, that we do not handle the longcall attribute, since longcall is not
required/used on current Darwin (supported only for legacy cases).

2019-06-23  Iain Sandoe  <iain@sandoe.co.uk>

	* config/rs6000/darwin.h: Handle GCC target pragma.
diff mbox series

Patch

diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h
index 2df617d..705dd7f 100644
--- a/gcc/config/rs6000/darwin.h
+++ b/gcc/config/rs6000/darwin.h
@@ -400,6 +400,7 @@  extern int darwin_emit_picsym_stub;
   do \
     { \
       DARWIN_REGISTER_TARGET_PRAGMAS(); \
+      targetm.target_option.pragma_parse = rs6000_pragma_target_parse; \
       targetm.resolve_overloaded_builtin = altivec_resolve_overloaded_builtin; \
     } \
   while (0)