]> git.ipfire.org Git - thirdparty/gcc.git/commit
cobol, driver, libgcobol: Add support for libgcobol.spec.
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 15 Mar 2025 22:47:47 +0000 (22:47 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Sat, 5 Apr 2025 13:24:33 +0000 (14:24 +0100)
commit63f7285e76d24da51160cbdd87536185cf83f708
tree5c123ac7f064054b546a7dbf23b174a666c6bf8b
parentb90364ee1c09f00fda374260c723800fb52dc7ed
cobol, driver, libgcobol: Add support for libgcobol.spec.

Ads support for using a library spec file (e.g. to include the
target requirements for non-standard libraries - or even libm
which we can now configure at the target side).

gcc/cobol/ChangeLog:

* gcobolspec.cc (SPEC_FILE): New.
(lang_specific_driver): Make the 'need libgcobol' flag global
so that the prelink callback can use it. Libm use is now handled
via the library spec.
(lang_specific_pre_link): Include libgcobol.spec where needed.

libgcobol/ChangeLog:

* Makefile.am: Add libgcobol.spec and dependency.
* Makefile.in: Regenerate.
* configure: Regenerate.
* configure.ac: Add libgcobol.spec handling.
* libgcobol.spec.in: New file.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/cobol/gcobolspec.cc
libgcobol/Makefile.am
libgcobol/Makefile.in
libgcobol/configure
libgcobol/configure.ac
libgcobol/libgcobol.spec.in [new file with mode: 0644]