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 12:25:33PM +0200, Jan Dubiec wrote: > On 22.08.2026 11:31, Alan Modra wrote: > [...] > > > 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; ... > > > Argh, I forgot about Linux again... > > Do you have any idea how to fix it? The following code will work on bare > metal and should also work on Linux, but it looks rather ugly: > > .global _start, __start > _start: > __start: Yes, that's what we use in other testcases. -- Alan Modra