mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 04:00:07 +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>
|
||||
|
||||
PR ld/20528
|
||||
|
@ -16,7 +16,7 @@ OUTPUT_FORMAT("elf32-v850", "elf32-v850",
|
||||
OUTPUT_ARCH(v850:old-gcc-abi)
|
||||
${RELOCATING+ENTRY(_start)}
|
||||
SEARCH_DIR(.);
|
||||
EXTERN(__ctbp __ep __gp);
|
||||
${RELOCATING+EXTERN(__ctbp __ep __gp)};
|
||||
SECTIONS
|
||||
{
|
||||
/* 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)
|
||||
${RELOCATING+ENTRY(_start)}
|
||||
SEARCH_DIR(.);
|
||||
EXTERN(__ctbp __ep __gp);
|
||||
${RELOCATING+EXTERN(__ctbp __ep __gp)};
|
||||
SECTIONS
|
||||
{
|
||||
/* This saves a little space in the ELF file, since the zda starts
|
||||
|
Reference in New Issue
Block a user