Bug 595112 - libxul.so contains text relocations on x86. r=cpearce
authorBenjamin Smedberg <benjamin@smedbergs.us>
Wed, 13 Oct 2010 08:46:31 -0400
changeset 55413 a6ed567bdfb8f8c7165a4f09ac983827c1797611
parent 55412 b4811d1b1feab72f666ffeff27ec334e42cf0c57
child 55415 749b2a61f37297e5bbbf9e9e18a67ec641b77b1b
push idunknown
push userunknown
push dateunknown
reviewerscpearce
bugs595112
milestone2.0b8pre
Bug 595112 - libxul.so contains text relocations on x86. r=cpearce * Configure libvpx with PIC on x86. * Add headers to system-headers required for angle.
config/system-headers
js/src/config/system-headers
media/libvpx/vpx_config_x86-linux-gcc.asm
media/libvpx/vpx_config_x86-linux-gcc.h
--- a/config/system-headers
+++ b/config/system-headers
@@ -57,16 +57,17 @@ base/PCR_Base.h
 base/session.h
 basetyps.h
 be/app/Application.h
 Beep.h
 be/kernel/image.h
 be/kernel/OS.h
 bfd.h
 Bitmap.h
+bitset
 blapi.h
 bsd/libc.h
 bsd/syscall.h
 bstring.h
 builtin.h
 Button.h
 byteswap.h
 #if MOZ_ENABLE_LIBXUL!=1
@@ -88,16 +89,17 @@ cairo-ps.h
 cairo-quartz.h
 cairo-win32.h
 cairo-xlib.h
 cairo-xlib-xrender.h
 cairo-directfb.h
 cairo-qpainter.h
 #endif
 dfiff.h
+exception
 ffi.h
 fusion/reactor.h
 fusion/property.h
 fusion/conf.h
 fusion/build.h
 fusion/hash.h
 fusion/shm/shm.h
 fusion/shm/shm_internal.h
@@ -191,16 +193,17 @@ CPalmRec.cpp
 Cpalmrec.h
 CPCatgry.cpp
 CPDbBMgr.h
 CPString.cpp
 CPString.h
 crtdbg.h
 crt_externs.h
 crypt.h
+cstddef
 cstdio
 cstdlib
 cstring
 ctime
 ctype.h
 curl/curl.h
 curl/easy.h
 curl/types.h
@@ -534,16 +537,17 @@ NodeInfo.h
 nss.h
 nssilock.h
 objbase.h
 objidl.h
 Objsafe.h
 ojiapitests.h
 ole2.h
 oleidl.h
+OpenGL/OpenGL.h
 OpenTptInternet.h
 OpenTransport.h
 os2.h
 OS.h
 osreldate.h
 OSUtils.h
 Packages.h
 Palettes.h
--- a/js/src/config/system-headers
+++ b/js/src/config/system-headers
@@ -57,16 +57,17 @@ base/PCR_Base.h
 base/session.h
 basetyps.h
 be/app/Application.h
 Beep.h
 be/kernel/image.h
 be/kernel/OS.h
 bfd.h
 Bitmap.h
+bitset
 blapi.h
 bsd/libc.h
 bsd/syscall.h
 bstring.h
 builtin.h
 Button.h
 byteswap.h
 #if MOZ_ENABLE_LIBXUL!=1
@@ -88,16 +89,17 @@ cairo-ps.h
 cairo-quartz.h
 cairo-win32.h
 cairo-xlib.h
 cairo-xlib-xrender.h
 cairo-directfb.h
 cairo-qpainter.h
 #endif
 dfiff.h
+exception
 ffi.h
 fusion/reactor.h
 fusion/property.h
 fusion/conf.h
 fusion/build.h
 fusion/hash.h
 fusion/shm/shm.h
 fusion/shm/shm_internal.h
@@ -191,16 +193,17 @@ CPalmRec.cpp
 Cpalmrec.h
 CPCatgry.cpp
 CPDbBMgr.h
 CPString.cpp
 CPString.h
 crtdbg.h
 crt_externs.h
 crypt.h
+cstddef
 cstdio
 cstdlib
 cstring
 ctime
 ctype.h
 curl/curl.h
 curl/easy.h
 curl/types.h
@@ -534,16 +537,17 @@ NodeInfo.h
 nss.h
 nssilock.h
 objbase.h
 objidl.h
 Objsafe.h
 ojiapitests.h
 ole2.h
 oleidl.h
+OpenGL/OpenGL.h
 OpenTptInternet.h
 OpenTransport.h
 os2.h
 OS.h
 osreldate.h
 OSUtils.h
 Packages.h
 Palettes.h
--- a/media/libvpx/vpx_config_x86-linux-gcc.asm
+++ b/media/libvpx/vpx_config_x86-linux-gcc.asm
@@ -27,17 +27,17 @@ CONFIG_INSTALL_BINS equ 1
 CONFIG_INSTALL_LIBS equ 1
 CONFIG_INSTALL_SRCS equ 0
 CONFIG_DEBUG equ 0
 CONFIG_GPROF equ 0
 CONFIG_GCOV equ 0
 CONFIG_RVCT equ 0
 CONFIG_GCC equ 1
 CONFIG_MSVS equ 0
-CONFIG_PIC equ 0
+CONFIG_PIC equ 1
 CONFIG_BIG_ENDIAN equ 0
 CONFIG_CODEC_SRCS equ 0
 CONFIG_DEBUG_LIBS equ 0
 CONFIG_FAST_UNALIGNED equ 1
 CONFIG_MEM_MANAGER equ 0
 CONFIG_MEM_TRACKER equ 0
 CONFIG_MEM_CHECKS equ 0
 CONFIG_MD5 equ 1
--- a/media/libvpx/vpx_config_x86-linux-gcc.h
+++ b/media/libvpx/vpx_config_x86-linux-gcc.h
@@ -29,17 +29,17 @@
 #define CONFIG_INSTALL_LIBS 1
 #define CONFIG_INSTALL_SRCS 0
 #define CONFIG_DEBUG 0
 #define CONFIG_GPROF 0
 #define CONFIG_GCOV 0
 #define CONFIG_RVCT 0
 #define CONFIG_GCC 1
 #define CONFIG_MSVS 0
-#define CONFIG_PIC 0
+#define CONFIG_PIC 1
 #define CONFIG_BIG_ENDIAN 0
 #define CONFIG_CODEC_SRCS 0
 #define CONFIG_DEBUG_LIBS 0
 #define CONFIG_FAST_UNALIGNED 1
 #define CONFIG_MEM_MANAGER 0
 #define CONFIG_MEM_TRACKER 0
 #define CONFIG_MEM_CHECKS 0
 #define CONFIG_MD5 1