From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: from second.openwall.net (second.openwall.net [193.110.157.125]) by inbox.vuxu.org (Postfix) with SMTP id 332A12D14E for ; Thu, 10 Oct 2024 22:51:12 +0200 (CEST) Received: (qmail 20032 invoked by uid 550); 10 Oct 2024 20:51:06 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com x-ms-reactions: disallow Received: (qmail 19994 invoked from network); 10 Oct 2024 20:51:06 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alexrp.com; s=alexrp; t=1728593458; x=1729198258; darn=lists.openwall.com; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=p5aI9ErDC1ag5C3Iqk9p9BHzbl6gWjuYVLWbKblq8+w=; b=PkQBnXcrYMbzoutm2j3e3LpEjkN1uEQE4qqwPpdNagTrG0pZS6wjhwWqXgdx2+BpSG tWccFAzJenzyhHKKRM5g56DWpI0pQEsed1+tMpBCoXkm1aKzeAghkwWAp693r5EQpgCj uSyV/gI9pk65oPymYOw40of1IxQyBrPVkR5Wth1ALfEbLN1L6vNtLwfDFefs6VwHK4uE ZPVxIGF6LaKQDOMJimmOXCroFgWm5TMD1X+OIW97qeBldhTOSEQTX+fgnYyaUcgHjovW iMtkMocVm8BQ3KgwNfEum/Jm8WRFbWn/FXldoE6vVICN5dHrKdtHGUA6ktA/Pi5PVyGZ SqhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728593458; x=1729198258; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=p5aI9ErDC1ag5C3Iqk9p9BHzbl6gWjuYVLWbKblq8+w=; b=N///XjVWs03JdrpdDUAR8d9blc0mMZkoQT7mET2E2EmFWTnd7rqG240pHjPNj8SevK DLYTplMFL7IWGKd7cIBGUeQGYy6zoK3+VqMj6bDGJmjgFHX3RAZuxa9tztCwo3mu6sM8 ydlzXDNLcc210OqPLu73uVI1fDAczVUOTQjOrt5J4vXU09G/NGkJ4fWqz0P48jWrvThy xQ/rRSAD8JFdCjzCEH5gNLJcJGj4njILem47+A6YZjpof6VZn/M6v+dtvYhHiC75QJaT WxkMwJCSrfP4PgdBFqk4gRqwMI11rY3miUtkmp9fVEhz4g6nxC5llYp46vM4lctQhYIz 0wZw== X-Gm-Message-State: AOJu0YyNoQbNBiJbM5d0mkQvrHqVqH6zfsvuyEXuY2ZmOs6yHMBnYySy gS6Y67gDeVZKOAjjgZk5NOd3Fg57CD9FjuI8jKmGDPZKymQzMKYuhY16W4B92oHdwyYPr4VcD7E xQk4tNH56AJqAxpmVjKNlYXMf5FJIUV1skqgTxUBi6QLY32Y0RNkZKDd3QnvwIG39/GLkM+wECn 3lC5euX6UJw+gycNWmmajPhf5y9tR8qD+Xf6Y= X-Google-Smtp-Source: AGHT+IH+cSGa3/Y5gyX6lNbbfN4J0Pl4ZTZ//ZAzwaneGWi86w8XcyMPS9zoatTZOkn7mGT5HL+QoQ== X-Received: by 2002:a05:651c:1504:b0:2fa:c0c2:d311 with SMTP id 38308e7fff4ca-2fb326fec19mr783421fa.5.1728593457589; Thu, 10 Oct 2024 13:50:57 -0700 (PDT) From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= To: musl@lists.openwall.com Cc: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Thu, 10 Oct 2024 22:50:46 +0200 Message-Id: <20241010205046.2087319-1-alex@alexrp.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [musl] [PATCH] arm: Fix _init/_fini alignment in crti.o. This is just cbf59dd6 applied to arm. It manifested when compiling for thumb2 with zig cc (clang) + lld at -O1 or above, but not at -O0. --- crt/arm/crti.s | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crt/arm/crti.s b/crt/arm/crti.s index 18dc1e41..cccda3ea 100644 --- a/crt/arm/crti.s +++ b/crt/arm/crti.s @@ -3,11 +3,13 @@ .section .init .global _init .type _init,%function +.align 2 _init: push {r0,lr} .section .fini .global _fini .type _fini,%function +.align 2 _fini: push {r0,lr} -- 2.40.1