aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2020-12-01 15:34:11 +0000
committerIain Sandoe <iain@sandoe.co.uk>2020-12-01 19:58:21 +0000
commit9c17474c1efd4825adfeb415b527ead8cf19700b (patch)
tree1c555ec38a0d7f3b578acd50dea0ed45000773f4 /gcc/function.c
parentefd1d4f8ae2850e5cd8028531dfe4eced628489e (diff)
downloadgcc-9c17474c1efd4825adfeb415b527ead8cf19700b.zip
gcc-9c17474c1efd4825adfeb415b527ead8cf19700b.tar.gz
gcc-9c17474c1efd4825adfeb415b527ead8cf19700b.tar.bz2
Darwin, D : Adjust the X spec to cater for duplicate use.
The '-X' flag is an obsolete spelling for a command to tell the linker to 'strip local symbols'. This has been the default action for a long time - but, as per the usual GCC approach, although the flag is retired, we have not removed it; rather, we just delete it in the driver self-spec. The D language adds this flag as a front end option (to emit json) which means that deleting it in the driver disables that function in D. This patch works around the duplication by removing the unused flag in the link_spec instead of the driver self-spec. gcc/ChangeLog: * config/darwin.h: Remove unused 'X' specs in the link spec rather than driver self-specs.
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions