Minor glitch fix for reset16 from last checkin.
This commit is contained in:
parent
dc97310a17
commit
62edf8e35e
6 changed files with 12 additions and 12 deletions
|
|
@ -1,4 +1,4 @@
|
|||
.section ".text.reset_vector"
|
||||
.section ".reset"
|
||||
.code16
|
||||
.globl EXT(reset_vector)
|
||||
EXT(reset_vector):
|
||||
|
|
@ -20,5 +20,5 @@ EXT(reset_vector):
|
|||
#error _ROMBASE is an unsupported value
|
||||
#endif
|
||||
|
||||
.text
|
||||
.code32
|
||||
.code32
|
||||
.previous
|
||||
|
|
|
|||
|
|
@ -2,16 +2,13 @@
|
|||
* _ROMTOP : The top of the rom used where we
|
||||
* need to put the reset vector.
|
||||
*/
|
||||
_ROMTOP = (_ROMBASE >= 0xffff0000)? 0xfffffff0 : 0xffff0;
|
||||
|
||||
SECTIONS {
|
||||
_ROMTOP = (_ROMBASE >= 0xffff0000)? 0xfffffff0 : 0xffff0;
|
||||
. = _ROMTOP;
|
||||
.text.reset_vector (.): {
|
||||
*(.text.reset_vector)
|
||||
.reset (.): {
|
||||
*(.reset)
|
||||
. = 15 ;
|
||||
BYTE(0x00);
|
||||
}
|
||||
/DISCARD/ : {
|
||||
*(*)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue