Nikos Mavrogiannopoulos <[email protected]> writes:
> Attached a patch which separates the .map files.
I've now applied this to a branch named "versioned-symbols". With some
additional updates, removing the $(srcdir) when referring to the linker
scripts which now are in the build directory, adding ChangeLog entries,
and bumping the library version numbers.
Seems to work, but I'm not entirely sure what the symbol table is
expected to look like. E.g.,
$ readelf -s libnettle.so |grep sha512_init
17: 000000000001d470 114 FUNC GLOBAL DEFAULT 13
nettle_sha512_init@@NETTLE_6
447: 000000000001d470 114 FUNC GLOBAL DEFAULT 13 nettle_sha512_init
So there are two symbols with the same value, one with and one without
the version suffix. Different symbol tables though, the former is in
.dynsym, the latter in .symtab. Is that how it's supposed to be?
Further testing appreciated.
Regards,
/Niels
--
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs