Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146681680
D9050.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D9050.diff
View Options
Index: head/sys/boot/mips/beri/boot2/Makefile
===================================================================
--- head/sys/boot/mips/beri/boot2/Makefile
+++ head/sys/boot/mips/beri/boot2/Makefile
@@ -71,7 +71,7 @@
CFLAGS+= -I${.CURDIR}/../common
flashboot.elf: relocate.o start.o boot2.o altera_jtag_uart.o cfi.o sdcard.o
- ${LD} ${_LDFLAGS} -T ${.CURDIR}/flashboot.ldscript -o ${.TARGET} \
+ ${CC} ${_LDFLAGS} -T ${.CURDIR}/flashboot.ldscript -o ${.TARGET} \
${.ALLSRC} ${LIBSTAND}
flashboot: flashboot.elf
${OBJCOPY} -S -O binary ${.TARGET}.elf ${.TARGET}
@@ -79,7 +79,7 @@
md5 flashboot > flashboot.md5
jtagboot: start.o boot2.o altera_jtag_uart.o cfi.o sdcard.o
- ${LD} ${_LDFLAGS} -T ${.CURDIR}/jtagboot.ldscript -o ${.TARGET} \
+ ${CC} ${_LDFLAGS} -T ${.CURDIR}/jtagboot.ldscript -o ${.TARGET} \
${.ALLSRC} ${LIBSTAND}
jtagboot.md5: jtagboot
md5 jtagboot > jtagboot.md5
Index: head/sys/boot/mips/beri/common/common.ldscript
===================================================================
--- head/sys/boot/mips/beri/common/common.ldscript
+++ head/sys/boot/mips/beri/common/common.ldscript
@@ -73,5 +73,4 @@
__kernel_base__ = 0x100000;
__kernel_vaddr__ = __mips64_xkphys_cached__ + __kernel_base__;
-OUTPUT_FORMAT("elf64-tradbigmips");
OUTPUT_ARCH(mips)
Index: head/sys/boot/mips/beri/loader/loader.ldscript
===================================================================
--- head/sys/boot/mips/beri/loader/loader.ldscript
+++ head/sys/boot/mips/beri/loader/loader.ldscript
@@ -44,7 +44,6 @@
__loader_end__ = 0x100000;
__loader_end_vaddr__ = __mips64_xkphys_cached__ + __loader_end__;
-OUTPUT_FORMAT("elf64-tradbigmips");
OUTPUT_ARCH(mips)
ENTRY(start)
SECTIONS
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 5, 4:38 PM (2 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29291780
Default Alt Text
D9050.diff (1 KB)
Attached To
Mode
D9050: Use compiler driver to link BERI boot leaders
Attached
Detach File
Event Timeline
Log In to Comment