Mike Hommey
4becff76cf
Bug 681588 - Cleanup wrap malloc and its use on Android. r=ted
2011-08-29 19:21:22 +02:00
Mike Hommey
118fab1b1e
Bug 676252 part 2 - Use a different object file extension for the first PGO build pass with GCC. r=ted
2011-08-29 07:34:12 +02:00
Mike Hommey
78bafd9232
Backed out changeset 480f913edf3f (bug 676252) because of build failure
2011-08-29 08:31:58 +02:00
Mike Hommey
8082a1e39e
Bug 676252 part 2 - Use a different object file extension for the first PGO build pass with GCC. r=ted
2011-08-29 07:34:12 +02:00
Mike Hommey
ca1abf3f51
Bug 676252 part 1 - Don't use $(OBJ_SUFFIX) before including config.mk. r=ted
2011-08-29 07:34:02 +02:00
Rafael Ávila de Espíndola
f11fc0eea5
Bug 678008 - Fix elfhack build in c++0x mode. r=mh+mozilla
...
In c++0x it is not valid to use a negative number in a unsigned
position in an initializer list. Add explicit casts and change
the size method to return an unsigned int.
2011-08-17 10:12:46 -04:00
Mike Hommey
52d5cef625
Bug 675898 - Test what we can test of elfhack when cross-building. r=ted
2011-08-09 09:05:49 +02:00
Mike Hommey
312ece81e0
Bug 674888 - Allow elfhack to move .interp sections. r=tglek
2011-08-03 10:28:47 +02:00
Mike Hommey
ae4a2567ab
Bug 674467 - Keep test.so around when elfhack test fails. r=ted
2011-07-28 09:05:15 +02:00
Mike Hommey
39c56ade70
Bug 671188 - Don't fail on R_*_NONE relocations with an empty r_offset. r=tglek
2011-07-15 10:15:28 +02:00
Mike Hommey
5f2ee2cae8
Bug 537857 part 2 - Avoid --gc-sections removing anything from elfhack test case. r=tglek
2011-06-28 08:25:48 +02:00
Mike Hommey
9053e919c2
Bug 651892 part 3 - Remove __cxa_pure_virtual relocations. r=tglek
2011-06-23 04:08:03 +02:00
Mike Hommey
a482ced9c1
Bug 651892 part 2 - Add a constructor to serializable that takes a buffer instead of an istream. r=tglek
2011-06-23 04:07:57 +02:00
Mike Hommey
d0d08e1e9d
Bug 651892 part 1 - Add a helper function to lookup symbols in a ElfSymtab_Section. r=tglek
2011-06-23 04:07:30 +02:00
Mike Hommey
3e3d3b5c75
Bug 664367 - Pass LDFLAGS when linking elfhack's test.so. r=khuey
2011-06-15 08:54:45 +02:00
Mike Hommey
473077a181
Bug 661800 - Avoid elfhack considering non SHF_TLS sections as part of PT_TLS segment. r=tglek
2011-06-07 08:26:17 +02:00
Mike Hommey
13f9be57c1
Bug 661800 part 0 - Add a dependency of host_elf*.o upon elfxx.h, to circumvent bug 664362. r=ted
2011-06-16 06:28:59 +02:00
Mike Hommey
08316d02a6
Bug 649965 - Remove inlines on Elf_*::swap functions. r=tglek
2011-06-03 01:21:07 +02:00
Mike Hommey
d1ee5b8d40
Bug 657396 - Move LDFLAGS after other flags when building elfhack test case. r=ted
2011-05-17 09:34:20 +02:00
Mike Hommey
a30cc99921
Bug 643690 part 1 - Avoid requiring libstdc++ symbol versions > GLIBCXX_3.4.8 (gcc > 4.1). r=ted,r=tglek
2011-04-15 11:03:17 +02:00
Mike Hommey
d210dad39a
Bug 637341 - Don't try to do anything on binaries that have already been elfhacked. r=tglek
2011-03-14 14:41:41 +01:00
Mike Hommey
c3abfd1aec
Bug 635966 - Avoid elfhack failure with llvm. r=khuey,a=shaver
2011-02-23 10:06:26 +01:00
Mike Hommey
678159caab
Bug 632920 part 2 - Add support for R_ARM_THM_JUMP24 relocation in elfhack. r=tglek,a=bsmedberg
2011-02-16 17:27:35 +01:00
Mike Hommey
a41020f9a3
Bug 632920 part 1 - Refactor relocations application to avoid error-prone duplication of code in elfhack. r=tglek,a=bsmedberg
2011-02-16 17:25:51 +01:00
Mike Hommey
b5d55531a2
Bug 629635 part 5 - Gracefully abort elfhack when injected code+data is bigger than original relocation section. r=tglek,a=blocking2.0:final
2011-02-12 10:28:34 +01:00
Mike Hommey
2281db190b
Bug 629635 part 4 - Make elfhack keep PT_GNU_RELRO segments as they were originally. r=tglek,a=blocking2.0:final
2011-02-12 10:28:34 +01:00
Mike Hommey
1af1ff2225
Bug 629635 part 3 - Add ElfSegment::getOffset and ElfSegment::getAddr functions. r=tglek,a=blocking2.0:final
2011-02-12 10:28:34 +01:00
Mike Hommey
8fca555d75
Bug 629635 part 2 - Don't allow elfhack to move the .dynamic section. r=tglek,a=blocking2.0:final
2011-02-12 10:28:34 +01:00
Mike Hommey
580a954b71
Bug 629635 part 1 - Make elfhack fail if different blocks need to be mapped to the same address. r=tglek,a=blocking2.0:final
2011-02-12 10:28:26 +01:00
Mike Hommey
7da5bd0650
Bug 629639 - Build elfhack injected code without stack protection. r=khuey a=bsmedberg
2011-02-03 00:15:20 +01:00
Mike Hommey
5844ec242c
Bug 629638 - Build elfhack injected code with a limited set of CFLAGS. r=khuey a=bsmedberg
2011-02-03 00:14:43 +01:00
Makoto Kato
b1a4a0850e
Bug 628606 - elfhack causes bustage since ARM target may not return arm. r=glandium,a=sdwilsh
2011-01-28 09:22:59 +01:00
Mike Hommey
05a7564b8a
Bug 628988 part 2 - Adapt symbol tables content to elfhack changes. r=tglek,a=sdwilsh
2011-01-28 09:22:58 +01:00
Mike Hommey
bb80de5347
Bug 628988 part 1 - Modify elfhack test so that the executable actively calls something from the library. r=tglek,a=sdwilsh
2011-01-28 09:22:58 +01:00
Mike Hommey
eba6e5d0de
Bug 628595 - Avoid compiler warning about C++ style comments in C code in elfhack. r=jag,a-sdwilsh
2011-01-28 09:22:58 +01:00
Mike Hommey
d3a11c28e9
Bug 628593 - Remove -fno-exceptions from CXXFLAGS when building elfhack. r=khuey,a=sdwilsh
2011-01-28 09:22:58 +01:00
Mike Hommey
1742d3d062
Bug 628232 part 2 - Allow to build elfhack injected code as thumb. r=tglek,a=sdwilsh
2011-01-28 09:22:58 +01:00
Mike Hommey
1c1302302d
Bug 628232 part 1 - Use the init symbol from elfhack injected code as an entry point instead of hardcoding 0. r=tglek,a=sdwilsh
2011-01-28 09:22:58 +01:00
Mike Hommey
38f33a0e80
Bug 628627 part 2 - Add messages inviting to file bugs and use --disable-elf-hack in case of elfhack failures. r=khuey,a=sdwilsh
2011-01-28 09:22:58 +01:00
Mike Hommey
76a85c56b6
Bug 628627 part 1 - Raise hard errors in some more cases in elfhack. r=tglek,a=sdwilsh
2011-01-28 09:22:58 +01:00
Mike Hommey
6f14d516d1
Bug 628618 part 7 - Use a whitelist of ELF sections that can be moved. r=tglek,a=sdwilsh
2011-01-28 09:22:58 +01:00
Mike Hommey
75f3f59209
Bug 628618 part 6 - Delay refreshing of ElfSection addresses and offsets. r=tglek,a=sdwilsh
2011-01-28 09:22:58 +01:00
Mike Hommey
a1a52c7d80
Bug 628618 part 5 - Don't set DT_REL*COUNT if it wasn't already set. r=tglek,a=sdwilsh
2011-01-28 09:22:58 +01:00
Mike Hommey
0c9e2a4789
Bug 628618 part 4 - Initially set an address for the fake phdr ElfSection. r=tglek,a=sdwilsh
2011-01-28 09:22:58 +01:00
Mike Hommey
f4d5e469c9
Bug 628618 part 3 - An ElfSection is relocatable if it has the SHF_ALLOC flag set independently of other flags. r=tglek,a=sdwilsh
2011-01-28 09:22:58 +01:00
Mike Hommey
804955ca9f
Bug 628618 part 2 - PT_DYNAMIC segment only contains SHT_DYNAMIC section. r=tglek,a=sdwilsh
2011-01-28 09:22:58 +01:00
Mike Hommey
380944b0cf
Bug 628618 part 1 - Support ElfLocations without a corresponding ElfSection. r=tglek,a=sdwilsh
2011-01-28 09:22:57 +01:00
Mike Hommey
ca497357a4
Bug 628283 - Make elfhack handle GNU_RELRO segments better. r=tglek,a=dbaron
2011-01-24 23:11:46 +01:00
Mike Hommey
2604062432
Bug 606145 part 3 - Integrate elfhack with the build system. r=khuey,a=bsmedberg
2011-01-24 09:56:40 +01:00
Mike Hommey
4ca328c3c5
Bug 606145 part 2 - Import elfhack code. r=tglek,a=bsmedberg
2011-01-24 09:56:40 +01:00