Bug 1245055 - Remove toolkit/crashreporter/google-breakpad/src/client/linux/handler/Makefile.in. r=mshal

The remains in this file come from bug 633436. I'm not sure what the
toolchain was back then (5 years ago), but it doesn't appear what it
was trying to work around happens nowadays, so just get rid of the
workaround.
This commit is contained in:
Mike Hommey 2016-02-02 18:08:53 +09:00
parent b09954f88a
commit 46c6c0fbaf

View File

@ -1,17 +0,0 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
ifdef MOZ_THUMB2 #{
# The syscall number is passed through r7 in the linux ARM ABI, but r7
# is also the THUMB frame pointer. (Unfortunate, but ah well.) gcc
# complains if we store to r7, not unreasonably, but complains
# inconsistently. The generic syscall template pushes/stores to/pops
# r7 with no complaint from gcc, but the sys_clone() function marks r7
# as a clobbered register yet gcc error's. The generated assembly for
# sys_clone() looks OK, so we chalk this up to a gcc/gas quirk and
# work around it by telling gcc that the THUMB frame pointer is a
# vanilla callee-save register.
OS_CXXFLAGS += -fomit-frame-pointer
MOZ_FRAMEPTR_FLAGS := -fomit-frame-pointer
endif #}