* Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup.
[deliverable/binutils-gdb.git] / ld / emulparams / elf32ppc.sh
CommitLineData
465bc359
AM
1# If you change this file, please also look at files which source this one:
2# elf32lppc.sh elf32ppclinux.sh elf32ppcsim.sh
3
252b5132
RH
4TEMPLATE_NAME=elf32
5GENERATE_SHLIB_SCRIPT=yes
bdbe5705 6SCRIPT_NAME=elf
252b5132
RH
7OUTPUT_FORMAT="elf32-powerpc"
8TEXT_START_ADDR=0x01800000
18069efc 9MAXPAGESIZE=0x10000
5c368657 10ARCH=powerpc:common
252b5132 11MACHINE=
bdbe5705
GK
12BSS_PLT=
13EXECUTABLE_SYMBOLS='PROVIDE (__stack = 0); PROVIDE (___stack = 0);'
14OTHER_BSS_END_SYMBOLS='__end = .;'
465bc359
AM
15OTHER_READWRITE_SECTIONS="
16 .fixup ${RELOCATING-0} : { *(.fixup) }
17 .got1 ${RELOCATING-0} : { *(.got1) }
18 .got2 ${RELOCATING-0} : { *(.got2) }
19"
fdb9132d
L
20OTHER_GOT_RELOC_SECTIONS="
21 .rela.got1 ${RELOCATING-0} : { *(.rela.got1) }
22 .rela.got2 ${RELOCATING-0} : { *(.rela.got2) }
23"
eb3d6bb8
AM
24
25# Treat a host that matches the target with the possible exception of "64"
26# in the name as if it were native.
27if test `echo "$host" | sed -e s/64//` = `echo "$target" | sed -e s/64//`; then
9c8ebd6a
DJ
28 case " $EMULATION_LIBPATH " in
29 *" ${EMULATION_NAME} "*)
30 NATIVE=yes
31 ;;
32 esac
eb3d6bb8 33fi
9c8ebd6a
DJ
34
35# Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first.
36case "$EMULATION_NAME" in
37 *64*) LIBPATH_SUFFIX=64 ;;
38esac
This page took 0.149117 seconds and 4 git commands to generate.