Commit Graph

68 Commits

Author SHA1 Message Date
Mike Hommey
f2e0cbff28 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
Matheus Kerschbaum
355ae99518 Bug 640838: Remove OpenVMS support. r=khuey 2011-03-26 11:51:35 -04:00
Mike Hommey
868fcd03ab 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
c8b9ee74d8 Bug 637341 - Apply elfhack to dist/bin when packaging and when building symbols. r=ted 2011-03-14 14:41:41 +01:00
Kyle Huey
7d56189a13 Merge m-c to bs. 2011-02-25 15:23:05 -05:00
Mitchell Field
2e8a7d546f Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras 2011-02-20 06:10:24 +11:00
Mike Hommey
6b2bd8ac5a Bug 635966 - Avoid elfhack failure with llvm. r=khuey,a=shaver 2011-02-23 10:06:26 +01:00
Mike Hommey
54eba416f4 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
1d6efc259c 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
4bd909605b 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
ea18252b06 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
bec61c100c 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
4ee581abeb 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
e518400cac 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
1a5fa5dc34 Bug 632769 - Only build elfhack on x86* and arm. r=khuey,a=NPOTB 2011-02-12 10:27:56 +01:00
Mike Hommey
6da9426048 Bug 629639 - Build elfhack injected code without stack protection. r=khuey a=bsmedberg 2011-02-03 00:15:20 +01:00
Mike Hommey
bc8718a241 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
352aaf6c99 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
c15384501d Bug 628233 part 2 - Enable elfhack on Android. r=khuey,a=sdwilsh 2011-01-28 09:22:58 +01:00
Mike Hommey
9f4b04451d 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
414430be51 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
5b2d64d6da 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
5dbccc7a1e Bug 628593 - Remove -fno-exceptions from CXXFLAGS when building elfhack. r=khuey,a=sdwilsh 2011-01-28 09:22:58 +01:00
Mike Hommey
0ebe63f366 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
3518aa3b87 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
9ea937dac5 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
5190cd7346 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
5dd0060e02 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
3a16edea86 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
cc0eedf4c6 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
3a7abc2fb4 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
d6ad1497ca 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
1dbb7ed286 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
2fd1db48c3 Bug 628618 part 1 - Support ElfLocations without a corresponding ElfSection. r=tglek,a=sdwilsh 2011-01-28 09:22:57 +01:00
Mike Hommey
7571185aaf Bug 628283 - Make elfhack handle GNU_RELRO segments better. r=tglek,a=dbaron 2011-01-24 23:11:46 +01:00
Mike Hommey
6f2a78dca1 Bug 606145 part 3 - Integrate elfhack with the build system. r=khuey,a=bsmedberg 2011-01-24 09:56:40 +01:00
Mike Hommey
f56acbddff Bug 606145 part 2 - Import elfhack code. r=tglek,a=bsmedberg 2011-01-24 09:56:40 +01:00
Nils Maier
01c8632b56 iBug 592052 - Add missing NSGetModule export (binary backwards compatiblity) except on OS X; r=benjamin a=bsmedberg 2010-11-19 12:41:25 -05:00
Mike Hommey
580a41a089 Bug 611405 part 1 - Export jemalloc symbols when linking with the xpcom standalone glue. r=bsmedberg,a=clegnitto 2010-11-17 09:56:19 +01:00
Benjamin Smedberg
da44d916b7 Backed out changeset 7819e11aa46f, bug 592052 because of Mac OS X build bustage:
Undefined symbols:
  "_NSGetModule", referenced from:
     -exported_symbols_list command line option
ld: symbol(s) not found
2010-10-13 08:54:06 -04:00
Nils Maier
9139e49e1c Bug 592052 - Missing NSGetModule export (binary backwards compatiblity) r=benjamin a=dtownsend 2010-08-30 22:55:18 +02:00
Dmitri Gribenko
3dd644d597 Bug 590753. Avoid adding empty entries to paths. r=bsmedberg
--HG--
extra : rebase_source : 0220d37deb0ec175cc1580b0c1ec82c886c6db94
2010-09-06 15:18:07 +12:00
Benjamin Smedberg
ed6b2301fe Rename NSGetModule to NSModule in various build scripts for bug 568691. 2010-06-22 20:21:34 -04:00
Oleg Romashin
11a6deea44 Bug 558825 - run-mozilla.sh does not work with -d native-gdb. r=ted.mielczarek
--HG--
extra : rebase_source : 764ca82339869411c4a3fa402f3060de17d7f768
2010-05-11 13:23:59 -04:00
Chris Jones
73f7822671 bug 532962: allow run-mozilla.sh to accept debugger arguments. r=luser 2009-12-07 01:10:46 -06:00
Benjamin Smedberg
87e746210d Bug 524139 - Eval .all.pp instead of including it. This means that in the normal case we avoid any make restarts and the associated I/O that goes with them, which could possibly be slowing Windows builds down considerably r=ted
--HG--
extra : rebase_source : 9671d212954595ef76b1870957e09ec6bc018e83
2009-10-23 13:00:19 -04:00
Phil Ringnalda
4ee2e4bdb1 Bug 523054 - Sweep out some more viewer orts, r=dbaron 2009-10-25 10:03:17 -07:00
Phil Ringnalda
94cd737ac8 Bug 514211 - Sweep some mouse turds out of build/unix/, r=ted 2009-09-18 19:59:52 -07:00
Karl Tomlinson
04f1f2de08 Bug 477724 avoid pointless shell interpreter hanging around r=bsmedberg 2009-08-21 10:09:54 +12:00
Ginn Chen
f90d939080 Bug 456719 run-mozilla.sh doesn't work well with ksh93 r=benjamin 2009-07-23 18:09:10 +08:00