* Relocations to odd addresses in .eh_frame section
@ 2023-09-04 12:36 Vincent Rivière
2023-09-04 15:06 ` Andreas Schwab
0 siblings, 1 reply; 2+ messages in thread
From: Vincent Rivière @ 2023-09-04 12:36 UTC (permalink / raw)
To: gcc
Hi,
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?
Actually, I would like to upgrade the experimental m68k-atari-mintelf
toolchain from SJ/LJ exceptions to DWARF2. But the operating system
can't handle relocations to odd addresses. So I wonder if there is a
solution.
Cheers,
--
Vincent Rivière
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Relocations to odd addresses in .eh_frame section
2023-09-04 12:36 Relocations to odd addresses in .eh_frame section Vincent Rivière
@ 2023-09-04 15:06 ` Andreas Schwab
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2023-09-04 15:06 UTC (permalink / raw)
To: Vincent Rivière; +Cc: gcc
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."
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-09-04 15:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-04 12:36 Relocations to odd addresses in .eh_frame section Vincent Rivière
2023-09-04 15:06 ` Andreas Schwab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).