Added attributes of allocatable and executable to .reset and .initial

sections so they are disassembled by objdump and loaded by gdb.
This commit is contained in:
Joel Sherrill
2000-06-07 13:29:46 +00:00
parent 1a632e8e73
commit 68638f0519
2 changed files with 3 additions and 3 deletions

View File

@@ -83,7 +83,7 @@ END_DATA
*/
.code16
.section .reset
.section .reset, "ax"
PUBLIC ( SYM(reset) )
SYM(reset):
nop
@@ -106,7 +106,7 @@ SYM(reset):
nop
nop
.section .initial
.section .initial, "ax"
/* nop */ /* required for linker -- initial jump is to "label - 2" */
/* nop */ /* ie. _initInternalRegisters -2 ( which now == .initial ) */
/*

View File

@@ -50,7 +50,7 @@
PUBLIC( SYM(_init_i386ex) )
.section .initial
.section .initial, "ax"
/*
* Enable access to peripheral register at expanded I/O addresses