source: trunk/binutils/ld/emulparams/elf32ppc.sh@ 2783

Last change on this file since 2783 was 610, checked in by bird, 22 years ago

This commit was generated by cvs2svn to compensate for changes in r609,
which included commits to RCS files with non-trunk default branches.

  • Property cvs2svn:cvs-rev set to 1.1.1.2
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 1.1 KB
Line 
1# If you change this file, please also look at files which source this one:
2# elf32lppc.sh elf32ppclinux.sh elf32ppcsim.sh
3
4TEMPLATE_NAME=elf32
5EXTRA_EM_FILE=ppc32elf
6GENERATE_SHLIB_SCRIPT=yes
7SCRIPT_NAME=elf
8OUTPUT_FORMAT="elf32-powerpc"
9TEXT_START_ADDR=0x01800000
10MAXPAGESIZE=0x10000
11ARCH=powerpc:common
12MACHINE=
13BSS_PLT=
14EXECUTABLE_SYMBOLS='PROVIDE (__stack = 0); PROVIDE (___stack = 0);'
15OTHER_BSS_END_SYMBOLS='__end = .;'
16OTHER_READWRITE_SECTIONS="
17 .fixup ${RELOCATING-0} : { *(.fixup) }
18 .got1 ${RELOCATING-0} : { *(.got1) }
19 .got2 ${RELOCATING-0} : { *(.got2) }
20"
21OTHER_GOT_RELOC_SECTIONS="
22 .rela.got1 ${RELOCATING-0} : { *(.rela.got1) }
23 .rela.got2 ${RELOCATING-0} : { *(.rela.got2) }
24"
25
26# Treat a host that matches the target with the possible exception of "64"
27# in the name as if it were native.
28if test `echo "$host" | sed -e s/64//` = `echo "$target" | sed -e s/64//`; then
29 case " $EMULATION_LIBPATH " in
30 *" ${EMULATION_NAME} "*)
31 NATIVE=yes
32 ;;
33 esac
34fi
35
36# Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first.
37case "$EMULATION_NAME" in
38 *64*) LIBPATH_SUFFIX=64 ;;
39esac
Note: See TracBrowser for help on using the repository browser.