mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
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:
@@ -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 ) */
|
||||
/*
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
PUBLIC( SYM(_init_i386ex) )
|
||||
|
||||
|
||||
.section .initial
|
||||
.section .initial, "ax"
|
||||
|
||||
/*
|
||||
* Enable access to peripheral register at expanded I/O addresses
|
||||
|
||||
Reference in New Issue
Block a user