diff options
author | Marcel Moolenaar <marcel@FreeBSD.org> | 2004-08-22 06:24:59 +0000 |
---|---|---|
committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2004-08-22 06:24:59 +0000 |
commit | fa1fc9094a8ef51689feef3980c005d01df8fe9e (patch) | |
tree | 89cc0f3630e04d5976ccc8d2da0e4edd3866f4df /sys/boot/alpha | |
parent | 97dc8984f933089ccec4b17db4f1b6a1dfa38023 (diff) | |
download | src-fa1fc9094a8ef51689feef3980c005d01df8fe9e.tar.gz src-fa1fc9094a8ef51689feef3980c005d01df8fe9e.zip |
Part 2 of fixing the boot code: gcc 3.4 fixes.
The whole problem seems to be size. Which is odd, because it is said
that size doesn't matter. Anyway... Add -Os to strategic places in the
makefile to have the final loader be as mall as possible. This seems
to be enough to make it work. For now... I think something is more
fundamentally wrong; or something more fundamental is wrong. Potato,
potaato.
Notes
Notes:
svn path=/head/; revision=134148
Diffstat (limited to 'sys/boot/alpha')
-rw-r--r-- | sys/boot/alpha/Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/alpha/Makefile.inc b/sys/boot/alpha/Makefile.inc index 19af97eabf2d..17d17b96ab15 100644 --- a/sys/boot/alpha/Makefile.inc +++ b/sys/boot/alpha/Makefile.inc @@ -3,7 +3,7 @@ BINDIR?= /boot -CFLAGS+= -ffreestanding -mno-fp-regs +CFLAGS+= -ffreestanding -mno-fp-regs -Os LDFLAGS+= -nostdlib PRIMARY_LOAD_ADDRESS= 0x20000000 # "Region 1 start" SECONDARY_LOAD_ADDRESS= 0x2000c000 # "Region 1 start" + 48k |