| Commit message (Expand) | Author | Age | Files | Lines |
| * | rename dynamic linker entry point from _start to _dlstart•••the main motivation for this change is to aid in debugging. since the
main program's entry point is also named _start, it was difficult to
set breakpoints or quickly identify which _start execution stopped in.
| Rich Felker | 2014-06-20 | 1 | -3/+3 |
| * | fix dlsym asm for mips•••saving the return address from the delay slot is not valid -- by the
time the instruction executes, the return address has already been
replaced.
| Rich Felker | 2012-11-08 | 1 | -1/+2 |
| * | fix bug computing argc when invoking ld-musl-mips.so.1 progname ... | Rich Felker | 2012-08-17 | 1 | -3/+3 |
| * | dlsym RTLD_NEXT support for mips•••untested
| Rich Felker | 2012-08-05 | 1 | -0/+15 |
| * | mips dynamic linker support•••not heavily tested, but the basics are working. the basic concept is
that the dynamic linker entry point code invokes a pure-PIC (no global
accesses) C function in reloc.h to perform the early GOT relocations
needed to make the dynamic linker itself functional, then invokes
__dynlink like on other archs. since mips uses some ugly arch-specific
hacks to optimize relocating the GOT (rather than just using the
normal DT_REL[A] tables like on other archs), the dynamic linker has
been modified slightly to support calling arch-specific relocation
code in reloc.h.
most of the actual mips-specific behavior was developed by reading the
output of readelf on libc.so and simple executable files. i could not
find good reference information on which relocation types need to be
supported or their semantics, so it's possible that some legitimate
usage cases will not work yet.
| Rich Felker | 2012-08-05 | 1 | -0/+46 |