toolkit/crashreporter/breakpad-patches/16-sht-arm-exidx-define.patch
author J. Ryan Stinnett <jryans@gmail.com>
Fri, 23 Oct 2015 02:43:09 -0500
changeset 302911 7060ded3194d6d0b17949edc3e76d93e013497aa
parent 140702 f5ddc199b1a67f14aaeab345f74d7fb80d21c0e5
child 326148 211a4c710fb6af2cad10102c4cabc7cb525998b8
permissions -rw-r--r--
Bug 1217687 - Revert back to including /devtools via toolkit. r=glandium

# 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