Re: [PATCH] h8300-elf: ld: Use USER_LABEL_PREFIX when generating linker scripts.
Jan Beulich <[email protected]>
| Newsgroups | gmane.comp.gnu.binutils |
|---|---|
| Message-ID | <[email protected]> |
On 15.08.2026 09:33, Jan Dubiec wrote:
> --- a/ld/emulparams/h8300elf.sh
> +++ b/ld/emulparams/h8300elf.sh
> @@ -9,7 +9,9 @@ MAXPAGESIZE=2
> TARGET_PAGE_SIZE=128
> ARCH=h8300
> TEMPLATE_NAME=elf
> +USER_LABEL_PREFIX=_
> EMBEDDED=yes
> +ENTRY=_start
> STACK_ADDR=0xfefc
> TINY_READONLY_SECTION=".tinyrodata :
> {
Aiui also setting ENTRY is to not alter the default entry point name. However,
with USER_LABEL_PREFIX being underscore, can the entry point sensibly have just
a single underscore?
Jan