97407faf3d
* bfdlink.h (struct bfd_link_info): Add "path_separator". bfd/ * elf32-spu.c (spu_elf_auto_overlay): Relax requirement that file names be unique. Specify archive:path in overlay script. ld/ * ldlang.c (name_match): New function. (unique_section_p, walk_wild_consider_section): Use it here. (walk_wild_section_general): And here. (archive_path): New function. (walk_wild): Match archive:path filespecs. (open_input_bfds): Don't load archive:path files. * emultempl/spuelf.em (choose_target): Set path_separator. * emulparams/elf32_spu.sh: Add ._ea.* sections to ._ea output.
21 lines
640 B
Bash
21 lines
640 B
Bash
SCRIPT_NAME=elf
|
|
TEMPLATE_NAME=elf32
|
|
EXTRA_EM_FILE=spuelf
|
|
OUTPUT_FORMAT="elf32-spu"
|
|
ARCH=spu
|
|
MACHINE=
|
|
ALIGNMENT=16
|
|
TEXT_START_ADDR=0
|
|
INITIAL_READONLY_SECTIONS='.interrupt : { KEEP(*(.interrupt)) }'
|
|
if test -z "${CREATE_SHLIB}"; then
|
|
INITIAL_READONLY_SECTIONS="${INITIAL_READONLY_SECTIONS}
|
|
.interp ${RELOCATING-0} : { *(.interp) }"
|
|
fi
|
|
OTHER_END_SYMBOLS='PROVIDE (__stack = 0x3fff0);'
|
|
NO_SMALL_DATA=true
|
|
EMBEDDED=true
|
|
MAXPAGESIZE=0x80
|
|
DATA_ADDR="ALIGN(${MAXPAGESIZE})"
|
|
OTHER_BSS_SECTIONS=".toe ALIGN(128) : { *(.toe) } = 0"
|
|
OTHER_SECTIONS=".note.spu_name 0 : { KEEP(*(.note.spu_name)) }
|
|
._ea 0 : { KEEP(*(._ea)) KEEP(*(._ea.*)) }"
|