Commit Graph

181 Commits

Author SHA1 Message Date
Rafael Ávila de Espíndola
5771e9f63e Bug 684659 - Remove xptcinvoke_unixish_x86.cpp. r=bsmedberg.
This patch:
* Modifies the linux version so that both calls are aligned and can be used by the OS X assembler.
* Removes KEEP_STACK_16_BYTE_ALIGNED, since it is cheap to do it always and the linux implementation was already doing.
* Define MOZ_NEED_LEADING_UNDERSCOR on OS X
* Move users of xptcinvoke_unixish_x86.cpp to xptcinvoke_gcc_x86_unix.cpp (and the stubs file too)

--HG--
extra : rebase_source : 11eac139b33ddfe60af96690e0c54aec77db82c9
2011-09-16 14:34:09 -07:00
Kyle Huey
75aa6eed7a Merge m-c to b-s. 2011-09-15 16:44:46 -07:00
Rafael Ávila de Espíndola
b651fc9001 Bug 684659 - Drop xptc_platforms_unixish_x86.h. r=bsmedberg.
Drop MOZ_PRESERVE_PIC which is not used since 2002,
CFRONT_STYLE_THIS_ADJUST which was used only for really old systems
like the first Freebsd 5.

With those out, the only thing left in xptc_platforms_unixish_x86.h is
to set KEEP_STACK_16_BYTE_ALIGNED for QNX, since that is not supported
and KEEP_STACK_16_BYTE_ALIGNED can be set from Makefile.in if needed,
drop xptc_platforms_unixish_x86.h completely.
2011-09-14 11:38:07 -07:00
Kyle Huey
775e4bf54d Merge m-c to b-s. 2011-09-11 05:32:38 -04:00
Rafael Ávila de Espíndola
986bdb4cd5 Bug 684659 - Drop references to really old gcc versions. 2011-09-09 19:38:28 -04:00
Kyle Huey
614dad33a3 Merge m-c to b-s. 2011-09-07 10:47:50 -04:00
Matheus Kerschbaum
be59d7a9a8 Bug 689920 part 2: Remove remaining Tru64/Alpha support. r=ted 2011-09-03 01:55:30 +01:00
Rafael Ávila de Espíndola
a8c970acc2 Bug 680277 - Debug builds should always be compiled with frame pointers. r=khuey.
This patch creates a new MOZ_FRAMEPTR_FLAGS variable that is used only to
control the frame pointer flags passed to the compiler. It also computes this
flag in a macro so that the toplevel configure and js/src/configure stay in
sync.
2011-09-03 13:36:18 -04:00
Matheus Kerschbaum
de6608fa4d Bug 680793 - Remove support for Irix. r=ted 2011-09-02 15:41:45 +01:00
Ehsan Akhgari
d81b657456 Keep changeset 11247af82311 backed out on the reverted tree 2011-09-02 09:05:37 -04:00
Ehsan Akhgari
a171549936 Revert to changeset e6fc4594c22e which was the last one to get a green Win7 tp run 2011-09-02 09:03:08 -04:00
Rafael Ávila de Espíndola
e281bb7586 revert 11247af82311, e3626f903f9f and 7ee51f8ea940.
CLOSED TREE
2011-09-01 22:01:56 -04:00
Rafael Ávila de Espíndola
2f0d1d2073 Bug 680277 - Debug builds should always be compiled with frame pointers. r=khuey.
This patch creates a new MOZ_FRAMEPTR_FLAGS variable that is used only to
control the frame pointer flags passed to the compiler. It also computes this
flag in a macro so that the toplevel configure and js/src/configure stay in
sync.

--HG--
extra : rebase_source : 58a64b71a23812910072c81bbf84b3721b961abb
2011-09-01 12:19:06 -04:00
Rafael Ávila de Espíndola
7476a87828 Revert e4c69005dea6 to see if OS X Bm goes green.
--HG--
extra : rebase_source : 7a98d5a9472af1c9085c1fbb9ab210649799a9b9
2011-09-07 18:20:55 -04:00
Rafael Ávila de Espíndola
1878bb4b35 Bug 684659 - Fix inline asm so that we can drop a use of -fno-omit-frame-pointer. 2011-09-07 15:33:48 -04:00
Matheus Kerschbaum
7524e143b7 Bug 680792 - Remove support for Irix from our build system. r=ted 2011-08-26 00:34:45 +01:00
Landry Breuil
8bd5d4a730 Bug 650749: Fix xptcall for OpenBSD on ppc. r=bsmedberg 2011-08-16 07:27:16 -04:00
Joshua Cranmer
8c61a13356 Bug 676857 - Make it an error if interfaces have too many methods.
The error is made at compile-time, and also causes an error if trying to make a
stub like this. Finally, it also refuses to load such an interface.

These restrictions only apply to script-implementable interfaces.
2011-08-05 11:34:13 -07:00
Ed Morley
941024e8ab Bug 665541 - Remove unused instances of variable iface_info from xptcstubs_*.cpp; r=bsmedberg 2011-07-26 10:04:18 -04:00
Jonas Sicking
caef7c47a8 Bug 661980: Add ability to make interfaces scriptable but not scriptimplementable. r=bsmedberg 2011-06-16 12:21:25 -07:00
Ed Morley
aa86759d37 Bug 652506 - Remove WinCE code from xpcom; r=bsmedberg 2011-05-01 20:59:24 +02:00
Matheus Kerschbaum
355ae99518 Bug 640838: Remove OpenVMS support. r=khuey 2011-03-26 11:51:35 -04:00
Makoto Kato
d3c767a63e Bug 521405 - Remove alpha and mips Windows NT code from mozilla-central. r=ted 2011-03-07 15:54:21 +09:00
Mike Hommey
de12d28491 Bug 584474 part 1 - Use a special value of EXPORT_LIBRARY to copy libraries in other directories. r=khuey 2011-02-25 15:02:04 +01: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
Makoto Kato
7518d2a843 Bug 627606 - Remove PGO hack on Win64. r=ted a=bsmedberg 2011-02-09 15:51:25 +09:00
Rafael Ávila de Espíndola
304be53d2f Bug 623129 - x86_64 NS_InvokeByIndex_P asm decl to reserve registers is not guaranteed to work as advertised; r=glandium a=shaver 2011-01-26 15:27:34 -05:00
Jacek Caban
d57448cfec Bug 627335 - Port patch from bug 567707 to GCC assembly r=timeless a=NPOTB 2011-01-30 21:20:23 +00:00
Siarhei Siamashka
a60b2899ff Bug 619481 - after binutils upgrade, 'xptcinvoke_arm.cpp' fails to compile for ARM thumb2 with hardfp ABI r=Jacob.Bramley a=approval2.0 2011-01-20 08:27:51 +02:00
Jacek Caban
8552547c1d Bug 615212 - GCC's win64 ABI change broke compilation on mingw-w64 (xptcall part) r=timeless a=NPOTB 2010-12-20 15:31:14 +00:00
Zhang Le
0d538d7036 Bug 482759 - xulrunner mips n32 ABI patch. r=timeless 2010-02-27 18:46:00 +01:00
Walter Meinl
48d1e8997b Bug 577011 - [OS/2] make _declspec unconditionally default symbol export r=daveryeo@telus.net a=benjamin
--HG--
extra : rebase_source : f73a926174bd7905f177b2e914492e42b90ac8c0
2010-11-09 11:13:03 +01:00
Siarhei Siamashka
3fe8a5bf00 Bug 601914 - XPCOM does not work with ARM hardfp ABI. r=Jacob.Bramley a=blocking-fennec 2010-10-27 08:15:08 +03:00
Doug Turner
69d9465cd2 Backed out changeset dd50da0646a4 2010-10-27 13:36:15 -07:00
Siarhei Siamashka
12a18918a8 Bug 601914 - XPCOM does not work with ARM hardfp ABI. r=Jacob.Bramley a=blocking-fennec
--HG--
extra : rebase_source : a9d44cf330e338abf041c6755dbdeba54cfd9b6e
2010-10-27 08:15:08 +03:00
Kyle Huey
9b468f97d9 Bug 604940: Add various things to GARBAGE. r=Mitch a=NPOTB 2010-10-19 17:19:37 -04:00
Mike Hommey
18616ac1a0 Bug 603899 - Revert broken (and unrelated) hunk from bug 522770. r=bsmedberg,a=bsmedberg 2010-10-19 11:12:27 +02:00
Boris Zbarsky
6944d7713c Bug 590179. Use -fomit-frame-pointer when building opt builds on mac. r=ted, a=beltzner 2010-08-27 14:19:45 -07:00
Bobby Holley
83d399742e Backed out changeset a6c18a123fbb due to everything-on-mac-bustage. a=backout 2010-08-27 09:00:54 -07:00
Boris Zbarsky
f5f1e156fe Bug 590179. Use -fomit-frame-pointer when building opt builds on mac. r=ted a=beltzner 2010-08-26 21:33:00 -04:00
Kyle Huey
932ea79b49 Bug 522770: Link directly to object files instead of intermediate static libs. Patch originally written by Ted Mielczarek. Checking into a CLOSED TREE as a bustage fix. reviews pending.
--HG--
extra : rebase_source : 54a506a5815dcdedaf3f61ad7d6bdd0529d7f5f7
2010-08-01 01:48:21 -07:00
Ginn Chen
c919b6c6e2 Bug 574650 Fix xpcom/reflect/xptcall for gcc on Solaris r=jst 2010-06-27 00:56:47 +08:00
Jason Orendorff
84db361ea4 Bug 560643 - Part 3, add support for jsval XPIDL type. r=jst, sr=jst. 2010-06-18 15:29:21 -05:00
Benjamin Smedberg
755c2ae337 Bug 570488 - Stop reading/writing xpti.dat and incrementally loading XPT files [1/2] r=Mossop
--HG--
extra : rebase_source : 9f28729c1032b516e8b950d29d80402e87759fda
2010-06-14 16:05:48 -07:00
Michael Wu
f6b9e6e472 Bug 561464 - Add support for XPCOM on Android, patch mostly by vlad, r=bsmedberg 2010-06-01 12:02:42 -07:00
Yong
1bcc5e908c Bug 552627. Align stack correctly in xptcall so we can use SSE2 without crashing. r=timeless 2010-06-01 11:55:49 +12:00
Taras Glek
fdd896ff6f Bug 569137 - Avoid pgo bug in gcc4.5 r=ted 2010-05-31 10:13:30 -07:00
Makoto Kato
9de2c7762b Bug 567707 - Crash in [@ nsThread::ProcessNextEvent] on x64 build with VC10 + --enable-optimize. r=timeless 2010-05-28 16:28:11 +09:00
Mike Hommey
03a622ce80 Bug 434190 - Avoid hppa frame size issue in xptcstubs assembly with tail call optimization by disabling optimization [r=benjamin] 2010-05-13 09:04:46 +02:00
Mike Hommey
e25acdbb87 Bug 560769 - Fix arm xptinvoke on debug builds [r=benjamin] 2010-04-22 15:59:53 +02:00
Mike Hommey
51ff581ac6 Bug 532198 - Reimplement xptcinvoke for arm/linux in C [r=Jacob.Bramley, r=vladimir, sr=benjamin]
--HG--
extra : rebase_source : 683a17a26c486d6f6bf376ff93fb8a0567a8ab47
2010-04-19 22:55:45 +02:00
Mike Hommey
e38d0a6088 Bug 555901 - Support for GNU/Hurd [r=benjamin]
--HG--
extra : rebase_source : 2a455d93f9daaf7760285ea10046cc978ac9f9ad
2010-04-19 10:39:58 +02:00
Mike Hommey
0489be1020 Bug 486681 - Support more HPPA CHOSTs on HPPA/Linux [r=timeless]
--HG--
extra : rebase_source : a16f362e62a05ba7eecfc985155b6fc61853e174
2010-04-19 10:08:35 +02:00
Ginn Chen
42dacb38cb Bug 550154: PGO build issue on Solaris SPARC r=ted.mielczarek 2010-03-08 17:35:41 +08:00
Serge Gautherie
5df52e8422 Bug 521673 - Remove remnant OJI references; (Cv2) Delete /xpcom/reflect/xptcall/tests/eVC4/*.
rs=dougt.
2010-03-07 13:08:19 +01:00
Mike Hommey
ca80bf02ca Bug 547656: xptcall broken on mips o32 big endian r=bsmedberg 2010-03-06 13:00:54 -05:00
Ginn Chen
ff798e8598 Bug 537071 Add x86_64 Solaris support for xpcom/reflect/xptcall r=jst 2010-03-02 13:51:40 +08:00
Mike Hommey
b229641b26 Bug 544835 - Remove leftovers from bug 476903. r=bsmedberg 2010-02-20 19:11:57 +01:00
Shailen
d10dfc97c5 Bug 516667 - Adding bookmarks fails on AIX. r=gal, sr=bsmedberg 2010-02-04 15:01:19 +01:00
Phil Ringnalda
b612d41a2e Bug 542962 - Remove some zero byte files, r=dbaron 2009-12-18 21:26:13 -08:00
Marco Perez
88577a34dc Bug 536877 - Mozilla builds on FreeBSD (x86-64 only) broken. r=bsmedberg 2010-01-21 13:18:46 +01:00
Brad Lassey
fdb6249553 bug 537288 - xptcinvoke for windows ce arm is incompatible with ARMv7 and newer r=vlad, Jacob.Bramley@arm.com
--HG--
extra : rebase_source : fe9a32d7837668d1163ea755248e3e672dc538cd
2010-01-19 11:42:40 -05:00
Brad Lassey
a79fd24e92 bug 535894 - Crash under asmXPTC_InvokeByIndex r=crowder 2009-12-29 20:28:46 -05:00
Daniel Holbert
9598051453 Bug 530639: Fix build warnings in TestXPTCInvoke.cpp. r=bsmedberg 2009-12-10 09:26:27 -08:00
Brad Lassey
42694ea646 backing out bug 530087 due to talos segfault on maemo 2009-11-25 01:45:30 -05:00
Brad Lassey
d849481f9e bug 530087 - improve xptcinvoke for linux on arm r=vlad a192=vlad 2009-11-24 21:12:28 -05:00
Brad Lassey
b77fcda89b bug 530393 - improve xptcinvoke for Windows Mobile and Windows CE on ARM r=vlad
--HG--
rename : xpcom/reflect/xptcall/src/md/win32/xptc_arm_ceppc.asm => xpcom/reflect/xptcall/src/md/win32/xptcstubs_asm_ce.asm
2009-11-22 13:43:49 -05:00
Ginn Chen
e90102a328 Bug 500602 Compilation of xptcinvoke_asm_sparcv9_solaris_SUNW.s failed r=jst 2009-11-10 18:24:29 +08:00
Neil Rashbrook
cab2b1bb61 Bug 524256 Allow the compiler to generate the prologue/epilogue to NS_InvokeByIndex so that it can tell the debugger that it's not omitting frame pointers r=bsmedberg 2009-11-04 21:36:04 +00:00
Benjamin Smedberg
4535f32e7d Bug 524256 - Crash stacks not unwound correctly past NS_InvokeByIndex_P on Windows: use a #pragma to inform MSVC that the function has a frame pointer and it should not emit a specialized FPO stack-walking program, r=ted
--HG--
extra : rebase_source : af980dc9c926057869f1b192206da5c06080ceba
2009-10-27 09:38:03 -04:00
Sebastian Andrzej Siewior
b8e8857391 Bug 492299 - add support for soft-float for Linux/PPC, r=bsmedberg
current implemention assumes hard float what means dedicated floating
point registers are used for floating point numbers. This does not work
on soft float toolchains where dedicated floating point registers and
opcodes are not used and/or available. On such toolchains the gcc
compiler provides a built-in define __NO_FPRS__ to signalize such a
behavior.
2009-10-17 21:05:36 -07:00
Sebastian A. Siewior
a0ad88b228 Bug 520367 - xpcom/PowerPC Linux: fix wrong argument in padding in a rare case, r=bsmedberg 2009-10-17 18:19:29 -07:00
wagerlabs
3b6668fa0f Fix stubs by placing them in the text segment. x86_64 Mac OS X fix. b=518435 r=bsmedberg 2009-09-25 00:04:50 -04:00
Mook
23111bdd6d Bug 510653. Fix mingw-w64 xptcstub SharedStub assembly (incorrectly copied from msvc). r=timeless
--HG--
extra : rebase_source : 925a1318a3eae47276518be53f4af952431715cf
2009-09-02 14:46:47 +12:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Hashem Masoud
c8f711113e Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Mook
c8a38c8385 Bug 502188. Implement xptcall for mingw-Windows64. r=timeless
--HG--
extra : rebase_source : 2c03e2ae8d491059b9c3759e7e5082a20c1b715a
2009-07-30 15:41:03 +12:00
Benjamin Smedberg
bb1c33c4ea Bug 488175 - flatten dist/include and provide mechanism to install certain headers in namespaced subdirectories (e.g. #include "mozilla/XPCOM.h") r=ted
--HG--
rename : xpcom/ds/nsTimeStamp.cpp => xpcom/ds/TimeStamp.cpp
rename : xpcom/ds/nsTimeStamp.h => xpcom/ds/TimeStamp.h
2009-05-18 14:15:05 -04:00
Josh Aas
1c14199832 Port xptcall to x86-64 Mac OS X. Patch by Josh Aas and Jason Allum. b=485049 r=bsmedberg
--HG--
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_x86_64_linux.cpp => xpcom/reflect/xptcall/src/md/unix/xptcinvoke_x86_64_unix.cpp
2009-05-06 16:57:37 -04:00
The Written Word
27bd377e6b Bug 485347 - Update xptcall for ipf32, r=bsmedberg 2009-04-13 11:19:55 -04:00
Vladimir Vukicevic
432828e107 b=476903; additional ARM xptc marshalling fixes (avoid unsigned char dependency); r=bsmedberg 2009-03-20 08:23:44 -07:00
Doug Turner
dae242de12 bug 473180. remove TARGET_DEVICE=emulator. It was an old hack to get builds working on wince simulators. no longer needed r=ted+jimb 2009-02-26 12:23:25 -08:00
Vladimir Vukicevic
457ff248a2 b=476903; fix xptcinvoke on ARM; r=bsmedberg 2009-02-26 12:05:09 -08:00
Vladimir Vukicevic
5e4535227f b=477727; fix up Windows CE xptcall; r=stuart 2009-02-10 15:10:08 -08:00
Dão Gottwald
ea2cd336bb Backed out changeset 2df29cb1ed93 2009-02-07 15:07:36 +01:00
Tyler Downer
50800d3098 Bug 471930 - Strip User Docs from XPCOM. r=bsmedberg 2009-02-07 13:54:47 +01:00
John Wolfe
cdec98474e bug 472165 - changes needed so windows mobile tools don't need to be in PATH variable r=ted 2009-01-22 10:17:06 -05:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Makoto Kato
1bfe451582 Bug 434989 - patch for FreeBSD 8-current (and after 7.0). r/sr=benjamin, patch by okazaki@kick.gr.jp 2008-12-13 10:18:09 +09:00
Makoto Kato
85d99e9dad Bug 447946 - Crash anywhere with optimize on x64 Windows build due to alignment. r/sr=benjamin 2008-12-04 21:38:12 +09:00
Steve Snyder
57532e4748 Bug 410509 - Set 128-bit alignment for stack in x86, r=bsmedberg 2008-10-30 10:08:42 -07:00
Mike Hommey
cbbe74e9c0 Bug 434503 - "m68k xptcstubs/xptcinvoke fail to build on trunk" [r=bsmedberg] 2008-10-20 22:22:27 -05:00
Mike Hommey
8115570fad Bug 258429 - "Crash at startup on mips" [sr=bsmedberg] 2008-10-20 21:31:13 -05:00
Walter Meinl
a04b09093c Bug 454097 - [OS/2] get rid of VisualAge in configures; m-c part; r=mozilla 2008-10-11 03:01:28 +02:00
John Wolfe
feab1c83a3 Bug 436531 - asmXPTC_InvokeByIndex Bogus Return Value in WinMobile builds. sans test cases. r=blassey 2008-10-08 21:17:11 -07:00
Doug Turner
7601be8c85 Backed out changeset 7e5d581bc86d 2008-10-08 21:10:25 -07:00
wolfe@lobo.us
d705e2e90f Bug 436531 - asmXPTC_InvokeByIndex Bogus Return Value in WinMobile builds. r=bsmedberg/dougt 2008-10-08 20:57:38 -07:00
Robert Kaiser
2c0122f06d bug 451601 - kill MOZILLA_LOCALE_VERSION, main mozilla-central patch to kill xpfe-style chrome versions, r=ted sr=Neil 2008-09-11 01:08:57 +02:00
Vladimir Vukicevic
5d96d72656 b=426563, put arm xptstubs shared assembly correctly in text section; r=bsmedberg 2008-06-03 17:01:32 -07:00
ginn.chen@sun.com
193c513bc2 Bug 425626 Enable PGO with Sun Studio on Solaris r=ted.mielczarek a=beltzner 2008-04-08 23:34:20 -07:00