d2e70b0ab3
* Update Mozilla Lightning to 1.7 * Update Enigmail to 1.4.4 (functionality is not tested yet; should be updated) * Regen patches Changelog: NEW Multi-Channel Chat: You now can enjoy real time conversation with your contacts, right from your favorite messaging application. NEW Do Not Track: This option has been implemented as an addition to Search the Web. NEW Ubuntu One is now supported in Filelink - the option to upload large attachments to online storage services. NEW New User Interface: Thunderbird is replicating the new look and feel of Mozilla Firefox in an effort to provide a similar user experience across all Mozilla software desktop or mobile and all platforms. FIXED Various fixes and performance improvements FIXED Various security fixes MFSA 2012-72 Web console eval capable of executing chrome-privileged code MFSA 2012-70 Location object security checks bypassed by chrome code MFSA 2012-68 DOMParser loads linked resources in extensions when parsing text/html MFSA 2012-67 Installer will launch incorrect executable following new installation MFSA 2012-65 Out-of-bounds read in format-number in XSLT MFSA 2012-64 Graphite 2 memory corruption MFSA 2012-63 SVG buffer overflow and use-after-free issues MFSA 2012-62 WebGL use-after-free and memory corruption MFSA 2012-61 Memory corruption with bitmap format images with negative height MFSA 2012-59 Location object can be shadowed using Object.defineProperty MFSA 2012-58 Use-after-free issues found using Address Sanitizer MFSA 2012-57 Miscellaneous memory safety hazards (rv:15.0/ rv:10.0.7)
73 lines
2.5 KiB
Text
73 lines
2.5 KiB
Text
$NetBSD: patch-xc,v 1.5 2012/09/02 06:43:44 ryoon Exp $
|
|
|
|
NetBSD/sparc64 xptcall support code. From pkgsrc/www/firefox3/files/
|
|
|
|
--- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_sparc64_netbsd.s.orig 2012-08-31 13:21:49.000000000 +0000
|
|
+++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_sparc64_netbsd.s
|
|
@@ -0,0 +1,66 @@
|
|
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
|
+ *
|
|
+ * The contents of this file are subject to the Netscape Public
|
|
+ * License Version 1.1 (the "License"); you may not use this file
|
|
+ * except in compliance with the License. You may obtain a copy of
|
|
+ * the License at http://www.mozilla.org/NPL/
|
|
+ *
|
|
+ * Software distributed under the License is distributed on an "AS
|
|
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
+ * implied. See the License for the specific language governing
|
|
+ * rights and limitations under the License.
|
|
+ *
|
|
+ * The Original Code is mozilla.org code.
|
|
+ *
|
|
+ * The Initial Developer of the Original Code is Netscape
|
|
+ * Communications Corporation. Portions created by Netscape are
|
|
+ * Copyright (C) 1999 Netscape Communications Corporation. All
|
|
+ * Rights Reserved.
|
|
+ *
|
|
+ * Contributor(s):
|
|
+ */
|
|
+
|
|
+ .global SharedStub
|
|
+
|
|
+/*
|
|
+ in the frame for the function that called SharedStub are the
|
|
+ rest of the parameters we need
|
|
+
|
|
+*/
|
|
+
|
|
+SharedStub:
|
|
+! we don't create a new frame yet, but work within the frame of the calling
|
|
+! function to give ourselves the other parameters we want
|
|
+
|
|
+ mov %o0, %o1 ! shuffle the index up to 2nd place
|
|
+ mov %i0, %o0 ! the original 'this'
|
|
+ add %fp, 0x7ff + 136, %o2 ! previous stack top adjusted to the first argument slot (beyond 'this')
|
|
+
|
|
+! save off the original incoming parameters that arrived in
|
|
+! registers, the ABI guarantees the space for us to do this
|
|
+ stx %i1, [%fp + 0x7ff + 136]
|
|
+ stx %i2, [%fp + 0x7ff + 144]
|
|
+ stx %i3, [%fp + 0x7ff + 152]
|
|
+ stx %i4, [%fp + 0x7ff + 160]
|
|
+ stx %i5, [%fp + 0x7ff + 168]
|
|
+! now we can build our own stack frame
|
|
+ save %sp,-(128 + 64),%sp ! room for the register window and
|
|
+ ! struct pointer, rounded up to 0 % 64
|
|
+! our function now appears to have been called
|
|
+! as SharedStub(nsISupports* that, PRUint32 index, PRUint32* args)
|
|
+! so we can just copy these through
|
|
+
|
|
+ mov %i0, %o0
|
|
+ mov %i1, %o1
|
|
+ mov %i2, %o2
|
|
+ call PrepareAndDispatch
|
|
+ nop
|
|
+ mov %o0,%i0 ! propagate return value
|
|
+ b .LL1
|
|
+ nop
|
|
+.LL1:
|
|
+ ret
|
|
+ restore
|
|
+
|
|
+ .size SharedStub, .-SharedStub
|
|
+ .type SharedStub, #function
|