]> git.eshelyaron.com Git - emacs.git/commit
Have 'dlopen' use RTLD_GLOBAL in 'dynlib_open'
authorAndrea Corallo <akrl@sdf.org>
Wed, 15 Dec 2021 14:47:14 +0000 (15:47 +0100)
committerAndrea Corallo <akrl@sdf.org>
Wed, 15 Dec 2021 14:55:01 +0000 (15:55 +0100)
commite6b93245fe41731173854e48441614881478c9cf
tree76fe619400dbdb44ae08300e5c3dcefe9089f59f
parent5a057f6716e6991a60968e48f849da57a0339735
Have 'dlopen' use RTLD_GLOBAL in 'dynlib_open'

* src/pdumper.c (dump_do_dump_relocation): Use 'dynlib_open_for_eln'
in place of 'dynlib_open'.
* src/dynlib.h (dynlib_open_for_eln): Declare it.
* src/dynlib.c (dynlib_open_for_eln): New function.
(dynlib_open): Add RTLD_GLOBAL.
* src/comp.c (Fnative_elisp_load): Use 'dynlib_open_for_eln' in place
of 'dynlib_open'.
src/comp.c
src/dynlib.c
src/dynlib.h
src/pdumper.c