[PATCH] mips: Assert dynamic symbol counts only with dynamic sections

H.J. Lu hjl.tools@gmail.com
Mon Dec 1 02:18:44 GMT 2025
On Mon, Dec 1, 2025 at 9:27 AM Alan Modra <amodra@gmail.com> wrote:
>
> On Mon, Dec 01, 2025 at 07:13:00AM +0800, H.J. Lu wrote:
> > How can I reproduce it?  I only got
>
> ~/src/binutils-gdb/configure \
> --disable-nls \
> --disable-gdb --disable-gdbserver --disable-sim --disable-readline \
> --disable-libbacktrace --disable-libdecnumber --disable-gprofng \
> --enable-obsolete --target=hppa64-linux-gnu

I used a similar configuration with GCC 15.  Which compiler did you use?

> Here's an example of a failing test
>
> ../gas/as-new   -I/home/alan/src/binutils-gdb/ld/testsuite/ld-elf   -o tmpdir/maxpage1.o /home/alan/src/binutils-gdb/ld/testsuite/ld-elf/maxpage1.s
> ./ld-new   -o tmpdir/maxpage1 -shared -z stack-size=0 tmpdir/maxpage1.o
> corrupted size vs. prev_size
> Aborted (core dumped)
>
> FAIL: strip -shared (maxpage1)
>
> --
> Alan Modra



-- 
H.J.


More information about the Binutils mailing list