]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix some ld dependencies
authorAlan Modra <amodra@gmail.com>
Wed, 10 Apr 2019 02:05:48 +0000 (11:35 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 10 Apr 2019 04:00:32 +0000 (13:30 +0930)
commitc55b17b8098abde4ae7dfe0ec1f3b22a7fb0a34d
tree5e31dbb3f0480cf49ae3084f3d3ff4dbd6357afd
parent6feda62721cd6e288f79b0ee5f1489fee8e570ab
Fix some ld dependencies

In looking at the csky-elf vs. csky-linux differences, the first thing
I compared was csky_elf.sh and cskyelf_linux.sh.  Those files are
mostly the same but besides the real differences, annoyingly have some
lines ordered differently.  It's better in such cases to have one file
source the other, making differences plain.  This patch does that for
csky and microblaze, removes an unused variable defined in a few
places, and fixes ld makefile dependencies.

* Makefile.am (eskyelf.c, eskyelf_linux.c): Depend on cskyelf.em.
(ecskyelf_linux.c): Depend on cskyelf.sh.
(eelf32microblazeel.c): Depend on elf32microblaze.sh.
* Makefile.in: Regenerate.
* emulparams/cskyelf.sh: Comment regarding cskelf_linux.sh.
(PAGE_SIZE): Don't define.
* emulparams/cskyelf_linux.sh: Source sckyelf.sh, leaving just
the differing variable defs/undefs.
* emulparams/elf32mcore.sh (PAGE_SIZE): Don't define.
* emulparams/elf32microblaze.sh: Comment re. elf32microblazeel.sh.
(OUTPUT_FORMAT): Use BIG_OUTPUT_FORMAT.
(PAGE_SIZE): Don't define.
* emulparams/elf32microblazeel.sh: Source elf32microblaze.sh,
leaving just the differing OUTPUT_FORMAT.
ld/ChangeLog
ld/Makefile.am
ld/Makefile.in
ld/emulparams/cskyelf.sh
ld/emulparams/cskyelf_linux.sh
ld/emulparams/elf32mcore.sh
ld/emulparams/elf32microblaze.sh
ld/emulparams/elf32microblazeel.sh