The idea is for opcodes to be able to see whether bfd is compiled for 64-bit. A lot of --enable-targets=all libopcodes is wasted space if bfd can't load 64-bit target object files.
* Makefile.def (configure-opcodes): Depend on configure-bfd. * Makefile.in: Regenerate. Applied to gcc. I'll be importing the gcc versions over to binutils. diff --git a/Makefile.def b/Makefile.def index 0abc42b1a1b..a504192e6d7 100644 --- a/Makefile.def +++ b/Makefile.def @@ -4,7 +4,7 @@ AutoGen definitions Makefile.tpl; // Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'. // This file was originally written by Nathanael Nerode. // -// Copyright 2002-2019 Free Software Foundation +// Copyright 2002-2021 Free Software Foundation // // This file is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -493,6 +493,7 @@ dependencies = { module=install-strip-ld; on=install-strip-bfd; }; dependencies = { module=install-strip-ld; on=install-strip-libctf; }; // libopcodes depends on libbfd +dependencies = { module=configure-opcodes; on=configure-bfd; hard=true; }; dependencies = { module=install-opcodes; on=install-bfd; }; dependencies = { module=install-strip-opcodes; on=install-strip-bfd; }; diff --git a/Makefile.in b/Makefile.in index d13f6c353ee..860cf8f067b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -62717,6 +62717,16 @@ install-ld: maybe-install-libctf install-strip-libctf: maybe-install-strip-bfd install-strip-ld: maybe-install-strip-bfd install-strip-ld: maybe-install-strip-libctf +configure-opcodes: configure-bfd +configure-stage1-opcodes: configure-stage1-bfd +configure-stage2-opcodes: configure-stage2-bfd +configure-stage3-opcodes: configure-stage3-bfd +configure-stage4-opcodes: configure-stage4-bfd +configure-stageprofile-opcodes: configure-stageprofile-bfd +configure-stagetrain-opcodes: configure-stagetrain-bfd +configure-stagefeedback-opcodes: configure-stagefeedback-bfd +configure-stageautoprofile-opcodes: configure-stageautoprofile-bfd +configure-stageautofeedback-opcodes: configure-stageautofeedback-bfd install-opcodes: maybe-install-bfd install-strip-opcodes: maybe-install-strip-bfd configure-gas: maybe-configure-intl -- Alan Modra Australia Development Lab, IBM