Joakim Tjernlund
|
45dd7bda4e
As Mike Frysinger notes, this code is still needed. I
|
před 20 roky |
Eric Andersen
|
52a3a4d7ba
Fixup a couple of warnings
|
před 20 roky |
Eric Andersen
|
17415ee0be
Avoid multiple passes to perform mips GOT relocations, and do
|
před 20 roky |
Joakim Tjernlund
|
94a9a5a209
Let ldso find libc's malloc function and set _dl_malloc_function.
|
před 20 roky |
Eric Andersen
|
f8666418a9
Relocations of the application's global GOT entries were not being run, and
|
před 20 roky |
Joakim Tjernlund
|
ac55068223
Patch from Stefan Allius:
|
před 20 roky |
Joakim Tjernlund
|
8e4a1b8a99
Hopefully fix Laszlo and Jacobs dlopen problem.
|
před 20 roky |
Eric Andersen
|
a3a586bad7
'pagesize' was local to dl-startup.c. In ldso.c we need
|
před 20 roky |
Joakim Tjernlund
|
85c39a6b66
Remove poor man's malloc. Not needed anymore.
|
před 20 roky |
Joakim Tjernlund
|
86eecc5c40
Move "debug_addr" ptr from dl-startup.c to ldso.c
|
před 20 roky |
Joakim Tjernlund
|
0a98c1b6b0
Move the app specific stuff from dl-startup.c to ldso.c.
|
před 20 roky |
Joakim Tjernlund
|
6d6f3a5c26
Let ldso decide if it should relocate itselft a second time. This
|
před 20 roky |
Joakim Tjernlund
|
9f47eaf322
Fix usage_count in ldso/libdl.
|
před 20 roky |
Joakim Tjernlund
|
856860ed52
Revmoved _dl_brkp and _dl_envp. They are not needed anymore.
|
před 20 roky |
Joakim Tjernlund
|
97688568de
This should fix the dlsym problem Peter van Hoyweghen reported.
|
před 20 roky |
Eric Andersen
|
9efd18d338
s/___brk_addr/__curbrk/g
|
před 20 roky |
Eric Andersen
|
a707192f6c
Teach libdl to use normal libc symbols whenever possible, i.e. malloc
|
před 20 roky |
Eric Andersen
|
db5a9ef35b
Sigh. I got things working this morning, then checked stuff in from the wrong
|
před 20 roky |
Eric Andersen
|
b998ae0611
Based on a patch from Alexandre Oliva, make sure _dl_malloc returns a nicely
|
před 20 roky |
Eric Andersen
|
b8361e2e12
Add a local '_dl_errno' to be used by syscalls in ldso, allowing
|
před 20 roky |
Eric Andersen
|
21da42ed94
As noticed by the sharp eyed Joakim Tjernlund, I stupidly
|
před 20 roky |
Eric Andersen
|
68c4b497dd
make certain that getpagesize() returns correct the value for mips
|
před 20 roky |
Eric Andersen
|
e14a2d5780
___brk_addr and __environ are not functions. Finding the broken
|
před 20 roky |
Eric Andersen
|
703efa108d
When doing symbol lookups on functions
|
před 20 roky |
Eric Andersen
|
deec524084
Joakim Tjernlund writes:
|
před 20 roky |
Eric Andersen
|
2fb0a71589
Eliminate the PIE support option, and simply support that all the time
|
před 20 roky |
Eric Andersen
|
7070940833
Rework file naming, aiming for at least a vague level of consistancy
|
před 20 roky |
Eric Andersen
|
499c27e1bd
Fixup the definition of _dl_open, and move some bits back where they were,
|
před 20 roky |
Eric Andersen
|
13311ad67c
Move _dl_printf and _dl_malloc to ldso, which is a more sensible
|
před 20 roky |
Eric Andersen
|
d1c8a86221
Cleanup whitespace and formatting
|
před 20 roky |