From dee130f5983c5b76059787bd95e87a1be2530c87 Mon Sep 17 00:00:00 2001 From: Nikola Veljkovic Date: Wed, 17 Jun 2015 17:17:54 +0200 Subject: [PATCH] Revert "[MIPS] Do not use compact branches until GDB supports them" This reverts commit 3cec6eca929de5d627a8cc1fbe72c564ba5175cc. --- linker/Android.mk | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/linker/Android.mk b/linker/Android.mk index ff0e9885f..7a9b5d9ad 100644 --- a/linker/Android.mk +++ b/linker/Android.mk @@ -38,16 +38,6 @@ LOCAL_CFLAGS += \ LOCAL_CFLAGS_arm += -D__work_around_b_19059885__ LOCAL_CFLAGS_x86 += -D__work_around_b_19059885__ -# For mips r6 (both 32bit and 64bit), GDB cannot stop on a breakpoint -# if rt.cpp is compiled with compact branches optimization. -# Unfortunately, we cannot turn generation of JIC compact branch off, -# but we can add unoptimized code which will allow GDB to insert a -# breakpoint on it. -# TODO: Remove this after GDB is fixed. -ifeq ($(TARGET_ARCH),mips64) -LOCAL_CFLAGS += -fno-omit-frame-pointer -endif - LOCAL_CONLYFLAGS += \ -std=gnu99 \