Ticket #12439: 0002-binutils-legacy-ld-Set-ELF-interpreter-to-system-run.patch

File 0002-binutils-legacy-ld-Set-ELF-interpreter-to-system-run.patch, 1.6 KB (added by simonsouth, 9 years ago)

binutils (legacy): ld: Set ELF interpreter to /system/runtime_loader

  • new file legacy/binutils/ld/emulparams/elf_haiku.sh

    From a7a6f08b1ba06d2cf5b342129657aeebd8147e1a Mon Sep 17 00:00:00 2001
    From: Simon South <ssouth@simonsouth.com>
    Date: Fri, 30 Oct 2015 13:43:35 -0400
    Subject: [PATCH 2/2] binutils (legacy): ld: Set ELF interpreter to
     "/system/runtime_loader"
    
    This aligns legacy ld with the changes committed in 0b1666c.
    ---
     legacy/binutils/ld/emulparams/elf_haiku.sh      | 1 +
     legacy/binutils/ld/emulparams/elf_i386_haiku.sh | 1 +
     legacy/binutils/ld/emulparams/elf_ppc_haiku.sh  | 1 +
     3 files changed, 3 insertions(+)
     create mode 100644 legacy/binutils/ld/emulparams/elf_haiku.sh
    
    diff --git a/legacy/binutils/ld/emulparams/elf_haiku.sh b/legacy/binutils/ld/emulparams/elf_haiku.sh
    new file mode 100644
    index 0000000..401eedc
    - +  
     1ELF_INTERPRETER_NAME=\"/system/runtime_loader\"
  • legacy/binutils/ld/emulparams/elf_i386_haiku.sh

    diff --git a/legacy/binutils/ld/emulparams/elf_i386_haiku.sh b/legacy/binutils/ld/emulparams/elf_i386_haiku.sh
    index 25ca6bc..1679195 100644
    a b  
     1. ${srcdir}/emulparams/elf_haiku.sh
    12SCRIPT_NAME=elf
    23OUTPUT_FORMAT="elf32-i386"
    34TEXT_START_ADDR=0x200000
  • legacy/binutils/ld/emulparams/elf_ppc_haiku.sh

    diff --git a/legacy/binutils/ld/emulparams/elf_ppc_haiku.sh b/legacy/binutils/ld/emulparams/elf_ppc_haiku.sh
    index 5a65cd4..f7e38aa 100644
    a b  
     1. ${srcdir}/emulparams/elf_haiku.sh
    12SCRIPT_NAME=elf
    23OUTPUT_FORMAT="elf32-powerpc"
    34TEXT_START_ADDR=0x200000