aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/resolve.c
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2021-10-07 13:55:48 +0100
committerIain Sandoe <iain@sandoe.co.uk>2021-10-15 19:49:00 +0100
commit4aef14b09557ce072f1269bd8a05fa2b1df0eda2 (patch)
treead197b9e1e7d92c8e426b9307b1768f87bb2342f /gcc/fortran/resolve.c
parent353cb291a486af3be93dd9320dde9e38b542a1bd (diff)
downloadgcc-4aef14b09557ce072f1269bd8a05fa2b1df0eda2.zip
gcc-4aef14b09557ce072f1269bd8a05fa2b1df0eda2.tar.gz
gcc-4aef14b09557ce072f1269bd8a05fa2b1df0eda2.tar.bz2
Darwin: Update specs handling '-r'.
We were not wrapping all the default libraries in checks for whether they should be used. We were also wasting a process launch calling dsymutil for 'r' link lines (a NOP in practice). Order the checks that exclude linking from most likely to occur, downwards. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk> gcc/ChangeLog: * config/darwin.h (LINK_COMMAND_SPEC_A): Update 'r' handling to skip gomp and itm when r or nodefaultlibs is given. (DSYMUTIL_SPEC): Do not call dsymutil for '-r' link lines. Update ordering of exclusions, remove duplicate 'v' addition (collect2 will add this from the main command line).
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions