Commit deb9c4eb by Iain Sandoe Committed by Iain Sandoe

[Darwin, PPC] Handle GCC target pragma.

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.

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

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

From-SVN: r272603
parent 64ce6cc2
2019-06-23 Iain Sandoe <iain@sandoe.co.uk> 2019-06-23 Iain Sandoe <iain@sandoe.co.uk>
* config/rs6000/darwin.h: Handle GCC target pragma.
2019-06-23 Iain Sandoe <iain@sandoe.co.uk>
* config/rs6000/darwin.h: (__PPC__, __PPC64__): New. * config/rs6000/darwin.h: (__PPC__, __PPC64__): New.
2019-06-22 Jeff Law <law@redhat.com> 2019-06-22 Jeff Law <law@redhat.com>
......
...@@ -400,6 +400,7 @@ extern int darwin_emit_picsym_stub; ...@@ -400,6 +400,7 @@ extern int darwin_emit_picsym_stub;
do \ do \
{ \ { \
DARWIN_REGISTER_TARGET_PRAGMAS(); \ DARWIN_REGISTER_TARGET_PRAGMAS(); \
targetm.target_option.pragma_parse = rs6000_pragma_target_parse; \
targetm.resolve_overloaded_builtin = altivec_resolve_overloaded_builtin; \ targetm.resolve_overloaded_builtin = altivec_resolve_overloaded_builtin; \
} \ } \
while (0) while (0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment