Riscv shared libraries should not export __global_pointer$.
[external/binutils.git] / ld / emulparams / i386lynx.sh
1 SCRIPT_NAME=elf
2 OUTPUT_FORMAT="elf32-i386"
3 NO_RELA_RELOCS=yes
4 ENTRY=_main
5 TEXT_BASE=0x0
6 DYN_TEXT_BASE=0x00400000
7 TEXT_START_ADDR="(DEFINED(_DYNAMIC) ? ${DYN_TEXT_BASE} : ${TEXT_BASE})"
8 case ${LD_FLAG} in
9     n|N)        TEXT_START_ADDR=0x1000 ;;
10 esac
11 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
12 ARCH=i386
13 MACHINE=
14 NOP=0x9090
15 TEMPLATE_NAME=elf32
16 GENERATE_SHLIB_SCRIPT=yes
17 ELF_INTERPRETER_NAME=\"/usr/lib/ld.so.1\"
18
19 # Leave room of SIZEOF_HEADERS before text.
20 EMBEDDED=