aboutsummaryrefslogtreecommitdiff
path: root/gas/aclocal.m4
AgeCommit message (Collapse)AuthorFilesLines
2023-11-15Finalized intl-update patchesArsen Arsenovi?1-0/+6
* intl: Remove directory. Replaced with out-of-tree GNU gettext. * .gitignore: Add '/gettext*'. * configure.ac (host_libs): Replace intl with gettext. (hbaseargs, bbaseargs, baseargs): Split baseargs into {h,b}baseargs. (skip_barg): New flag. Skips appending current flag to bbaseargs. <library exemptions>: Exempt --with-libintl-{type,prefix} from target and build machine argument passing. * configure: Regenerate. * Makefile.def (host_modules): Replace intl module with gettext module. (configure-ld): Depend on configure-gettext. * Makefile.in: Regenerate. * src-release.sh: Remove references to the intl/ directory.
2022-09-26binutils, gdb: support zstd compressed debug sectionsFangrui Song1-0/+2
PR29397 PR29563: Add new configure option --with-zstd which defaults to auto. If pkgconfig/libzstd.pc is found, define HAVE_ZSTD and support zstd compressed debug sections for most tools. * bfd: for addr2line, objdump --dwarf, gdb, etc * gas: support --compress-debug-sections=zstd * ld: support ELFCOMPRESS_ZSTD input and --compress-debug-sections=zstd * objcopy: support ELFCOMPRESS_ZSTD input for --decompress-debug-sections and --compress-debug-sections=zstd * gdb: support ELFCOMPRESS_ZSTD input. The bfd change references zstd symbols, so gdb has to link against -lzstd in this patch. If zstd is not supported, ELFCOMPRESS_ZSTD input triggers an error. We can avoid HAVE_ZSTD if binutils-gdb imports zstd/ like zlib/, but this is too heavyweight, so don't do it for now. ``` % ld/ld-new a.o ld/ld-new: a.o: section .debug_abbrev is compressed with zstd, but BFD is not built with zstd support ... % ld/ld-new a.o --compress-debug-sections=zstd ld/ld-new: --compress-debug-sections=zstd: ld is not built with zstd support % binutils/objcopy --compress-debug-sections=zstd a.o b.o binutils/objcopy: --compress-debug-sections=zstd: binutils is not built with zstd support % binutils/objcopy b.o --decompress-debug-sections binutils/objcopy: zstd.o: section .debug_abbrev is compressed with zstd, but BFD is not built with zstd support ... ```
2022-07-09Regenerate with automake-1.15.1Alan Modra1-109/+111
Until we update the recommended versions of autoconf/automake, files should be regenerated with automake-1.15.1 and autoconf-2.69. That's not because we think those versions are golden, and newer versions are bad. It's simply because maintainers want to be able to update configury files without trouble, and if someone regenerates files with automake-1.16.5 then --enable-maintainer-mode builds will hit errors: checking that generated files are newer than configure... configure.ac:26: error: version mismatch. This is Automake 1.15.1, configure.ac:26: but the definition used by this AM_INIT_AUTOMAKE configure.ac:26: comes from Automake 1.16.5. You should recreate configure.ac:26: aclocal.m4 with aclocal and run automake again. WARNING: 'automake-1.15' is probably too old. Correcting this requires regenerating the files by hand.
2022-07-08Update version to 2.39.50 and regenerate filesNick Clifton1-111/+109
2021-01-12Implement a workaround for GNU mak jobserverH.J. Lu1-0/+1
Compiling binutils using -flto=jobserver with GCC 11 leads to libtool: link: gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Wwrite-strings -I../../gas/../zlib -g -O2 -fprofile-generate -flto=jobserver -o as-new app.o as.o atof-generic.o compress-debug.o cond.o depend.o dwarf2dbg.o dw2gencfi.o ecoff.o ehopt.o expr.o flonum-copy.o flonum-konst.o flonum-mult.o frags.o hash.o input-file.o input-scrub.o listing.o literal.o macro.o messages.o output-file.o read.o remap.o sb.o stabs.o subsegs.o symbols.o write.o config/tc-i386.o config/obj-elf.o config/atof-ieee.o ../opcodes/.libs/libopcodes.a ../bfd/.libs/libbfd.a -L/tmp/binutils-gdb/objdir/zlib -lz ../libiberty/libiberty.a -ldl lto-wrapper: warning: jobserver is not available: '--jobserver-auth=' is not present in 'MAKEFLAGS' since the '+' is missing on the recipe line in Makefiles generated by automake. Add the '+' to the recipe line by hand. bfd/ PR binutils/26792 * configure.ac: Use GNU_MAKE_JOBSERVER. * aclocal.m4: Regenerated. * configure: Likewise. binutils/ PR binutils/26792 * configure.ac: Use GNU_MAKE_JOBSERVER. * aclocal.m4: Regenerated. * configure: Likewise. config/ PR binutils/26792 * jobserver.m4: New file. gas/ PR binutils/26792 * configure.ac: Use GNU_MAKE_JOBSERVER. * aclocal.m4: Regenerated. * configure: Likewise. gprof/ PR binutils/26792 * configure.ac: Use GNU_MAKE_JOBSERVER. * aclocal.m4: Regenerated. * configure: Likewise. ld/ PR binutils/26792 * configure.ac: Use GNU_MAKE_JOBSERVER. * aclocal.m4: Regenerated. * configure: Likewise. libctf/ PR binutils/26792 * configure.ac: Use GNU_MAKE_JOBSERVER. * aclocal.m4: Regenerated. * configure: Likewise. opcodes/ PR binutils/26792 * configure.ac: Use GNU_MAKE_JOBSERVER. * aclocal.m4: Regenerated. * configure: Likewise.
2018-06-19Bump to autoconf 2.69 and automake 1.15.1Simon Marchi1-274/+450
When trying to run the update-gnulib.sh script in gdb, I get this: Error: Wrong automake version (Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ =:+{}]+)}/ at /opt/automake/1.11.1/bin/automake line 4113.), we need 1.11.1. Aborting. Apparently, it's an issue with a regex in automake that triggers a warning starting with Perl 5.22. It has been fixed in automake 1.15.1. So I think it's a good excuse to bump the versions of autoconf and automake used in the gnulib import. And to avoid requiring multiple builds of autoconf/automake, it was suggested that we bump the required version of those tools for all binutils-gdb. For autoconf, the 2.69 version is universally available, so it's an easy choice. For automake, different distros and distro versions have different automake versions. But 1.15.1 seems to be the most readily available as a package. In any case, it's easy to build it from source. I removed the version checks from AUTOMAKE_OPTIONS and AC_PREREQ, because I don't think they are useful in our case. They only specify a lower bound for the acceptable version of automake/autoconf. That's useful if you let the user choose the version of the tool they want to use, but want to set a minimum version (because you use a feature that was introduced in that version). In our case, we force people to use a specific version anyway. For the autoconf version, we have the check in config/override.m4 that enforces the version we want. It will be one less thing to update next time we change autotools version. I hit a few categories of problems that required some changes. They are described below along with the chosen solutions. Problem 1: configure.ac:17: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:17: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation Solution 1: Adjust the code based on the example at that URL. Problem 2 (in zlib/): Makefile.am: error: required file './INSTALL' not found Makefile.am: 'automake --add-missing' can install 'INSTALL' Makefile.am: error: required file './NEWS' not found Makefile.am: error: required file './AUTHORS' not found Makefile.am: error: required file './COPYING' not found Makefile.am: 'automake --add-missing' can install 'COPYING' Solution 2: Add the foreign option to AUTOMAKE_OPTIONS. Problem 3: doc/Makefile.am:20: error: support for Cygnus-style trees has been removed Solution 3: Remove the cygnus options. Problem 4: Makefile.am:656: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') Solution 4: Rename "INCLUDES = " to "AM_CPPFLAGS += " (because AM_CPPFLAGS is already defined earlier). Problem 5: doc/Makefile.am:71: warning: suffix '.texinfo' for Texinfo files is discouraged; use '.texi' instead doc/Makefile.am: warning: Oops! doc/Makefile.am: It appears this file (or files included by it) are triggering doc/Makefile.am: an undocumented, soon-to-be-removed automake hack. doc/Makefile.am: Future automake versions will no longer place in the builddir doc/Makefile.am: (rather than in the srcdir) the generated '.info' files that doc/Makefile.am: appear to be cleaned, by e.g. being listed in CLEANFILES or doc/Makefile.am: DISTCLEANFILES. doc/Makefile.am: If you want your '.info' files to be placed in the builddir doc/Makefile.am: rather than in the srcdir, you have to use the shiny new doc/Makefile.am: 'info-in-builddir' automake option. Solution 5: Rename .texinfo files to .texi. Problem 6: doc/Makefile.am: warning: Oops! doc/Makefile.am: It appears this file (or files included by it) are triggering doc/Makefile.am: an undocumented, soon-to-be-removed automake hack. doc/Makefile.am: Future automake versions will no longer place in the builddir doc/Makefile.am: (rather than in the srcdir) the generated '.info' files that doc/Makefile.am: appear to be cleaned, by e.g. being listed in CLEANFILES or doc/Makefile.am: DISTCLEANFILES. doc/Makefile.am: If you want your '.info' files to be placed in the builddir doc/Makefile.am: rather than in the srcdir, you have to use the shiny new doc/Makefile.am: 'info-in-builddir' automake option. Solution 6: Remove the hack at the bottom of doc/Makefile.am and use the info-in-builddir automake option. Problem 7: doc/Makefile.am:35: error: required file '../texinfo.tex' not found doc/Makefile.am:35: 'automake --add-missing' can install 'texinfo.tex' Solution 7: Use the no-texinfo.tex automake option. We also have one in texinfo/texinfo.tex, not sure if we should point to that, or move it (or a newer version of it added with automake --add-missing) to top-level. Problem 8: Makefile.am:131: warning: source file 'config/tc-aarch64.c' is in a subdirectory, Makefile.am:131: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. Solution 8: Use subdir-objects, that means adjusting references to some .o that will now be in config/. Problem 9: configure.ac:375: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from... configure.ac:375: the top level Solution 9: Use AC_LANG_SOURCE, or use proper quoting. Problem 10 (in intl/): configure.ac:7: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS /usr/share/aclocal/threadlib.m4:36: gl_THREADLIB_EARLY_BODY is expanded from... /usr/share/aclocal/threadlib.m4:29: gl_THREADLIB_EARLY is expanded from... /usr/share/aclocal/threadlib.m4:318: gl_THREADLIB is expanded from... /usr/share/aclocal/lock.m4:9: gl_LOCK is expanded from... /usr/share/aclocal/intl.m4:211: gt_INTL_SUBDIR_CORE is expanded from... /usr/share/aclocal/intl.m4:25: AM_INTL_SUBDIR is expanded from... /usr/share/aclocal/gettext.m4:57: AM_GNU_GETTEXT is expanded from... configure.ac:7: the top level Solution 10: Add AC_USE_SYSTEM_EXTENSIONS in configure.ac. ChangeLog: * libtool.m4: Use AC_LANG_SOURCE. * configure.ac: Remove AC_PREREQ, use AC_LANG_SOURCE. * README-maintainer-mode: Update version requirements. * ar-lib: New file. * test-driver: New file. * configure: Re-generate. bfd/ChangeLog: * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.11. (INCLUDES): Rename to ... (AM_CPPFLAGS): ... this. * configure.ac: Remove AC_PREREQ. * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove 1.9, cygnus, add info-in-builddir no-texinfo.tex. (info_TEXINFOS): Rename bfd.texinfo to bfd.texi. * doc/bfd.texinfo: Rename to ... * doc/bfd.texi: ... this. * Makefile.in: Re-generate. * aclocal.m4: Re-generate. * config.in: Re-generate. * configure: Re-generate. * doc/Makefile.in: Re-generate. binutils/ChangeLog: * configure.ac: Remove AC_PREREQ. * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add info-in-builddir no-texinfo.tex. * Makefile.in: Re-generate. * aclocal.m4: Re-generate. * config.in: Re-generate. * configure: Re-generate. * doc/Makefile.in: Re-generate. config/ChangeLog: * override.m4 (_GCC_AUTOCONF_VERSION): Bump from 2.64 to 2.69. etc/ChangeLog: * configure.in: Remove AC_PREREQ. * configure: Re-generate. gas/ChangeLog: * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.11, add subdir-objects. (TARG_CPU_O, OBJ_FORMAT_O, ATOF_TARG_O): Add config/ prefix. * configure.ac (TARG_CPU_O, OBJ_FORMAT_O, ATOF_TARG_O, emfiles, extra_objects): Add config/ prefix. * doc/as.texinfo: Rename to... * doc/as.texi: ... this. * doc/Makefile.am: Rename as.texinfo to as.texi throughout. Remove DISTCLEANFILES hack. (AUTOMAKE_OPTIONS): Remove 1.8, cygnus, add no-texinfo.tex and info-in-builddir. * Makefile.in: Re-generate. * aclocal.m4: Re-generate. * config.in: Re-generate. * configure: Re-generate. * doc/Makefile.in: Re-generate. gdb/ChangeLog: * common/common-defs.h (PACKAGE_NAME, PACKAGE_VERSION, PACKAGE_STRING, PACKAGE_TARNAME): Undefine. * configure.ac: Remove AC_PREREQ, add missing quoting. * gnulib/configure.ac: Modernize usage of AC_INIT/AM_INIT_AUTOMAKE. Remove AC_PREREQ. * gnulib/update-gnulib.sh (AUTOCONF_VERSION): Bump to 2.69. (AUTOMAKE_VERSION): Bump to 1.15.1. * configure: Re-generate. * config.in: Re-generate. * aclocal.m4: Re-generate. * gnulib/aclocal.m4: Re-generate. * gnulib/config.in: Re-generate. * gnulib/configure: Re-generate. * gnulib/import/Makefile.in: Re-generate. gdb/gdbserver/ChangeLog: * configure.ac: Remove AC_PREREQ, add missing quoting. * configure: Re-generate. * config.in: Re-generate. * aclocal.m4: Re-generate. gdb/testsuite/ChangeLog: * configure.ac: Remove AC_PREREQ. * configure: Re-generate. gold/ChangeLog: * configure.ac: Remove AC_PREREQ, add missing quoting and usage of AC_LANG_SOURCE. * Makefile.in: Re-generate. * aclocal.m4: Re-generate. * configure: Re-generate. * testsuite/Makefile.in: Re-generate. gprof/ChangeLog: * configure.ac: Remove AC_PREREQ. * Makefile.am: Remove DISTCLEANFILES hack. (AUTOMAKE_OPTIONS): Remove 1.11, add info-in-builddir. * Makefile.in: Re-generate. * aclocal.m4: Re-generate. * configure: Re-generate. * gconfig.in: Re-generate. intl/ChangeLog: * configure.ac: Add AC_USE_SYSTEM_EXTENSIONS, remove AC_PREREQ. * configure: Re-generate. * config.h.in: Re-generate. * aclocal.m4: Re-generate. ld/ChangeLog: * configure.ac: Remove AC_PREREQ. * Makefile.am: Remove DISTCLEANFILES hack, rename ld.texinfo to ld.texi, ldint.texinfo to ldint.texi throughout. (AUTOMAKE_OPTIONS): Add info-in-builddir. * README: Rename ld.texinfo to ld.texi, ldint.texinfo to ldint.texi throughout. * gen-doc.texi: Likewise. * h8-doc.texi: Likewise. * ld.texinfo: Rename to ... * ld.texi: ... this. * ldint.texinfo: Rename to ... * ldint.texi: ... this. * Makefile.in: Re-generate. * aclocal.m4: Re-generate. * config.in: Re-generate. * configure: Re-generate. libdecnumber/ChangeLog: * configure.ac: Remove AC_PREREQ. * configure: Re-generate. * aclocal.m4. libiberty/ChangeLog: * configure.ac: Remove AC_PREREQ. * configure: Re-generate. * config.in: Re-generate. opcodes/ChangeLog: * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.11. * configure.ac: Remove AC_PREREQ. * Makefile.in: Re-generate. * aclocal.m4: Re-generate. * configure: Re-generate. readline/ChangeLog.gdb: * configure: Re-generate. * examples/rlfe/configure: Re-generate. sim/ChangeLog: * All configure.ac: Remove AC_PREREQ. * All configure: Re-generate. zlib/ChangeLog.bin-gdb: * configure.ac: Modernize AC_INIT call, remove AC_PREREQ. * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8, cygnus, add foreign. * Makefile.in: Re-generate. * aclocal.m4: Re-generate. * configure: Re-generate.
2016-04-15Regenerate Makefile.in/aclocal.m4 automake 1.11.6H.J. Lu1-27/+47
bfd/ * Makefile.in: Regenerated with automake 1.11.6. * aclocal.m4: Likewise. * doc/Makefile.in: Likewise. binutils/ * Makefile.in: Regenerated with automake 1.11.6. * aclocal.m4: Likewise. * doc/Makefile.in: Likewise. gas/ * Makefile.in: Regenerated with automake 1.11.6. * aclocal.m4: Likewise. * doc/Makefile.in: Likewise. gold/ * Makefile.in: Regenerated with automake 1.11.6. * aclocal.m4: Likewise. * testsuite/Makefile.in: Likewise. gprof/ * Makefile.in: Regenerated with automake 1.11.6. * aclocal.m4: Likewise. ld/ * Makefile.in: Regenerated with automake 1.11.6. * aclocal.m4: Likewise. opcodes/ * Makefile.in: Regenerated with automake 1.11.6. * aclocal.m4: Likewise.
2015-03-31Revert the AM_ZLIB change in gasH.J. Lu1-0/+1
* configure.ac: Revert the AM_ZLIB change. * Makefile.in: Regenerated. * aclocal.m4: Likewise. * configure: Likewise.
2012-05-17bfd/Andreas Schwab1-8433/+7
* aclocal.m4: Regenerate. * Makefile.in: Regenerate. binutils/ * aclocal.m4: Regenerate. * configure: Regenerate. * config.in: Regenerate. * Makefile.in: Regenerate. gas/ * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate.
2012-05-17 PR 14072Nick Clifton1-7/+8434
* configure.in: Add check that sysdep.h has been included before any system header files. * configure: Regenerate. * config.in: Regenerate. * sysdep.h: Generate an error if included before config.h. * alpha-opc.c: Include sysdep.h before any other header file. * alpha-dis.c: Likewise. * avr-dis.c: Likewise. * cgen-opc.c: Likewise. * cr16-dis.c: Likewise. * cris-dis.c: Likewise. * crx-dis.c: Likewise. * d10v-dis.c: Likewise. * d10v-opc.c: Likewise. * d30v-dis.c: Likewise. * d30v-opc.c: Likewise. * h8500-dis.c: Likewise. * i370-dis.c: Likewise. * i370-opc.c: Likewise. * m10200-dis.c: Likewise. * m10300-dis.c: Likewise. * micromips-opc.c: Likewise. * mips-opc.c: Likewise. * mips61-opc.c: Likewise. * moxie-dis.c: Likewise. * or32-opc.c: Likewise. * pj-dis.c: Likewise. * ppc-dis.c: Likewise. * ppc-opc.c: Likewise. * s390-dis.c: Likewise. * sh-dis.c: Likewise. * sh64-dis.c: Likewise. * sparc-dis.c: Likewise. * sparc-opc.c: Likewise. * spu-dis.c: Likewise. * tic30-dis.c: Likewise. * tic54x-dis.c: Likewise. * tic80-dis.c: Likewise. * tic80-opc.c: Likewise. * tilegx-dis.c: Likewise. * tilepro-dis.c: Likewise. * v850-dis.c: Likewise. * v850-opc.c: Likewise. * vax-dis.c: Likewise. * w65-dis.c: Likewise. * xgate-dis.c: Likewise. * xtensa-dis.c: Likewise. * rl78-decode.opc: Likewise. * rl78-decode.c: Regenerate. * rx-decode.opc: Likewise. * rx-decode.c: Regenerate. * configure.in: Add check that sysdep.h has been included before any system header files. * configure: Regenerate. * config.in: Regenerate. * sysdep.h: Generate an error if included before config.h. * configure.in: Add check that sysdep.h has been included before any system header files. * configure: Regenerate. * config.in: Regenerate. * aclocal.m4: Regenerate. * bfd-in.h: Generate an error if included before config.h. * sysdep.h: Likewise. * bfd-in2.h: Regenerate. * compress.c: Remove #include "config.h". * plugin.c: Likewise. * elf32-m68hc1x.c: Include sysdep.h before alloca-conf.h. * elf64-hppa.c: Likewise. * som.c: Likewise. * xsymc.c: Likewise. * configure.in: Add check that sysdep.h has been included before any system header files. * configure: Regenerate. * config.in: Regenerate. * configure.in: Add check that sysdep.h has been included before any system header files. * configure: Regenerate. * config.in: Regenerate. * aclocal.m4: Regenerate. * Makefile.am: Use wrappers around C files generated by flex. * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate. * itbl-lex-wrapper.c: New file. * config/bfin-lex-wrapper.c: New file. * cgen.c: Include as.h before setjmp.h. * config/tc-dlx.c: Include as.h before any other header. * config/tc-h8300.c: Likewise. * config/tc-lm32.c: Likewise. * config/tc-mep.c: Likewise. * config/tc-microblaze.c: Likewise. * config/tc-mmix.c: Likewise. * config/tc-msp430.c: Likewise. * config/tc-or32.c: Likewise. * config/tc-tic4x.c: Likewise. * config/tc-tic54x.c: Likewise. * config/tc-xtensa.c: Likewise. * configure.in: Add check that sysdep.h has been included before any system header files. * configure: Regenerate. * config.in: Regenerate. * unwind-ia64.h: Include config.h.
2012-04-05 * configure.in (AC_CHECK_FUNCS): Add setlocale.Nick Clifton1-0/+1
(AM_LC_MESSAGES): Add. * aclocal.m4: Regenerate. * config.in: Regenerate. * configure: Regenerate.
2010-05-07bfd/Tristan Gingold1-3/+3
2010-05-07 Tristan Gingold <gingold@adacore.com> * Makefile.in: Regenerate with automake 1.11.1. * aclocal.m4: Ditto. bfd/doc/ 2010-05-07 Tristan Gingold <gingold@adacore.com> * Makefile.in: Regenerate with automake 1.11.1. binutils/ 2010-05-07 Tristan Gingold <gingold@adacore.com> * Makefile.in: Regenerate with automake 1.11.1. * aclocal.m4: Ditto. * doc/Makefile.in: Ditto. gas/ 2010-05-07 Tristan Gingold <gingold@adacore.com> * Makefile.in: Regenerate with automake 1.11.1. * aclocal.m4: Ditto. * doc/Makefile.in: Ditto. gprof/ 2010-05-07 Tristan Gingold <gingold@adacore.com> * Makefile.in: Regenerate with automake 1.11.1. * aclocal.m4: Ditto. ld/ 2010-05-07 Tristan Gingold <gingold@adacore.com> * Makefile.in: Regenerate with automake 1.11.1. * aclocal.m4: Ditto. opcodes/ 2010-05-07 Tristan Gingold <gingold@adacore.com> * Makefile.in: Regenerate with automake 1.11.1. * aclocal.m4: Ditto.
2009-11-11bfd/Jan Kratochvil1-0/+2
* configure.in: Call ACX_LARGEFILE. Stop calling AC_PLUGINS, AC_SYS_LARGEFILE and checking the Solaris largefile exception. * aclocal.m4: Regenerate. * configure: Regenerate. binutils/ * configure.in: Call ACX_LARGEFILE. Stop calling AC_PLUGINS, AC_SYS_LARGEFILE and checking the Solaris largefile exception. * aclocal.m4: Regenerate. * configure: Regenerate. gas/ * configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE. * aclocal.m4: Regenerate. * configure: Regenerate. gdb/ * configure.ac: Call ACX_LARGEFILE. * aclocal.m4: Call m4_include for ../config/largefile.m4 and ../config/plugins.m4. * configure: Regenerate. * config.in: Regenerate. gprof/ * configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE. * aclocal.m4: Regenerate. * configure: Regenerate. ld/ * configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE. * aclocal.m4: Regenerate. * configure: Regenerate.
2009-08-22Regenerate tree using Autoconf 2.64 and Automake 1.11.Ralf Wildenhues1-177/+287
config/: * override.m4 (_GCC_AUTOCONF_VERSION): Bump to 2.64. /: * configure: Regenerate. etc/: * configure: Regenerate. sim/common/: * config.in: Regenerate. * configure: Likewise. sim/iq2000/: * config.in: Regenerate. * configure: Likewise. sim/d10v/: * config.in: Regenerate. * configure: Likewise. sim/igen/: * config.in: Regenerate. * configure: Likewise. sim/m32r/: * config.in: Regenerate. * configure: Likewise. sim/frv/: * config.in: Regenerate. * configure: Likewise. sim/: * avr/config.in: Regenerate. * avr/configure: Likewise. * configure: Likewise. * cris/config.in: Likewise. * cris/configure: Likewise. sim/h8300/: * config.in: Regenerate. * configure: Likewise. sim/mn10300/: * config.in: Regenerate. * configure: Likewise. sim/ppc/: * config.in: Regenerate. * configure: Likewise. sim/erc32/: * config.in: Regenerate. * configure: Likewise. sim/arm/: * config.in: Regenerate. * configure: Likewise. sim/m68hc11/: * config.in: Regenerate. * configure: Likewise. sim/lm32/: * config.in: Regenerate. * configure: Likewise. sim/sh64/: * config.in: Regenerate. * configure: Likewise. sim/v850/: * config.in: Regenerate. * configure: Likewise. sim/cr16/: * config.in: Regenerate. * configure: Likewise. sim/moxie/: * config.in: Regenerate. * configure: Likewise. sim/m32c/: * config.in: Regenerate. * configure: Likewise. sim/mips/: * config.in: Regenerate. * configure: Likewise. sim/mcore/: * config.in: Regenerate. * configure: Likewise. sim/testsuite/d10v-elf/: * configure: Regenerate. sim/testsuite/: * configure: Regenerate. sim/testsuite/frv-elf/: * configure: Regenerate. sim/testsuite/m32r-elf/: * configure: Regenerate. sim/testsuite/mips64el-elf/: * configure: Regenerate. sim/sh/: * config.in: Regenerate. * configure: Likewise. gold/: * Makefile.in: Regenerate. * aclocal.m4: Likewise. * config.in: Likewise. * configure: Likewise. * testsuite/Makefile.in: Likewise. gprof/: * Makefile.in: Regenerate. * aclocal.m4: Likewise. * configure: Likewise. * gconfig.in: Likewise. opcodes/: * Makefile.in: Regenerate. * aclocal.m4: Likewise. * config.in: Likewise. * configure: Likewise. gas/: * Makefile.in: Regenerate. * aclocal.m4: Likewise. * config.in: Likewise. * configure: Likewise. * doc/Makefile.in: Likewise. ld/: * Makefile.in: Regenerate. * aclocal.m4: Likewise. * config.in: Likewise. * configure: Likewise. gdb/: * aclocal.m4: Regenerate. * config.in: Likewise. * configure: Likewise. * gnulib/Makefile.in: Likewise. gdb/doc/: * configure: Regenerate. gdb/gdbserver/: * aclocal.m4: Regenerate. * config.in: Likewise. * configure: Likewise. gdb/testsuite/: * configure: Regenerate. * gdb.hp/configure: Likewise. * gdb.hp/gdb.aCC/configure: Likewise. * gdb.hp/gdb.base-hp/configure: Likewise. * gdb.hp/gdb.compat/configure: Likewise. * gdb.hp/gdb.defects/configure: Likewise. * gdb.hp/gdb.objdbg/configure: Likewise. * gdb.stabs/configure: Likewise. binutils/: * Makefile.in: Regenerate. * aclocal.m4: Likewise. * config.in: Likewise. * configure: Likewise. * doc/Makefile.in: Likewise. bfd/: * Makefile.in: Regenerate. * aclocal.m4: Likewise. * config.in: Likewise. * configure: Likewise. bfd/doc/: * Makefile.in: Regenerate. readline/: * configure: Regenerate. readline/examples/rlfe/: * configure: Regenerate.
2008-09-29 * configure: Regenerate for new libtool.Steve Ellcey1-0/+1
* aclocal.m4: Ditto. * Makefile.in: Ditto. * doc/Makefile.in: Ditto.
2008-08-24Update a number of obsolete autoconf macros.Alan Modra1-12/+0
2008-08-15 PR 6526Alan Modra1-0/+1
* configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
2008-04-23bfd/H.J. Lu1-0/+1
2008-04-23 Paolo Bonzini <bonzini@gnu.org> * aclocal.m4: Regenerate. * configure: Regenerate. binutils/ 2008-04-23 Paolo Bonzini <bonzini@gnu.org> * aclocal.m4: Regenerate. * configure: Regenerate. gas/ 2008-04-23 Paolo Bonzini <bonzini@gnu.org> * aclocal.m4: Regenerate. * configure: Regenerate. gold/ 2008-04-23 Paolo Bonzini <bonzini@gnu.org> * aclocal.m4: Regenerate. * configure: Regenerate. gprof/ 2008-04-23 Paolo Bonzini <bonzini@gnu.org> * aclocal.m4: Regenerate. * configure: Regenerate. ld/ 2008-04-23 Paolo Bonzini <bonzini@gnu.org> * aclocal.m4: Regenerate. * configure: Regenerate. opcodes/ 2008-04-23 Paolo Bonzini <bonzini@gnu.org> * aclocal.m4: Regenerate. * configure: Regenerate.
2008-03-17 * configure.ac: m4_include config/proginstall.m4.Ralf Wildenhues1-0/+1
* configure: Regenerate. config/ * proginstall.m4: New file, with fixed AC_PROG_INSTALL. bfd/ * aclocal.m4: Regenerate. * configure: Likewise. * Makefile.in: Likewise. bfd/doc/ * Makefile.in: Regenerate. intl/ * aclocal.m4: Regenerate. * configure: Likewise. gas/ * aclocal.m4: Regenerate. * configure: Likewise. * Makefile.in: Likewise. * doc/Makefile.in: Likewise. ld/ * aclocal.m4: Regenerate. * configure: Likewise. * Makefile.in: Likewise. opcodes/ * aclocal.m4: Regenerate. * configure: Likewise. * Makefile.in: Likewise. binutils/ * aclocal.m4: Regenerate. * configure: Likewise. * Makefile.in: Likewise. * doc/Makefile.in: Likewise. gprof/ * aclocal.m4: Regenerate. * configure: Likewise. * Makefile.in: Likewise.
2007-07-02Regenerate files.Alan Modra1-6396/+0
2007-06-30bfd/H.J. Lu1-8/+5
2007-06-30 H.J. Lu <hongjiu.lu@intel.com> * aclocal.m4: Regenerated. * Makefile.in: Likewise. bfd/doc/ 2007-06-30 H.J. Lu <hongjiu.lu@intel.com> * Makefile.in: Likewise. binutils/ 2007-06-30 H.J. Lu <hongjiu.lu@intel.com> * aclocal.m4: Regenerated. * doc/Makefile.in: Likewise. * Makefile.in: Likewise. gas/ 2007-06-30 H.J. Lu <hongjiu.lu@intel.com> * aclocal.m4: Regenerated. * doc/Makefile.in: Likewise. * Makefile.in: Likewise. gprof/ 2007-06-30 H.J. Lu <hongjiu.lu@intel.com> * aclocal.m4: Regenerated. * Makefile.in: Likewise. ld/ 2007-06-30 H.J. Lu <hongjiu.lu@intel.com> * aclocal.m4: Regenerated. * Makefile.in: Likewise. opcodes/ 2007-06-30 H.J. Lu <hongjiu.lu@intel.com> * aclocal.m4: Regenerated. * Makefile.in: Likewise.
2007-06-14bfd/H.J. Lu1-27/+37
2007-06-14 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am (ACLOCAL_AMFLAGS): Add -I . -I ../config. * acinclude.m4: Don't include m4 files. Remove libtool kludge. * Makefile.in: Regenerated. * doc/Makefile.in: Likewise. * aclocal.m4: Likewise. * configure: Likewise. binutils/ 2007-06-14 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd. * acinclude.m4: Removed. * Makefile.in: Regenerated. * aclocal.m4: Likewise. * configure: Likewise. gas/ 2007-06-14 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd. * acinclude.m4: Don't include m4 files. (BFD_BINARY_FOPEN): Removed. Remove libtool kludge. * Makefile.in: Regenerated. * doc/Makefile.in: Likewise. * aclocal.m4: Likewise. * configure: Likewise. gprof/ 2007-06-14 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd. * acinclude.m4: Removed. * Makefile.in: Regenerated. * aclocal.m4: Likewise. * configure: Likewise. ld/ 2007-06-14 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd. * acinclude.m4: Removed. * Makefile.in: Regenerated. * aclocal.m4: Likewise. * configure: Likewise. opcodes/ 2007-06-14 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd. * acinclude.m4: Removed. * Makefile.in: Regenerated. * doc/Makefile.in: Likewise. * aclocal.m4: Likewise. * configure: Likewise.
2007-05-24 * regenerated files from updating libtool.Steve Ellcey1-0/+6380
2006-05-02binutils/Daniel Jacobowitz1-2/+2
* doc/Makefile.am (AM_MAKEINFOFLAGS): New. (TEXI2POD): Use AM_MAKEINFOFLAGS. (config.texi): Don't set top_srcdir. * doc/binutils.texi: Don't use top_srcdir. * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated. gas/ * doc/Makefile.am (AM_MAKEINFOFLAGS): New. (TEXI2POD): Use AM_MAKEINFOFLAGS. (asconfig.texi): Don't set top_srcdir. * doc/as.texinfo: Don't use top_srcdir. * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated. ld/ * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty. (TEXI2POD): Use AM_MAKEINFOFLAGS. (configdoc.texi): Don't set top_srcdir. * ld.texinfo: Don't use top_srcdir. * aclocal.m4, Makefile.in: Regenerated.
2005-09-302005-09-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-331/+126
* Makefile.am: Run "make dep-am". * Makefile.in: Regenerated. * aclocal.m4: Likewise.
2005-09-30 * Makefile.am: Bfin support.Catherine Moore1-126/+331
* Makefile.in: Regenerated. * aclocal.m4: Regenerated. * configure: Regenerated. * configure.in: Bfin support. * configure.tgt: Bfin support. * config/bfin-aux.h: New file. * config/bfin-defs.h: New file. * config/bfin-lex.l: New file. * config/bfin-parse.y: New file. * config/tc-bfin.c: New file. * config/tc-bfin.h: New file. * doc/Makefile.am: Recognize c-bfin.texi. * doc/Makefile.in: Regenerated. * doc/all.texi: Bfin support. * doc/as.texinfo: Likewise. * doc/c-bfin.texi: Document bfin-specific syntax and directives.
2005-04-29bfd/Daniel Jacobowitz1-333/+128
* doc/Makefile.am: Remove stamp rules. Depend on chew.c instead of $(MKDOC). * aclocal.m4, Makefile.in, doc/Makefile.in: Regnerated. gas/ * doc/Makefile.am (gasver.texi): Depend on bfd/configure instead of Makefile. (DISTCLEANFILES): Remove. (MAINTAINERCLEANFILES): Add asconfig.texi. * doc/Makefile.in: Regenerated.
2005-03-21 * Makefile.am (OBJ_FORMAT_CFILES): Prune config/obj-vms.c.Alan Modra1-128/+333
(OBJ_FORMAT_HFILES): Prune config/obj-vms.h. (obj-vms.o): Delete rule. Run "make dep-am". * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * doc/Makefile.in: Regenerate. * po/POTFILES.in: Regenerate.
2005-03-08 * doc/Makefile.am: Update as.info dependencies.Daniel Jacobowitz1-333/+128
* aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
2004-12-03 * Makefile.am (TARG_ENV_HFILES): Add te-armlinuxeabi.h.Mark Mitchell1-2/+2
* configure.in: Use it for arm*-*-linux-gnueabi*. * config/tc-arm.c: Allow emulation file to set FPU_DEFAULT. * config/te-armlinuxeabi.h: New file. * Makefile.in: Regenerated. * aclocal.m4: Likewise. * configure: Likewise. * doc/Makefile.in: Regenerated.
2004-10-25Add ARM CFI supportNick Clifton1-2/+2
2004-09-17 * Makefile.am: Run "make dep-am".Alan Modra1-33/+145
* Makefile.in: Regenerate. * aclocal.m4: Regenerate. * configure: Regenerate. * doc/Makefile.in: Regenerate. * po/POTFILES.in: Regenerate. * po/gas.pot: Regenerate.
2004-07-07Add new port: crx-elfNick Clifton1-2/+2
2004-05-07 * Makefile.am (DIST_SUBDIRS): Define.Daniel Jacobowitz1-13/+28
* aclocal.m4: Regenerate with automake 1.8.4. * Makefile.in: Likewise. * doc/Makefile.in: Likewise.
2004-03-042004-03-04 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-532/+490
* Makefile.in: Regenerated. * aclocal.m4: Likewise. * configure: Likewise. * doc/Makefile.in: Likewise.
2003-11-12 * Makefile.am (install, install-info, RECURSIVE_TARGETS): Define.Daniel Jacobowitz1-2/+2
* doc/Makefile.am (install-info): Define. * aclocal.m4: Regenerate. * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate.
2003-09-02 * configure.in: Update AC_PREREQ to 2.57. Use AC_CONFIG_FILESDaniel Jacobowitz1-99/+872
and AC_CONFIG_COMMANDS instead of the three-argument AC_OUTPUT. Specify AC_CONFIG_AUX_DIR. * aclocal.m4: Regenerated with aclocal-1.7. * configure: Regenerated with autoconf 2.57. * Makefile.in, doc/Makefile.in: Regenerated with automake-1.7.
2003-05-21Move .file and .loc pseudo ops into obj-elf.cNick Clifton1-1/+19
2002-02-11 * Makefile.am: "make dep-am".Alan Modra1-9/+9
* Makefile.in: Regenerate. * aclocal.m4: Regenerate. * config.in: Regenerate. * configure: Regenerate. * doc/Makefile.in: Regenerate.
2002-02-08Contribute sh64-elf.Alexandre Oliva1-1/+1
2002-02-08 Alexandre Oliva <aoliva@redhat.com> Stephen Clarke <Stephen.Clarke@st.com> * doc/c-sh64.texi: Fix citation of SH64 architecture manual. 2002-01-31 Alexandre Oliva <aoliva@redhat.com> * config/tc-sh.c (md_relax_table): Added default sizes for non-PC-relative UNDEF_MOVI, and relaxation sequences for MOVI_16, MOVI_32 and MOVI_48. * config/tc-sh64.c (shmedia_md_apply_fix3): Fix warning. (shmedia_md_convert_frag): Handle non-PC-relative UNDEF_MOVI and MOVI_16. (shmedia_md_estimate_size_before_relax): Remove redundant blocks. Set fragP->fr_var even if relaxation type unchanged. Retain UNDEF_MOVI until expression decays to number. 2002-01-24 Alexandre Oliva <aoliva@redhat.com> * config/tc-sh64.c (shmedia_init_reloc): Handle new SHmedia PIC relocation types. Take fixP->fx_addnumber into account too. (shmedia_md_apply_fix): Likewise. (shmedia_md_convert_frag): Likewise. (shmedia_build_Mytes): Likewise. (sh64_consume_datalabel): Complain about nested datalabel. Support PIC relocs. Call sh_parse_name. * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Extend definition in tc-sh.h to SHmedia reloc types. * config/tc-sh.c (SH64PCRELPLT, MOVI_PLT, MOVI_GOTOFF, MOVI_GOTPC): New relaxation constants. (md_relax_table): Introduce relaxation directives for PIC-related constants. (sh_PIC_related_p): Handle datalabel. (sh_check_fixup): Choose SH5 PIC relocations. (sh_cons_fix_new): Added BDF_RELOC_64. (md_apply_fix3, sh_parse_name): Handle GOTPLT. 2002-01-18 Alexandre Oliva <aoliva@redhat.com> * config/tc-sh64.c (sh64_max_mem_for_rs_align_code): If the current ISA is SHmedia, get 7 bytes. 2001-11-28 Nick Clifton <nickc@cambridge.redhat.com> * config/tc-sh.c (md_apply_fix3): Treat shmedia_md_apply_fix3 as a void function. * config/tc-sh64.c (shmedia_apply_fix): Rename to shmedia_apply_fix3 and make void. 2001-05-17 Alexandre Oliva <aoliva@redhat.com> * config/tc-sh64.c (s_sh64_abi): Remove unused arguments passed to as_bad. 2001-04-12 Alexandre Oliva <aoliva@redhat.com> * config/tc-sh64.h (md_parse_name): Take &c as argument. 2001-03-14 DJ Delorie <dj@redhat.com> * doc/Makefile.am (CPU_DOCS): Added c-sh64.texi * doc/Makefile.in(CPU_DOCS): Ditto. * doc/c-sh64.texi: New file. * doc/as.texinfo: Add SH64 support. 2001-03-13 DJ Delorie <dj@redhat.com> * config/tc-sh64.c (shmedia_get_operands): Rename A_RESV_Fx to A_REUSE_PREV so that its purpose is more obvious. (shmedia_build_Mytes): Ditto. 2001-03-07 DJ Delorie <dj@redhat.com> * config/tc-sh64.c (sh64_vtable_entry): New, strip datalabels before processing. (sh64_vtable_inherit): Ditto. (strip_datalabels): New, strip "datalabel" from given line. * config/tc-sh.c (md_pseudo_table): Add sh64-specific vtable pseudos. 2001-03-06 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.c (shmedia_md_assemble): Move dwarf2_emit_insn call ... (shmedia_build_Mytes): ... to here. 2001-03-06 DJ Delorie <dj@redhat.com> * config/tc-sh.c: Remove sh64-specific uaquad now that there is a generic one. 2001-01-21 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.h (DWARF2_LINE_MIN_INSN_LENGTH): Override. * config/tc-sh64.c (shmedia_md_assemble): Offset recorded insn address by one in call to dwarf2_emit_insn. 2001-01-13 Hans-Peter Nilsson <hpn@cygnus.com> Implement ".abi" pseudo and correct .cranges descriptors. Correct alignment handling broken by imported changes. * config/tc-sh64.h (HANDLE_ALIGN): Override definition in tc-sh.h. (sh64_handle_align): Declare. (MAX_MEM_FOR_RS_ALIGN_CODE): Override definition in tc-sh.h. (sh64_max_mem_for_rs_align_code): Declare. (enum sh64_isa_values): Moved here from tc-sh64.c. (md_do_align): Define. (sh64_do_align): Declare. (struct sh64_tc_frag_data): New. (TC_FRAG_TYPE): Change to struct sh64_tc_frag_data. Users changed. (TC_FRAG_INIT): Change to set new datatype. (struct sh64_segment_info_type): Rename member last_flushed_location to last_contents_mark. All users changed. (md_elf_section_change_hook, TC_CONS_FIX_NEW): Do not define. (shmedia_elf_new_section, sh64_tc_cons_fix_new): Do not prototype. * config/tc-sh.c (md_pseudo_table): Add ".abi". (sh_elf_cons) [HAVE_SH64]: Call sh64_update_contents_mark instead of unsetting seen_insn. (md_assemble) [HAVE_SH64] <before new SHcompact sequence>: Also call sh64_update_contents_mark. (sh_handle_align): Remove HAVE_SH64-conditioned code. * config/tc-sh64.c (sh64_isa_mode): Correct type from boolean to enum sh64_isa_values. (sh64_set_contents_type): Drop segT parameter. All callers changed. (emitting_crange): Boolean guard moved to file scope from function scope in sh64_set_contents_type. (s_sh64_abi): New. (sh64_update_contents_mark): New; most split out from sh64_flush_pending_output. (shmedia_md_end): Call sh64_update_contents_mark. Set sh64_isa_mode to sh64_isa_sh5_guard unless sh64_isa_unspecified. (sh64_do_align): New function. (sh64_max_mem_for_rs_align_code): New function. (sh64_handle_align): Rename from shmedia_do_align. Make non-static. Add head comment. Emit zero bytes for n bytes modulo four. Change return-type to void. (shmedia_elf_new_section): Remove. (shmedia_md_assemble): Call sh64_update_contents_mark. (s_sh64_mode): Ditto. Do not call md_flush_pending_output. Make new frag. Call sh64_update_contents_mark after making the new frag. (sh64_flush_pending_output): Just call sh64_update_contents_mark and sh_flush_pending_output. (sh64_flag_output): Also call md_flush_pending_output, but add condition on not emitting_crange. (sh64_tc_cons_fix_new): Remove. 2001-01-12 Nick Clifton <nickc@redhat.com> * config/tc-sh64.c (shmedia_do_align): Fix to work with new alignment handling scheme imported from sourceware. 2001-01-12 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.h (TARGET_FORMAT): Define. (sh64_target_format): Prototype. * config/tc-sh64.c (sh64_target_mach): New function. 2001-01-07 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.c (shmedia_md_end): When equating a symbol, use zero_address_frag instead of copying the frag of the symbol. (shmedia_frob_file_before_adjust): Ditto. (shmedia_md_apply_fix) <case BFD_RELOC_SH_IMM_MEDLOW16>: Cast mask to valueT to remove signedness. (shmedia_md_convert_frag): Add parameter final. Rename parameter headers to output_bfd. Do not evaluate symbols if final is false; do emit fixups. (shmedia_md_estimate_size_before_relax) <case C (MOVI_IMM_32, UNDEF_MOVI) et al>: If symbol cannot be modified to be PC-relative to the current frag, call shmedia_md_convert_frag to emit fixups and make frag_wane neutralize the frag. Update comments. * config/tc-sh.c (md_convert_frag): Change caller of shmedia_md_convert_frag. 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.h: Tweak comments and correct formatting. * config/tc-sh64.c: Ditto. (shmedia_md_convert_frag) <PT/PTA/PTB 32, 48 and 64 bit expansion, MOVI pcrel expansion>: Fix thinko calculating offset for the no-relocation case. (shmedia_check_limits): Fix range check being off-by-one for PTA. * config/tc-sh.c: Ditto. Add proper comments to #ifdef/#ifndef wrappers. (SH64PCREL16_F): Increment for proper max-PTA handling. Update comment. (SH64PCREL16_M, MOVI_16_M): Correct range thinko. (SH64PCREL48_M, MOVI_48_M): Similar; don't count in length of expansion. (SH64PCREL32_M, MOVI_32_M): Ditto; handle overflowing expression. Correct comment. 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.c (shmedia_md_apply_fix) <second switch, case BFD_RELOC_SH_PT_16>: Set lowest bit in field to be relocated to 1. (shmedia_md_convert_frag) <case C (SH64PCREL16_32, SH64PCREL16) et al>: Set lowest bit of field to relocate to 1 and rest to empty, if reloc is emitted. 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com> New options plus bugfixes. * config/tc-sh.c (md_longopts): New options "-no-expand" and "-expand-pt32". (md_parse_option): Handle new options. (md_show_usage): Add blurb for new options. * config/tc-sh64.c (SHMEDIA_BFD_RELOC_PT): New macro. (sh64_expand, sh64_pt32): New variables. (shmedia_init_reloc): Handle BFD_RELOC_SH_PT_16. (shmedia_md_apply_fix): Hold original fixP->fx_r_type in orig_fx_r_type. Change SHMEDIA_BFD_RELOC_PT into BFD_RELOC_SH_PT_16. Handle BFD_RELOC_SH_PT_16 as pc-relative. <resolved previously-pc-relative relocs>: Handle SHMEDIA_BFD_RELOC_PT and BFD_RELOC_SH_PT_16. (shmedia_md_convert_frag) <case C (SH64PCREL16PT_64, SH64PCREL16), case C (SH64PCREL16PT_32, SH64PCREL16)>: Modify to PTB if operand points to SHcompact code. <case C (SH64PCREL16_32, SH64PCREL16), case C (SH64PCREL16_64, SH64PCREL16)>: Check that ISA of what operand points at and PTA/PTB matches, or emit error. (shmedia_check_limits): Handle BFD_RELOC_SH_PT_16 and SHMEDIA_BFD_RELOC_PT. (shmedia_immediate_op): If pcrel, emit fixup also for constant operand. (shmedia_build_Mytes) <case A_IMMS16>: Also check sh64_expand in condition for MOVI expansion. <case A_PCIMMS16BY4>: Handle expansion to 32 bits only, if sh64_pt32. Emit only a BFD_RELOC_SH_PT_16 fixup if not sh64_expand. <case A_PCIMMS16BY4_PT>: Likewise, but emit a SHMEDIA_BFD_RELOC_PT fixup. (sh64_target_format): Error-check setting of sh64_pt32 and sh64_expand. Fix typo in check for sh64_shcompact_const_crange. (shmedia_md_pcrel_from_section): Handle BFD_RELOC_SH_PT_16 and SHMEDIA_BFD_RELOC_PT as coming from SHmedia code. 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.c: Improve comments. (shmedia_md_convert_frag): Remove inactive is_pt_variant code. Do not say the linker will check correctness of PTA/PTB expansion. (shmedia_md_end): Make non-static. * config/tc-sh64.h (md_end): Define to shmedia_md_end. Add prototype. * config/tc-sh.c (sh_finalize): Remove. * config/tc-sh.h (md_end): Do not define. Remove prototype for sh_finalize. 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.c (shmedia_frob_section_type): Use a struct sh64_section_data container when storing section type in tdata field in elf_section_data. * config/tc-sh.c (sh_elf_final_processing): Change from EF_SH64 to EF_SH5. * Makefile.am: Update dependencies. * Makefile.in: Regenerate. 2000-12-22 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.c (shmedia_md_assemble): Don't protect dwarf2_emit_insn call with test on debug_type. 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.c (sh64_set_contents_type): Make contents-type CRT_SH5_ISA32 sticky for 64-bit. 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> Generate .crange sections when switching ISA mode or emitting constants in same section as code. * config/tc-sh64.c: Reformat structure definitions. (sh64_end_of_assembly, sh64_mix, sh64_shcompact_const_crange): New variables. (sh64_set_contents_type): Rename from sh64_init_section. Rewrite to emit a .cranges descriptor when contents type changes. Only emit error if changing contents type and -no-mix is in effect. (sh64_emit_crange, sh64_flush_last_crange, sh64_flag_output, sh64_flush_pending_output, sh64_tc_cons_fix_new): New functions. (shmedia_md_end): Set sh64_end_of_assembly. Pass sh64_flush_last_crange over sections. When checking main symbol of datalabel symbol, check for STO_SH5_ISA32, not ISA type of section in definition. (shmedia_frob_file_before_adjust): Check main symbol for STO_SH5_ISA32; don't check ISA type of section in definition. (shmedia_frob_section_type): Adjust for .cranges; set section flag to SHF_SH5_ISA32_MIXED or SHF_SH5_ISA32 according to whether .cranges entries have been output. (shmedia_elf_new_section): Just call md_flush_pending_output. (shmedia_md_assemble): Do not emit a BFD_RELOC_SH_SHMEDIA_CODE fix. Do not set tc_segment_info_data.in_code for section. Call sh64_set_contents_type for SHmedia code. (s_sh64_mode): Do not call sh64_init_section or set seen_insn to false. Call md_flush_pending_output. (sh64_target_format): Check that -no-mix and -shcompact-const-crange are used in sane combination with other options. (shmedia_md_pcrel_from_section): Check type of fix for how to adjust pc-relative. (sh64_consume_datalabel): Check symbol for having STO_SH5_ISA32, not ISA type of section in definition. * config/tc-sh64.h (struct sh64_segment_info_type): Rewrite to hold contents-type state. (md_flush_pending_output): Redefine to sh64_flush_pending_output. (sh64_flush_pending_output): Declare. (TC_CONS_FIX_NEW): Define to sh64_tc_cons_fix_new. (sh64_tc_cons_fix_new): Declare. * config/tc-sh.c (sh_elf_cons) [HAVE_SH64]: Unset seen_insn and call sh64_flag_output. (md_assemble) [HAVE_SH64]: Do not emit BFD_RELOC_SH_CODE. Just call sh64_set_contents_type to mark SHcompact code and set seen_insn. (md_longopts): New options "-no-mix" and "-shcompact-const-crange". (md_parse_option): Handle new options. (md_show_usage): Add blurb for new options. (md_number_to_chars) [HAVE_SH64]: Call sh64_flag_output. 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.c: Delete investigated and obsolete fixme:s. (sh64_last_insn_frag): New. (shmedia_md_convert_frag): Use tc_frag_data field of incoming frag to get frag for insn opcode for generating fixups; do not assume it is the same frag. (shmedia_build_Mytes): Set sh64_last_insn_frag after growing frag for new insn. * config/tc-sh64.h (ELF_TC_SPECIAL_SECTIONS): Define for .cranges section. (TC_FRAG_TYPE): Define as fragS *. (TC_FRAG_INIT): Define to set tc_frag_data to sh64_last_insn_frag. (sh64_last_insn_frag): Declare. (sh64_consume_datalabel): Fix typo; check for seginfo != NULL, not == NULL before dereferencing. 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com> Get rid of BFD section flag and EF_SH64_ABI64. * config/tc-sh64.c (shmedia_frob_section_type): Use elf_section_data (sec)->tdata, not a specific BFD section flag, to communicate the section as containing SHmedia code. Describe why. * config/tc-sh.c (sh_elf_final_processing): Tweak comment. Set EF_SH64 regardless of ABI. * config/tc-sh64.c (shmedia_md_apply_fix): Decapitalize "invalid" in error message. Handle resolved expressions for BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2, BFD_RELOC_SH_IMMS10BY4 and BFD_RELOC_64. (shmedia_check_limits): Handle BFD_RELOC_64. (sh64_adjust_symtab): Do not decrement the GAS symbol value for a STO_SH5_ISA32 symbol, only the BFD value. 2000-12-11 Ben Elliston <bje@redhat.com> * config/tc-sh64.c: Call dwarf2_emit_insn, not the defunct dwarf2_generate_asm_lineno. 2000-12-11 Hans-Peter Nilsson <hpn@cygnus.com> Handle PC-relative MOVI expansions with assembler relaxation. Generate PC-relative relocs from 16-bit PC-relative expressions. * config/tc-sh64.c (SHMEDIA_MD_PCREL_FROM_FIX): Break out from... (shmedia_md_pcrel_from_section): ...here. (shmedia_md_apply_fix): Handle fixups for 16-bit operands that has turned completely resolved. Adjust relocation type for 16-bit immediate operands that has turned PC-relative. Adjust back for MD_PCREL_FROM_SECTION being applied twice. (shmedia_md_convert_frag): Always emit reloc for expression with global or weak symbol. Handle relaxation result for PC-relative expressions. (shmedia_md_estimate_size_before_relax): An expression with a weak or global symbol can not be relaxed. Break out tests for relaxable symbol into variable sym_relaxable. <cases C (MOVI_IMM_64, UNDEF_MOVI) and C (MOVI_IMM_32, UNDEF_MOVI)>: Break out any PC-relative expression and change relaxation type. (shmedia_build_Mytes): CSE &operands->operands[j] into variable opjp. <case A_IMMS16>: Fix typo for initial minor relaxation type of MOVI expansion. If X_op_symbol of the immediate expression is set, make an expression symbol for the argument to frag_var. * config/tc-sh.c (MOVI_IMM_32_PCREL, MOVI_IMM_64_PCREL): New relaxations. (END): Adjust for new relaxations. (md_relax_table): Add entries for new relaxations. 2000-12-07 Ben Elliston <bje@redhat.com> * config/tc-sh64.c (shmedia_parse_reg): Initialize variable len. 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.c (shmedia_md_convert_frag): Correct all MOVI and SHORI operand offsets in PT/PTA/PTB expansions. 2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com> Implement DataLabel semantics. * config/tc-sh.c (sh_frob_file) [HAVE_SH64]: Call shmedia_frob_file_before_adjust. * config/tc-sh64.c [! OBJ_ELF]: Emit #error. (DATALABEL_SUFFIX): Define. (shmedia_md_end) <before adjusting STO_SH5_ISA32 symbols>: Walk symbol list to update "datalabel" symbols to their main symbol counterparts. (shmedia_frob_file_before_adjust): New. (sh64_adjust_symtab): For remaining datalabel symbols, set to undefined and set STT_DATALABEL. (sh64_frob_label): Initialize TC symbol field. (sh64_consume_datalabel): Actually implement semantics. New parameter operandf, call it instead of expression. (sh64_exclude_symbol): New. * config/tc-sh64.h (md_parse_name): Pass on the function operand to sh64_consume_datalabel. (tc_symbol_new_hook): Define to tc_frob_symbol. (TC_SYMFIELD_TYPE): Define to symbolS *. (tc_frob_symbol): Define to call sh64_exclude_symbol. 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.c (shmedia_init_reloc): Tweak comment for default case. (shmedia_md_assemble): Call dwarf2_generate_asm_lineno if generating dwarf2 debug information. 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.c (sh64_target_format): Use elf64-sh64l and elf64-sh64 for the 64-bit ABI. * config/tc-sh.c (md_show_usage): Tweak usage output for -abi=* option. 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh.c: Remove conditionalizing on HAVE_SH64 for case-insensitivity. 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.c: Tweak comments, formatting and error messages. (enum sh64_abi_values): New type. (enum sh64_isa_values): New type. (sh64_isa_mode): Replace shmedia_mode. All referers changed. (seen_shcompact_mode, seen_shmedia_mode): Delete. (sh64_abi): Replace shmedia_64. (shmedia_md_convert_frag) <C (MOVI_IMM_64, MOVI_64), C (MOVI_IMM_32, MOVI_32)>: Correct register number handling. (s_sh64_mode): Check validity for this target. (sh64_target_format): Initialize defaults for ISA and ABI. Fallback to old object format if no SH64 ISA or ABI has been specified. * config/tc-sh.c (md_parse_option): Check combinations for errors. (sh_elf_final_processing): Change to have EF_SH64_ABI64 for 64-bit ABI and EF_SH64 for 32-bit ABI, if SH64 options are specified. * config/tc-sh64.h: Fix typo in comment. 2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.c (shmedia_md_estimate_size_before_relax) <PT fixups for absolute values>: Size will be longest, not shortest. (shmedia_md_convert_frag): Disable PTB-warning machinery. Correct all MOVI and SHORI operand offsets in PT/PTA/PTB expansions. * config/tc-sh.c (parse_reg) [HAVE_SH64]: Add local variables l0 and l1 to hold lowercase of two first characters. Change all remaining TO_LOWER to tolower. * config/tc-sh64.c (TO_LOWER): Delete. (shmedia_find_cooked_opcode): Use tolower, not TO_LOWER. (md_parse_name): Define. (sh64_consume_datalabel): Declare. (DOLLAR_DOT): Define. * config/tc-sh64.c (shmedia_parse_exp): New. (sh64_consume_datalabel): New; just ignoring datalabel semantics. (shmedia_parse_reg): Remove const from src parameter. (shmedia_get_operands): Ditto for args parameter and ptr variable. (shmedia_md_assemble): Ditto for op_end variable. (shmedia_get_operand): Ditto for ptr parameter and src variable. Use shmedia_parse_exp, not parse_exp. * config/tc-sh64.c (shmedia_parse_reg): Add shmedia_arg_type parameter. All callers changed. (shmedia_get_operand): Add shmedia_arg_type parameter. All callers changed. (shmedia_parse_reg): Put first two character in local variables. Use tolower, not TO_LOWER. If no register is found and argtype indicates a control register, scan shmedia_creg_table case-insensitive. 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com> * Makefile.am (CPU_TYPES): Add sh64. (TARGET_CPU_CFILES): Add config/tc-sh64.c. (TARGET_CPU_HFILES): Add config/tc-sh64.h. Regenerate dependencies. * Makefile.in: Regenerate. * configure.in: Add support for sh64-*-elf*. * configure: Regenerate. * config/tc-sh64.h: New. * config/tc-sh64.c: New. * config/tc-sh.c (md_pseudo_table) [HAVE_SH64]: New pseudos .mode, .isa and .uaquad. [HAVE_SH64] (SH64PCREL16_32, SH64PCREL16_64, SH64PCREL16PT_32, SH64PCREL16PT_64, MOVI_IMM_32, MOVI_IMM_64): Define. [HAVE_SH64] (END): Define as 10. [HAVE_SH64] (UNDEF_SH64PCREL, SH64PCREL16, SH64PCREL32, SH64PCREL48, SH64PCREL64, UNDEF_MOVI, MOVI_16, MOVI_32, MOVI_48, MOVI_64): Define. [HAVE_SH64] (SH64PCREL16_F, SH64PCREL16_M, SH64PCREL16_LENGTH, SH64PCREL32_F, SH64PCREL32_M, SH64PCREL32_LENGTH, SH64PCREL48_F, SH64PCREL48_M, SH64PCREL48_LENGTH, SH64PCREL64_LENGTH, MOVI_16_LENGTH, MOVI_32_LENGTH, MOVI_48_LENGTH, MOVI_64_LENGTH): Define. (md_relax_table) [HAVE_SH64]: Provide relaxations for SHmedia. (md_begin) [HAVE_SH64]: Call shmedia_md_begin. (parse_reg) [HAVE_SH64]: Parse register names case-insensitive. (md_assemble) [HAVE_SH64]: Call shmedia_md_assemble if assembling SHmedia instructions. Handle state-change after switching to SHcompact. (md_longopts) [HAVE_SH64]: New options --isa=* and --abi=*. (md_parse_option) [HAVE_SH64]: Parse new options. (md_show_usage) [HAVE_SH64]: Show usage of new options. (md_convert_frag) [HAVE_SH64] <default>: Call shmedia_md_convert_frag instead of abort. (sh_force_relocation) [HAVE_SH64]: Also force relocation for BFD_RELOC_SH_SHMEDIA_CODE. (sh_elf_final_processing) [HAVE_SH64]: Set flags identifying SHcompact or SHmedia code. (md_apply_fix) [HAVE_SH64] <default>: Return result from calling shmedia_md_apply_fix instead of abort. (md_estimate_size_before_relax) [HAVE_SH64] <default>: Return result from calling shmedia_md_estimate_size_before_relax instead of calling abort. (sh_do_align) [HAVE_SH64]: If shmedia_mode, let shmedia_do_align do the work. (tc_gen_reloc) [HAVE_SH64]: For unrecognized relocs, call shmedia_init_reloc and do nothing more if it returns non-zero. (sh_finalize) [HAVE_SH64]: Call shmedia_md_end. * po/POTFILES.in: Regenerate. * po/gas.pot: Regenerate.
2001-04-24z8k fixesNick Clifton1-18/+0
2000-12-01Update RTEMS targetsNick Clifton1-0/+18
2000-09-06Regenerate files using fixed aclocal install.Nick Clifton1-345/+0
2000-09-02Increase minor version number (to 2.10.91) to help tools detect the newNick Clifton1-0/+345
ability to support removal of duplciate DWARF@ debug information.
2000-08-31* acinclude.m4: Include libtool and gettext macros from theAlexandre Oliva1-749/+16
top level. * aclocal.m4, configure: Rebuilt.
2000-07-31Add --pcrel option to m68k portNick Clifton1-8/+3
2000-07-20 * configure.in: Add CRIS support.Hans-Peter Nilsson1-3/+8
* configure: Regenerate. * Makefile.am: (CPU_TYPES): Add cris. (CPU_OBJ_VALID) [aout]: Add cris. (MULTI_CPU_TYPES): Add cris. (MULTI_CPU_OBJ_VALID) [aout]: Add cris. [coff]: Only i386 and mips are valid. (TARGET_CPU_CFILES): Add config/tc-cris.c. (TARGET_CPU_HFILES): Add config/tc-cris.h. (MULTI_CFILES): Add config/e-crisaout.c and config/e-criself.c. Regenerate dependencies. * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * as.c: Declare crisaout, criself. * config/tc-cris.h, config/tc-cris.c: New. * config/e-criself.c, config/e-crisaout.c: New. * po/POTFILES.in, po/gas.pot: Regenerate.
2000-06-25Fix spelling typos.Nick Clifton1-8/+3
Remove use of DEFUN().
2000-02-27rebuild with current toolsIan Lance Taylor1-273/+78
1999-05-271999-05-28 Martin Dorey <mdorey@madge.com>Ian Lance Taylor1-59/+412
* config/tc-i960.c: Several minor changes to add ELF and BFD_ASSEMBLER support. * config/tc-i960.h: Likewise. * configure.in (i960-*-elf*): New target. * aclocal.m4, configure: Rebuild.