mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
18c32df5b4
the new $RELOCATEABLE_OUTPUT_FORMAT, if set. (OUTPUT_FORMAT): Use the variable $OUTPUT_FORMAT. (ENTRY): Don't emit for relocateable links. (/DISCARD/): Don't discard .gnu.warning.* for relocateable links. * emulparams/mmo.sh (RELOCATEABLE_OUTPUT_FORMAT): Set, to elf64-mmix. * emulparams/elf64mmix.sh (OTHER_TEXT_SECTIONS): Empty, don't provide "Main" or set "_start.", for relocateable links.
12 lines
327 B
Bash
12 lines
327 B
Bash
SCRIPT_NAME=mmo
|
|
TARGET_PAGE_SIZE=256
|
|
|
|
# Default to 0 as mmixal does.
|
|
TEXT_START_ADDR='DEFINED (__.MMIX.start..text) ? __.MMIX.start..text : 0'
|
|
DATA_ADDR='DEFINED (__.MMIX.start..data) ? __.MMIX.start..data : 0x2000000000000000'
|
|
OUTPUT_FORMAT=mmo
|
|
RELOCATEABLE_OUTPUT_FORMAT=elf64-mmix
|
|
ARCH=mmix
|
|
COMPILE_IN=yes
|
|
EXTRA_EM_FILE=mmo
|