Minor glitch fix for reset16 from last checkin.

This commit is contained in:
Eric W. Biederman 2001-08-21 04:50:37 +00:00
commit 62edf8e35e
6 changed files with 12 additions and 12 deletions

View file

@ -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

View file

@ -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/ : {
*(*)
}
}