From: Iain Sandoe Date: Sun, 23 Jun 2019 19:23:51 +0000 (+0000) Subject: [Darwin, PPC] Handle GCC target pragma. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=deb9c4ebeabe4062d658cee2a76961f7df1710e3;p=gcc.git [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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d12048e9c18..4242c9869ff 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +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. diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h index 2df617dc6c2..705dd7fdd94 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)