From deb9c4ebeabe4062d658cee2a76961f7df1710e3 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Sun, 23 Jun 2019 19:23:51 +0000 Subject: [PATCH] [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 * config/rs6000/darwin.h: Handle GCC target pragma. From-SVN: r272603 --- gcc/ChangeLog | 4 ++++ gcc/config/rs6000/darwin.h | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d12048e..4242c98 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2019-06-23 Iain Sandoe + * config/rs6000/darwin.h: Handle GCC target pragma. + +2019-06-23 Iain Sandoe + * config/rs6000/darwin.h: (__PPC__, __PPC64__): New. 2019-06-22 Jeff Law 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) -- 2.7.4