toolkit/crashreporter/breakpad-patches/16-sht-arm-exidx-define.patch
author Carsten "Tomcat" Book <cbook@mozilla.com>
Wed, 27 Jan 2016 11:59:49 +0100
changeset 281836 211a4c710fb6af2cad10102c4cabc7cb525998b8
parent 140702 f5ddc199b1a67f14aaeab345f74d7fb80d21c0e5
parent 281744 6cb7a7b8f87d7b0da98093607cb107417eabcfc3
permissions -rw-r--r--
merge mozilla-inbound to mozilla-central a=merge

# HG changeset patch
# User Justin Wood <Callek@gmail.com>
# Date 1372046309 14400
# Node ID d6fc88d46b67cd522998ab6a9320b00b6091d5ce
# Parent  aef71cf41cecf4c3d7bef313bff502c98d5883ce
Bug 886209 - SHT_ARM_EXIDX not defined on older glibc versions. r=glandium
(fixes SeaMonkey building on CentOS5.x)

diff --git src/common/linux/dump_symbols.cc
--- a/src/common/linux/dump_symbols.cc
+++ b/src/common/linux/dump_symbols.cc
@@ -71,7 +71,8 @@
 #include "common/using_std_string.h"
 #include "common/logging.h"
 
-#if defined(__ANDROID__) && !defined(SHT_ARM_EXIDX)
+#ifndef SHT_ARM_EXIDX
+// bionic and older glibc don't define it
 # define SHT_ARM_EXIDX (SHT_LOPROC + 1)
 #endif