toolkit/crashreporter/breakpad-patches/16-sht-arm-exidx-define.patch

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:9b1532ea19c3
1 # HG changeset patch
2 # User Justin Wood <Callek@gmail.com>
3 # Date 1372046309 14400
4 # Node ID d6fc88d46b67cd522998ab6a9320b00b6091d5ce
5 # Parent aef71cf41cecf4c3d7bef313bff502c98d5883ce
6 Bug 886209 - SHT_ARM_EXIDX not defined on older glibc versions. r=glandium
7 (fixes SeaMonkey building on CentOS5.x)
8
9 diff --git src/common/linux/dump_symbols.cc
10 --- a/src/common/linux/dump_symbols.cc
11 +++ b/src/common/linux/dump_symbols.cc
12 @@ -71,7 +71,8 @@
13 #include "common/using_std_string.h"
14 #include "common/logging.h"
15
16 -#if defined(__ANDROID__) && !defined(SHT_ARM_EXIDX)
17 +#ifndef SHT_ARM_EXIDX
18 +// bionic and older glibc don't define it
19 # define SHT_ARM_EXIDX (SHT_LOPROC + 1)
20 #endif
21

mercurial