mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
v850 linker scripts
This should mean the 2010-10-28 change for ld -r --gc-sections can be reverted. * scripttempl/v850.sc: Don't reference __ctbp, __ep, __gp when not relocating. * scripttempl/v850_rh850.sc: Likewise.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2016-09-30 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* scripttempl/v850.sc: Don't reference __ctbp, __ep, __gp when
|
||||||
|
not relocating.
|
||||||
|
* scripttempl/v850_rh850.sc: Likewise.
|
||||||
|
|
||||||
2016-09-30 Alan Modra <amodra@gmail.com>
|
2016-09-30 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
PR ld/20528
|
PR ld/20528
|
||||||
|
@ -16,7 +16,7 @@ OUTPUT_FORMAT("elf32-v850", "elf32-v850",
|
|||||||
OUTPUT_ARCH(v850:old-gcc-abi)
|
OUTPUT_ARCH(v850:old-gcc-abi)
|
||||||
${RELOCATING+ENTRY(_start)}
|
${RELOCATING+ENTRY(_start)}
|
||||||
SEARCH_DIR(.);
|
SEARCH_DIR(.);
|
||||||
EXTERN(__ctbp __ep __gp);
|
${RELOCATING+EXTERN(__ctbp __ep __gp)};
|
||||||
SECTIONS
|
SECTIONS
|
||||||
{
|
{
|
||||||
/* This saves a little space in the ELF file, since the zda starts
|
/* This saves a little space in the ELF file, since the zda starts
|
||||||
|
@ -16,7 +16,7 @@ OUTPUT_FORMAT("elf32-v850-rh850", "elf32-v850-rh850",
|
|||||||
OUTPUT_ARCH(v850:rh850)
|
OUTPUT_ARCH(v850:rh850)
|
||||||
${RELOCATING+ENTRY(_start)}
|
${RELOCATING+ENTRY(_start)}
|
||||||
SEARCH_DIR(.);
|
SEARCH_DIR(.);
|
||||||
EXTERN(__ctbp __ep __gp);
|
${RELOCATING+EXTERN(__ctbp __ep __gp)};
|
||||||
SECTIONS
|
SECTIONS
|
||||||
{
|
{
|
||||||
/* This saves a little space in the ELF file, since the zda starts
|
/* This saves a little space in the ELF file, since the zda starts
|
||||||
|
Reference in New Issue
Block a user