Changeset View
Changeset View
Standalone View
Standalone View
sys/conf/ldscript.riscv
/* $FreeBSD$ */ | /* $FreeBSD$ */ | ||||
OUTPUT_ARCH(riscv) | OUTPUT_ARCH(riscv) | ||||
ENTRY(_start) | ENTRY(_start) | ||||
SEARCH_DIR(/usr/lib); | SEARCH_DIR(/usr/lib); | ||||
SECTIONS | SECTIONS | ||||
{ | { | ||||
/* Read-only sections, merged into text segment: */ | /* Read-only sections, merged into text segment: */ | ||||
. = kernbase; | . = text_start; | ||||
/* The load address kernel_lma is set using --defsym= on the command line. */ | /* The load address kernel_lma is set using --defsym= on the command line. */ | ||||
.text : AT(kernel_lma) | .text : | ||||
mhorne: This will break the functionality introduced by D23436. | |||||
{ | { | ||||
*(.text) | *(.text) | ||||
*(.stub) | *(.stub) | ||||
/* .gnu.warning sections are handled specially by elf32.em. */ | /* .gnu.warning sections are handled specially by elf32.em. */ | ||||
*(.gnu.warning) | *(.gnu.warning) | ||||
*(.gnu.linkonce.t*) | *(.gnu.linkonce.t*) | ||||
} =0x9090 | } =0x9090 | ||||
_etext = .; | _etext = .; | ||||
▲ Show 20 Lines • Show All 130 Lines • Show Last 20 Lines |
This will break the functionality introduced by D23436.