]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/emulparams/elf32lppc.sh
* scripttempl/elfppc.sc: Remove.
[thirdparty/binutils-gdb.git] / ld / emulparams / elf32lppc.sh
index edffc610d490c1698fa660a1f02c69e91d16bf8f..e8d5270efcc6369ea13c1fe717c71a364587d352 100644 (file)
@@ -1,8 +1,20 @@
 TEMPLATE_NAME=elf32
+# If you change this, please also look at:
+# elf32ppc.sh elf32ppcsim.sh elf32lppc.sh elf32lppcsim.sh elf32ppclinux.sh
 GENERATE_SHLIB_SCRIPT=yes
-SCRIPT_NAME=elfppc
+SCRIPT_NAME=elf
 OUTPUT_FORMAT="elf32-powerpcle"
-TEXT_START_ADDR=0x40000
-MAXPAGESIZE=0x40000
+TEXT_START_ADDR=0x01800000
+MAXPAGESIZE=0x10000
 ARCH=powerpc
 MACHINE=
+BSS_PLT=
+EXECUTABLE_SYMBOLS='PROVIDE (__stack = 0); PROVIDE (___stack = 0);'
+OTHER_BSS_END_SYMBOLS='__end = .;'
+OTHER_READONLY_SECTIONS='
+  .fixup       : { *(.fixup) }
+'
+OTHER_READWRITE_SECTIONS='
+  .got1                : { *(.got1) }
+  .got2                : { *(.got2) }
+'