diff lwlink/lwlink.h @ 315:fcd103148aa6

Add ability to load sections downward instead of upward Add "section ... high ..." statement to link scripts to allow a section to be placed based on its end address instead of its start address. All sections listed after such a statement are treated as growing downward until the next section statement specifying a load address.
author William Astle <lost@l-w.ca>
date Wed, 27 Nov 2013 16:01:26 -0700
parents 7de7b14ebaee
children 55c1f9a321e9
line wrap: on
line diff
--- a/lwlink/lwlink.h	Tue Nov 12 21:03:48 2013 -0700
+++ b/lwlink/lwlink.h	Wed Nov 27 16:01:26 2013 -0700
@@ -156,6 +156,7 @@
 	int loadat;					// address to load at (or -1)
 	int noflags;				// flags to NOT have
 	int yesflags;				// flags to HAVE
+	int growsdown;				// sections are placed descending in memory
 };
 
 typedef struct