From patchwork Thu Sep 14 16:27:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 13385702 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98C8BEEAA55 for ; Thu, 14 Sep 2023 16:28:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234706AbjINQ2F (ORCPT ); Thu, 14 Sep 2023 12:28:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233860AbjINQ2E (ORCPT ); Thu, 14 Sep 2023 12:28:04 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B27DC1FC4 for ; Thu, 14 Sep 2023 09:27:59 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7A5E4C433C8; Thu, 14 Sep 2023 16:27:58 +0000 (UTC) Date: Thu, 14 Sep 2023 18:27:55 +0200 From: Helge Deller To: linux-parisc@vger.kernel.org Subject: [PATCH] parisc: Enable HAVE_ARCH_PREL32_RELOCATIONS Message-ID: MIME-Version: 1.0 Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org Enable HAVE_ARCH_PREL32_RELOCATIONS for 64-bit kernels, which will save some bytes in the final binary. Signed-off-by: Helge Deller diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig index a15ab147af2e..4686f14e45ee 100644 --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig @@ -73,6 +73,7 @@ config PARISC select NEED_DMA_MAP_STATE select NEED_SG_DMA_LENGTH select HAVE_ARCH_KGDB + select HAVE_ARCH_PREL32_RELOCATIONS if 64BIT select HAVE_KPROBES select HAVE_KRETPROBES select HAVE_DYNAMIC_FTRACE if $(cc-option,-fpatchable-function-entry=1,1)