Re: [patch] AVR: Let -mrelax elide global RJMP .+0
Georg-Johann Lay via Binutils <[email protected]>
| Newsgroups | gmane.comp.gnu.binutils |
|---|---|
| Message-ID | <[email protected]> |
Am 21.08.26 um 14:59 schrieb Alan Modra: > On Sun, Aug 16, 2026 at 03:48:44PM +0200, Georg-Johann Lay via Binutils wrote: >> This patch extends the avr-specific linker relaxation machine to >> elide trivial RJMP instructions. These are RJMP instructions > > You need to run "make check" before committing patches. This one > causes > +FAIL: AVR .avr.prop, single .align sym at end of section test. My bad, I didn't even intend to commit it since Denis didn't yet approve it. I can proceed 2 ways: Revert the patch and then re-apply once Denis approves the patch; or just fix the FAIL in the assumption that Denis won't reject the feature as a whole. The test fails since it has a JMP .+0 which relax transforms to RJMP .+0, which is removed by the new rjmp0 optimization. Johann