diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2019-08-13 19:03:46 +0000 |
---|---|---|
committer | Iain Sandoe <iains@gcc.gnu.org> | 2019-08-13 19:03:46 +0000 |
commit | d308419c64c52c2d48bdf53a65e1790a2c897e83 (patch) | |
tree | 8a2e6015361cc4816f7d68eae3264ce2496f6691 /gcc/config/darwin.opt | |
parent | 20ac6454c53c50d218b54a7015668f7f9c10de8e (diff) | |
download | gcc-d308419c64c52c2d48bdf53a65e1790a2c897e83.zip gcc-d308419c64c52c2d48bdf53a65e1790a2c897e83.tar.gz gcc-d308419c64c52c2d48bdf53a65e1790a2c897e83.tar.bz2 |
[Darwin] There is no need to distinguish PIC/non-PIC symbol stubs.
So we can use a single flag for both, and rename this now, before a confusing
name gets into the wild.
gcc/
2019-08-13 Iain Sandoe <iain@sandoe.co.uk>
* config/darwin.c (machopic_indirect_call_target): Rename symbol stub
flag.
(darwin_override_options): Likewise.
* config/darwin.h: Likewise.
* config/darwin.opt: Likewise.
* config/i386/i386.c (output_pic_addr_const): Likewise.
* config/rs6000/darwin.h: Likewise.
* config/rs6000/rs6000.c (rs6000_call_darwin_1): Likewise.
* config/i386/darwin.h (TARGET_MACHO_PICSYM_STUBS): Rename to ...
... this TARGET_MACHO_SYMBOL_STUBS.
(FUNCTION_PROFILER):Likewise.
* config/i386/i386.h: Likewise.
gcc/testsuite/
2019-08-13 Iain Sandoe <iain@sandoe.co.uk>
* obj-c++.dg/stubify-1.mm: Rename symbol stub option.
* obj-c++.dg/stubify-2.mm: Likewise.
* objc.dg/stubify-1.m: Likewise.
* objc.dg/stubify-2.m: Likewise.
From-SVN: r274397
Diffstat (limited to 'gcc/config/darwin.opt')
-rw-r--r-- | gcc/config/darwin.opt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/darwin.opt b/gcc/config/darwin.opt index d7e5e7b..7f5616c 100644 --- a/gcc/config/darwin.opt +++ b/gcc/config/darwin.opt @@ -75,9 +75,9 @@ mone-byte-bool Target RejectNegative Report Var(darwin_one_byte_bool) Set sizeof(bool) to 1. -mpic-symbol-stubs -Target Report Var(darwin_picsymbol_stubs) Init(0) -Force generation of PIC symbol stubs. +msymbol-stubs +Target Report Var(darwin_symbol_stubs) Init(0) +Force generation of external symbol indirection stubs. ; Some code-gen may be improved / adjusted if the linker is sufficiently modern. mtarget-linker= |