RISC-V: Disable shared library support for embedded elf.
ld/ * emulparams/elf32lriscv-defs.sh (GENERATE_SHLIB_SCRIPT): Move inside case on $target, and don't set for riscv*-elf targets. (GENERATE_PIE_SCRIPT): Likewise.
This commit is contained in:
parent
e379cee61f
commit
be1dce2625
@ -1,3 +1,9 @@
|
|||||||
|
2018-01-05 Jim Wilson <jimw@sifive.com>
|
||||||
|
|
||||||
|
* emulparams/elf32lriscv-defs.sh (GENERATE_SHLIB_SCRIPT): Move inside
|
||||||
|
case on $target, and don't set for riscv*-elf targets.
|
||||||
|
(GENERATE_PIE_SCRIPT): Likewise.
|
||||||
|
|
||||||
2018-01-03 Alan Modra <amodra@gmail.com>
|
2018-01-03 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
Update year range in copyright notice of all files.
|
Update year range in copyright notice of all files.
|
||||||
|
@ -16,8 +16,15 @@ if test `echo "$host" | sed -e s/64//` = `echo "$target" | sed -e s/64//`; then
|
|||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
GENERATE_SHLIB_SCRIPT=yes
|
# Enable shared library support for everything except an embedded elf target.
|
||||||
GENERATE_PIE_SCRIPT=yes
|
case "$target" in
|
||||||
|
riscv*-elf)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
GENERATE_SHLIB_SCRIPT=yes
|
||||||
|
GENERATE_PIE_SCRIPT=yes
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
TEXT_START_ADDR=0x10000
|
TEXT_START_ADDR=0x10000
|
||||||
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
||||||
|
Loading…
Reference in New Issue
Block a user