Allow access to variables in .text16 as well as .data16. Chained

interrupt vectors, for example, will be easiest to handle if placed in
.text16.
This commit is contained in:
Michael Brown
2006-05-06 18:57:31 +00:00
parent c10d1aa9d7
commit f8e087767b
3 changed files with 16 additions and 2 deletions

View File

@@ -10,9 +10,11 @@
*
*/
/* Access to variables in .data16, in a way compatible with librm */
/* Access to variables in .data16 and .text16 in a way compatible with librm */
#define __data16( variable ) variable
#define __text16( variable ) variable
#define __use_data16( variable ) variable
#define __use_text16( variable ) variable
/* Copy to/from base memory */