# HG changeset patch # User William Astle # Date 1652552924 21600 # Node ID b8e9ac01dedabd7a78993bf1fd5b4595f4ded22a # Parent a812bb4d3a51e009bef9e462b991faced404101e Fix base for entry directive in link scripts to use base 16 Documentation says the entry directive uses base 16. Make that actually true instead of using the "auto base" thing. diff -r a812bb4d3a51 -r b8e9ac01deda lwlink/script.c --- a/lwlink/script.c Fri Mar 18 16:58:40 2022 -0600 +++ b/lwlink/script.c Sat May 14 12:28:44 2022 -0600 @@ -493,7 +493,7 @@ lw_free(linkscript.execsym); - eaddr = strtol(entrysym, &ptr2, 0); + eaddr = strtol(entrysym, &ptr2, 16); if (*ptr2) { linkscript.execaddr = -1;