Retro68/binutils/ld/emulparams/pdp11.sh

12 lines
212 B
Bash
Raw Normal View History

2022-10-27 18:45:45 +00:00
SCRIPT_NAME=pdp11
2012-03-26 19:18:29 +00:00
OUTPUT_FORMAT="a.out-pdp11"
TEXT_START_ADDR=0
2022-10-27 18:45:45 +00:00
TARGET_PAGE_SIZE=8192
EXTRA_EM_FILE=pdp11
2012-03-26 19:18:29 +00:00
ARCH=pdp11
2022-10-27 18:45:45 +00:00
case "$LD_FLAG" in
*textonly) DATA_SEG_ADDR=0 ;;
*) DATA_SEG_ADDR=$DATA_ALIGNMENT ;;
esac