comparison docs/manual/x942.html @ 533:543b5d1341d2

Add note to manual about numeric entry addresses in scripts Link scripts require a numeric entry address to begin with a digit. Make a note about that in the manual since hex addresses starting with letters could be mistaken for symbols.
author William Astle <lost@l-w.ca>
date Sat, 14 May 2022 12:57:50 -0600
parents 1faf14de9d04
children
comparison
equal deleted inserted replaced
532:b8e9ac01deda 533:543b5d1341d2
15 REL="PREVIOUS" 15 REL="PREVIOUS"
16 TITLE="Linker Operation" 16 TITLE="Linker Operation"
17 HREF="x928.html"><LINK 17 HREF="x928.html"><LINK
18 REL="NEXT" 18 REL="NEXT"
19 TITLE="Format Specific Linking Notes" 19 TITLE="Format Specific Linking Notes"
20 HREF="x1008.html"></HEAD 20 HREF="x1009.html"></HEAD
21 ><BODY 21 ><BODY
22 CLASS="SECTION" 22 CLASS="SECTION"
23 BGCOLOR="#FFFFFF" 23 BGCOLOR="#FFFFFF"
24 TEXT="#000000" 24 TEXT="#000000"
25 LINK="#0000FF" 25 LINK="#0000FF"
57 ><TD 57 ><TD
58 WIDTH="10%" 58 WIDTH="10%"
59 ALIGN="right" 59 ALIGN="right"
60 VALIGN="bottom" 60 VALIGN="bottom"
61 ><A 61 ><A
62 HREF="x1008.html" 62 HREF="x1009.html"
63 ACCESSKEY="N" 63 ACCESSKEY="N"
64 >Next</A 64 >Next</A
65 ></TD 65 ></TD
66 ></TR 66 ></TR
67 ></TABLE 67 ></TABLE
253 This has no effect for targets that do not encode the entry point into the 253 This has no effect for targets that do not encode the entry point into the
254 resulting file. If not specified, the entry point is assumed to be address 0 254 resulting file. If not specified, the entry point is assumed to be address 0
255 which is probably not what you want. The default link scripts for targets 255 which is probably not what you want. The default link scripts for targets
256 that support this directive automatically starts at the beginning of the 256 that support this directive automatically starts at the beginning of the
257 first section (usually "init" or "code") that is emitted in the binary.</P 257 first section (usually "init" or "code") that is emitted in the binary.</P
258 ><P
259 >Note that if you use a numeric value here, you will need to ensure
260 it starts with a digit. That may mean adding a leading zero.</P
258 ></DD 261 ></DD
259 ><DT 262 ><DT
260 >pad <CODE 263 >pad <CODE
261 CLASS="PARAMETER" 264 CLASS="PARAMETER"
262 >size</CODE 265 >size</CODE
304 ><TD 307 ><TD
305 WIDTH="33%" 308 WIDTH="33%"
306 ALIGN="right" 309 ALIGN="right"
307 VALIGN="top" 310 VALIGN="top"
308 ><A 311 ><A
309 HREF="x1008.html" 312 HREF="x1009.html"
310 ACCESSKEY="N" 313 ACCESSKEY="N"
311 >Next</A 314 >Next</A
312 ></TD 315 ></TD
313 ></TR 316 ></TR
314 ><TR 317 ><TR