diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-11-19 05:05:03 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-11-19 05:05:03 +0000 |
commit | 6c1b16d6cfeff7c4332606e54a55e7ff039f3440 (patch) | |
tree | d6a0770b5ed3c51409bd4dbc5fd487bcd2fe6f93 /include/langinfo.h | |
parent | ef516dab836e619de9d4bbfe89ca51a8506599c6 (diff) |
Stefan Allius writes:
I fixed two little bugs in ldso.c:
- For LDD support we test the old environment variable
LD_TRACE_LOADED_OBJECTS.
- Before we init the GOT table of the dynamic loader
we have to check, if we have a DT_PLTGOT entry.
If DT_PLTGOT was zero we patch somthing in the header
of the dynamic loader. This was the cause, why we have to
enable the DO_MPROTECT_HACKS option for all targets, to avoid
segment faults.
In readelflib1.c I added a warning, if we try to load a shared library, which
wasn't compiled with -fPIC or -fpic. So if we disable the DO_MPROTECT_HACKS
option we are sure, that we don't waste memory by shared libraries which
aren't able to share their text segment. I think this is a helpful option on
little embedded systems.
Diffstat (limited to 'include/langinfo.h')
0 files changed, 0 insertions, 0 deletions