Re: [PATCH v2] h8300-elf: ld: Use USER_LABEL_PREFIX when generating linker scripts
Alan Modra <[email protected]>
| Newsgroups | gmane.comp.gnu.binutils |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Aug 22, 2026 at 01:55:30AM +0200, Jan Dubiec wrote: > This version does not explicitly set the entry symbol; the default one > is used instead. The corresponding newlib patch will follow shortly. > > Signed-off-by: Jan Dubiec <[email protected]> > --- > ld/emulparams/h8300elf.sh | 1 + > ld/testsuite/ld-h8300/gcsection.d | 2 +- > ld/testsuite/ld-h8300/gcsection.s | 6 +++--- > ld/testsuite/ld-h8300/relax-2.d | 2 +- > ld/testsuite/ld-h8300/relax-2.s | 4 ++-- > ld/testsuite/ld-h8300/relax-3.d | 2 +- > ld/testsuite/ld-h8300/relax-3.s | 4 ++-- > ld/testsuite/ld-h8300/relax-4.d | 2 +- > ld/testsuite/ld-h8300/relax-4.s | 4 ++-- > ld/testsuite/ld-h8300/relax-5.d | 2 +- > ld/testsuite/ld-h8300/relax-5.s | 4 ++-- > ld/testsuite/ld-h8300/relax-6.d | 2 +- > ld/testsuite/ld-h8300/relax-6.s | 4 ++-- > ld/testsuite/ld-h8300/relax-7.d | 2 +- > ld/testsuite/ld-h8300/relax-7a.s | 4 ++-- > ld/testsuite/ld-h8300/relax.d | 2 +- > ld/testsuite/ld-h8300/relax.s | 4 ++-- > sim/testsuite/h8300/testutils.inc | 4 ++-- > 18 files changed, 28 insertions(+), 27 deletions(-) The testsuite changes cause regressions on h8300-linux-gnu where USER_LABEL_PREFIX is empty. h8300-linux-gnu +FAIL: H8300 Relaxation Test h8300-linux-gnu +FAIL: H8300 Relaxation Test 2 h8300-linux-gnu +FAIL: H8300 Relaxation Test 3 h8300-linux-gnu +FAIL: H8300 Relaxation Test 4 h8300-linux-gnu +FAIL: H8300 Relaxation Test 5 h8300-linux-gnu +FAIL: H8300 Relaxation Test 6 h8300-linux-gnu +FAIL: H8300 Relaxation Test 7 h8300-linux-gnu +FAIL: H8300 GCC section test case warning: cannot find entry symbol _start; ... -- Alan Modra