[PATCH v2] elf/riscv: Fix relaxation with aliases [PR28021]

Michael Matz matz@suse.de
Mon Jul 5 16:33:53 GMT 2021


Hello,

On Mon, 5 Jul 2021, Andreas Schwab wrote:

> On Jul 05 2021, Michael Matz wrote:
> 
> > diff --git a/ld/testsuite/ld-riscv-elf/relax-twice-1.s b/ld/testsuite/ld-riscv-elf/relax-twice-1.s
> > new file mode 100644
> > index 00000000000..0e3b079d64e
> > --- /dev/null
> > +++ b/ld/testsuite/ld-riscv-elf/relax-twice-1.s
> > @@ -0,0 +1,15 @@
> > +	.file	"<artificial>"
> > +	.option pic
> > +	.text
> > +	# this align is here so that the .text section starts at 0x1000,
> > +	# in order to make matching of testcase results easier
> > +	.align 12
> 
> Is the alignment still needed?

Good point.  It's not, consider it removed from what I'll commit.


Ciao,
Michael.


More information about the Binutils mailing list