There was a serious problem in the ldsetup scripts. If the BIOS contained an odd length rodata, LD would make a bad stripped file. The objcopy tool deals poorly with sections that are not longword aligned. This resulted in the BIOS almost working, but it would be referencing the wrong offsets for some key data. by Kevin Hester

This commit is contained in:
Andrew Ip 2002-11-10 06:30:18 +00:00
parent 1d729b4ebe
commit 1fdc622a1e

View file

@ -53,6 +53,13 @@ SECTIONS
epci_drivers = . ;
*(.rodata)
*(.rodata.*)
/*
* kevinh/Ispiri - Added an align, because the objcopy tool
* incorrectly converts sections that are not long word aligned.
* This breaksthe linuxbios.strip target.
*/
. = ALIGN(4);
_erodata = .;
}
/*