mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
Revert "arc: Add new linker emulation and scripts for ARCv3 ISA."
This reverts commit 4deb1ee57f.
This commit is contained in:
@@ -394,10 +394,20 @@ test -n "${RELOCATING}" && cat <<EOF
|
||||
The options appear in the wrong order to do this with a single symbol -
|
||||
ldflags comes after flags injected with per-file stanzas, and thus
|
||||
the setting from ldflags prevails. */
|
||||
${RELOCATING+. = ALIGN(${ALIGNMENT});}
|
||||
${RELOCATING+ PROVIDE (__start_heap = .) ; }
|
||||
${RELOCATING+ PROVIDE (__stack_top = . + (DEFINED(__HEAP_SIZE) ? __HEAP_SIZE : (DEFINED(__DEFAULT_HEAP_SIZE) ? __DEFAULT_HEAP_SIZE : 20k)) + (DEFINED(__STACK_SIZE) ? __STACK_SIZE : 64k));}
|
||||
${RELOCATING+ PROVIDE (__end_heap = . + (DEFINED(__HEAP_SIZE) ? __HEAP_SIZE : (DEFINED(__DEFAULT_STACK_SIZE) ? __DEFAULT_STACK_SIZE : 20k)));}
|
||||
.heap :
|
||||
{
|
||||
__start_heap = . ;
|
||||
. = . + (DEFINED(__HEAP_SIZE) ? __HEAP_SIZE : (DEFINED(__DEFAULT_HEAP_SIZE) ? __DEFAULT_HEAP_SIZE : 20k)) ;
|
||||
__end_heap = . ;
|
||||
}
|
||||
|
||||
. = ALIGN(0x8);
|
||||
.stack :
|
||||
{
|
||||
__stack = . ;
|
||||
. = . + (DEFINED(__STACK_SIZE) ? __STACK_SIZE : (DEFINED(__DEFAULT_STACK_SIZE) ? __DEFAULT_STACK_SIZE : 64k)) ;
|
||||
__stack_top = . ;
|
||||
}
|
||||
EOF
|
||||
|
||||
source_sh $srcdir/scripttempl/misc-sections.sc
|
||||
|
||||
Reference in New Issue
Block a user