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

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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)
     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"
    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

mercurial