Commit Graph

458 Commits

Author SHA1 Message Date
Steve Fink
9adbf3a19b Bug 738612 - Include common mozconfigs so (eg) try pushes can modify them easily. r=ted
--HG--
rename : build/macosx/common => build/macosx/mozconfig.common
extra : rebase_source : fd63c04c9624177a75220a5a49f03fd0e8539e26
2012-09-05 12:09:50 -07:00
Ryan VanderMeulen
9cb7993e51 Backout bug 738612, with feeling this time. 2012-09-04 19:21:23 -04:00
Steve Fink
4a13236600 Bug 738612 - Include common mozconfigs so try pushes can modify them easily. r=ted 2012-08-21 11:37:12 -07:00
Rafael Ávila de Espíndola
daad23d9c1 Bug 787568 - Upgrade clang to r161152. r=rail.
Update the build script.
2012-08-31 19:08:53 -04:00
Rafael Ávila de Espíndola
87a49d92e4 Bug 786010 - create manifest as part of the clang build. r=rail. 2012-08-27 16:05:35 -04:00
Rafael Ávila de Espíndola
3aceecbc49 Bug 785772 - Don't use -O0 during stage1 on darwin. r=rail.
We only need to build stage1 with -O0 on linux because of a bug in the gcc
4.5 we use.
2012-08-27 10:20:46 -04:00
Rafael Ávila de Espíndola
fa3f49c660 Bug 784691 - Upgrade clang to r162360. Use a local copy of tooltool and setup.sh. 2012-08-23 12:52:50 -04:00
Mike Hommey
89d385a324 Bug 716295 part 6 - Create elfhack tests for both DT_INIT and DT_INIT_ARRAY. r=nfroyd 2012-08-09 16:34:26 +02:00
Mike Hommey
5c651e0b18 Bug 716295 part 5 - Add support for R_ARM_THM_CALL relocations. r=nfroyd 2012-08-09 16:34:25 +02:00
Mike Hommey
0ab3403918 Bug 716295 part 4 - Interpose elfhack injected code in DT_INIT_ARRAY's first entry when possible. r=nfroyd 2012-08-09 16:34:25 +02:00
Mike Hommey
9ddf9f3b12 Bug 716295 part 3 - Add serialization into a buffer instead of an ostream. r=nfroyd 2012-08-09 16:34:25 +02:00
Mike Hommey
6513110470 Bug 716295 part 2 - Fix assertion in serializable::init and cleanup serializable constructor. r=nfroyd 2012-08-09 16:34:24 +02:00
Mike Hommey
62ef24ad74 Bug 716295 part 1 - Fail more gracefully when .dynamic section can't be grown. r=nfroyd 2012-08-09 16:34:24 +02:00
Mike Hommey
ab23ebf01d Bug 703843 - Use mkdir_deps instead of order-only prerequisite in build/unix/elfhack/Makefile.in. r=ted 2012-08-09 16:34:24 +02:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Rafael Ávila de Espíndola
faaa1d734c Bug 779259 - upgrade clang to r161022. r=rail.
Update the build script and set MACOSX_DEPLOYMENT_TARGET.
2012-08-01 10:15:33 -04:00
Rafael Ávila de Espíndola
42bf2b674b Bug 779249 - Make the script executable. r=forgot to chmod on the previous push. 2012-07-31 20:56:12 -04:00
Rafael Ávila de Espíndola
c98db46db2 Bug 779249 - checkin a script to create the tooltool manifests for clang. r=rail.
DONTBUILD.

--HG--
extra : rebase_source : db11a13de540c77e6c6317f302b840d00682b2d4
2012-07-31 16:44:14 -04:00
Justin Lebar
898b4277c1 Bug 776537 - Pass a valid environment to populate_virtualenv.py, unbreaking configure, by expanding HOST_CFLAGS and friends when they're created. r=glandium
Also fix up some Makefile.in's so they specify HOST_CFLAGS/CXXFLAGS correctly.

--HG--
extra : rebase_source : 5a6b983527bfb1cd7b551916dac286f130a736c6
2012-07-23 13:29:02 -04:00
Rafael Ávila de Espíndola
5612fc33a3 Bug 774796 - upgrade clang to r160364. r=rail.
Update the build script.

--HG--
extra : rebase_source : ab552c6849c5b3bcb0d7e603555e5b67ce9fbf69
2012-07-17 15:13:06 -04:00
Rafael Ávila de Espíndola
8318d3adcf Bug 774414 - Disable sse by default on the 32 bit linux build of clang. r=rail.
DONTBUILD.

--HG--
extra : rebase_source : 82b0bbcb013de2b49a2af15be0a32318c3a854fb
2012-07-16 15:49:46 -04:00
Rafael Ávila de Espíndola
9b7d82beaa Bug 774372 - build clang packages with --disable-assertions. r=rail.
--HG--
extra : rebase_source : bf59e8a827ec563170bc853a0c2d9de6211918f6
2012-07-16 15:02:41 -04:00
Rafael Ávila de Espíndola
24391bb428 Bug 774121 - upgrade clang to r160227. r=rail.
Update the build script.
2012-07-16 08:26:17 -04:00
Rafael Ávila de Espíndola
f0ceaee515 Bug 772853 - upgrade clang to r160176. r=rail.
Update the build script.

--HG--
extra : rebase_source : e534988eb9423a5459ebf91ec5cfdb4eb3c0b30d
2012-07-13 23:52:52 -04:00
Rafael Ávila de Espíndola
8dcefcd732 Bug 772853 - upgrade clang to r160105. r=rail.
DONTBUILD.
2012-07-12 11:19:00 -04:00
Mike Hommey
e4d7f4f494 Bug 771569 - Move elfhack sections before .rel{,a}.dyn to work around glibc 2.16 bug. r=nfroyd 2012-07-09 17:53:35 +02:00
Ed Morley
5f2ce2ac09 Backout 61038a15b7b7 (bug 771569) for elfhack errors 2012-07-09 15:14:18 +01:00
Mike Hommey
89201fad24 Bug 771569 - Move elfhack sections before .rel{,a}.dyn to work around glibc 2.16 bug. r=nfroyd 2012-07-09 15:47:24 +02:00
Rafael Ávila de Espíndola
a971229233 Bug 769635 - Upgrade clang to 159409. r=rail.
--HG--
extra : rebase_source : 8731ed8c9523c8e988fe01d90b8e5f4c2e4a69ef
2012-06-29 14:53:41 -04:00
Rafael Ávila de Espíndola
db3416b87e Bug 768406 - Upgrade clang to r159219. r=rail.
Update the build scripts.
2012-06-27 09:27:50 -04:00
Christian Holler
ddf203a0bb Bug 768405 - Adjust Clang path in ASan mozconfig for use with tooltool 2012-06-26 12:26:57 -04:00
Rafael Ávila de Espíndola
96368f48f0 Bug 761421 - Upgrade clang to 158160. r=rail.
Add a setup.sh script for use with tooltool.
DONTBUILD
2012-06-21 15:02:13 -04:00
Rafael Ávila de Espíndola
f6a345edce Bug 761421 - Upgrade clang to 158160. r=rail.
Add support for OS X in the build script.
DONTBUILD
2012-06-21 11:13:04 -04:00
Rafael Ávila de Espíndola
50b18d8a95 Bug 761421 - Small fixes to the build script. r=rail.
DONTBUILD
2012-06-21 08:48:09 -04:00
Randell Jesup
0edea6e242 Bug 757637: Rollup makesystem changes for webrtc r=khuey r=ted f=glandium 2012-06-20 07:27:43 -04:00
Rafael Ávila de Espíndola
c26d688173 Bug 761421 - Upgrade clang to 158160. r=rail.
Part 1 of many, add a script to build a tar file with clang to be use with
tooltool. For now this is centos 5 only, but will be ported to OS X too.
2012-06-20 11:14:08 -04:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Rafael Ávila de Espíndola
9adbe18195 Bug 683975 - Build zlib. r=rail. 2012-05-17 16:14:38 -04:00
Rafael Ávila de Espíndola
fea7b1a99e Bug 683975 - build gawk. r=rail. 2012-05-16 07:50:05 -04:00
Christian Holler
0f25e1bb27 Bug 753135 - Add AddressSanitizer mozconfig files to the tree, r=catlee 2012-05-15 15:24:14 -07:00
Rafael Ávila de Espíndola
a407a9a089 Bug 683975 - Do a 3 step bootstrap. r=rail.
--HG--
extra : rebase_source : 68560b4f98df1b7e8c499969a371ae0490e90bbe
2012-05-15 09:06:42 -04:00
Rafael Ávila de Espíndola
089c9efb12 Bug 683975 - backport libtool's 74c8993c178a1386ea5e2363a01d919738402f30. r=rail. 2012-05-08 10:12:07 -04:00
Rafael Ávila de Espíndola
3d89b96044 Bug 683975 - make lib a symlink to lib64.
--HG--
extra : rebase_source : 5118679596f0034ba0afe13c4be8e4bb973d4b77
2012-05-03 14:19:33 -04:00
Mike Hommey
b15cbbbb14 Fixup for bug 748739 for Linux PGO breakage. rs=edmorley 2012-04-30 10:17:56 +02:00
Mike Hommey
7ae6cd162b Bug 749573 - Declare run-mozilla.sh and xpcshell as SDK_BINARY. r=ted 2012-04-30 08:05:34 +02:00
Mike Hommey
4d48cbfae9 Bug 748739 - Link stdc++compat as a static library, and always link it when STDCXX_COMPAT is enabled. r=ted
--HG--
rename : build/stdc++compat.cpp => build/unix/stdc++compat/stdc++compat.cpp
2012-04-30 08:03:59 +02:00
Rafael Ávila de Espíndola
00bbd5f1fe Bug 683975 - Disable zlib when building binutils. r=rail.
--HG--
extra : rebase_source : e9db18ff4789f2d5eaf15b5f0b8a88d12a0de21e
2012-04-02 14:58:20 -04:00
Rafael Ávila de Espíndola
940c5a3be4 Bug 683975. Set PATH when building stage2. r=rail. 2012-03-27 07:12:44 -04:00
Rafael Ávila de Espíndola
58fc9c4797 Bug 683975 - Disable lto. r=rail. 2012-03-23 16:56:36 -04:00
Mike Hommey
22a17631ae Bug 734237 - Make elfhack skip ELF files that aren't shared objects. r=tglek 2012-03-13 09:47:03 +01:00
Mike Hommey
ee47a4d338 Bug 695711 - Always add -ffunction-sections and -fdata-sections when building with GCC, and port bug 670659 and bug 675867 to js/src. r=khuey
--HG--
rename : build/unix/check_debug_ranges.py => build/autoconf/check_debug_ranges.py
rename : build/unix/check_debug_ranges.py => js/src/build/autoconf/check_debug_ranges.py
2012-02-27 16:35:44 +01:00
Rafael Ávila de Espíndola
9d0041bdfa Bug 683975 - Disable fixinc and point FLAGS_FOR_TARGET to our headers. r=rail.
--HG--
extra : rebase_source : a6dcd942c43cd693eb89bff3b4f47ce7aab1b17a
2012-02-28 09:39:54 -05:00
Rafael Ávila de Espíndola
876ea5c334 Bug 683975 - swap the glibc and gcc build order during stage2. r=rail. 2012-02-27 14:34:47 -05:00
Rafael Ávila de Espíndola
ff739d7437 Bug 683975 - build unifdef. r=rail 2012-02-24 12:11:01 -05:00
Rafael Ávila de Espíndola
814757e2d0 Bug 683975 - Need infra for developer contributed compilers. r=rail.
fix some reproducibility problems.

--HG--
extra : rebase_source : 75a182e3a0b0117776a78c7069b608c32ef8607a
2012-02-21 08:57:11 -05:00
Mike Hommey
c3d9ce8c6d Bug 725284 - Preserve PT_LOAD alignment, except when it's the default on x86-64. r=tglek 2012-02-21 08:08:41 +01:00
Rafael Ávila de Espíndola
b490c20b55 Bug 683975 - Need infra for developer contributed compilers. r=rail.
dowgrade glibc to 2.5.1, fix reproducibility problem.
2012-02-17 13:53:03 -05:00
Rafael Ávila de Espíndola
ec03691f3b Bug 683975 - Need infra for developer contributed compilers. r=rail.
dowgrade glibc to 2.6.1.
2012-02-17 10:12:21 -05:00
Rafael Ávila de Espíndola
4d972aba14 Bug 683975 - Need infra for developer contributed compilers. r=rail.
dowgrade glibc to 2.7.
2012-02-16 15:33:04 -05:00
Rafael Ávila de Espíndola
11eb567802 Bug 683975 - Need infra for developer contributed compilers. r=rail.
Downgrade glibc to 2.9.
2012-02-16 13:09:33 -05:00
Rafael Ávila de Espíndola
2f190b75f4 Bug 683975 - Need infra for developer contributed compilers. r=rail.
Downgrade glibc to 2.10.1.
2012-02-16 11:33:26 -05:00
Rafael Ávila de Espíndola
3dcaefdb54 Bug 683975 - Need infra for developer contributed compilers. r=rail.
downgrade glibc to 2.11.1.
2012-02-16 07:23:41 -05:00
Rafael Ávila de Espíndola
71ebb65257 Bug 683975 - Need infra for developer contributed compilers. r=rail.
Downgrade glibc to 2.12.2.

--HG--
extra : rebase_source : a6a48053e3777ce51856df45e6c3295017e73946
2012-02-14 07:33:40 -05:00
Rafael Ávila de Espíndola
cf34926544 Bug 683975 - Need infra for developer contributed compilers. r=rail.
make sure the libc.so script doesn't refer to build dir.
2012-01-31 10:25:26 +01:00
Rafael Ávila de Espíndola
05013372cd Bug 683975 - Need infra for developer contributed compilers. r=rail.
--HG--
extra : rebase_source : b5b616042e629be4c9cd1c8bc7217bc15f4d4a1c
2012-01-27 10:31:44 -05:00
Rafael Ávila de Espíndola
a9d5084251 Bug 683975 - Need infra for developer contributed compilers. r=rail.
Don't build the c++ compiler on the first stage, saving some time

Build glibc with the compiler we just built (i.e. same stage). With this we
only have to worry about glibc building with one gcc version.

--HG--
extra : rebase_source : 917f2ec49da8f1d9e5e0c036258b4cd6b0189192
2012-01-26 09:02:15 -05:00
Rafael Ávila de Espíndola
6118318e5f Bug 683975 - Need infra for developer contributed compilers. r=rail. 2012-01-25 19:37:33 -05:00
Rafael Ávila de Espíndola
e5c521c86d Bug 683975 - Need infra for developer contributed compilers. r=rail.
Build glibc.
2012-01-24 09:41:25 -05:00
Rafael Ávila de Espíndola
21e3835a3c Bug 683975 - Need infra for developer contributed compilers. r=rail.
A small update:
*) Add the patches that I forgot on the first patch.
*) Just patch binutils to have a deterministic ar.
*) Bootstrap and install the linker too.
2012-01-20 11:19:51 -05:00
Rafael Ávila de Espíndola
444e03f976 Bug 683975 - Need infra for developer contributed compilers. r=rail.
This is an early version of a new build script. Currently it is able to do
reproducible builds of gcc in one machine (they always get the same md5), but
builds done in two different distros are still different.
2012-01-18 13:17:18 -05:00
Chao-ying Fu
668eaaca12 Add MIPS support to JaegerMonkey (bug 678154, r=dvander).
--HG--
extra : rebase_source : 8f174670ae068741a1536696e17e3a2a6bb4c7e5
2012-01-12 19:18:05 -08:00
Mike Hommey
0e6fee14ee Bug 708567 - Remove jemalloc-standalone-linkage-version-script, as it's not used anymore. r=khuey 2011-12-20 13:24:35 +01:00
Rafael Ávila de Espíndola
e93b4260d6 Bug 706180 - Use /tools/gcc-4.5-0moz3. r=rail. 2011-12-05 13:45:16 -05:00
Ed Morley
e85c37a0e2 Bug 703898 - Remove unnecessary platform conditional from build/unix/Makefile.in; r=ted 2011-11-30 18:37:57 +00:00
Rafael Ávila de Espíndola
8f03dc5066 Bug 705133 - move all linux CC and CXX lines to a central mozconfig snippet. r=catlee. 2011-11-24 14:58:06 -05:00
Mike Hommey
856c07a217 Bug 699734 - Export the _IO_stdin_used symbol. r=ted 2011-11-18 08:54:41 +01:00
Nicholas Nethercote
c2b905ac11 Bug 678977 - Teach sqlite to use jemalloc directly when applicable. code=nnethercote,khuey. r=khuey,sdwilsh,jlebar. 2011-11-03 20:53:41 -07:00
Ehsan Akhgari
fe0d0ce6ff Backed out changeset 020f14584a2a (bug 680246) because it broke builds on all platforms 2011-09-26 11:53:28 -04:00
Joey Armstrong
9cb3971e04 Bug 680246 - makefile logic to support threadsafe mkdir -p; r=ted 2011-08-18 17:16:21 -04:00
Mike Hommey
ad6774938a Bug 681588 - Cleanup wrap malloc and its use on Android. r=ted 2011-08-29 19:21:22 +02:00
Mike Hommey
b71e19cd3c 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
c990a7f3c3 Backed out changeset 480f913edf3f (bug 676252) because of build failure 2011-08-29 08:31:58 +02:00
Mike Hommey
7ad004360f 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
73e9c2d6c7 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
4bb438a0cd 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
Kyle Huey
0dbd15635f Merge b-s to m-c. 2011-08-10 11:12:30 -04:00
Mike Hommey
eb55ddf4c9 Bug 675898 - Test what we can test of elfhack when cross-building. r=ted 2011-08-09 09:05:49 +02:00
Joey Armstrong
f51e2723e8 Bug 661855 - uniq.pl quote regex dot chars in path. r=ted 2011-06-20 15:38:46 -04:00
Mike Hommey
a827925ebe Bug 674888 - Allow elfhack to move .interp sections. r=tglek 2011-08-03 10:28:47 +02:00
Mike Hommey
449736886b Bug 674467 - Keep test.so around when elfhack test fails. r=ted 2011-07-28 09:05:15 +02:00
Mike Hommey
95b06d0667 Bug 673921 - Make build/unix/check_debug_ranges.py properly handle objdump addresses output. r=ted 2011-07-26 09:54:01 +02:00
Mike Hommey
b7649536fc Bug 670659 - Detect GNU ld bug with debugging symbols when using --gc-sections and don't use it then. r=ted 2011-07-19 08:51:22 +02:00
Mike Hommey
9726993d7f 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
0572c10e07 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
d79c335448 Bug 651892 part 3 - Remove __cxa_pure_virtual relocations. r=tglek 2011-06-23 04:08:03 +02:00
Mike Hommey
5d694d2527 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
7eff9066a4 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
9a38106463 Bug 664367 - Pass LDFLAGS when linking elfhack's test.so. r=khuey 2011-06-15 08:54:45 +02:00
Mike Hommey
c1bf962ba5 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
3b605d5000 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
5807380164 Bug 649965 - Remove inlines on Elf_*::swap functions. r=tglek 2011-06-03 01:21:07 +02:00
Mike Hommey
b7d8bff6f5 Bug 657396 - Move LDFLAGS after other flags when building elfhack test case. r=ted 2011-05-17 09:34:20 +02:00
Mike Hommey
6de32c8fa9 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
0570662051 Bug 640838: Remove OpenVMS support. r=khuey 2011-03-26 11:51:35 -04:00
Mike Hommey
280bca9939 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
a261979126 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
225c13b333 Merge m-c to bs. 2011-02-25 15:23:05 -05:00
Mitchell Field
a6788f0842 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
15a3c672da Bug 635966 - Avoid elfhack failure with llvm. r=khuey,a=shaver 2011-02-23 10:06:26 +01:00
Mike Hommey
c4db75fea9 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
a38404af0e 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
6cf32f9e51 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
80c3bdea1e 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
6b2a02f26f 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
45d53e96e2 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
6ed7532810 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
5acacc821d Bug 632769 - Only build elfhack on x86* and arm. r=khuey,a=NPOTB 2011-02-12 10:27:56 +01:00
Mike Hommey
6f896b3362 Bug 629639 - Build elfhack injected code without stack protection. r=khuey a=bsmedberg 2011-02-03 00:15:20 +01:00
Mike Hommey
c6b6450cec 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
c5fbeda813 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
965aac3e20 Bug 628233 part 2 - Enable elfhack on Android. r=khuey,a=sdwilsh 2011-01-28 09:22:58 +01:00
Mike Hommey
8eb36d7f97 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
78ab424e26 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
7689402ee4 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
df126a65a3 Bug 628593 - Remove -fno-exceptions from CXXFLAGS when building elfhack. r=khuey,a=sdwilsh 2011-01-28 09:22:58 +01:00
Mike Hommey
3c41419fc8 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
a46608b3ad 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
a59a2243d8 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
4a0181e110 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
f1376f347d 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
b42bea9dc1 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
5aa5d025fd 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
276396ec0a 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
f7c4f106f0 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
89b4d7733f 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
f08ea08f1a Bug 628618 part 1 - Support ElfLocations without a corresponding ElfSection. r=tglek,a=sdwilsh 2011-01-28 09:22:57 +01:00
Mike Hommey
c886f4609d Bug 628283 - Make elfhack handle GNU_RELRO segments better. r=tglek,a=dbaron 2011-01-24 23:11:46 +01:00
Mike Hommey
fb3d02898a Bug 606145 part 3 - Integrate elfhack with the build system. r=khuey,a=bsmedberg 2011-01-24 09:56:40 +01:00
Mike Hommey
82dcf6256c Bug 606145 part 2 - Import elfhack code. r=tglek,a=bsmedberg 2011-01-24 09:56:40 +01:00
Nils Maier
fbacd9b634 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
76b69157c8 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
cd2591f646 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
1b940e1c96 Bug 592052 - Missing NSGetModule export (binary backwards compatiblity) r=benjamin a=dtownsend 2010-08-30 22:55:18 +02:00
Dmitri Gribenko
d0ad1eef93 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
3f7e71abfb Rename NSGetModule to NSModule in various build scripts for bug 568691. 2010-06-22 20:21:34 -04:00
Oleg Romashin
9cbb1c5d7b 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
d082c2f770 bug 532962: allow run-mozilla.sh to accept debugger arguments. r=luser 2009-12-07 01:10:46 -06:00
Benjamin Smedberg
1b015e4cd1 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
d5b8092f6f Bug 523054 - Sweep out some more viewer orts, r=dbaron 2009-10-25 10:03:17 -07:00
Phil Ringnalda
8490d39416 Bug 514211 - Sweep some mouse turds out of build/unix/, r=ted 2009-09-18 19:59:52 -07:00