mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-23 21:57:33 -04:00
[sw] minor linker script edits
This commit is contained in:
parent
adc0aac297
commit
7f1805fb0b
2 changed files with 8 additions and 6 deletions
|
@ -40,11 +40,10 @@
|
|||
* Modified for the NEORV32 processor by Stephan Nolting. */
|
||||
|
||||
|
||||
OUTPUT_FORMAT("elf32-littleriscv", "elf32-littleriscv", "elf32-littleriscv")
|
||||
OUTPUT_FORMAT("elf32-littleriscv")
|
||||
OUTPUT_ARCH(riscv)
|
||||
ENTRY(_start)
|
||||
SEARCH_DIR("/opt/riscv/riscv32-unknown-elf/lib")
|
||||
SEARCH_DIR("=/opt/riscv/riscv64-unknown-linux-gnu/lib")
|
||||
SEARCH_DIR("=/usr/local/lib")
|
||||
SEARCH_DIR("=/lib")
|
||||
SEARCH_DIR("=/usr/lib")
|
||||
|
@ -53,7 +52,7 @@ SEARCH_DIR("=/usr/lib")
|
|||
/* ************************************************************************************************* */
|
||||
/* +++ NEORV32 memory configuration +++ */
|
||||
/* If the symbols are not explicitly defined the default configurations are used. If required, only */
|
||||
/* the edit the very last entry in each row. */
|
||||
/* edit the very last entry in each row. */
|
||||
/* NOTE: section sizes have to be a multiple of 4 bytes; base addresses have to be 32-bit-aligned. */
|
||||
/* ************************************************************************************************* */
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
/* # ********************************************************************************************* # */
|
||||
/* # BSD 3-Clause License # */
|
||||
/* # # */
|
||||
/* # Copyright (c) 2021, Stephan Nolting. All rights reserved. # */
|
||||
/* # Copyright (c) 2022, Stephan Nolting. All rights reserved. # */
|
||||
/* # # */
|
||||
/* # Redistribution and use in source and binary forms, with or without modification, are # */
|
||||
/* # permitted provided that the following conditions are met: # */
|
||||
|
@ -43,10 +43,13 @@
|
|||
/* modified for the NEORV32 processor by Stephan Nolting */
|
||||
|
||||
|
||||
OUTPUT_FORMAT("elf32-littleriscv", "elf32-littleriscv", "elf32-littleriscv")
|
||||
OUTPUT_FORMAT("elf32-littleriscv")
|
||||
OUTPUT_ARCH(riscv)
|
||||
ENTRY(_start)
|
||||
SEARCH_DIR("/opt/riscv/riscv32-unknown-elf/lib"); SEARCH_DIR("=/opt/riscv/riscv64-unknown-linux-gnu/lib"); SEARCH_DIR("=/usr/local/lib"); SEARCH_DIR("=/lib"); SEARCH_DIR("=/usr/lib");
|
||||
SEARCH_DIR("/opt/riscv/riscv32-unknown-elf/lib")
|
||||
SEARCH_DIR("=/usr/local/lib")
|
||||
SEARCH_DIR("=/lib")
|
||||
SEARCH_DIR("=/usr/lib")
|
||||
|
||||
MEMORY
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue