Mike Hommey
85b47df0cb
Bug 1081034 part 1 - Move GetSymbolPtr, Contains and FindExidx from CustomElf to BaseElf. r=nfroyd
2014-10-16 09:19:46 +09:00
Mike Hommey
84f2c13cef
Bug 1078837 part 2 - Replace IsSystemElf/reinterpret_cast dance with better API. r=nfroyd
2014-10-16 09:19:45 +09:00
Mike Hommey
c39fcc8944
Bug 1078837 part 1 - Move CustomElf::mappable to BaseElf. r=nfroyd
2014-10-16 09:19:45 +09:00
Mike Hommey
eb89afceec
Bug 1083020 - Add a (dummy) stats method to all LibHandles. r=nfroyd
...
While here, avoid doing anything if debug logging is disabled.
2014-10-16 09:19:40 +09:00
Mike Hommey
f431c6c5b5
Bug 1082524 - Initialize link_map. r=nfroyd
...
When a library fails to load with CustomElf before it's registered, the
unregistration that does happen in CustomElf's destructor uses link_map,
so it needs to be initialized.
2014-10-15 14:46:09 +09:00
Mike Hommey
464da0f9c2
Bug 1077384
- Make libmozglue a pseudo-LD_PRELOAD on android. r=nfroyd
...
In order to avoid adding more dlsym overhead than there already is, resolve
symbols directly in the library containing the linker. (GetSymbolPtr is
essentially free ; dlsym makes the system linker compule a ElfHash itself,
and that's quite expensive to do on all symbols)
This also paves the way for direct symbol resolution in all system libraries.
2014-10-07 07:42:18 +09:00
Jim Chen
f3c570c80b
Bug 1066760 - Add base address and fall back to system dladdr in __wrap_dladdr; r=froydnj
2014-09-24 14:12:54 -04:00
Mike Hommey
ec7b1e070a
Bug 956398 - Support text relocations in the custom linker. r=nfroyd
2014-01-16 09:13:42 +09:00
Jim Chen
9705613071
Bug 930627 - Implement __gnu_Unwind_Find_exidx in custom linker on ARM. r=glandium
2013-10-31 11:40:32 -04:00
Mike Hommey
c7c836946d
Bug 886722 - Rename log/debug to LOG/DEBUG_LOG in faulty.lib. r=nfroyd
2013-06-27 09:35:49 +09:00
Mike Hommey
6d626eb6a0
Bug 885336 - Fix various issues with the dl_mmap interface. r=nfroyd
2013-06-27 09:35:48 +09:00
Mike Hommey
1cb6364a2e
Bug 802240 - Expose an API to mmap the underlying file for a library loaded by faulty.lib. r=nfroyd
2013-04-12 10:23:12 +02:00
Mike Hommey
2967371558
Bug 747033 - Implement dl_iterate_phdr in the custom linker. r=froydnj
...
--HG--
rename : mozglue/linker/CustomElf.h => mozglue/linker/Elfxx.h
2012-04-25 09:05:02 +02:00
Mike Hommey
b3973a5b27
Bug 734812 - Make the linker error out when text relocations are defined with DF_TEXTREL. r=nfroyd
2012-03-13 09:48:20 +01:00
Mike Hommey
471d20d072
Bug 727959 - Don't error out when missing symbol for PLT relocations is weak. r=nfroyd
2012-03-08 08:29:39 +01:00
Mike Hommey
5773947c34
Fixup for bug 733087. rs=dougt
2012-03-06 09:54:17 +01:00
Mike Hommey
bc546e0b47
Bug 729883 - Avoid linker warnings when starting up on Android. r=tglek
2012-02-27 08:19:20 +01:00
Mike Hommey
8c5b3643ce
Bug 686805 part 6 - Add functions to display stats about seekable compressed streams. r=tglek
2012-02-22 08:12:15 +01:00
Mike Hommey
942b661343
Bug 686805 part 4 - Make the linker load libraries with on-demand decompression when they are seekable compressed streams. r=tglek,r=sewardj
2012-02-22 08:12:15 +01:00
Mike Hommey
3c9f465103
Bug 686805 part 2 - Use a SIGSEGV signal handler to handle segmentation faults happening in loaded libraries address space. r=tglek,r=sewardj
2012-02-22 08:12:15 +01:00
Mike Hommey
8fd7ef9ab5
Bug 683127 part 10 - Allow debug symbols to be found under gdb without extracted libraries. r=tglek,r=mwu
2012-01-20 09:49:03 +01:00
Mike Hommey
4b71ba5dc0
Bug 683127 part 8 - Allow to load Elf files from a Zip archive. r=tglek,r=sewardj
2012-01-20 09:48:44 +01:00
Mike Hommey
61d63022fa
Bug 683127 part 7 - Use a custom Elf linker for libraries given with an absolute path name. r=sewardj
2012-01-20 09:48:44 +01:00