Message ID | 20181214031923.29527-14-richard.henderson@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="FyQ/bZLj"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43GGV75VwPz9s3Z for <incoming@patchwork.ozlabs.org>; Fri, 14 Dec 2018 14:38:22 +1100 (AEDT) Received: from localhost ([::1]:59149 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1gXeIs-0005PJ-TT for incoming@patchwork.ozlabs.org; Thu, 13 Dec 2018 22:38:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1gXe0r-0005wb-QA for qemu-devel@nongnu.org; Thu, 13 Dec 2018 22:19:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1gXe0q-0006oO-UE for qemu-devel@nongnu.org; Thu, 13 Dec 2018 22:19:41 -0500 Received: from mail-oi1-x233.google.com ([2607:f8b0:4864:20::233]:41268) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1gXe0q-0006n9-O0 for qemu-devel@nongnu.org; Thu, 13 Dec 2018 22:19:40 -0500 Received: by mail-oi1-x233.google.com with SMTP id j21so3458577oii.8 for <qemu-devel@nongnu.org>; Thu, 13 Dec 2018 19:19:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=b/KrQm54Hq8g9c6ylntqi8uAZ7geEAnFxKWxRn7UGwQ=; b=FyQ/bZLj+HG0z3FYawTDSasyFIQHUV5cDB/UavZLrbNlkWnZ3Q+vmy1ETO7P/zaKA8 JXPt9GEnQx7lxi1/vhR+3JwhB/700sJxra3AhPpNKgqhyq2AuhMPP1PtqMdh1g5Sh5LF l3Q6clYzMb/UcsM6hYCX+JAGd4ktCK6TVbMyE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=b/KrQm54Hq8g9c6ylntqi8uAZ7geEAnFxKWxRn7UGwQ=; b=VR41revAVMQTp3ysAQBdjhtPt0Bf8Dq0ZH+dK/K53IcRJ1R2v6dYFguVArOowVGmCN 4v1K84RnRJNunVKlXl5mIVSY6RriDdKrxRE5QWun3PEzx/2i6bkwKYcDLxjq9maYlO+P AfD74X5w/kHpmi75iQKRnCJ+edwpbC+pORWN3ESonOQqCbl6qfkAKN8Hurqp6CtTOK7v WL3SraAt0FvEaZ1g5bMBz+SwcCKdWl8NKj56Jh/xW+OSf3Gy549yGAIRlbb3Sfbr4Ck3 GXveS3js5dNULzA5lCTaOMcu7oWlUwP2pa5N903hvDIzjubvJvQOpFPmeZbek5syTPKn /E/A== X-Gm-Message-State: AA+aEWaY2uDBUcFT4fQCZXEw8R19WYJpSRvs+IMxTbhPTldf0zTGhCma XSsufVmvZgIk4SVFzD9s8t5hqUbdnT0w+g== X-Google-Smtp-Source: AFSGD/V34BS5E1xEmCdwGnIjCSBVQBasE77vMS6m39BG1GvGGpYn6qa/BD5XUR9uiVz0iRBbPbg5eg== X-Received: by 2002:aca:f0f:: with SMTP id 15mr857719oip.47.1544757579822; Thu, 13 Dec 2018 19:19:39 -0800 (PST) Received: from cloudburst.twiddle.net ([187.217.227.243]) by smtp.gmail.com with ESMTPSA id g138sm2367537oib.26.2018.12.13.19.19.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Dec 2018 19:19:39 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Date: Thu, 13 Dec 2018 21:19:03 -0600 Message-Id: <20181214031923.29527-14-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181214031923.29527-1-richard.henderson@linaro.org> References: <20181214031923.29527-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::233 Subject: [Qemu-devel] [PULL 12/32] tcg/i386: Return false on failure from patch_reloc X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
[PULL,01/32] tcg/i386: Always use %ebp for TCG_AREG0
|
expand
|
diff --git a/tcg/i386/tcg-target.inc.c b/tcg/i386/tcg-target.inc.c index 5c88f1f36b..28192f4608 100644 --- a/tcg/i386/tcg-target.inc.c +++ b/tcg/i386/tcg-target.inc.c @@ -175,7 +175,7 @@ static bool patch_reloc(tcg_insn_unit *code_ptr, int type, case R_386_PC32: value -= (uintptr_t)code_ptr; if (value != (int32_t)value) { - tcg_abort(); + return false; } /* FALLTHRU */ case R_386_32: @@ -184,7 +184,7 @@ static bool patch_reloc(tcg_insn_unit *code_ptr, int type, case R_386_PC8: value -= (uintptr_t)code_ptr; if (value != (int8_t)value) { - tcg_abort(); + return false; } tcg_patch8(code_ptr, value); break;