aboutsummaryrefslogtreecommitdiff
path: root/gcc/alias.cc
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2025-03-21 15:14:19 +0000
committerIain Sandoe <iain@sandoe.co.uk>2025-03-21 23:55:32 +0000
commit827a1471666de2fff8799c3bcd5f54ab24caba80 (patch)
treedb3f26e1be84e662496f7bc3d76e0e6194591422 /gcc/alias.cc
parentc264df142a850b47135c0c4639d3a539b23149c5 (diff)
downloadgcc-827a1471666de2fff8799c3bcd5f54ab24caba80.zip
gcc-827a1471666de2fff8799c3bcd5f54ab24caba80.tar.gz
gcc-827a1471666de2fff8799c3bcd5f54ab24caba80.tar.bz2
cobol, driver: Handle targets without HAVE_LD_STATIC_DYNAMIC.
This fixes a typo where libraries were not added for targets without HAVE_LD_STATIC_DYNAMIC. It also adds the libraries in this case; typically, a target without HAVE_LD_STATIC_DYNAMIC can take the -static-libgcobol and use that to drive a spec substitution viz: %{static-libgcobol:%:replace-outfile(-lgcobol libgcobol.a%s)} which needs both the library and -static-libgcobol to be present in the driver output. gcc/cobol/ChangeLog: * gcobolspec.cc (add_arg_lib): Fix typo. (lang_specific_driver): Arrange to append both -lgcobol and -static-libgcobol for targets without HAVE_LD_STATIC_DYNAMIC. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
Diffstat (limited to 'gcc/alias.cc')
0 files changed, 0 insertions, 0 deletions