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