summaryrefslogtreecommitdiff
path: root/libexec/ld.so/hppa
AgeCommit message (Collapse)Author
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
ok guenther millert kettenis
2012-10-27Clear arg1 before passing control to the main object.Mark Kettenis
2012-10-24Garbage-collect the _dl_stat() routine, now unusedPhilip Guenthe
ok matthew@ deraadt@
2012-06-20With MP rthread setups, we cannot remove the X permission from the GOTTheo de Raadt
entry momentarily, because another thread might attempt lazy resolve. ok matthew guenther
2011-04-06Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0'Miod Vallat
for chars.
2010-10-28Change basep parameter of getdirentries() to be off_t *, not long *Todd C. Miller
so it works correctly with large offsets (and matches other systems). This requires adding a new getdirentries syscall, with the old one renamed to ogetdirentries. All in-tree consumers of getdirentries() have been updated. Bump libc and libpthread major numbers. OK and with deraadt@
2010-06-05Argh, revert previous change, for older binutils do not grok the fic() change.Miod Vallat
2010-06-05Explicitely pass a %sr register to fic instructions, instead of realying onMiod Vallat
the assembler to pass %sr0 by default. No binary change. ok kettenis@
2010-05-27Synchronize caches after modifying the data words in the PLT stub to preventMark Kettenis
instructions in the same cache line from being corrupted. ok deraadt@, miod@
2010-05-02Fix breakage from last commit. Bad guenther@, no cookie!Mark Kettenis
2010-05-02Combine the signal mask handling into _dl_thread_bind_lock(), as it's MI.Philip Guenthe
ok drahn@
2010-02-01Properly restore ret1 instead of overwriting ret0 with the saved value.Mark Kettenis
Fixes lazy binding for functions that return results larger than 64 bits (such as structs). ok miod@
2010-01-03Make lazy binding work on hppa.Mark Kettenis
ok miod@
2010-01-02Fix handling of hppa RELOC_IPLT relocations during 'bootstrap relocation'.Mark Kettenis
ok miod@, deraadt@, jsing@
2008-11-09typo fixed (overriden -> overridden)Tobias Stoeckmann
ok espie, jmc
2008-10-02Fix mmap() error checking to be correct 64-bit addresses. ConsistentlyKurt Miller
use _dl_mmap_error() to check for mmap() errors. Adjust datatypes of some local vars for 64-bit safety. okay millert@ drahn@
2008-04-09Improve support for shared libs linked at non-zero addreses:Kurt Miller
- rename private values in struct elf_object to better describe their meaning: s/load_offs/obj_base/ "object's address '0' base" s/load_addr/load_base/ "The base address of the loadable segments" - gdb needs the obj_base value so swap positions with load_base in struct elf_object - fix a few occurrences of where load_base was used instead of obj_base. With help and okay drahn@
2007-11-27Make _dl_md_reloc_got() report errors, and take them into account.Miod Vallat
Fixes PR #5579.
2007-05-05Provide hook so that rthreads can provide a spinlock to protect from racesDale Rahn
in lazy binding. ok art@, kurt@
2006-05-03prebind - how to prelink a binary without throwing security out the windowDale Rahn
Prelink fixes the address of libraries making 'return to libc' attacks trival, prebind uses a different method to achieve most of the same gains, however without adding any security conerns. Still under development, now in-tree.
2005-09-22knf; ok drahnTheo de Raadt
2005-09-22Use std missing symbol print instead of MD custom, do not warn on weakDale Rahn
undefined symbols, or count them as failures. inspired kurt@
2005-09-21Simplify the internal symbol finding API, with some cleanup, prep forDale Rahn
next step. ok kurt@
2005-09-16Rework symbol lookup to more closely match sun's documentation, nowDale Rahn
treats dlopens as load groups. ok kurt@
2005-01-09set %dp before any constructors get to run; found and debugged w/ niklas@Michael Shalayeff
2004-06-07use the func args and not the key material to init a new plabelMichael Shalayeff
2004-06-07fixup the dlsym() return to produce a callable address (plabel) and move one ↵Michael Shalayeff
comment closer to the code it talks about earlier; drahn@ ok
2004-06-07better debugging printfs for init/fini fixupsMichael Shalayeff
2004-06-01need to fixup for empty pltgot (weak regress is a test for it)Michael Shalayeff
2004-05-27fake plabel32 relocs for dyn.init/fini instead of an evil md macro hookMichael Shalayeff
2004-05-25spacesTheo de Raadt
2004-05-25md parts for hppaMichael Shalayeff