diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2015-05-19 18:21:19 +0200 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2015-05-21 11:31:59 -0400 |
commit | 3752bf44be8931f86523ed538555b170a52d09dc (patch) | |
tree | b99504cd0cabed2069240dcdfe661ba403b15388 /Makefile | |
parent | 40dfc0ee947c35f31e935ec290622e7780bb52b8 (diff) | |
download | seabios-hppa-3752bf44be8931f86523ed538555b170a52d09dc.zip seabios-hppa-3752bf44be8931f86523ed538555b170a52d09dc.tar.gz seabios-hppa-3752bf44be8931f86523ed538555b170a52d09dc.tar.bz2 |
Link rom.o with -N option.
This option tells linker not to align sections in a way optimied for OS.
ls -lh out/bios.bin.elf
-rwxr-xr-x 1 phcoder phcoder 90K Mai 19 20:38 out/bios.bin.elf
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -177,7 +177,7 @@ $(OUT)rom32seg.o: $(OUT)code32seg.o $(OUT)romlayout32seg.lds $(OUT)rom.o: $(OUT)rom16.strip.o $(OUT)rom32seg.strip.o $(OUT)code32flat.o $(OUT)romlayout32flat.lds @echo " Linking $@" - $(Q)$(LD) -T $(OUT)romlayout32flat.lds $(OUT)rom16.strip.o $(OUT)rom32seg.strip.o $(OUT)code32flat.o -o $@ + $(Q)$(LD) -N -T $(OUT)romlayout32flat.lds $(OUT)rom16.strip.o $(OUT)rom32seg.strip.o $(OUT)code32flat.o -o $@ $(OUT)bios.bin.prep: $(OUT)rom.o scripts/checkrom.py @echo " Prepping $@" |