diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2022-12-17 14:48:03 +0000 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2022-12-31 16:16:30 +0000 |
commit | 2d8c2fdc299034c85a0abfd7da31168d02a41d32 (patch) | |
tree | 2044edcc4744af3966ce5125fd17169b1e24677a /gcc/gdbhooks.py | |
parent | ebc41f9a817dbae01c7450cd33c1968318ce8df0 (diff) | |
download | gcc-2d8c2fdc299034c85a0abfd7da31168d02a41d32.zip gcc-2d8c2fdc299034c85a0abfd7da31168d02a41d32.tar.gz gcc-2d8c2fdc299034c85a0abfd7da31168d02a41d32.tar.bz2 |
modula-2,libgm2: Add undefined, dynamic_lookup to m2 libs links.
The libm2 libraries are cross-linked, which means that we need to allow
symbols to be undefined at link time and then to be found at runtime.
This is implemented on Darwin by adding -undefined, dynamic_lookup to
the link command.
NOTE: It would probably be a better solution to rework the libraries
either to combine those that have inter-dependencies, or to reorder
the layering so the there is a fixed dependency tree.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
libgm2/ChangeLog:
* configure: Regenerate.
* configure.ac: Make a conditional for configurations targeting
Darwin.
* libm2cor/Makefile.am: Use -undefined,dynamic_lookup on Darwin.
* libm2iso/Makefile.am: Likewise.
* libm2log/Makefile.am: Likewise.
* libm2pim/Makefile.am: Likewise
* libm2min/Makefile.am: Likewise
* libm2cor/Makefile.in: Regenerate.
* libm2iso/Makefile.in: Regenerate.
* libm2log/Makefile.in: Regenerate.
* libm2min/Makefile.in: Regenerate.
* libm2pim/Makefile.in: Regenerate.
Diffstat (limited to 'gcc/gdbhooks.py')
0 files changed, 0 insertions, 0 deletions