This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Preventing dynamic loader from replacing code


I am creating a module to load with an Apache web server on Linux.? The module uses PCRE to process some regular expressions.? I static link PCRE into the module to make sure it has the right version of PCRE.? The problem is that when Apache loads the module, it replaces my copy of PCRE with the one Apache has loaded.? Unfortunately the Apache one is incompatible.??


On Solaris, I used the -Breduce option to hide the PCRE sections from the dynamic linker.? Is there an similar way to do this with the GNU linker?? Any other ideas?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]