]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/config/ltmain.m4sh (func_generate_dlsyms) [ osf5 ]:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 23 Feb 2007 19:45:42 +0000 (19:45 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 23 Feb 2007 19:45:42 +0000 (19:45 +0000)
On Tru64 5.1, const relocations do not work well.  Omit the
const here.  Fixes failure of demo-make after demo-shared with
link editor error `seg_info_ptr: Couldnt find a seg type 2'.

ChangeLog
libltdl/config/ltmain.m4sh

index 4e97d2d8bfc67ae318000a10d7e24d75c81bb221..77f0774f14042351f962c1427e6e541dd0a879e9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2007-02-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       * libltdl/config/ltmain.m4sh (func_generate_dlsyms) [ osf5 ]:
+       On Tru64 5.1, const relocations do not work well.  Omit the
+       const here.  Fixes failure of demo-make after demo-shared with
+       link editor error `seg_info_ptr: Couldnt find a seg type 2'.
+
        * Makefile.am (doc_libtool_TEXINFOS): Renamed from...
        (libtool_TEXINFOS): ...this, to fix dependencies.  Omit from
        EXTRA_DIST.
index 68ed975a85a3665a91a23bf6f2b15f7242c669d1..0466171877f4cf530720c881392ad13fdc4e6c97 100644 (file)
@@ -959,6 +959,10 @@ typedef struct {
    runtime relocations are performed -- see ld's documentation
    on pseudo-relocs.  */"
            lt_dlsym_const= ;;
+         *osf5*)
+           echo >> "$output_objdir/$my_dlsyms" "\
+/* This system does not cope well with relocations in const data */"
+           lt_dlsym_const= ;;
          *)
            lt_dlsym_const=const ;;
          esac