From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by sourceware.org (Postfix) with ESMTPS id 3541F3858C30 for ; Mon, 4 Sep 2023 15:06:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3541F3858C30 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 535BA21847; Mon, 4 Sep 2023 15:06:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1693840011; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lkI9HcYlcy2cXJrb869uW5eEpBPKAbQMeeogyC9D3n4=; b=eQ77j7SkGvB7AnJsNUnbSHIfbrV6rnAWn1u5mdvOTNKzNKREvnKEncmqPzMFcb9gCBXjOM LipaxTHgq1hdk3U1iWZ8hL7QVaRIYluCEaG0BtyQmH+B9NHfCiJ1XdrY5WuAMbUfcrQ5Vu xIQPREgEJVdg/UWg+k9xXJyPnRT5cWM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1693840011; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lkI9HcYlcy2cXJrb869uW5eEpBPKAbQMeeogyC9D3n4=; b=4qK7B6w1lbRkYSjckVsqWhs1eNVwV2pKOYaecnFMt00/Kb+FLrTBgeL+IEoDlzjll6+9zT IJMylThUaBEvVlAA== Received: from hawking.nue2.suse.org (unknown [10.168.4.11]) by relay2.suse.de (Postfix) with ESMTP id 4DDC62C142; Mon, 4 Sep 2023 15:06:51 +0000 (UTC) Received: by hawking.nue2.suse.org (Postfix, from userid 17005) id 344A44A04C0; Mon, 4 Sep 2023 17:06:51 +0200 (CEST) From: Andreas Schwab To: Vincent =?utf-8?Q?Rivi=C3=A8re?= Cc: gcc@gcc.gnu.org Subject: Re: Relocations to odd addresses in .eh_frame section In-Reply-To: <87701805-40eb-8412-9650-47bbcd665d78@freesbee.fr> ("Vincent =?utf-8?Q?Rivi=C3=A8re=22's?= message of "Mon, 4 Sep 2023 14:36:48 +0200") References: <87701805-40eb-8412-9650-47bbcd665d78@freesbee.fr> X-Yow: I'll eat ANYTHING that's BRIGHT BLUE!! Date: Mon, 04 Sep 2023 17:06:51 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Sep 04 2023, Vincent Rivière wrote: > By looking at the sections generated by m68k-elf-g++, I noticed there was > relocations to odd addresses in the .eh_frame section. Is this expected? > Is there a way to avoid that, maybe by adding some padding? I think you need to change ASM_PREFERRED_EH_DATA_FORMAT to use DW_EH_PE_aligned instead of DW_EH_PE_absptr. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."