diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2019-06-23 19:23:51 +0000 |
---|---|---|
committer | Iain Sandoe <iains@gcc.gnu.org> | 2019-06-23 19:23:51 +0000 |
commit | deb9c4ebeabe4062d658cee2a76961f7df1710e3 (patch) | |
tree | 496ac98fe2202d21e3dea3291787d2759cba0a31 /gcc | |
parent | 64ce6cc2de07d6d898b8dcaa6cc262caa52c8fd3 (diff) | |
download | gcc-deb9c4ebeabe4062d658cee2a76961f7df1710e3.zip gcc-deb9c4ebeabe4062d658cee2a76961f7df1710e3.tar.gz gcc-deb9c4ebeabe4062d658cee2a76961f7df1710e3.tar.bz2 |
[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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/rs6000/darwin.h | 1 |
2 files changed, 5 insertions, 0 deletions
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 <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. 2019-06-22 Jeff Law <law@redhat.com> 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) |