diff options
author | Oleg Endo <olegendo@gcc.gnu.org> | 2025-05-17 10:51:35 -0600 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro.com> | 2025-05-17 10:51:35 -0600 |
commit | de04f593efe611d64cb50575332cef03d6eba561 (patch) | |
tree | c3be5607bbc302639d4d3dd04240b9f2e97960c3 /gcc/testsuite/gcc.test-framework | |
parent | 7ed37d5ea48f6a51c81f73f35a64ca00c0325fd7 (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
From 6462f1e6a2565c5d4756036d9bc2f39dce9bd768 Mon Sep 17 00:00:00 2001
From: QBos07 <qubos@outlook.de>
Date: Sat, 10 May 2025 16:56:28 +0000
Subject: [PATCH] libgcc SH: fix alignment for relaxation
when relaxation is enabled we can not infer the alignment
from the position as that may change. This should not change
non-relaxed builds as its allready aligned there. This was
the missing piece to building an entire toolchain with -mrelax
Credit goes to Oleg Endo: https://sourceware.org/bugzilla/show_bug.cgi?id=3298#c4
libgcc/
* config/sh/lib1funcs.S (ashiftrt_r4_32): Increase alignment.
(movemem): Force alignment of the mova intruction.
Diffstat (limited to 'gcc/testsuite/gcc.test-framework')
0 files changed, 0 insertions, 0 deletions