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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/crashreporter/breakpad-patches/16-sht-arm-exidx-define.patch	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +# HG changeset patch
     1.5 +# User Justin Wood <Callek@gmail.com>
     1.6 +# Date 1372046309 14400
     1.7 +# Node ID d6fc88d46b67cd522998ab6a9320b00b6091d5ce
     1.8 +# Parent  aef71cf41cecf4c3d7bef313bff502c98d5883ce
     1.9 +Bug 886209 - SHT_ARM_EXIDX not defined on older glibc versions. r=glandium
    1.10 +(fixes SeaMonkey building on CentOS5.x)
    1.11 +
    1.12 +diff --git src/common/linux/dump_symbols.cc
    1.13 +--- a/src/common/linux/dump_symbols.cc
    1.14 ++++ b/src/common/linux/dump_symbols.cc
    1.15 +@@ -71,7 +71,8 @@
    1.16 + #include "common/using_std_string.h"
    1.17 + #include "common/logging.h"
    1.18 + 
    1.19 +-#if defined(__ANDROID__) && !defined(SHT_ARM_EXIDX)
    1.20 ++#ifndef SHT_ARM_EXIDX
    1.21 ++// bionic and older glibc don't define it
    1.22 + # define SHT_ARM_EXIDX (SHT_LOPROC + 1)
    1.23 + #endif
    1.24 + 

mercurial