From 772b37839ea859f0bafd7078d2d779364dfe61e6 Mon Sep 17 00:00:00 2001 From: Ethan Roseman Date: Sun, 20 Sep 2020 20:52:02 -0400 Subject: [PATCH] Initial commit of GNU Binutils 2.9.1 --- COPYING | 340 + COPYING.LIB | 481 + Makefile.in | 1653 ++ README | 47 + bfd/COPYING | 340 + bfd/ChangeLog | 9245 ++++++++++++ bfd/ChangeLog.1 | 6951 +++++++++ bfd/ChangeLog.2 | 8837 +++++++++++ bfd/Makefile.am | 977 ++ bfd/Makefile.in | 1438 ++ bfd/PORTING | 83 + bfd/README | 46 + bfd/TODO | 25 + bfd/acconfig.h | 34 + bfd/acinclude.m4 | 67 + bfd/aclocal.m4 | 526 + bfd/aix386-core.c | 287 + bfd/aout-adobe.c | 526 + bfd/aout-arm.c | 546 + bfd/aout-encap.c | 236 + bfd/aout-ns32k.c | 370 + bfd/aout-sparcle.c | 32 + bfd/aout-target.h | 647 + bfd/aout-tic30.c | 1062 ++ bfd/aout0.c | 32 + bfd/aout32.c | 23 + bfd/aout64.c | 31 + bfd/aoutf1.h | 851 ++ bfd/aoutx.h | 5668 +++++++ bfd/archive.c | 2113 +++ bfd/archures.c | 871 ++ bfd/bfd-in.h | 697 + bfd/bfd-in2.h | 2796 ++++ bfd/bfd.c | 1155 ++ bfd/binary.c | 363 + bfd/bout.c | 1533 ++ bfd/cache.c | 350 + bfd/cf-i386lynx.c | 31 + bfd/cf-m68klynx.c | 28 + bfd/cf-sparclynx.c | 28 + bfd/cisco-core.c | 327 + bfd/coff-a29k.c | 640 + bfd/coff-alpha.c | 2401 +++ bfd/coff-apollo.c | 161 + bfd/coff-arm.c | 2296 +++ bfd/coff-aux.c | 135 + bfd/coff-go32.c | 25 + bfd/coff-h8300.c | 1383 ++ bfd/coff-h8500.c | 354 + bfd/coff-i386.c | 637 + bfd/coff-i860.c | 422 + bfd/coff-i960.c | 703 + bfd/coff-m68k.c | 480 + bfd/coff-m88k.c | 326 + bfd/coff-mips.c | 2716 ++++ bfd/coff-pmac.c | 27 + bfd/coff-ppc.c | 2933 ++++ bfd/coff-rs6000.c | 1417 ++ bfd/coff-sh.c | 2944 ++++ bfd/coff-sparc.c | 256 + bfd/coff-stgo32.c | 464 + bfd/coff-svm68k.c | 26 + bfd/coff-tic30.c | 206 + bfd/coff-u68k.c | 35 + bfd/coff-w65.c | 445 + bfd/coff-we32k.c | 109 + bfd/coff-z8k.c | 280 + bfd/coffcode.h | 4243 ++++++ bfd/coffgen.c | 2306 +++ bfd/cofflink.c | 2735 ++++ bfd/coffswap.h | 902 ++ bfd/config.bfd | 617 + bfd/config.in | 91 + bfd/configure | 3641 +++++ bfd/configure.bat | 18 + bfd/configure.com | 142 + bfd/configure.host | 69 + bfd/configure.in | 602 + bfd/corefile.c | 106 + bfd/cpu-a29k.c | 39 + bfd/cpu-alpha.c | 38 + bfd/cpu-arc.c | 70 + bfd/cpu-arm.c | 134 + bfd/cpu-d10v.c | 40 + bfd/cpu-h8300.c | 134 + bfd/cpu-h8500.c | 199 + bfd/cpu-hppa.c | 54 + bfd/cpu-i386.c | 54 + bfd/cpu-i860.c | 40 + bfd/cpu-i960.c | 162 + bfd/cpu-m10200.c | 38 + bfd/cpu-m10300.c | 38 + bfd/cpu-m32r.c | 32 + bfd/cpu-m68k.c | 41 + bfd/cpu-m88k.c | 42 + bfd/cpu-mips.c | 86 + bfd/cpu-ns32k.c | 846 ++ bfd/cpu-powerpc.c | 124 + bfd/cpu-rs6000.c | 70 + bfd/cpu-sh.c | 117 + bfd/cpu-sparc.c | 142 + bfd/cpu-tic30.c | 39 + bfd/cpu-v850.c | 94 + bfd/cpu-vax.c | 39 + bfd/cpu-w65.c | 54 + bfd/cpu-we32k.c | 39 + bfd/cpu-z8k.c | 198 + bfd/demo64.c | 24 + bfd/dep-in.sed | 26 + bfd/doc/ChangeLog | 365 + bfd/doc/Makefile.am | 248 + bfd/doc/Makefile.in | 535 + bfd/doc/aoutx.texi | 211 + bfd/doc/archive.texi | 95 + bfd/doc/archures.texi | 354 + bfd/doc/bfd.info | 95 + bfd/doc/bfd.info-1 | 1011 ++ bfd/doc/bfd.info-2 | 1113 ++ bfd/doc/bfd.info-3 | 1029 ++ bfd/doc/bfd.info-4 | 1248 ++ bfd/doc/bfd.info-5 | 663 + bfd/doc/bfd.info-6 | 1040 ++ bfd/doc/bfd.texinfo | 348 + bfd/doc/bfdsumm.texi | 148 + bfd/doc/bfdt.texi | 597 + bfd/doc/cache.texi | 95 + bfd/doc/chew.c | 1579 ++ bfd/doc/coffcode.texi | 639 + bfd/doc/core.texi | 38 + bfd/doc/doc.str | 158 + bfd/doc/elf.texi | 22 + bfd/doc/elfcode.texi | 0 bfd/doc/format.texi | 108 + bfd/doc/hash.texi | 245 + bfd/doc/init.texi | 13 + bfd/doc/libbfd.texi | 142 + bfd/doc/linker.texi | 365 + bfd/doc/makefile.vms | 5 + bfd/doc/opncls.texi | 128 + bfd/doc/proto.str | 135 + bfd/doc/reloc.texi | 998 ++ bfd/doc/section.texi | 650 + bfd/doc/syms.texi | 408 + bfd/doc/targets.texi | 478 + bfd/dwarf2.c | 1457 ++ bfd/ecoff.c | 4825 ++++++ bfd/ecofflink.c | 2499 ++++ bfd/ecoffswap.h | 853 ++ bfd/elf-bfd.h | 1012 ++ bfd/elf-m10200.c | 1525 ++ bfd/elf-m10300.c | 2474 +++ bfd/elf.c | 4340 ++++++ bfd/elf32-arc.c | 213 + bfd/elf32-d10v.c | 223 + bfd/elf32-gen.c | 37 + bfd/elf32-hppa.c | 2988 ++++ bfd/elf32-hppa.h | 152 + bfd/elf32-i386.c | 1851 +++ bfd/elf32-i860.c | 33 + bfd/elf32-m32r.c | 1912 +++ bfd/elf32-m68k.c | 1915 +++ bfd/elf32-m88k.c | 35 + bfd/elf32-mips.c | 7419 +++++++++ bfd/elf32-ppc.c | 3392 +++++ bfd/elf32-sh.c | 1909 +++ bfd/elf32-sparc.c | 1863 +++ bfd/elf32-v850.c | 1785 +++ bfd/elf32.c | 23 + bfd/elf64-alpha.c | 4052 +++++ bfd/elf64-gen.c | 37 + bfd/elf64-mips.c | 2172 +++ bfd/elf64-sparc.c | 2263 +++ bfd/elf64.c | 22 + bfd/elfcode.h | 1440 ++ bfd/elfcore.h | 551 + bfd/elflink.c | 434 + bfd/elflink.h | 5293 +++++++ bfd/elfxx-target.h | 503 + bfd/evax-alpha.c | 1784 +++ bfd/evax-egsd.c | 597 + bfd/evax-emh.c | 374 + bfd/evax-etir.c | 1509 ++ bfd/evax-misc.c | 1045 ++ bfd/evax.h | 383 + bfd/filemode.c | 194 + bfd/format.c | 319 + bfd/freebsd.h | 110 + bfd/gen-aout.c | 101 + bfd/genlink.h | 111 + bfd/go32stub.h | 128 + bfd/hash.c | 734 + bfd/host-aout.c | 83 + bfd/hosts/alphalinux.h | 6 + bfd/hosts/alphavms.h | 69 + bfd/hosts/decstation.h | 17 + bfd/hosts/delta68.h | 18 + bfd/hosts/dpx2.h | 8 + bfd/hosts/hp300bsd.h | 13 + bfd/hosts/i386bsd.h | 32 + bfd/hosts/i386linux.h | 8 + bfd/hosts/i386mach3.h | 25 + bfd/hosts/i386sco.h | 19 + bfd/hosts/i860mach3.h | 27 + bfd/hosts/m68kaux.h | 16 + bfd/hosts/m68klinux.h | 6 + bfd/hosts/m88kmach3.h | 11 + bfd/hosts/mipsbsd.h | 12 + bfd/hosts/mipsmach3.h | 10 + bfd/hosts/news-mips.h | 12 + bfd/hosts/news.h | 9 + bfd/hosts/pc532mach.h | 24 + bfd/hosts/riscos.h | 10 + bfd/hosts/symmetry.h | 20 + bfd/hosts/tahoe.h | 12 + bfd/hosts/vaxbsd.h | 19 + bfd/hosts/vaxult.h | 8 + bfd/hosts/vaxult2.h | 8 + bfd/hp300bsd.c | 38 + bfd/hp300hpux.c | 870 ++ bfd/hppa_stubs.h | 23 + bfd/hppabsd-core.c | 306 + bfd/hpux-core.c | 273 + bfd/i386aout.c | 91 + bfd/i386bsd.c | 46 + bfd/i386dynix.c | 80 + bfd/i386freebsd.c | 33 + bfd/i386linux.c | 767 + bfd/i386lynx.c | 562 + bfd/i386mach3.c | 66 + bfd/i386msdos.c | 243 + bfd/i386netbsd.c | 33 + bfd/i386os9k.c | 370 + bfd/ieee.c | 3832 +++++ bfd/ihex.c | 1040 ++ bfd/init.c | 50 + bfd/irix-core.c | 276 + bfd/libaout.h | 622 + bfd/libbfd-in.h | 529 + bfd/libbfd.c | 1202 ++ bfd/libbfd.h | 832 ++ bfd/libcoff-in.h | 529 + bfd/libcoff.h | 887 ++ bfd/libecoff.h | 357 + bfd/libhppa.h | 597 + bfd/libieee.h | 133 + bfd/libnlm.h | 264 + bfd/liboasys.h | 82 + bfd/linker.c | 2797 ++++ bfd/lynx-core.c | 233 + bfd/m68k4knetbsd.c | 32 + bfd/m68klinux.c | 772 + bfd/m68klynx.c | 54 + bfd/m68knetbsd.c | 34 + bfd/m88kmach3.c | 38 + bfd/makefile.dos | 49 + bfd/makefile.vms | 57 + bfd/mipsbsd.c | 468 + bfd/mpw-config.in | 86 + bfd/mpw-make.sed | 81 + bfd/netbsd-core.c | 254 + bfd/netbsd.h | 122 + bfd/newsos3.c | 40 + bfd/nlm-target.h | 228 + bfd/nlm.c | 55 + bfd/nlm32-alpha.c | 892 ++ bfd/nlm32-i386.c | 451 + bfd/nlm32-ppc.c | 1045 ++ bfd/nlm32-sparc.c | 440 + bfd/nlm32.c | 21 + bfd/nlm64.c | 21 + bfd/nlmcode.h | 2057 +++ bfd/nlmswap.h | 157 + bfd/ns32k.h | 41 + bfd/ns32knetbsd.c | 53 + bfd/oasys.c | 1534 ++ bfd/opncls.c | 580 + bfd/osf-core.c | 256 + bfd/pc532-mach.c | 121 + bfd/pe-arm.c | 32 + bfd/pe-i386.c | 31 + bfd/pe-ppc.c | 40 + bfd/pei-arm.c | 34 + bfd/pei-i386.c | 35 + bfd/pei-ppc.c | 46 + bfd/peicode.h | 2127 +++ bfd/ppcboot.c | 534 + bfd/ptrace-core.c | 234 + bfd/reloc.c | 2621 ++++ bfd/reloc16.c | 334 + bfd/riscix.c | 644 + bfd/rs6000-core.c | 506 + bfd/section.c | 1022 ++ bfd/som.c | 6032 ++++++++ bfd/som.h | 227 + bfd/sparclinux.c | 770 + bfd/sparclynx.c | 266 + bfd/sparcnetbsd.c | 34 + bfd/srec.c | 1388 ++ bfd/stab-syms.c | 57 + bfd/stabs.c | 645 + bfd/stamp-h.in | 1 + bfd/sunos.c | 2918 ++++ bfd/syms.c | 1199 ++ bfd/sysdep.h | 125 + bfd/targets.c | 1034 ++ bfd/targmatch.sed | 32 + bfd/tekhex.c | 1064 ++ bfd/trad-core.c | 317 + bfd/vaxnetbsd.c | 33 + bfd/versados.c | 922 ++ bfd/xcofflink.c | 6635 +++++++++ binutils/ChangeLog | 5429 +++++++ binutils/Makefile.am | 449 + binutils/Makefile.in | 1191 ++ binutils/NEWS | 145 + binutils/README | 134 + binutils/acconfig.h | 34 + binutils/acinclude.m4 | 1 + binutils/aclocal.m4 | 460 + binutils/addr2line.1 | 127 + binutils/addr2line.c | 324 + binutils/ar.1 | 509 + binutils/ar.c | 1317 ++ binutils/arlex.c | 1803 +++ binutils/arlex.l | 83 + binutils/arparse.c | 1021 ++ binutils/arparse.h | 26 + binutils/arparse.y | 201 + binutils/arsup.c | 456 + binutils/arsup.h | 75 + binutils/binutils.info | 57 + binutils/binutils.info-1 | 1374 ++ binutils/binutils.info-2 | 891 ++ binutils/binutils.texi | 2474 +++ binutils/bucomm.c | 243 + binutils/bucomm.h | 148 + binutils/budbg.h | 58 + binutils/coffdump.c | 544 + binutils/coffgrok.c | 737 + binutils/coffgrok.h | 206 + binutils/config.in | 86 + binutils/config.texi | 1 + binutils/configure | 3107 ++++ binutils/configure.bat | 63 + binutils/configure.com | 78 + binutils/configure.in | 202 + binutils/cxxfilt.man | 114 + binutils/debug.c | 3506 +++++ binutils/debug.h | 798 + binutils/deflex.c | 1748 +++ binutils/deflex.l | 86 + binutils/defparse.c | 1056 ++ binutils/defparse.h | 27 + binutils/defparse.y | 144 + binutils/dep-in.sed | 17 + binutils/dlltool.c | 2440 +++ binutils/dlltool.h | 41 + binutils/filemode.c | 266 + binutils/ieee.c | 7602 ++++++++++ binutils/is-ranlib.c | 3 + binutils/is-strip.c | 4 + binutils/mac-binutils.r | 42 + binutils/makefile.vms | 93 + binutils/maybe-ranlib.c | 4 + binutils/maybe-strip.c | 4 + binutils/mpw-config.in | 27 + binutils/mpw-make.sed | 115 + binutils/nlmconv.1 | 110 + binutils/nlmconv.c | 2206 +++ binutils/nlmconv.h | 84 + binutils/nlmheader.c | 1923 +++ binutils/nlmheader.h | 43 + binutils/nlmheader.y | 978 ++ binutils/nm.1 | 230 + binutils/nm.c | 1551 ++ binutils/not-ranlib.c | 3 + binutils/not-strip.c | 4 + binutils/objcopy.1 | 301 + binutils/objcopy.c | 2182 +++ binutils/objdump.1 | 402 + binutils/objdump.c | 2778 ++++ binutils/prdbg.c | 1862 +++ binutils/ranlib.1 | 83 + binutils/ranlib.sh | 3 + binutils/rclex.c | 2526 ++++ binutils/rclex.l | 465 + binutils/rcparse.c | 2993 ++++ binutils/rcparse.h | 124 + binutils/rcparse.y | 1589 ++ binutils/rdcoff.c | 889 ++ binutils/rddbg.c | 448 + binutils/resbin.c | 2376 +++ binutils/rescoff.c | 776 + binutils/resrc.c | 2260 +++ binutils/sanity.sh | 50 + binutils/size.1 | 161 + binutils/size.c | 508 + binutils/srconv.c | 2040 +++ binutils/stabs.c | 5082 +++++++ binutils/stamp-h.in | 1 + binutils/strings.1 | 151 + binutils/strings.c | 508 + binutils/strip.1 | 185 + binutils/sysdump.c | 794 + binutils/sysinfo.c | 1241 ++ binutils/sysinfo.h | 13 + binutils/sysinfo.y | 415 + binutils/syslex.c | 1651 ++ binutils/syslex.l | 51 + binutils/sysroff.info | 504 + binutils/testsuite/ChangeLog | 515 + binutils/testsuite/binutils-all/ar.exp | 219 + binutils/testsuite/binutils-all/bintest.s | 12 + .../testsuite/binutils-all/hppa/addendbug.s | 23 + .../testsuite/binutils-all/hppa/objdump.exp | 59 + binutils/testsuite/binutils-all/nm.exp | 123 + binutils/testsuite/binutils-all/objcopy.exp | 484 + binutils/testsuite/binutils-all/objdump.exp | 140 + binutils/testsuite/binutils-all/size.exp | 78 + binutils/testsuite/binutils-all/testprog.c | 28 + binutils/testsuite/config/default.exp | 81 + binutils/testsuite/config/hppa.sed | 4 + binutils/testsuite/lib/utils-lib.exp | 161 + binutils/version.c | 43 + binutils/windres.c | 1060 ++ binutils/windres.h | 865 ++ binutils/wrstabs.c | 2416 +++ config-ml.in | 613 + config.guess | 937 ++ config.sub | 1228 ++ config/ChangeLog | 320 + config/mh-a68bsd | 12 + config/mh-aix386 | 1 + config/mh-apollo68 | 3 + config/mh-cxux | 14 + config/mh-cygwin32 | 9 + config/mh-decstation | 5 + config/mh-delta88 | 4 + config/mh-dgux | 4 + config/mh-dgux386 | 22 + config/mh-elfalphapic | 1 + config/mh-go32 | 4 + config/mh-hp300 | 13 + config/mh-hpux | 4 + config/mh-hpux8 | 4 + config/mh-irix4 | 7 + config/mh-irix5 | 3 + config/mh-irix6 | 7 + config/mh-lynxos | 2 + config/mh-lynxrs6k | 8 + config/mh-m68kpic | 1 + config/mh-mingw32 | 12 + config/mh-ncr3000 | 17 + config/mh-ncrsvr43 | 9 + config/mh-necv4 | 11 + config/mh-papic | 1 + config/mh-ppcpic | 1 + config/mh-riscos | 15 + config/mh-sco | 10 + config/mh-solaris | 6 + config/mh-sparcpic | 1 + config/mh-sun3 | 3 + config/mh-sysv | 3 + config/mh-sysv4 | 11 + config/mh-vaxult2 | 2 + config/mh-windows | 16 + config/mh-x86pic | 1 + config/mpw-mh-mpw | 157 + config/mpw/ChangeLog | 53 + config/mpw/MoveIfChange | 19 + config/mpw/README | 23 + config/mpw/forward-include | 3 + config/mpw/g-mpw-make.sed | 293 + config/mpw/mpw-touch | 7 + config/mpw/mpw-true | 1 + config/mpw/null-command | 1 + config/mpw/open-brace | 4 + config/mpw/tr-7to8-src | 9 + config/mpw/true | 1 + config/mt-elfalphapic | 1 + config/mt-linux | 2 + config/mt-m68kpic | 1 + config/mt-netware | 1 + config/mt-papic | 1 + config/mt-ppcpic | 1 + config/mt-sparcpic | 1 + config/mt-v810 | 4 + config/mt-x86pic | 1 + configure | 1499 ++ configure.bat | 17 + configure.in | 1033 ++ etc/Makefile.in | 88 + etc/configure | 862 ++ etc/configure.in | 7 + etc/make-stds.texi | 914 ++ etc/standards.info | 3832 +++++ etc/standards.texi | 3093 ++++ gas/CONTRIBUTORS | 104 + gas/COPYING | 340 + gas/ChangeLog | 7020 +++++++++ gas/ChangeLog.1 | 12409 ++++++++++++++++ gas/Makefile.am | 1549 ++ gas/Makefile.in | 2018 +++ gas/NEWS | 265 + gas/README | 272 + gas/README-vms | 248 + gas/acconfig.h | 79 + gas/acinclude.m4 | 58 + gas/aclocal.m4 | 517 + gas/app.c | 1178 ++ gas/as.c | 1000 ++ gas/as.h | 632 + gas/atof-generic.c | 636 + gas/bignum-copy.c | 80 + gas/bignum.h | 52 + gas/bit_fix.h | 51 + gas/cgen.c | 622 + gas/cond.c | 459 + gas/config-gas.com | 186 + gas/config.in | 145 + gas/config/aout_gnu.h | 455 + gas/config/atof-ieee.c | 696 + gas/config/atof-tahoe.c | 431 + gas/config/atof-vax.c | 517 + gas/config/e-i386coff.c | 17 + gas/config/e-i386elf.c | 17 + gas/config/e-mipsecoff.c | 37 + gas/config/e-mipself.c | 37 + gas/config/go32.cfg | 93 + gas/config/itbl-mips.h | 47 + gas/config/m68k-parse.h | 283 + gas/config/m68k-parse.y | 1061 ++ gas/config/m88k-opcode.h | 559 + gas/config/obj-aout.c | 629 + gas/config/obj-aout.h | 239 + gas/config/obj-bout.c | 348 + gas/config/obj-bout.h | 316 + gas/config/obj-coff.c | 4400 ++++++ gas/config/obj-coff.h | 816 + gas/config/obj-ecoff.c | 305 + gas/config/obj-ecoff.h | 70 + gas/config/obj-elf.c | 1642 ++ gas/config/obj-elf.h | 186 + gas/config/obj-evax.c | 83 + gas/config/obj-evax.h | 95 + gas/config/obj-generic.c | 41 + gas/config/obj-generic.h | 80 + gas/config/obj-hp300.c | 52 + gas/config/obj-hp300.h | 71 + gas/config/obj-ieee.c | 627 + gas/config/obj-ieee.h | 50 + gas/config/obj-multi.c | 4 + gas/config/obj-multi.h | 50 + gas/config/obj-som.c | 227 + gas/config/obj-som.h | 70 + gas/config/obj-vms.c | 5421 +++++++ gas/config/obj-vms.h | 552 + gas/config/tc-a29k.c | 1319 ++ gas/config/tc-a29k.h | 51 + gas/config/tc-alpha.c | 4532 ++++++ gas/config/tc-alpha.h | 92 + gas/config/tc-arc.c | 1481 ++ gas/config/tc-arc.h | 71 + gas/config/tc-arm.c | 6342 ++++++++ gas/config/tc-arm.h | 150 + gas/config/tc-d10v.c | 1513 ++ gas/config/tc-d10v.h | 57 + gas/config/tc-generic.c | 0 gas/config/tc-generic.h | 39 + gas/config/tc-h8300.c | 1606 ++ gas/config/tc-h8300.h | 50 + gas/config/tc-h8500.c | 1657 +++ gas/config/tc-h8500.h | 49 + gas/config/tc-hppa.c | 6570 ++++++++ gas/config/tc-hppa.h | 160 + gas/config/tc-i386.c | 3257 ++++ gas/config/tc-i386.h | 445 + gas/config/tc-i860.c | 1290 ++ gas/config/tc-i860.h | 22 + gas/config/tc-i960.c | 3257 ++++ gas/config/tc-i960.h | 169 + gas/config/tc-m32r.c | 1108 ++ gas/config/tc-m32r.h | 116 + gas/config/tc-m68851.h | 304 + gas/config/tc-m68k.c | 6930 +++++++++ gas/config/tc-m68k.h | 211 + gas/config/tc-m88k.c | 1452 ++ gas/config/tc-m88k.h | 108 + gas/config/tc-mips.c | 11455 ++++++++++++++ gas/config/tc-mips.h | 153 + gas/config/tc-mn10200.c | 1395 ++ gas/config/tc-mn10200.h | 51 + gas/config/tc-mn10300.c | 1545 ++ gas/config/tc-mn10300.h | 50 + gas/config/tc-ns32k.c | 2327 +++ gas/config/tc-ns32k.h | 155 + gas/config/tc-ppc.c | 4986 +++++++ gas/config/tc-ppc.h | 268 + gas/config/tc-sh.c | 2335 +++ gas/config/tc-sh.h | 141 + gas/config/tc-sparc.c | 3364 +++++ gas/config/tc-sparc.h | 149 + gas/config/tc-tahoe.c | 2027 +++ gas/config/tc-tahoe.h | 43 + gas/config/tc-tic30.c | 1909 +++ gas/config/tc-tic30.h | 53 + gas/config/tc-v850.c | 1902 +++ gas/config/tc-v850.h | 80 + gas/config/tc-vax.c | 3238 ++++ gas/config/tc-vax.h | 45 + gas/config/tc-w65.c | 1245 ++ gas/config/tc-w65.h | 53 + gas/config/tc-z8k.c | 1613 ++ gas/config/tc-z8k.h | 46 + gas/config/te-386bsd.h | 31 + gas/config/te-aux.h | 17 + gas/config/te-delt88.h | 13 + gas/config/te-delta.h | 14 + gas/config/te-dpx2.h | 12 + gas/config/te-dynix.h | 7 + gas/config/te-generic.h | 22 + gas/config/te-go32.h | 14 + gas/config/te-hp300.h | 25 + gas/config/te-hppa.h | 26 + gas/config/te-i386aix.h | 29 + gas/config/te-ic960.h | 38 + gas/config/te-linux.h | 4 + gas/config/te-lnews.h | 5 + gas/config/te-lynx.h | 7 + gas/config/te-mach.h | 2 + gas/config/te-macos.h | 11 + gas/config/te-multi.h | 22 + gas/config/te-nbsd.h | 23 + gas/config/te-nbsd532.h | 19 + gas/config/te-pc532mach.h | 19 + gas/config/te-pe.h | 7 + gas/config/te-ppcnw.h | 31 + gas/config/te-psos.h | 22 + gas/config/te-riscix.h | 6 + gas/config/te-sparcaout.h | 21 + gas/config/te-sun3.h | 48 + gas/config/te-svr4.h | 4 + gas/config/te-sysv32.h | 6 + gas/config/vax-inst.h | 77 + gas/config/vms-a-conf.h | 129 + gas/config/vms-conf.h | 179 + gas/configure | 3662 +++++ gas/configure.bat | 57 + gas/configure.in | 698 + gas/debug.c | 104 + gas/dep-in.sed | 44 + gas/depend.c | 208 + gas/doc/Makefile.am | 43 + gas/doc/Makefile.in | 350 + gas/doc/all.texi | 70 + gas/doc/as.1 | 302 + gas/doc/as.info | 311 + gas/doc/as.info-1 | 1345 ++ gas/doc/as.info-2 | 1368 ++ gas/doc/as.info-3 | 1589 ++ gas/doc/as.info-4 | 1273 ++ gas/doc/as.info-5 | 1270 ++ gas/doc/as.info-6 | 1051 ++ gas/doc/as.info-7 | 941 ++ gas/doc/as.texinfo | 5190 +++++++ gas/doc/c-a29k.texi | 182 + gas/doc/c-arm.texi | 147 + gas/doc/c-d10v.texi | 250 + gas/doc/c-h8300.texi | 342 + gas/doc/c-h8500.texi | 272 + gas/doc/c-hppa.texi | 263 + gas/doc/c-i386.texi | 456 + gas/doc/c-i960.texi | 298 + gas/doc/c-m32r.texi | 13 + gas/doc/c-m68k.texi | 503 + gas/doc/c-mips.texi | 229 + gas/doc/c-ns32k.texi | 30 + gas/doc/c-sh.texi | 272 + gas/doc/c-sparc.texi | 179 + gas/doc/c-v850.texi | 308 + gas/doc/c-vax.texi | 323 + gas/doc/c-z8k.texi | 380 + gas/doc/gasp.info | 1086 ++ gas/doc/gasp.texi | 1086 ++ gas/doc/h8.texi | 26 + gas/doc/internals.texi | 1547 ++ gas/ecoff.c | 5286 +++++++ gas/ecoff.h | 107 + gas/ehopt.c | 434 + gas/emul-target.h | 43 + gas/emul.h | 23 + gas/expr.c | 1805 +++ gas/expr.h | 160 + gas/flonum-copy.c | 73 + gas/flonum-konst.c | 209 + gas/flonum-mult.c | 200 + gas/flonum.h | 110 + gas/frags.c | 352 + gas/frags.h | 154 + gas/gasp.c | 3740 +++++ gas/gdbinit.in | 39 + gas/hash.c | 1028 ++ gas/hash.h | 45 + gas/input-file.c | 248 + gas/input-file.h | 68 + gas/input-scrub.c | 516 + gas/itbl-lex.c | 1662 +++ gas/itbl-lex.l | 114 + gas/itbl-ops.c | 921 ++ gas/itbl-ops.h | 109 + gas/itbl-parse.c | 1278 ++ gas/itbl-parse.h | 20 + gas/itbl-parse.y | 459 + gas/link.cmd | 10 + gas/listing.c | 1357 ++ gas/listing.h | 66 + gas/literal.c | 95 + gas/m68k-parse.c | 1998 +++ gas/mac-as.r | 42 + gas/macro.c | 1248 ++ gas/macro.h | 52 + gas/make-gas.com | 153 + gas/makefile.vms | 75 + gas/messages.c | 537 + gas/mpw-config.in | 115 + gas/mpw-make.sed | 100 + gas/obj.h | 79 + gas/output-file.c | 156 + gas/output-file.h | 25 + gas/read.c | 4898 ++++++ gas/read.h | 158 + gas/sb.c | 289 + gas/sb.h | 99 + gas/stabs.c | 514 + gas/stamp-h.in | 1 + gas/struc-symbol.h | 162 + gas/subsegs.c | 593 + gas/subsegs.h | 158 + gas/symbols.c | 1752 +++ gas/symbols.h | 90 + gas/tc.h | 112 + gas/testsuite/ChangeLog | 1840 +++ gas/testsuite/config/default.exp | 46 + gas/testsuite/gas/all/align.d | 12 + gas/testsuite/gas/all/align.s | 61 + gas/testsuite/gas/all/cofftag.d | 25 + gas/testsuite/gas/all/cofftag.s | 57 + gas/testsuite/gas/all/comment.s | 3 + gas/testsuite/gas/all/cond.d | 20 + gas/testsuite/gas/all/cond.s | 18 + gas/testsuite/gas/all/diff1.s | 5 + gas/testsuite/gas/all/float.s | 4 + gas/testsuite/gas/all/gas.exp | 142 + gas/testsuite/gas/all/itbl | 20 + gas/testsuite/gas/all/itbl-test.c | 129 + gas/testsuite/gas/all/itbl.s | 13 + gas/testsuite/gas/all/p1480.s | 3 + gas/testsuite/gas/all/p2425.s | 6 + gas/testsuite/gas/all/struct.d | 8 + gas/testsuite/gas/all/struct.s | 10 + gas/testsuite/gas/all/x930509.s | 3 + gas/testsuite/gas/alpha/fp.d | 7 + gas/testsuite/gas/alpha/fp.exp | 15 + gas/testsuite/gas/alpha/fp.s | 14 + gas/testsuite/gas/arc/alias.d | 68 + gas/testsuite/gas/arc/alias.s | 76 + gas/testsuite/gas/arc/arc.exp | 114 + gas/testsuite/gas/arc/branch.d | 45 + gas/testsuite/gas/arc/branch.s | 47 + gas/testsuite/gas/arc/flag.d | 29 + gas/testsuite/gas/arc/flag.s | 27 + gas/testsuite/gas/arc/insn3.d | 44 + gas/testsuite/gas/arc/insn3.s | 52 + gas/testsuite/gas/arc/j.d | 75 + gas/testsuite/gas/arc/j.s | 45 + gas/testsuite/gas/arc/ld.d | 30 + gas/testsuite/gas/arc/ld.s | 24 + gas/testsuite/gas/arc/math.d | 78 + gas/testsuite/gas/arc/math.s | 89 + gas/testsuite/gas/arc/sshift.d | 44 + gas/testsuite/gas/arc/sshift.s | 52 + gas/testsuite/gas/arc/st.d | 25 + gas/testsuite/gas/arc/st.s | 19 + gas/testsuite/gas/arc/warn.exp | 13 + gas/testsuite/gas/arc/warn.s | 14 + gas/testsuite/gas/arm/arch4t.s | 21 + gas/testsuite/gas/arm/arm.exp | 34 + gas/testsuite/gas/arm/arm3.s | 6 + gas/testsuite/gas/arm/arm6.s | 12 + gas/testsuite/gas/arm/arm7dm.s | 12 + gas/testsuite/gas/arm/arm7t.d | 68 + gas/testsuite/gas/arm/arm7t.s | 79 + gas/testsuite/gas/arm/copro.s | 24 + gas/testsuite/gas/arm/float.s | 162 + gas/testsuite/gas/arm/immed.s | 11 + gas/testsuite/gas/arm/inst.d | 168 + gas/testsuite/gas/arm/inst.s | 189 + gas/testsuite/gas/arm/le-fpconst.d | 8 + gas/testsuite/gas/arm/le-fpconst.s | 8 + gas/testsuite/gas/arm/thumb.s | 193 + gas/testsuite/gas/h8300/addsub.s | 16 + gas/testsuite/gas/h8300/addsubh.s | 25 + gas/testsuite/gas/h8300/addsubs.s | 25 + gas/testsuite/gas/h8300/bitops1.s | 18 + gas/testsuite/gas/h8300/bitops1h.s | 19 + gas/testsuite/gas/h8300/bitops1s.s | 29 + gas/testsuite/gas/h8300/bitops2.s | 15 + gas/testsuite/gas/h8300/bitops2h.s | 16 + gas/testsuite/gas/h8300/bitops2s.s | 23 + gas/testsuite/gas/h8300/bitops3.s | 15 + gas/testsuite/gas/h8300/bitops3h.s | 16 + gas/testsuite/gas/h8300/bitops3s.s | 24 + gas/testsuite/gas/h8300/bitops4.s | 18 + gas/testsuite/gas/h8300/bitops4h.s | 19 + gas/testsuite/gas/h8300/bitops4s.s | 29 + gas/testsuite/gas/h8300/branch.s | 10 + gas/testsuite/gas/h8300/branchh.s | 12 + gas/testsuite/gas/h8300/branchs.s | 12 + gas/testsuite/gas/h8300/cbranch.s | 23 + gas/testsuite/gas/h8300/cbranchh.s | 44 + gas/testsuite/gas/h8300/cbranchs.s | 44 + gas/testsuite/gas/h8300/cmpsi2.s | 28 + gas/testsuite/gas/h8300/compare.s | 6 + gas/testsuite/gas/h8300/compareh.s | 10 + gas/testsuite/gas/h8300/compares.s | 10 + gas/testsuite/gas/h8300/decimal.s | 5 + gas/testsuite/gas/h8300/decimalh.s | 6 + gas/testsuite/gas/h8300/decimals.s | 6 + gas/testsuite/gas/h8300/divmul.s | 5 + gas/testsuite/gas/h8300/divmulh.s | 12 + gas/testsuite/gas/h8300/divmuls.s | 12 + gas/testsuite/gas/h8300/extendh.s | 8 + gas/testsuite/gas/h8300/extends.s | 8 + gas/testsuite/gas/h8300/ffxx1.d | 23 + gas/testsuite/gas/h8300/ffxx1.s | 20 + gas/testsuite/gas/h8300/h8300.exp | 2183 +++ gas/testsuite/gas/h8300/incdec.s | 5 + gas/testsuite/gas/h8300/incdech.s | 14 + gas/testsuite/gas/h8300/incdecs.s | 14 + gas/testsuite/gas/h8300/logical.s | 14 + gas/testsuite/gas/h8300/logicalh.s | 31 + gas/testsuite/gas/h8300/logicals.s | 34 + gas/testsuite/gas/h8300/macs.s | 11 + gas/testsuite/gas/h8300/misc.s | 13 + gas/testsuite/gas/h8300/misch.s | 27 + gas/testsuite/gas/h8300/miscs.s | 41 + gas/testsuite/gas/h8300/mov32bug.s | 4 + gas/testsuite/gas/h8300/movb.s | 15 + gas/testsuite/gas/h8300/movbh.s | 20 + gas/testsuite/gas/h8300/movbs.s | 20 + gas/testsuite/gas/h8300/movlh.s | 18 + gas/testsuite/gas/h8300/movls.s | 18 + gas/testsuite/gas/h8300/movw.s | 13 + gas/testsuite/gas/h8300/movwh.s | 18 + gas/testsuite/gas/h8300/movws.s | 18 + gas/testsuite/gas/h8300/multiples.s | 10 + gas/testsuite/gas/h8300/pushpop.s | 5 + gas/testsuite/gas/h8300/pushpoph.s | 8 + gas/testsuite/gas/h8300/pushpops.s | 8 + gas/testsuite/gas/h8300/rotsh.s | 11 + gas/testsuite/gas/h8300/rotshh.s | 27 + gas/testsuite/gas/h8300/rotshs.s | 51 + gas/testsuite/gas/hppa/README | 34 + gas/testsuite/gas/hppa/basic/add.s | 100 + gas/testsuite/gas/hppa/basic/addi.s | 83 + gas/testsuite/gas/hppa/basic/basic.exp | 2259 +++ gas/testsuite/gas/hppa/basic/branch.s | 227 + gas/testsuite/gas/hppa/basic/comclr.s | 50 + gas/testsuite/gas/hppa/basic/copr.s | 19 + gas/testsuite/gas/hppa/basic/coprmem.s | 55 + gas/testsuite/gas/hppa/basic/dcor.s | 41 + gas/testsuite/gas/hppa/basic/deposit.s | 88 + gas/testsuite/gas/hppa/basic/ds.s | 32 + gas/testsuite/gas/hppa/basic/extract.s | 51 + gas/testsuite/gas/hppa/basic/fmem.s | 52 + gas/testsuite/gas/hppa/basic/fmemLRbug.s | 76 + gas/testsuite/gas/hppa/basic/fp_comp.s | 81 + gas/testsuite/gas/hppa/basic/fp_conv.s | 92 + gas/testsuite/gas/hppa/basic/fp_fcmp.s | 114 + gas/testsuite/gas/hppa/basic/fp_misc.s | 18 + gas/testsuite/gas/hppa/basic/imem.s | 93 + gas/testsuite/gas/hppa/basic/immed.s | 21 + gas/testsuite/gas/hppa/basic/logical.s | 60 + gas/testsuite/gas/hppa/basic/purge.s | 35 + gas/testsuite/gas/hppa/basic/sh1add.s | 67 + gas/testsuite/gas/hppa/basic/sh2add.s | 67 + gas/testsuite/gas/hppa/basic/sh3add.s | 67 + gas/testsuite/gas/hppa/basic/shift.s | 34 + gas/testsuite/gas/hppa/basic/special.s | 15 + gas/testsuite/gas/hppa/basic/spop.s | 34 + gas/testsuite/gas/hppa/basic/sub.s | 117 + gas/testsuite/gas/hppa/basic/subi.s | 49 + gas/testsuite/gas/hppa/basic/system.s | 46 + gas/testsuite/gas/hppa/basic/unit.s | 55 + gas/testsuite/gas/hppa/basic/weird.s | 870 ++ gas/testsuite/gas/hppa/parse/align1.s | 41 + gas/testsuite/gas/hppa/parse/align2.s | 15 + gas/testsuite/gas/hppa/parse/appbug.s | 1 + gas/testsuite/gas/hppa/parse/badfmpyadd.s | 33 + gas/testsuite/gas/hppa/parse/block1.s | 18 + gas/testsuite/gas/hppa/parse/block2.s | 15 + gas/testsuite/gas/hppa/parse/calldatabug.s | 189 + gas/testsuite/gas/hppa/parse/callinfobug.s | 8 + gas/testsuite/gas/hppa/parse/defbug.s | 18 + gas/testsuite/gas/hppa/parse/entrybug.s | 24 + gas/testsuite/gas/hppa/parse/exportbug.s | 14 + gas/testsuite/gas/hppa/parse/exprbug.s | 39 + gas/testsuite/gas/hppa/parse/fixup7bug.s | 6192 ++++++++ gas/testsuite/gas/hppa/parse/global.s | 15 + gas/testsuite/gas/hppa/parse/labelbug.s | 35 + gas/testsuite/gas/hppa/parse/linesepbug.s | 20 + gas/testsuite/gas/hppa/parse/lselbug.s | 18 + gas/testsuite/gas/hppa/parse/nosubspace.s | 21 + gas/testsuite/gas/hppa/parse/parse.exp | 222 + gas/testsuite/gas/hppa/parse/procbug.s | 16 + gas/testsuite/gas/hppa/parse/regpopbug.s | 17 + gas/testsuite/gas/hppa/parse/spacebug.s | 3 + gas/testsuite/gas/hppa/parse/ssbug.s | 10 + gas/testsuite/gas/hppa/parse/stdreg.s | 27 + gas/testsuite/gas/hppa/parse/stringer.s | 19 + gas/testsuite/gas/hppa/parse/undefbug.s | 14 + gas/testsuite/gas/hppa/parse/versionbug.s | 9 + gas/testsuite/gas/hppa/parse/xmpyubug.s | 17 + gas/testsuite/gas/hppa/reloc/applybug.s | 130 + gas/testsuite/gas/hppa/reloc/blebug.s | 16 + gas/testsuite/gas/hppa/reloc/blebug2.s | 14 + gas/testsuite/gas/hppa/reloc/blebug3.s | 14 + gas/testsuite/gas/hppa/reloc/exitbug.s | 19 + gas/testsuite/gas/hppa/reloc/fixupbug.s | 19 + gas/testsuite/gas/hppa/reloc/funcrelocbug.s | 186 + gas/testsuite/gas/hppa/reloc/labelopbug.s | 37 + gas/testsuite/gas/hppa/reloc/longcall.s | 40 + gas/testsuite/gas/hppa/reloc/picreloc.s | 13 + gas/testsuite/gas/hppa/reloc/plabelbug.s | 47 + gas/testsuite/gas/hppa/reloc/r_no_reloc.s | 45 + gas/testsuite/gas/hppa/reloc/reduce.s | 48 + gas/testsuite/gas/hppa/reloc/reduce2.s | 80 + gas/testsuite/gas/hppa/reloc/reduce3.s | 51 + gas/testsuite/gas/hppa/reloc/reloc.exp | 679 + gas/testsuite/gas/hppa/reloc/roundmode.s | 23 + gas/testsuite/gas/hppa/reloc/selectorbug.s | 28 + gas/testsuite/gas/hppa/unsorted/align3.s | 20 + gas/testsuite/gas/hppa/unsorted/align4.s | 4 + gas/testsuite/gas/hppa/unsorted/brlenbug.s | 3502 +++++ gas/testsuite/gas/hppa/unsorted/common.s | 8 + gas/testsuite/gas/hppa/unsorted/fragbug.s | 3 + gas/testsuite/gas/hppa/unsorted/globalbug.s | 16 + gas/testsuite/gas/hppa/unsorted/importbug.s | 42 + gas/testsuite/gas/hppa/unsorted/labeldiffs.s | 40 + gas/testsuite/gas/hppa/unsorted/locallabel.s | 15 + gas/testsuite/gas/hppa/unsorted/ss_align.s | 12 + gas/testsuite/gas/hppa/unsorted/unsorted.exp | 258 + gas/testsuite/gas/i386/all.exp | 12 + gas/testsuite/gas/i386/inout.s | 11 + gas/testsuite/gas/i386/pushw.l | 5 + gas/testsuite/gas/i386/pushw.s | 2 + gas/testsuite/gas/ieee-fp/x930509a.exp | 25 + gas/testsuite/gas/ieee-fp/x930509a.s | 5 + gas/testsuite/gas/m32r/allinsn.d | 374 + gas/testsuite/gas/m32r/allinsn.exp | 5 + gas/testsuite/gas/m32r/allinsn.s | 501 + gas/testsuite/gas/m32r/high-1.d | 19 + gas/testsuite/gas/m32r/high-1.s | 14 + gas/testsuite/gas/m32r/m32r.exp | 7 + gas/testsuite/gas/m32r/relax-1.d | 18 + gas/testsuite/gas/m32r/relax-1.s | 17 + gas/testsuite/gas/m32r/uppercase.d | 10 + gas/testsuite/gas/m32r/uppercase.s | 5 + gas/testsuite/gas/m68k-coff/gas.exp | 15 + gas/testsuite/gas/m68k-coff/p2389.s | 19 + gas/testsuite/gas/m68k-coff/p2389a.s | 3 + gas/testsuite/gas/m68k-coff/p2430.s | 6 + gas/testsuite/gas/m68k-coff/p2430a.s | 4 + gas/testsuite/gas/m68k-coff/t1.s | 36 + gas/testsuite/gas/m68k/all.exp | 39 + gas/testsuite/gas/m68k/bitfield.d | 28 + gas/testsuite/gas/m68k/bitfield.s | 24 + gas/testsuite/gas/m68k/cas.d | 20 + gas/testsuite/gas/m68k/cas.s | 16 + gas/testsuite/gas/m68k/disperr.s | 16 + gas/testsuite/gas/m68k/fmoveml.d | 60 + gas/testsuite/gas/m68k/fmoveml.s | 58 + gas/testsuite/gas/m68k/link.d | 17 + gas/testsuite/gas/m68k/link.s | 13 + gas/testsuite/gas/m68k/op68000.d | 195 + gas/testsuite/gas/m68k/operands.d | 242 + gas/testsuite/gas/m68k/operands.s | 273 + gas/testsuite/gas/m68k/p2410.s | 15 + gas/testsuite/gas/m68k/p2663.s | 16 + gas/testsuite/gas/m68k/pcrel.d | 88 + gas/testsuite/gas/m68k/pcrel.s | 59 + gas/testsuite/gas/m68k/pic1.s | 5 + gas/testsuite/gas/m68k/t2.d | 8 + gas/testsuite/gas/m68k/t2.s | 6 + gas/testsuite/gas/m88k/init.d | 11 + gas/testsuite/gas/m88k/init.s | 5 + gas/testsuite/gas/m88k/m88k.exp | 10 + gas/testsuite/gas/macros/err.s | 5 + gas/testsuite/gas/macros/irp.d | 13 + gas/testsuite/gas/macros/irp.s | 8 + gas/testsuite/gas/macros/macros.exp | 19 + gas/testsuite/gas/macros/rept.d | 10 + gas/testsuite/gas/macros/rept.s | 3 + gas/testsuite/gas/macros/semi.d | 8 + gas/testsuite/gas/macros/semi.s | 14 + gas/testsuite/gas/macros/test1.d | 5 + gas/testsuite/gas/macros/test1.s | 7 + gas/testsuite/gas/macros/test2.d | 10 + gas/testsuite/gas/macros/test2.s | 9 + gas/testsuite/gas/macros/test3.d | 8 + gas/testsuite/gas/macros/test3.s | 7 + gas/testsuite/gas/mips/abs.d | 15 + gas/testsuite/gas/mips/abs.s | 5 + gas/testsuite/gas/mips/add.d | 20 + gas/testsuite/gas/mips/add.s | 16 + gas/testsuite/gas/mips/and.d | 34 + gas/testsuite/gas/mips/and.s | 28 + gas/testsuite/gas/mips/beq.d | 40 + gas/testsuite/gas/mips/beq.s | 28 + gas/testsuite/gas/mips/bge.d | 53 + gas/testsuite/gas/mips/bge.s | 31 + gas/testsuite/gas/mips/bgeu.d | 47 + gas/testsuite/gas/mips/bgeu.s | 27 + gas/testsuite/gas/mips/blt.d | 53 + gas/testsuite/gas/mips/blt.s | 31 + gas/testsuite/gas/mips/bltu.d | 47 + gas/testsuite/gas/mips/bltu.s | 27 + gas/testsuite/gas/mips/delay.d | 20 + gas/testsuite/gas/mips/delay.s | 8 + gas/testsuite/gas/mips/div-ilocks.d | 110 + gas/testsuite/gas/mips/div.d | 124 + gas/testsuite/gas/mips/div.s | 41 + gas/testsuite/gas/mips/dli.d | 115 + gas/testsuite/gas/mips/dli.s | 67 + gas/testsuite/gas/mips/itbl | 19 + gas/testsuite/gas/mips/itbl.s | 18 + gas/testsuite/gas/mips/jal-empic.d | 26 + gas/testsuite/gas/mips/jal-svr4pic.d | 39 + gas/testsuite/gas/mips/jal-svr4pic.s | 20 + gas/testsuite/gas/mips/jal-xgot.d | 42 + gas/testsuite/gas/mips/jal.d | 24 + gas/testsuite/gas/mips/jal.s | 11 + gas/testsuite/gas/mips/la-empic.d | 105 + gas/testsuite/gas/mips/la-empic.s | 57 + gas/testsuite/gas/mips/la-svr4pic.d | 474 + gas/testsuite/gas/mips/la-xgot.d | 618 + gas/testsuite/gas/mips/la.d | 384 + gas/testsuite/gas/mips/la.s | 114 + gas/testsuite/gas/mips/lb-empic.d | 102 + gas/testsuite/gas/mips/lb-pic.s | 55 + gas/testsuite/gas/mips/lb-svr4pic.d | 182 + gas/testsuite/gas/mips/lb-xgot-ilocks.d | 214 + gas/testsuite/gas/mips/lb-xgot.d | 242 + gas/testsuite/gas/mips/lb.d | 395 + gas/testsuite/gas/mips/lb.s | 125 + gas/testsuite/gas/mips/ld-empic.d | 186 + gas/testsuite/gas/mips/ld-ilocks.d | 631 + gas/testsuite/gas/mips/ld-pic.s | 60 + gas/testsuite/gas/mips/ld-svr4pic.d | 225 + gas/testsuite/gas/mips/ld-xgot.d | 273 + gas/testsuite/gas/mips/ld.d | 638 + gas/testsuite/gas/mips/ld.s | 144 + gas/testsuite/gas/mips/li.d | 16 + gas/testsuite/gas/mips/li.s | 12 + gas/testsuite/gas/mips/lif-empic.d | 24 + gas/testsuite/gas/mips/lif-svr4pic.d | 30 + gas/testsuite/gas/mips/lif-xgot.d | 30 + gas/testsuite/gas/mips/lifloat.d | 23 + gas/testsuite/gas/mips/lifloat.s | 24 + gas/testsuite/gas/mips/mips.exp | 75 + gas/testsuite/gas/mips/mips16.d | 683 + gas/testsuite/gas/mips/mips16.s | 258 + gas/testsuite/gas/mips/mips4.d | 51 + gas/testsuite/gas/mips/mips4.s | 52 + gas/testsuite/gas/mips/mips4010.d | 23 + gas/testsuite/gas/mips/mips4010.s | 20 + gas/testsuite/gas/mips/mips4100.d | 15 + gas/testsuite/gas/mips/mips4100.s | 10 + gas/testsuite/gas/mips/mips4650.d | 14 + gas/testsuite/gas/mips/mips4650.s | 8 + gas/testsuite/gas/mips/mul-ilocks.d | 80 + gas/testsuite/gas/mips/mul.d | 91 + gas/testsuite/gas/mips/mul.s | 27 + gas/testsuite/gas/mips/nodelay.d | 19 + gas/testsuite/gas/mips/rol.d | 37 + gas/testsuite/gas/mips/rol.s | 12 + gas/testsuite/gas/mips/sb.d | 396 + gas/testsuite/gas/mips/sb.s | 124 + gas/testsuite/gas/mips/trunc.d | 29 + gas/testsuite/gas/mips/trunc.s | 6 + gas/testsuite/gas/mips/uld.d | 270 + gas/testsuite/gas/mips/uld.s | 66 + gas/testsuite/gas/mips/ulh-empic.d | 91 + gas/testsuite/gas/mips/ulh-pic.s | 36 + gas/testsuite/gas/mips/ulh-svr4pic.d | 124 + gas/testsuite/gas/mips/ulh-xgot.d | 154 + gas/testsuite/gas/mips/ulh.d | 374 + gas/testsuite/gas/mips/ulh.s | 69 + gas/testsuite/gas/mips/ulw.d | 270 + gas/testsuite/gas/mips/ulw.s | 66 + gas/testsuite/gas/mips/usd.d | 270 + gas/testsuite/gas/mips/usd.s | 66 + gas/testsuite/gas/mips/ush.d | 455 + gas/testsuite/gas/mips/ush.s | 65 + gas/testsuite/gas/mips/usw.d | 270 + gas/testsuite/gas/mips/usw.s | 66 + gas/testsuite/gas/mn10200/add.s | 13 + gas/testsuite/gas/mn10200/basic.exp | 836 ++ gas/testsuite/gas/mn10200/bcc.s | 17 + gas/testsuite/gas/mn10200/bccx.s | 16 + gas/testsuite/gas/mn10200/bit.s | 5 + gas/testsuite/gas/mn10200/cmp.s | 10 + gas/testsuite/gas/mn10200/ext.s | 7 + gas/testsuite/gas/mn10200/logical.s | 12 + gas/testsuite/gas/mn10200/mov1.s | 13 + gas/testsuite/gas/mn10200/mov2.s | 10 + gas/testsuite/gas/mn10200/mov3.s | 11 + gas/testsuite/gas/mn10200/mov4.s | 9 + gas/testsuite/gas/mn10200/movb.s | 13 + gas/testsuite/gas/mn10200/movbu.s | 8 + gas/testsuite/gas/mn10200/movx.s | 7 + gas/testsuite/gas/mn10200/muldiv.s | 4 + gas/testsuite/gas/mn10200/other.s | 10 + gas/testsuite/gas/mn10200/shift.s | 5 + gas/testsuite/gas/mn10200/sub.s | 10 + gas/testsuite/gas/mn10300/add.s | 15 + gas/testsuite/gas/mn10300/basic.exp | 799 + gas/testsuite/gas/mn10300/bcc.s | 17 + gas/testsuite/gas/mn10300/bit.s | 12 + gas/testsuite/gas/mn10300/cmp.s | 11 + gas/testsuite/gas/mn10300/ext.s | 7 + gas/testsuite/gas/mn10300/extend.s | 15 + gas/testsuite/gas/mn10300/logical.s | 15 + gas/testsuite/gas/mn10300/loop.s | 15 + gas/testsuite/gas/mn10300/mov1.s | 17 + gas/testsuite/gas/mn10300/mov2.s | 16 + gas/testsuite/gas/mn10300/mov3.s | 16 + gas/testsuite/gas/mn10300/mov4.s | 13 + gas/testsuite/gas/mn10300/movbu.s | 21 + gas/testsuite/gas/mn10300/movhu.s | 21 + gas/testsuite/gas/mn10300/movm.s | 5 + gas/testsuite/gas/mn10300/muldiv.s | 5 + gas/testsuite/gas/mn10300/other.s | 20 + gas/testsuite/gas/mn10300/shift.s | 10 + gas/testsuite/gas/mn10300/sub.s | 8 + gas/testsuite/gas/mri/char.d | 9 + gas/testsuite/gas/mri/char.s | 6 + gas/testsuite/gas/mri/comment.d | 9 + gas/testsuite/gas/mri/comment.s | 13 + gas/testsuite/gas/mri/common.d | 8 + gas/testsuite/gas/mri/common.s | 11 + gas/testsuite/gas/mri/constants.d | 20 + gas/testsuite/gas/mri/constants.s | 31 + gas/testsuite/gas/mri/empty.s | 9 + gas/testsuite/gas/mri/equ.d | 7 + gas/testsuite/gas/mri/equ.s | 3 + gas/testsuite/gas/mri/expr.d | 11 + gas/testsuite/gas/mri/expr.s | 7 + gas/testsuite/gas/mri/float.d | 10 + gas/testsuite/gas/mri/float.s | 7 + gas/testsuite/gas/mri/for.d | 30 + gas/testsuite/gas/mri/for.s | 22 + gas/testsuite/gas/mri/if.d | 25 + gas/testsuite/gas/mri/if.s | 17 + gas/testsuite/gas/mri/immconst.d | 22 + gas/testsuite/gas/mri/label.d | 8 + gas/testsuite/gas/mri/label.s | 5 + gas/testsuite/gas/mri/moveml.d | 27 + gas/testsuite/gas/mri/moveml.s | 17 + gas/testsuite/gas/mri/mri.exp | 28 + gas/testsuite/gas/mri/repeat.d | 16 + gas/testsuite/gas/mri/repeat.s | 14 + gas/testsuite/gas/mri/semi.d | 9 + gas/testsuite/gas/mri/semi.s | 14 + gas/testsuite/gas/mri/while.d | 18 + gas/testsuite/gas/mri/while.s | 14 + gas/testsuite/gas/ppc/astest.d | 74 + gas/testsuite/gas/ppc/astest.s | 52 + gas/testsuite/gas/ppc/astest2.d | 75 + gas/testsuite/gas/ppc/astest2.s | 52 + gas/testsuite/gas/ppc/ppc.exp | 17 + gas/testsuite/gas/sh/basic.exp | 87 + gas/testsuite/gas/sh/fp.s | 45 + gas/testsuite/gas/sparc-solaris/addend.exp | 36 + gas/testsuite/gas/sparc-solaris/addend.s | 11 + gas/testsuite/gas/sparc-solaris/gas.exp | 10 + gas/testsuite/gas/sparc-solaris/sol-cc.s | 81 + gas/testsuite/gas/sparc-solaris/sol-gcc.s | 66 + gas/testsuite/gas/sparc/asi.d | 35 + gas/testsuite/gas/sparc/asi.s | 28 + gas/testsuite/gas/sparc/membar.d | 19 + gas/testsuite/gas/sparc/membar.s | 12 + gas/testsuite/gas/sparc/mism-1.s | 22 + gas/testsuite/gas/sparc/mismatch.exp | 20 + gas/testsuite/gas/sparc/prefetch.d | 19 + gas/testsuite/gas/sparc/prefetch.s | 11 + gas/testsuite/gas/sparc/rdpr.d | 26 + gas/testsuite/gas/sparc/rdpr.s | 19 + gas/testsuite/gas/sparc/reloc64.d | 76 + gas/testsuite/gas/sparc/reloc64.s | 48 + gas/testsuite/gas/sparc/set64.d | 88 + gas/testsuite/gas/sparc/set64.s | 43 + gas/testsuite/gas/sparc/sparc.exp | 27 + gas/testsuite/gas/sparc/splet-2.d | 23 + gas/testsuite/gas/sparc/splet-2.s | 21 + gas/testsuite/gas/sparc/splet.d | 195 + gas/testsuite/gas/sparc/splet.s | 211 + gas/testsuite/gas/sparc/synth.d | 11 + gas/testsuite/gas/sparc/synth.s | 7 + gas/testsuite/gas/sparc/synth64.d | 19 + gas/testsuite/gas/sparc/synth64.s | 16 + gas/testsuite/gas/sparc/wrpr.d | 24 + gas/testsuite/gas/sparc/wrpr.s | 17 + gas/testsuite/gas/sun4/addend.d | 13 + gas/testsuite/gas/sun4/addend.exp | 7 + gas/testsuite/gas/sun4/addend.s | 11 + gas/testsuite/gas/template | 96 + gas/testsuite/gas/v850/arith.s | 24 + gas/testsuite/gas/v850/basic.exp | 438 + gas/testsuite/gas/v850/bit.s | 8 + gas/testsuite/gas/v850/branch.s | 24 + gas/testsuite/gas/v850/compare.s | 28 + gas/testsuite/gas/v850/fepsw.s | 2 + gas/testsuite/gas/v850/hilo.s | 5 + gas/testsuite/gas/v850/hilo2.s | 4 + gas/testsuite/gas/v850/jumps.s | 8 + gas/testsuite/gas/v850/logical.s | 11 + gas/testsuite/gas/v850/mem.s | 16 + gas/testsuite/gas/v850/misc.s | 13 + gas/testsuite/gas/v850/move.s | 8 + gas/testsuite/gas/v850/range.s | 2 + gas/testsuite/gas/v850/reloc.s | 7 + gas/testsuite/gas/vax/quad.exp | 23 + gas/testsuite/gas/vax/quad.s | 2 + gas/testsuite/gasp/INC1.H | 3 + gas/testsuite/gasp/INC2.H | 2 + gas/testsuite/gasp/assign.asm | 13 + gas/testsuite/gasp/assign.err | 1 + gas/testsuite/gasp/assign.out | 22 + gas/testsuite/gasp/condass.asm | 129 + gas/testsuite/gasp/condass.err | 0 gas/testsuite/gasp/condass.out | 155 + gas/testsuite/gasp/crash.asm | 22 + gas/testsuite/gasp/crash.err | 1 + gas/testsuite/gasp/crash.out | 3059 ++++ gas/testsuite/gasp/crash1.asm | 13 + gas/testsuite/gasp/crash1.err | 0 gas/testsuite/gasp/crash1.out | 24 + gas/testsuite/gasp/crash2.asm | 41 + gas/testsuite/gasp/crash2.err | 0 gas/testsuite/gasp/crash2.out | 69 + gas/testsuite/gasp/data.asm | 23 + gas/testsuite/gasp/data.err | 0 gas/testsuite/gasp/data.out | 45 + gas/testsuite/gasp/exp.asm | 80 + gas/testsuite/gasp/exp.err | 7 + gas/testsuite/gasp/exp.out | 124 + gas/testsuite/gasp/gasp.exp | 40 + gas/testsuite/gasp/include.asm | 4 + gas/testsuite/gasp/include.err | 0 gas/testsuite/gasp/include.out | 15 + gas/testsuite/gasp/listing.asm | 15 + gas/testsuite/gasp/listing.err | 0 gas/testsuite/gasp/listing.out | 28 + gas/testsuite/gasp/macro.asm | 102 + gas/testsuite/gasp/macro.err | 0 gas/testsuite/gasp/macro.out | 382 + gas/testsuite/gasp/mdouble.asm | 47 + gas/testsuite/gasp/mdouble.err | 0 gas/testsuite/gasp/mdouble.out | 68 + gas/testsuite/gasp/mri/embed.asm | 5 + gas/testsuite/gasp/mri/embed.out | 9 + gas/testsuite/gasp/mri/exists.asm | 10 + gas/testsuite/gasp/mri/exists.out | 24 + gas/testsuite/gasp/mri/irp.asm | 4 + gas/testsuite/gasp/mri/irp.out | 8 + gas/testsuite/gasp/mri/irpc.asm | 3 + gas/testsuite/gasp/mri/irpc.out | 8 + gas/testsuite/gasp/mri/macro.asm | 8 + gas/testsuite/gasp/mri/macro.out | 18 + gas/testsuite/gasp/mri/narg.asm | 9 + gas/testsuite/gasp/mri/narg.out | 38 + gas/testsuite/gasp/mri/rept.asm | 3 + gas/testsuite/gasp/mri/rept.out | 16 + gas/testsuite/gasp/pl1.asm | 20 + gas/testsuite/gasp/pl1.err | 1 + gas/testsuite/gasp/pl1.out | 49 + gas/testsuite/gasp/pl2.asm | 28 + gas/testsuite/gasp/pl2.err | 0 gas/testsuite/gasp/pl2.out | 51 + gas/testsuite/gasp/pl3.asm | 30 + gas/testsuite/gasp/pl3.err | 0 gas/testsuite/gasp/pl3.out | 86 + gas/testsuite/gasp/pl4.asm | 10 + gas/testsuite/gasp/pl4.err | 0 gas/testsuite/gasp/pl4.out | 16 + gas/testsuite/gasp/pl5.asm | 15 + gas/testsuite/gasp/pl5.err | 0 gas/testsuite/gasp/pl5.out | 32 + gas/testsuite/gasp/pl6.asm | 21 + gas/testsuite/gasp/pl6.err | 0 gas/testsuite/gasp/pl6.out | 54 + gas/testsuite/gasp/pl7.asm | 12 + gas/testsuite/gasp/pl7.err | 1 + gas/testsuite/gasp/pl7.out | 26 + gas/testsuite/gasp/pl8.asm | 18 + gas/testsuite/gasp/pl8.err | 0 gas/testsuite/gasp/pl8.out | 33 + gas/testsuite/gasp/pr7583.asm | 3 + gas/testsuite/gasp/pr7583.err | 0 gas/testsuite/gasp/pr7583.out | 5 + gas/testsuite/gasp/reg.asm | 9 + gas/testsuite/gasp/reg.err | 0 gas/testsuite/gasp/reg.out | 15 + gas/testsuite/gasp/rep.asm | 13 + gas/testsuite/gasp/rep.err | 0 gas/testsuite/gasp/rep.out | 391 + gas/testsuite/gasp/repeat.asm | 14 + gas/testsuite/gasp/repeat.err | 0 gas/testsuite/gasp/repeat.out | 211 + gas/testsuite/gasp/reperr.asm | 2 + gas/testsuite/gasp/reperr.err | 1 + gas/testsuite/gasp/reperr.out | 5 + gas/testsuite/gasp/reperr1.asm | 3 + gas/testsuite/gasp/reperr1.err | 1 + gas/testsuite/gasp/reperr1.out | 5 + gas/testsuite/gasp/reperr2.asm | 6 + gas/testsuite/gasp/reperr2.err | 1 + gas/testsuite/gasp/reperr2.out | 14 + gas/testsuite/gasp/reperr3.asm | 21 + gas/testsuite/gasp/reperr3.err | 6 + gas/testsuite/gasp/reperr3.out | 2035 +++ gas/testsuite/gasp/sdata.asm | 24 + gas/testsuite/gasp/sdata.err | 3 + gas/testsuite/gasp/sdata.out | 59 + gas/testsuite/gasp/sfunc.asm | 26 + gas/testsuite/gasp/sfunc.err | 0 gas/testsuite/gasp/sfunc.out | 49 + gas/testsuite/gasp/t1.asm | 3 + gas/testsuite/gasp/t1.err | 0 gas/testsuite/gasp/t1.out | 5 + gas/testsuite/gasp/t2.asm | 8 + gas/testsuite/gasp/t2.err | 0 gas/testsuite/gasp/t2.out | 13 + gas/testsuite/gasp/t3.asm | 12 + gas/testsuite/gasp/t3.err | 1 + gas/testsuite/gasp/t3.out | 25 + gas/testsuite/gasp/while.asm | 18 + gas/testsuite/gasp/while.err | 0 gas/testsuite/gasp/while.out | 388 + gas/testsuite/lib/doboth | 19 + gas/testsuite/lib/doobjcmp | 88 + gas/testsuite/lib/dostriptest | 14 + gas/testsuite/lib/dotest | 43 + gas/testsuite/lib/dounsreloc | 8 + gas/testsuite/lib/dounssym | 8 + gas/testsuite/lib/gas-defs.exp | 504 + gas/testsuite/lib/gas-dg.exp | 53 + gas/testsuite/lib/run | 2 + gas/vmsconf.sh | 128 + gas/write.c | 2846 ++++ gas/write.h | 195 + gprof/.gdbinit | 1 + gprof/ChangeLog | 1197 ++ gprof/Makefile.am | 66 + gprof/Makefile.in | 543 + gprof/NOTES | 438 + gprof/TEST | 7 + gprof/TODO | 72 + gprof/acconfig.h | 9 + gprof/aclocal.m4 | 458 + gprof/alpha.c | 168 + gprof/basic_blocks.c | 626 + gprof/basic_blocks.h | 23 + gprof/bb_exit_func.c | 78 + gprof/bbconv.pl | 36 + gprof/bsd_callg_bl.c | 118 + gprof/bsd_callg_bl.m | 108 + gprof/call_graph.c | 116 + gprof/call_graph.h | 12 + gprof/cg_arcs.c | 685 + gprof/cg_arcs.h | 36 + gprof/cg_dfn.c | 281 + gprof/cg_dfn.h | 17 + gprof/cg_print.c | 1275 ++ gprof/cg_print.h | 14 + gprof/configure | 2013 +++ gprof/configure.bat | 18 + gprof/configure.in | 35 + gprof/core.c | 737 + gprof/core.h | 21 + gprof/flat_bl.c | 37 + gprof/flat_bl.m | 27 + gprof/fsf_callg_bl.c | 93 + gprof/fsf_callg_bl.m | 83 + gprof/gconfig.in | 13 + gprof/gen-c-prog.awk | 26 + gprof/gmon.h | 142 + gprof/gmon_io.c | 414 + gprof/gmon_io.h | 20 + gprof/gmon_out.h | 51 + gprof/gprof.1 | 252 + gprof/gprof.c | 650 + gprof/gprof.h | 131 + gprof/gprof.info | 62 + gprof/gprof.info-1 | 1109 ++ gprof/gprof.info-2 | 761 + gprof/gprof.texi | 2023 +++ gprof/hertz.c | 54 + gprof/hertz.h | 22 + gprof/hist.c | 598 + gprof/hist.h | 23 + gprof/i386.c | 104 + gprof/search_list.c | 44 + gprof/search_list.h | 20 + gprof/source.c | 223 + gprof/source.h | 55 + gprof/sparc.c | 88 + gprof/stamp-h.in | 1 + gprof/sym_ids.c | 372 + gprof/sym_ids.h | 25 + gprof/symtab.c | 269 + gprof/symtab.h | 111 + gprof/tahoe.c | 345 + gprof/utils.c | 106 + gprof/utils.h | 7 + gprof/vax.c | 350 + include/COPYING | 340 + include/ChangeLog | 1382 ++ include/ansidecl.h | 154 + include/aout/ChangeLog | 174 + include/aout/adobe.h | 297 + include/aout/aout64.h | 475 + include/aout/ar.h | 36 + include/aout/dynix3.h | 71 + include/aout/encap.h | 135 + include/aout/host.h | 22 + include/aout/hp.h | 82 + include/aout/hp300hpux.h | 119 + include/aout/hppa.h | 7 + include/aout/ranlib.h | 62 + include/aout/reloc.h | 66 + include/aout/stab.def | 264 + include/aout/stab_gnu.h | 37 + include/aout/sun4.h | 219 + include/bfdlink.h | 507 + include/bout.h | 182 + include/callback.h | 270 + include/coff/ChangeLog | 737 + include/coff/a29k.h | 305 + include/coff/alpha.h | 362 + include/coff/apollo.h | 252 + include/coff/arm.h | 258 + include/coff/aux-coff.h | 31 + include/coff/ecoff.h | 421 + include/coff/go32exe.h | 20 + include/coff/h8300.h | 204 + include/coff/h8500.h | 201 + include/coff/i386.h | 228 + include/coff/i860.h | 205 + include/coff/i960.h | 275 + include/coff/internal.h | 720 + include/coff/m68k.h | 225 + include/coff/m88k.h | 219 + include/coff/mips.h | 369 + include/coff/pe.h | 169 + include/coff/powerpc.h | 199 + include/coff/rs6000.h | 243 + include/coff/sh.h | 269 + include/coff/sparc.h | 210 + include/coff/sym.h | 484 + include/coff/symconst.h | 177 + include/coff/tic30.h | 203 + include/coff/w65.h | 201 + include/coff/we32k.h | 206 + include/coff/z8k.h | 201 + include/demangle.h | 90 + include/dis-asm.h | 237 + include/elf/ChangeLog | 398 + include/elf/alpha.h | 100 + include/elf/arc.h | 52 + include/elf/common.h | 337 + include/elf/dwarf.h | 319 + include/elf/dwarf2.h | 551 + include/elf/external.h | 245 + include/elf/hppa.h | 94 + include/elf/internal.h | 300 + include/elf/m32r.h | 62 + include/elf/mips.h | 509 + include/elf/ppc.h | 54 + include/elf/sparc.h | 117 + include/elf/v850.h | 94 + include/floatformat.h | 111 + include/fnmatch.h | 69 + include/fopen-bin.h | 27 + include/fopen-same.h | 27 + include/fopen-vms.h | 24 + include/gdbm.h | 91 + include/getopt.h | 133 + include/hp-symtab.h | 983 ++ include/ieee.h | 139 + include/libiberty.h | 176 + include/mpw/ChangeLog | 61 + include/mpw/README | 1 + include/mpw/dir.h | 23 + include/mpw/dirent.h | 31 + include/mpw/fcntl.h | 124 + include/mpw/grp.h | 10 + include/mpw/mpw.h | 130 + include/mpw/pwd.h | 15 + include/mpw/spin.h | 64 + include/mpw/stat.h | 75 + include/mpw/sys/file.h | 1 + include/mpw/sys/param.h | 1 + include/mpw/sys/resource.h | 9 + include/mpw/sys/stat.h | 44 + include/mpw/sys/time.h | 13 + include/mpw/sys/types.h | 15 + include/mpw/utime.h | 7 + include/mpw/varargs.h | 9 + include/nlm/ChangeLog | 83 + include/nlm/alpha-ext.h | 166 + include/nlm/common.h | 124 + include/nlm/external.h | 174 + include/nlm/i386-ext.h | 116 + include/nlm/internal.h | 309 + include/nlm/ppc-ext.h | 163 + include/nlm/sparc32-ext.h | 120 + include/oasys.h | 152 + include/objalloc.h | 115 + include/obstack.h | 570 + include/opcode/ChangeLog | 1364 ++ include/opcode/a29k.h | 285 + include/opcode/alpha.h | 237 + include/opcode/arc.h | 274 + include/opcode/arm.h | 294 + include/opcode/cgen.h | 873 ++ include/opcode/convex.h | 1711 +++ include/opcode/d10v.h | 194 + include/opcode/h8300.h | 604 + include/opcode/hppa.h | 471 + include/opcode/i386.h | 981 ++ include/opcode/i860.h | 491 + include/opcode/i960.h | 509 + include/opcode/m68k.h | 315 + include/opcode/m88k.h | 923 ++ include/opcode/mips.h | 715 + include/opcode/mn10200.h | 110 + include/opcode/mn10300.h | 119 + include/opcode/np1.h | 422 + include/opcode/ns32k.h | 491 + include/opcode/pn.h | 282 + include/opcode/ppc.h | 248 + include/opcode/pyr.h | 287 + include/opcode/sparc.h | 240 + include/opcode/tahoe.h | 213 + include/opcode/tic30.h | 691 + include/opcode/v850.h | 154 + include/opcode/vax.h | 382 + include/os9k.h | 169 + include/progress.h | 37 + include/regs/ChangeLog | 0 include/remote-sim.h | 321 + include/symcat.h | 40 + include/wait.h | 63 + install-sh | 287 + ld/ChangeLog | 7787 ++++++++++ ld/Makefile.am | 778 + ld/Makefile.in | 1274 ++ ld/NEWS | 169 + ld/README | 64 + ld/TODO | 9 + ld/acconfig.h | 22 + ld/acinclude.m4 | 1 + ld/aclocal.m4 | 460 + ld/config.in | 52 + ld/configdoc.texi | 13 + ld/configure | 2757 ++++ ld/configure.bat | 72 + ld/configure.host | 166 + ld/configure.in | 133 + ld/configure.tgt | 210 + ld/dep-in.sed | 16 + ld/emulparams/README | 2 + ld/emulparams/a29k.sh | 5 + ld/emulparams/aixppc.sh | 4 + ld/emulparams/aixrs6.sh | 4 + ld/emulparams/alpha.sh | 3 + ld/emulparams/arcelf.sh | 11 + ld/emulparams/armaoutb.sh | 7 + ld/emulparams/armaoutl.sh | 7 + ld/emulparams/armcoff.sh | 6 + ld/emulparams/armpe.sh | 6 + ld/emulparams/coff_sparc.sh | 7 + ld/emulparams/d10velf.sh | 8 + ld/emulparams/delta68.sh | 5 + ld/emulparams/ebmon29k.sh | 5 + ld/emulparams/elf32_sparc.sh | 10 + ld/emulparams/elf32b4300.sh | 29 + ld/emulparams/elf32bmip.sh | 30 + ld/emulparams/elf32bsmip.sh | 31 + ld/emulparams/elf32ebmip.sh | 29 + ld/emulparams/elf32elmip.sh | 29 + ld/emulparams/elf32l4300.sh | 29 + ld/emulparams/elf32lmip.sh | 30 + ld/emulparams/elf32lppc.sh | 8 + ld/emulparams/elf32lsmip.sh | 31 + ld/emulparams/elf32ppc.sh | 8 + ld/emulparams/elf64_sparc.sh | 12 + ld/emulparams/elf64alpha.sh | 15 + ld/emulparams/elf_i386.sh | 10 + ld/emulparams/gld960.sh | 7 + ld/emulparams/gld960coff.sh | 19 + ld/emulparams/go32.sh | 7 + ld/emulparams/h8300.sh | 5 + ld/emulparams/h8300h.sh | 5 + ld/emulparams/h8300s.sh | 5 + ld/emulparams/h8500.sh | 5 + ld/emulparams/h8500b.sh | 5 + ld/emulparams/h8500c.sh | 5 + ld/emulparams/h8500m.sh | 5 + ld/emulparams/h8500s.sh | 5 + ld/emulparams/hp300bsd.sh | 5 + ld/emulparams/hp3hpux.sh | 8 + ld/emulparams/hppaelf.sh | 7 + ld/emulparams/i386aout.sh | 6 + ld/emulparams/i386bsd.sh | 6 + ld/emulparams/i386coff.sh | 5 + ld/emulparams/i386go32.sh | 8 + ld/emulparams/i386linux.sh | 7 + ld/emulparams/i386lynx.sh | 9 + ld/emulparams/i386mach.sh | 7 + ld/emulparams/i386moss.sh | 10 + ld/emulparams/i386msdos.sh | 7 + ld/emulparams/i386nbsd.sh | 6 + ld/emulparams/i386nw.sh | 9 + ld/emulparams/i386pe.sh | 5 + ld/emulparams/lnk960.sh | 6 + ld/emulparams/m32relf.sh | 12 + ld/emulparams/m68k4knbsd.sh | 7 + ld/emulparams/m68kaout.sh | 7 + ld/emulparams/m68kaux.sh | 8 + ld/emulparams/m68kcoff.sh | 5 + ld/emulparams/m68kelf.sh | 10 + ld/emulparams/m68klinux.sh | 7 + ld/emulparams/m68klynx.sh | 8 + ld/emulparams/m68knbsd.sh | 7 + ld/emulparams/m68kpsos.sh | 6 + ld/emulparams/m88kbcs.sh | 5 + ld/emulparams/mipsbig.sh | 6 + ld/emulparams/mipsbsd.sh | 7 + ld/emulparams/mipsidt.sh | 11 + ld/emulparams/mipsidtl.sh | 11 + ld/emulparams/mipslit.sh | 6 + ld/emulparams/mipslnews.sh | 9 + ld/emulparams/mn10200.sh | 20 + ld/emulparams/mn10300.sh | 20 + ld/emulparams/news.sh | 5 + ld/emulparams/ns32knbsd.sh | 5 + ld/emulparams/pc532macha.sh | 6 + ld/emulparams/ppcmacos.sh | 4 + ld/emulparams/ppcnw.sh | 7 + ld/emulparams/ppcpe.sh | 4 + ld/emulparams/riscix.sh | 5 + ld/emulparams/sa29200.sh | 5 + ld/emulparams/sh.sh | 5 + ld/emulparams/shelf.sh | 17 + ld/emulparams/shl.sh | 5 + ld/emulparams/shlelf.sh | 17 + ld/emulparams/sparcaout.sh | 8 + ld/emulparams/sparclinux.sh | 7 + ld/emulparams/sparclynx.sh | 9 + ld/emulparams/sparcnbsd.sh | 5 + ld/emulparams/st2000.sh | 5 + ld/emulparams/sun3.sh | 8 + ld/emulparams/sun4.sh | 7 + ld/emulparams/tic30aout.sh | 7 + ld/emulparams/tic30coff.sh | 7 + ld/emulparams/v850.sh | 14 + ld/emulparams/vanilla.sh | 5 + ld/emulparams/vax.sh | 5 + ld/emulparams/vsta.sh | 8 + ld/emulparams/w65.sh | 5 + ld/emulparams/z8001.sh | 7 + ld/emulparams/z8002.sh | 6 + ld/emultempl/README | 3 + ld/emultempl/aix.em | 1053 ++ ld/emultempl/armcoff.em | 146 + ld/emultempl/elf32.em | 1163 ++ ld/emultempl/generic.em | 118 + ld/emultempl/gld960.em | 176 + ld/emultempl/gld960c.em | 192 + ld/emultempl/hppaelf.em | 283 + ld/emultempl/linux.em | 207 + ld/emultempl/lnk960.em | 327 + ld/emultempl/mipsecoff.em | 229 + ld/emultempl/pe.em | 784 + ld/emultempl/stringify.sed | 4 + ld/emultempl/sunos.em | 1022 ++ ld/emultempl/vanilla.em | 69 + ld/gen-doc.texi | 13 + ld/genscripts.sh | 133 + ld/h8-doc.texi | 14 + ld/ld.1 | 1083 ++ ld/ld.h | 174 + ld/ld.info | 75 + ld/ld.info-1 | 1181 ++ ld/ld.info-2 | 1189 ++ ld/ld.info-3 | 753 + ld/ld.info-4 | 432 + ld/ld.texinfo | 3700 +++++ ld/ldcref.c | 547 + ld/ldctor.c | 256 + ld/ldctor.h | 54 + ld/ldemul.c | 262 + ld/ldemul.h | 138 + ld/ldexp.c | 950 ++ ld/ldexp.h | 109 + ld/ldfile.c | 410 + ld/ldfile.h | 53 + ld/ldgram.c | 2584 ++++ ld/ldgram.h | 119 + ld/ldgram.y | 1022 ++ ld/ldint.texinfo | 412 + ld/ldlang.c | 4123 +++++ ld/ldlang.h | 485 + ld/ldlex.c | 3492 +++++ ld/ldlex.h | 62 + ld/ldlex.l | 647 + ld/ldmain.c | 1272 ++ ld/ldmain.h | 38 + ld/ldmisc.c | 535 + ld/ldmisc.h | 56 + ld/ldver.c | 49 + ld/ldver.h | 22 + ld/ldwrite.c | 530 + ld/ldwrite.h | 20 + ld/lexsup.c | 982 ++ ld/mac-ld.r | 42 + ld/mpw-config.in | 52 + ld/mpw-elfmips.c | 1470 ++ ld/mpw-eppcmac.c | 1224 ++ ld/mpw-esh.c | 315 + ld/mpw-idtmips.c | 430 + ld/mpw-make.sed | 95 + ld/mri.c | 377 + ld/mri.h | 39 + ld/scripttempl/README | 4 + ld/scripttempl/a29k.sc | 37 + ld/scripttempl/aix.sc | 55 + ld/scripttempl/alpha.sc | 74 + ld/scripttempl/aout.sc | 55 + ld/scripttempl/armaout.sc | 35 + ld/scripttempl/armcoff.sc | 62 + ld/scripttempl/delta68.sc | 49 + ld/scripttempl/ebmon29k.sc | 27 + ld/scripttempl/elf.sc | 218 + ld/scripttempl/elfd10v.sc | 196 + ld/scripttempl/elfppc.sc | 216 + ld/scripttempl/go32coff.sc | 33 + ld/scripttempl/h8300.sc | 69 + ld/scripttempl/h8300h.sc | 76 + ld/scripttempl/h8300s.sc | 76 + ld/scripttempl/h8500.sc | 62 + ld/scripttempl/h8500b.sc | 62 + ld/scripttempl/h8500c.sc | 59 + ld/scripttempl/h8500m.sc | 61 + ld/scripttempl/h8500s.sc | 60 + ld/scripttempl/hppaelf.sc | 38 + ld/scripttempl/i386coff.sc | 43 + ld/scripttempl/i386go32.sc | 40 + ld/scripttempl/i386lynx.sc | 46 + ld/scripttempl/i386msdos.sc | 38 + ld/scripttempl/i960.sc | 25 + ld/scripttempl/m68kaux.sc | 46 + ld/scripttempl/m68kcoff.sc | 42 + ld/scripttempl/m68klynx.sc | 46 + ld/scripttempl/m88kbcs.sc | 49 + ld/scripttempl/mips.sc | 72 + ld/scripttempl/mipsbsd.sc | 30 + ld/scripttempl/nw.sc | 131 + ld/scripttempl/pe.sc | 145 + ld/scripttempl/ppcpe.sc | 198 + ld/scripttempl/psos.sc | 61 + ld/scripttempl/riscix.sc | 35 + ld/scripttempl/sa29200.sc | 44 + ld/scripttempl/sh.sc | 59 + ld/scripttempl/sparccoff.sc | 48 + ld/scripttempl/sparclynx.sc | 47 + ld/scripttempl/st2000.sc | 26 + ld/scripttempl/tic30aout.sc | 34 + ld/scripttempl/tic30coff.sc | 58 + ld/scripttempl/v850.sc | 183 + ld/scripttempl/vanilla.sc | 1 + ld/scripttempl/w65.sc | 58 + ld/scripttempl/z8000.sc | 54 + ld/stamp-h.in | 1 + ld/sysdep.h | 69 + ld/testsuite/ChangeLog | 534 + ld/testsuite/config/default.exp | 131 + ld/testsuite/ld-bootstrap/bootstrap.exp | 96 + ld/testsuite/ld-cdtest/cdtest-bar.cc | 17 + ld/testsuite/ld-cdtest/cdtest-foo.cc | 89 + ld/testsuite/ld-cdtest/cdtest-foo.h | 24 + ld/testsuite/ld-cdtest/cdtest-main.cc | 40 + ld/testsuite/ld-cdtest/cdtest.dat | 15 + ld/testsuite/ld-cdtest/cdtest.exp | 100 + ld/testsuite/ld-elfvers/vers.exp | 803 + ld/testsuite/ld-elfvers/vers1.c | 90 + ld/testsuite/ld-elfvers/vers1.dsym | 9 + ld/testsuite/ld-elfvers/vers1.map | 16 + ld/testsuite/ld-elfvers/vers1.sym | 4 + ld/testsuite/ld-elfvers/vers1.ver | 8 + ld/testsuite/ld-elfvers/vers13.asym | 10 + ld/testsuite/ld-elfvers/vers15.c | 31 + ld/testsuite/ld-elfvers/vers15.dsym | 5 + ld/testsuite/ld-elfvers/vers15.sym | 3 + ld/testsuite/ld-elfvers/vers15.ver | 5 + ld/testsuite/ld-elfvers/vers2.c | 9 + ld/testsuite/ld-elfvers/vers2.dsym | 3 + ld/testsuite/ld-elfvers/vers2.map | 4 + ld/testsuite/ld-elfvers/vers2.ver | 8 + ld/testsuite/ld-elfvers/vers3.c | 9 + ld/testsuite/ld-elfvers/vers3.dsym | 1 + ld/testsuite/ld-elfvers/vers3.ver | 4 + ld/testsuite/ld-elfvers/vers4.c | 23 + ld/testsuite/ld-elfvers/vers4.sym | 1 + ld/testsuite/ld-elfvers/vers4a.dsym | 2 + ld/testsuite/ld-elfvers/vers4a.sym | 1 + ld/testsuite/ld-elfvers/vers4a.ver | 4 + ld/testsuite/ld-elfvers/vers5.c | 46 + ld/testsuite/ld-elfvers/vers6.c | 17 + ld/testsuite/ld-elfvers/vers6.dsym | 4 + ld/testsuite/ld-elfvers/vers6.sym | 4 + ld/testsuite/ld-elfvers/vers6.ver | 6 + ld/testsuite/ld-elfvers/vers7.c | 10 + ld/testsuite/ld-elfvers/vers7.map | 6 + ld/testsuite/ld-elfvers/vers7a.c | 18 + ld/testsuite/ld-elfvers/vers7a.dsym | 2 + ld/testsuite/ld-elfvers/vers7a.sym | 2 + ld/testsuite/ld-elfvers/vers7a.ver | 4 + ld/testsuite/ld-elfvers/vers8.c | 5 + ld/testsuite/ld-elfvers/vers8.map | 18 + ld/testsuite/ld-elfvers/vers8.ver | 8 + ld/testsuite/ld-elfvers/vers9.c | 39 + ld/testsuite/ld-elfvers/vers9.dsym | 4 + ld/testsuite/ld-elfvers/vers9.sym | 4 + ld/testsuite/ld-elfvers/vers9.ver | 5 + ld/testsuite/ld-empic/empic.exp | 263 + ld/testsuite/ld-empic/relax.t | 49 + ld/testsuite/ld-empic/relax1.c | 22 + ld/testsuite/ld-empic/relax2.c | 19 + ld/testsuite/ld-empic/relax3.c | 3 + ld/testsuite/ld-empic/relax4.c | 3 + ld/testsuite/ld-empic/run.c | 160 + ld/testsuite/ld-empic/runtest1.c | 117 + ld/testsuite/ld-empic/runtest2.c | 26 + ld/testsuite/ld-empic/runtesti.s | 94 + ld/testsuite/ld-scripts/cross1.c | 6 + ld/testsuite/ld-scripts/cross1.t | 6 + ld/testsuite/ld-scripts/cross2.c | 5 + ld/testsuite/ld-scripts/cross2.t | 6 + ld/testsuite/ld-scripts/cross3.c | 7 + ld/testsuite/ld-scripts/crossref.exp | 77 + ld/testsuite/ld-scripts/defined.exp | 39 + ld/testsuite/ld-scripts/defined.s | 2 + ld/testsuite/ld-scripts/defined.t | 7 + ld/testsuite/ld-scripts/phdrs.exp | 56 + ld/testsuite/ld-scripts/phdrs.s | 8 + ld/testsuite/ld-scripts/phdrs.t | 14 + ld/testsuite/ld-scripts/script.exp | 64 + ld/testsuite/ld-scripts/script.s | 8 + ld/testsuite/ld-scripts/script.t | 16 + ld/testsuite/ld-scripts/scriptm.t | 10 + ld/testsuite/ld-scripts/sizeof.exp | 55 + ld/testsuite/ld-scripts/sizeof.s | 1 + ld/testsuite/ld-scripts/sizeof.t | 17 + ld/testsuite/ld-sh/sh.exp | 143 + ld/testsuite/ld-sh/sh1.s | 13 + ld/testsuite/ld-sh/sh2.c | 120 + ld/testsuite/ld-sh/start.s | 27 + ld/testsuite/ld-shared/main.c | 72 + ld/testsuite/ld-shared/sh1.c | 147 + ld/testsuite/ld-shared/sh2.c | 14 + ld/testsuite/ld-shared/shared.dat | 15 + ld/testsuite/ld-shared/shared.exp | 256 + ld/testsuite/ld-shared/sun4.dat | 15 + ld/testsuite/ld-shared/xcoff.dat | 10 + ld/testsuite/ld-srec/sr1.c | 25 + ld/testsuite/ld-srec/sr2.c | 18 + ld/testsuite/ld-srec/sr3.cc | 106 + ld/testsuite/ld-srec/srec.exp | 336 + ld/testsuite/ld-undefined/undefined.c | 10 + ld/testsuite/ld-undefined/undefined.exp | 85 + ld/testsuite/ld-versados/t1-1.ro | Bin 0 -> 3840 bytes ld/testsuite/ld-versados/t1-2.ro | Bin 0 -> 256 bytes ld/testsuite/ld-versados/t1.ld | 281 + ld/testsuite/ld-versados/t1.ook | 133 + ld/testsuite/ld-versados/t2-1.ro | Bin 0 -> 256 bytes ld/testsuite/ld-versados/t2-2.ro | Bin 0 -> 2304 bytes ld/testsuite/ld-versados/t2-3.ro | Bin 0 -> 1024 bytes ld/testsuite/ld-versados/t2.ld | 281 + ld/testsuite/ld-versados/t2.ook | 99 + ld/testsuite/ld-versados/versados.exp | 99 + ld/testsuite/lib/ld-lib.exp | 316 + libiberty/COPYING.LIB | 481 + libiberty/ChangeLog | 2386 +++ libiberty/Makefile.in | 336 + libiberty/README | 128 + libiberty/alloca-botch.h | 5 + libiberty/alloca-norm.h | 25 + libiberty/alloca.c | 479 + libiberty/argv.c | 390 + libiberty/asprintf.c | 57 + libiberty/atexit.c | 14 + libiberty/basename.c | 43 + libiberty/bcmp.c | 49 + libiberty/bcopy.c | 35 + libiberty/bzero.c | 31 + libiberty/choose-temp.c | 151 + libiberty/clock.c | 73 + libiberty/concat.c | 167 + libiberty/config.h-vms | 13 + libiberty/config.table | 78 + libiberty/config/mh-a68bsd | 2 + libiberty/config/mh-aix | 11 + libiberty/config/mh-apollo68 | 2 + libiberty/config/mh-cxux7 | 3 + libiberty/config/mh-cygwin32 | 2 + libiberty/config/mh-fbsd21 | 1 + libiberty/config/mh-go32 | 1 + libiberty/config/mh-hpbsd | 2 + libiberty/config/mh-irix4 | 4 + libiberty/config/mh-ncr3000 | 19 + libiberty/config/mh-riscix | 6 + libiberty/config/mh-sysv | 1 + libiberty/config/mh-sysv4 | 3 + libiberty/config/mh-windows | 2 + libiberty/config/mt-mingw32 | 27 + libiberty/config/mt-sunos4 | 2 + libiberty/config/mt-vxworks5 | 28 + libiberty/configure.bat | 15 + libiberty/configure.in | 66 + libiberty/copysign.c | 140 + libiberty/cplus-dem.c | 3292 ++++ libiberty/dummy.c | 49 + libiberty/fdmatch.c | 73 + libiberty/floatformat.c | 401 + libiberty/fnmatch.c | 223 + libiberty/functions.def | 70 + libiberty/getcwd.c | 52 + libiberty/getopt.c | 1044 ++ libiberty/getopt1.c | 189 + libiberty/getpagesize.c | 89 + libiberty/getruntime.c | 82 + libiberty/hex.c | 33 + libiberty/index.c | 11 + libiberty/insque.c | 50 + libiberty/makefile.dos | 29 + libiberty/makefile.vms | 37 + libiberty/memchr.c | 60 + libiberty/memcmp.c | 38 + libiberty/memcpy.c | 28 + libiberty/memmove.c | 18 + libiberty/memset.c | 19 + libiberty/mpw-config.in | 9 + libiberty/mpw-make.sed | 51 + libiberty/mpw.c | 1010 ++ libiberty/msdos.c | 15 + libiberty/objalloc.c | 289 + libiberty/obstack.c | 514 + libiberty/pexecute.c | 764 + libiberty/random.c | 373 + libiberty/rename.c | 22 + libiberty/rindex.c | 11 + libiberty/sigsetmask.c | 30 + libiberty/spaces.c | 78 + libiberty/strcasecmp.c | 82 + libiberty/strchr.c | 34 + libiberty/strdup.c | 10 + libiberty/strerror.c | 831 ++ libiberty/strncasecmp.c | 82 + libiberty/strrchr.c | 34 + libiberty/strsignal.c | 644 + libiberty/strstr.c | 51 + libiberty/strtod.c | 122 + libiberty/strtol.c | 143 + libiberty/strtoul.c | 110 + libiberty/tmpnam.c | 39 + libiberty/vasprintf.c | 172 + libiberty/vfork.c | 8 + libiberty/vfprintf.c | 13 + libiberty/vmsbuild.com | 167 + libiberty/vprintf.c | 15 + libiberty/vsprintf.c | 55 + libiberty/waitpid.c | 11 + libiberty/xatexit.c | 82 + libiberty/xexit.c | 36 + libiberty/xmalloc.c | 133 + libiberty/xstrdup.c | 17 + libiberty/xstrerror.c | 56 + ltconfig | 1512 ++ ltmain.sh | 2453 +++ makeall.bat | 16 + makefile.vms | 51 + missing | 134 + mkinstalldirs | 36 + move-if-change | 32 + mpw-README | 376 + mpw-build.in | 204 + mpw-config.in | 113 + mpw-configure | 448 + mpw-install | 122 + opcodes/ChangeLog | 3755 +++++ opcodes/Makefile.am | 258 + opcodes/Makefile.in | 625 + opcodes/a29k-dis.c | 353 + opcodes/acconfig.h | 6 + opcodes/acinclude.m4 | 1 + opcodes/aclocal.m4 | 460 + opcodes/alpha-dis.c | 199 + opcodes/alpha-opc.c | 1422 ++ opcodes/arc-dis.c | 266 + opcodes/arc-opc.c | 1128 ++ opcodes/arm-dis.c | 830 ++ opcodes/arm-opc.h | 280 + opcodes/cgen-asm.c | 296 + opcodes/cgen-dis.c | 176 + opcodes/cgen-opc.c | 332 + opcodes/config.in | 16 + opcodes/configure | 2365 +++ opcodes/configure.bat | 24 + opcodes/configure.in | 181 + opcodes/d10v-dis.c | 300 + opcodes/d10v-opc.c | 334 + opcodes/dep-in.sed | 20 + opcodes/dis-buf.c | 80 + opcodes/disassemble.c | 215 + opcodes/h8300-dis.c | 456 + opcodes/h8500-dis.c | 344 + opcodes/h8500-opc.h | 3836 +++++ opcodes/hppa-dis.c | 620 + opcodes/i386-dis.c | 2300 +++ opcodes/i960-dis.c | 914 ++ opcodes/m10200-dis.c | 335 + opcodes/m10200-opc.c | 360 + opcodes/m10300-dis.c | 540 + opcodes/m10300-opc.c | 514 + opcodes/m32r-asm.c | 778 + opcodes/m32r-dis.c | 627 + opcodes/m32r-opc.c | 2105 +++ opcodes/m32r-opc.h | 261 + opcodes/m68k-dis.c | 1233 ++ opcodes/m68k-opc.c | 2097 +++ opcodes/m88k-dis.c | 328 + opcodes/makefile.vms | 35 + opcodes/mips-dis.c | 997 ++ opcodes/mips-opc.c | 759 + opcodes/mips16-opc.c | 225 + opcodes/mpw-config.in | 27 + opcodes/mpw-make.sed | 25 + opcodes/ns32k-dis.c | 857 ++ opcodes/ppc-dis.c | 238 + opcodes/ppc-opc.c | 3031 ++++ opcodes/sh-dis.c | 387 + opcodes/sh-opc.h | 573 + opcodes/sparc-dis.c | 961 ++ opcodes/sparc-opc.c | 1920 +++ opcodes/stamp-h.in | 1 + opcodes/sysdep.h | 42 + opcodes/tic30-dis.c | 711 + opcodes/v850-dis.c | 253 + opcodes/v850-opc.c | 494 + opcodes/w65-dis.c | 118 + opcodes/w65-opc.h | 548 + opcodes/z8k-dis.c | 574 + opcodes/z8k-opc.h | 4438 ++++++ opcodes/z8kgen.c | 1313 ++ setup.com | 8 + symlink-tree | 48 + texinfo/gpl.texinfo | 398 + texinfo/lgpl.texinfo | 548 + texinfo/texinfo.tex | 4977 +++++++ ylwrap | 107 + 2084 files changed, 792656 insertions(+) create mode 100644 COPYING create mode 100644 COPYING.LIB create mode 100644 Makefile.in create mode 100644 README create mode 100644 bfd/COPYING create mode 100644 bfd/ChangeLog create mode 100644 bfd/ChangeLog.1 create mode 100644 bfd/ChangeLog.2 create mode 100644 bfd/Makefile.am create mode 100644 bfd/Makefile.in create mode 100644 bfd/PORTING create mode 100644 bfd/README create mode 100644 bfd/TODO create mode 100644 bfd/acconfig.h create mode 100644 bfd/acinclude.m4 create mode 100644 bfd/aclocal.m4 create mode 100644 bfd/aix386-core.c create mode 100644 bfd/aout-adobe.c create mode 100644 bfd/aout-arm.c create mode 100644 bfd/aout-encap.c create mode 100644 bfd/aout-ns32k.c create mode 100644 bfd/aout-sparcle.c create mode 100644 bfd/aout-target.h create mode 100644 bfd/aout-tic30.c create mode 100644 bfd/aout0.c create mode 100644 bfd/aout32.c create mode 100644 bfd/aout64.c create mode 100644 bfd/aoutf1.h create mode 100644 bfd/aoutx.h create mode 100644 bfd/archive.c create mode 100644 bfd/archures.c create mode 100644 bfd/bfd-in.h create mode 100644 bfd/bfd-in2.h create mode 100644 bfd/bfd.c create mode 100644 bfd/binary.c create mode 100644 bfd/bout.c create mode 100644 bfd/cache.c create mode 100644 bfd/cf-i386lynx.c create mode 100644 bfd/cf-m68klynx.c create mode 100644 bfd/cf-sparclynx.c create mode 100644 bfd/cisco-core.c create mode 100644 bfd/coff-a29k.c create mode 100644 bfd/coff-alpha.c create mode 100644 bfd/coff-apollo.c create mode 100644 bfd/coff-arm.c create mode 100644 bfd/coff-aux.c create mode 100644 bfd/coff-go32.c create mode 100644 bfd/coff-h8300.c create mode 100644 bfd/coff-h8500.c create mode 100644 bfd/coff-i386.c create mode 100644 bfd/coff-i860.c create mode 100644 bfd/coff-i960.c create mode 100644 bfd/coff-m68k.c create mode 100644 bfd/coff-m88k.c create mode 100644 bfd/coff-mips.c create mode 100644 bfd/coff-pmac.c create mode 100644 bfd/coff-ppc.c create mode 100644 bfd/coff-rs6000.c create mode 100644 bfd/coff-sh.c create mode 100644 bfd/coff-sparc.c create mode 100644 bfd/coff-stgo32.c create mode 100644 bfd/coff-svm68k.c create mode 100644 bfd/coff-tic30.c create mode 100644 bfd/coff-u68k.c create mode 100644 bfd/coff-w65.c create mode 100644 bfd/coff-we32k.c create mode 100644 bfd/coff-z8k.c create mode 100644 bfd/coffcode.h create mode 100644 bfd/coffgen.c create mode 100644 bfd/cofflink.c create mode 100644 bfd/coffswap.h create mode 100644 bfd/config.bfd create mode 100644 bfd/config.in create mode 100644 bfd/configure create mode 100644 bfd/configure.bat create mode 100644 bfd/configure.com create mode 100644 bfd/configure.host create mode 100644 bfd/configure.in create mode 100644 bfd/corefile.c create mode 100644 bfd/cpu-a29k.c create mode 100644 bfd/cpu-alpha.c create mode 100644 bfd/cpu-arc.c create mode 100644 bfd/cpu-arm.c create mode 100644 bfd/cpu-d10v.c create mode 100644 bfd/cpu-h8300.c create mode 100644 bfd/cpu-h8500.c create mode 100644 bfd/cpu-hppa.c create mode 100644 bfd/cpu-i386.c create mode 100644 bfd/cpu-i860.c create mode 100644 bfd/cpu-i960.c create mode 100644 bfd/cpu-m10200.c create mode 100644 bfd/cpu-m10300.c create mode 100644 bfd/cpu-m32r.c create mode 100644 bfd/cpu-m68k.c create mode 100644 bfd/cpu-m88k.c create mode 100644 bfd/cpu-mips.c create mode 100644 bfd/cpu-ns32k.c create mode 100644 bfd/cpu-powerpc.c create mode 100644 bfd/cpu-rs6000.c create mode 100644 bfd/cpu-sh.c create mode 100644 bfd/cpu-sparc.c create mode 100644 bfd/cpu-tic30.c create mode 100644 bfd/cpu-v850.c create mode 100644 bfd/cpu-vax.c create mode 100644 bfd/cpu-w65.c create mode 100644 bfd/cpu-we32k.c create mode 100644 bfd/cpu-z8k.c create mode 100644 bfd/demo64.c create mode 100644 bfd/dep-in.sed create mode 100644 bfd/doc/ChangeLog create mode 100644 bfd/doc/Makefile.am create mode 100644 bfd/doc/Makefile.in create mode 100644 bfd/doc/aoutx.texi create mode 100644 bfd/doc/archive.texi create mode 100644 bfd/doc/archures.texi create mode 100644 bfd/doc/bfd.info create mode 100644 bfd/doc/bfd.info-1 create mode 100644 bfd/doc/bfd.info-2 create mode 100644 bfd/doc/bfd.info-3 create mode 100644 bfd/doc/bfd.info-4 create mode 100644 bfd/doc/bfd.info-5 create mode 100644 bfd/doc/bfd.info-6 create mode 100644 bfd/doc/bfd.texinfo create mode 100644 bfd/doc/bfdsumm.texi create mode 100644 bfd/doc/bfdt.texi create mode 100644 bfd/doc/cache.texi create mode 100644 bfd/doc/chew.c create mode 100644 bfd/doc/coffcode.texi create mode 100644 bfd/doc/core.texi create mode 100644 bfd/doc/doc.str create mode 100644 bfd/doc/elf.texi create mode 100644 bfd/doc/elfcode.texi create mode 100644 bfd/doc/format.texi create mode 100644 bfd/doc/hash.texi create mode 100644 bfd/doc/init.texi create mode 100644 bfd/doc/libbfd.texi create mode 100644 bfd/doc/linker.texi create mode 100644 bfd/doc/makefile.vms create mode 100644 bfd/doc/opncls.texi create mode 100644 bfd/doc/proto.str create mode 100644 bfd/doc/reloc.texi create mode 100644 bfd/doc/section.texi create mode 100644 bfd/doc/syms.texi create mode 100644 bfd/doc/targets.texi create mode 100644 bfd/dwarf2.c create mode 100644 bfd/ecoff.c create mode 100644 bfd/ecofflink.c create mode 100644 bfd/ecoffswap.h create mode 100644 bfd/elf-bfd.h create mode 100644 bfd/elf-m10200.c create mode 100644 bfd/elf-m10300.c create mode 100644 bfd/elf.c create mode 100644 bfd/elf32-arc.c create mode 100644 bfd/elf32-d10v.c create mode 100644 bfd/elf32-gen.c create mode 100644 bfd/elf32-hppa.c create mode 100644 bfd/elf32-hppa.h create mode 100644 bfd/elf32-i386.c create mode 100644 bfd/elf32-i860.c create mode 100644 bfd/elf32-m32r.c create mode 100644 bfd/elf32-m68k.c create mode 100644 bfd/elf32-m88k.c create mode 100644 bfd/elf32-mips.c create mode 100644 bfd/elf32-ppc.c create mode 100644 bfd/elf32-sh.c create mode 100644 bfd/elf32-sparc.c create mode 100644 bfd/elf32-v850.c create mode 100644 bfd/elf32.c create mode 100644 bfd/elf64-alpha.c create mode 100644 bfd/elf64-gen.c create mode 100644 bfd/elf64-mips.c create mode 100644 bfd/elf64-sparc.c create mode 100644 bfd/elf64.c create mode 100644 bfd/elfcode.h create mode 100644 bfd/elfcore.h create mode 100644 bfd/elflink.c create mode 100644 bfd/elflink.h create mode 100644 bfd/elfxx-target.h create mode 100644 bfd/evax-alpha.c create mode 100644 bfd/evax-egsd.c create mode 100644 bfd/evax-emh.c create mode 100644 bfd/evax-etir.c create mode 100644 bfd/evax-misc.c create mode 100644 bfd/evax.h create mode 100644 bfd/filemode.c create mode 100644 bfd/format.c create mode 100644 bfd/freebsd.h create mode 100644 bfd/gen-aout.c create mode 100644 bfd/genlink.h create mode 100644 bfd/go32stub.h create mode 100644 bfd/hash.c create mode 100644 bfd/host-aout.c create mode 100644 bfd/hosts/alphalinux.h create mode 100644 bfd/hosts/alphavms.h create mode 100644 bfd/hosts/decstation.h create mode 100644 bfd/hosts/delta68.h create mode 100644 bfd/hosts/dpx2.h create mode 100644 bfd/hosts/hp300bsd.h create mode 100644 bfd/hosts/i386bsd.h create mode 100644 bfd/hosts/i386linux.h create mode 100644 bfd/hosts/i386mach3.h create mode 100644 bfd/hosts/i386sco.h create mode 100644 bfd/hosts/i860mach3.h create mode 100644 bfd/hosts/m68kaux.h create mode 100644 bfd/hosts/m68klinux.h create mode 100644 bfd/hosts/m88kmach3.h create mode 100644 bfd/hosts/mipsbsd.h create mode 100644 bfd/hosts/mipsmach3.h create mode 100644 bfd/hosts/news-mips.h create mode 100644 bfd/hosts/news.h create mode 100644 bfd/hosts/pc532mach.h create mode 100644 bfd/hosts/riscos.h create mode 100644 bfd/hosts/symmetry.h create mode 100644 bfd/hosts/tahoe.h create mode 100644 bfd/hosts/vaxbsd.h create mode 100644 bfd/hosts/vaxult.h create mode 100644 bfd/hosts/vaxult2.h create mode 100644 bfd/hp300bsd.c create mode 100644 bfd/hp300hpux.c create mode 100644 bfd/hppa_stubs.h create mode 100644 bfd/hppabsd-core.c create mode 100644 bfd/hpux-core.c create mode 100644 bfd/i386aout.c create mode 100644 bfd/i386bsd.c create mode 100644 bfd/i386dynix.c create mode 100644 bfd/i386freebsd.c create mode 100644 bfd/i386linux.c create mode 100644 bfd/i386lynx.c create mode 100644 bfd/i386mach3.c create mode 100644 bfd/i386msdos.c create mode 100644 bfd/i386netbsd.c create mode 100644 bfd/i386os9k.c create mode 100644 bfd/ieee.c create mode 100644 bfd/ihex.c create mode 100644 bfd/init.c create mode 100644 bfd/irix-core.c create mode 100644 bfd/libaout.h create mode 100644 bfd/libbfd-in.h create mode 100644 bfd/libbfd.c create mode 100644 bfd/libbfd.h create mode 100644 bfd/libcoff-in.h create mode 100644 bfd/libcoff.h create mode 100644 bfd/libecoff.h create mode 100644 bfd/libhppa.h create mode 100644 bfd/libieee.h create mode 100644 bfd/libnlm.h create mode 100644 bfd/liboasys.h create mode 100644 bfd/linker.c create mode 100644 bfd/lynx-core.c create mode 100644 bfd/m68k4knetbsd.c create mode 100644 bfd/m68klinux.c create mode 100644 bfd/m68klynx.c create mode 100644 bfd/m68knetbsd.c create mode 100644 bfd/m88kmach3.c create mode 100644 bfd/makefile.dos create mode 100644 bfd/makefile.vms create mode 100644 bfd/mipsbsd.c create mode 100644 bfd/mpw-config.in create mode 100644 bfd/mpw-make.sed create mode 100644 bfd/netbsd-core.c create mode 100644 bfd/netbsd.h create mode 100644 bfd/newsos3.c create mode 100644 bfd/nlm-target.h create mode 100644 bfd/nlm.c create mode 100644 bfd/nlm32-alpha.c create mode 100644 bfd/nlm32-i386.c create mode 100644 bfd/nlm32-ppc.c create mode 100644 bfd/nlm32-sparc.c create mode 100644 bfd/nlm32.c create mode 100644 bfd/nlm64.c create mode 100644 bfd/nlmcode.h create mode 100644 bfd/nlmswap.h create mode 100644 bfd/ns32k.h create mode 100644 bfd/ns32knetbsd.c create mode 100644 bfd/oasys.c create mode 100644 bfd/opncls.c create mode 100644 bfd/osf-core.c create mode 100644 bfd/pc532-mach.c create mode 100644 bfd/pe-arm.c create mode 100644 bfd/pe-i386.c create mode 100644 bfd/pe-ppc.c create mode 100644 bfd/pei-arm.c create mode 100644 bfd/pei-i386.c create mode 100644 bfd/pei-ppc.c create mode 100644 bfd/peicode.h create mode 100644 bfd/ppcboot.c create mode 100644 bfd/ptrace-core.c create mode 100644 bfd/reloc.c create mode 100644 bfd/reloc16.c create mode 100644 bfd/riscix.c create mode 100644 bfd/rs6000-core.c create mode 100644 bfd/section.c create mode 100644 bfd/som.c create mode 100644 bfd/som.h create mode 100644 bfd/sparclinux.c create mode 100644 bfd/sparclynx.c create mode 100644 bfd/sparcnetbsd.c create mode 100644 bfd/srec.c create mode 100644 bfd/stab-syms.c create mode 100644 bfd/stabs.c create mode 100644 bfd/stamp-h.in create mode 100644 bfd/sunos.c create mode 100644 bfd/syms.c create mode 100644 bfd/sysdep.h create mode 100644 bfd/targets.c create mode 100644 bfd/targmatch.sed create mode 100644 bfd/tekhex.c create mode 100644 bfd/trad-core.c create mode 100644 bfd/vaxnetbsd.c create mode 100644 bfd/versados.c create mode 100644 bfd/xcofflink.c create mode 100644 binutils/ChangeLog create mode 100644 binutils/Makefile.am create mode 100644 binutils/Makefile.in create mode 100644 binutils/NEWS create mode 100644 binutils/README create mode 100644 binutils/acconfig.h create mode 100644 binutils/acinclude.m4 create mode 100644 binutils/aclocal.m4 create mode 100644 binutils/addr2line.1 create mode 100644 binutils/addr2line.c create mode 100644 binutils/ar.1 create mode 100644 binutils/ar.c create mode 100644 binutils/arlex.c create mode 100644 binutils/arlex.l create mode 100644 binutils/arparse.c create mode 100644 binutils/arparse.h create mode 100644 binutils/arparse.y create mode 100644 binutils/arsup.c create mode 100644 binutils/arsup.h create mode 100644 binutils/binutils.info create mode 100644 binutils/binutils.info-1 create mode 100644 binutils/binutils.info-2 create mode 100644 binutils/binutils.texi create mode 100644 binutils/bucomm.c create mode 100644 binutils/bucomm.h create mode 100644 binutils/budbg.h create mode 100644 binutils/coffdump.c create mode 100644 binutils/coffgrok.c create mode 100644 binutils/coffgrok.h create mode 100644 binutils/config.in create mode 100644 binutils/config.texi create mode 100644 binutils/configure create mode 100644 binutils/configure.bat create mode 100644 binutils/configure.com create mode 100644 binutils/configure.in create mode 100644 binutils/cxxfilt.man create mode 100644 binutils/debug.c create mode 100644 binutils/debug.h create mode 100644 binutils/deflex.c create mode 100644 binutils/deflex.l create mode 100644 binutils/defparse.c create mode 100644 binutils/defparse.h create mode 100644 binutils/defparse.y create mode 100644 binutils/dep-in.sed create mode 100644 binutils/dlltool.c create mode 100644 binutils/dlltool.h create mode 100644 binutils/filemode.c create mode 100644 binutils/ieee.c create mode 100644 binutils/is-ranlib.c create mode 100644 binutils/is-strip.c create mode 100644 binutils/mac-binutils.r create mode 100644 binutils/makefile.vms create mode 100644 binutils/maybe-ranlib.c create mode 100644 binutils/maybe-strip.c create mode 100644 binutils/mpw-config.in create mode 100644 binutils/mpw-make.sed create mode 100644 binutils/nlmconv.1 create mode 100644 binutils/nlmconv.c create mode 100644 binutils/nlmconv.h create mode 100644 binutils/nlmheader.c create mode 100644 binutils/nlmheader.h create mode 100644 binutils/nlmheader.y create mode 100644 binutils/nm.1 create mode 100644 binutils/nm.c create mode 100644 binutils/not-ranlib.c create mode 100644 binutils/not-strip.c create mode 100644 binutils/objcopy.1 create mode 100644 binutils/objcopy.c create mode 100644 binutils/objdump.1 create mode 100644 binutils/objdump.c create mode 100644 binutils/prdbg.c create mode 100644 binutils/ranlib.1 create mode 100644 binutils/ranlib.sh create mode 100644 binutils/rclex.c create mode 100644 binutils/rclex.l create mode 100644 binutils/rcparse.c create mode 100644 binutils/rcparse.h create mode 100644 binutils/rcparse.y create mode 100644 binutils/rdcoff.c create mode 100644 binutils/rddbg.c create mode 100644 binutils/resbin.c create mode 100644 binutils/rescoff.c create mode 100644 binutils/resrc.c create mode 100644 binutils/sanity.sh create mode 100644 binutils/size.1 create mode 100644 binutils/size.c create mode 100644 binutils/srconv.c create mode 100644 binutils/stabs.c create mode 100644 binutils/stamp-h.in create mode 100644 binutils/strings.1 create mode 100644 binutils/strings.c create mode 100644 binutils/strip.1 create mode 100644 binutils/sysdump.c create mode 100644 binutils/sysinfo.c create mode 100644 binutils/sysinfo.h create mode 100644 binutils/sysinfo.y create mode 100644 binutils/syslex.c create mode 100644 binutils/syslex.l create mode 100644 binutils/sysroff.info create mode 100644 binutils/testsuite/ChangeLog create mode 100644 binutils/testsuite/binutils-all/ar.exp create mode 100644 binutils/testsuite/binutils-all/bintest.s create mode 100644 binutils/testsuite/binutils-all/hppa/addendbug.s create mode 100644 binutils/testsuite/binutils-all/hppa/objdump.exp create mode 100644 binutils/testsuite/binutils-all/nm.exp create mode 100644 binutils/testsuite/binutils-all/objcopy.exp create mode 100644 binutils/testsuite/binutils-all/objdump.exp create mode 100644 binutils/testsuite/binutils-all/size.exp create mode 100644 binutils/testsuite/binutils-all/testprog.c create mode 100644 binutils/testsuite/config/default.exp create mode 100644 binutils/testsuite/config/hppa.sed create mode 100644 binutils/testsuite/lib/utils-lib.exp create mode 100644 binutils/version.c create mode 100644 binutils/windres.c create mode 100644 binutils/windres.h create mode 100644 binutils/wrstabs.c create mode 100644 config-ml.in create mode 100644 config.guess create mode 100644 config.sub create mode 100644 config/ChangeLog create mode 100644 config/mh-a68bsd create mode 100644 config/mh-aix386 create mode 100644 config/mh-apollo68 create mode 100644 config/mh-cxux create mode 100644 config/mh-cygwin32 create mode 100644 config/mh-decstation create mode 100644 config/mh-delta88 create mode 100644 config/mh-dgux create mode 100644 config/mh-dgux386 create mode 100644 config/mh-elfalphapic create mode 100644 config/mh-go32 create mode 100644 config/mh-hp300 create mode 100644 config/mh-hpux create mode 100644 config/mh-hpux8 create mode 100644 config/mh-irix4 create mode 100644 config/mh-irix5 create mode 100644 config/mh-irix6 create mode 100644 config/mh-lynxos create mode 100644 config/mh-lynxrs6k create mode 100644 config/mh-m68kpic create mode 100644 config/mh-mingw32 create mode 100644 config/mh-ncr3000 create mode 100644 config/mh-ncrsvr43 create mode 100644 config/mh-necv4 create mode 100644 config/mh-papic create mode 100644 config/mh-ppcpic create mode 100644 config/mh-riscos create mode 100644 config/mh-sco create mode 100644 config/mh-solaris create mode 100644 config/mh-sparcpic create mode 100644 config/mh-sun3 create mode 100644 config/mh-sysv create mode 100644 config/mh-sysv4 create mode 100644 config/mh-vaxult2 create mode 100644 config/mh-windows create mode 100644 config/mh-x86pic create mode 100644 config/mpw-mh-mpw create mode 100644 config/mpw/ChangeLog create mode 100644 config/mpw/MoveIfChange create mode 100644 config/mpw/README create mode 100644 config/mpw/forward-include create mode 100644 config/mpw/g-mpw-make.sed create mode 100644 config/mpw/mpw-touch create mode 100644 config/mpw/mpw-true create mode 100644 config/mpw/null-command create mode 100644 config/mpw/open-brace create mode 100644 config/mpw/tr-7to8-src create mode 100644 config/mpw/true create mode 100644 config/mt-elfalphapic create mode 100644 config/mt-linux create mode 100644 config/mt-m68kpic create mode 100644 config/mt-netware create mode 100644 config/mt-papic create mode 100644 config/mt-ppcpic create mode 100644 config/mt-sparcpic create mode 100644 config/mt-v810 create mode 100644 config/mt-x86pic create mode 100644 configure create mode 100644 configure.bat create mode 100644 configure.in create mode 100644 etc/Makefile.in create mode 100644 etc/configure create mode 100644 etc/configure.in create mode 100644 etc/make-stds.texi create mode 100644 etc/standards.info create mode 100644 etc/standards.texi create mode 100644 gas/CONTRIBUTORS create mode 100644 gas/COPYING create mode 100644 gas/ChangeLog create mode 100644 gas/ChangeLog.1 create mode 100644 gas/Makefile.am create mode 100644 gas/Makefile.in create mode 100644 gas/NEWS create mode 100644 gas/README create mode 100644 gas/README-vms create mode 100644 gas/acconfig.h create mode 100644 gas/acinclude.m4 create mode 100644 gas/aclocal.m4 create mode 100644 gas/app.c create mode 100644 gas/as.c create mode 100644 gas/as.h create mode 100644 gas/atof-generic.c create mode 100644 gas/bignum-copy.c create mode 100644 gas/bignum.h create mode 100644 gas/bit_fix.h create mode 100644 gas/cgen.c create mode 100644 gas/cond.c create mode 100644 gas/config-gas.com create mode 100644 gas/config.in create mode 100644 gas/config/aout_gnu.h create mode 100644 gas/config/atof-ieee.c create mode 100644 gas/config/atof-tahoe.c create mode 100644 gas/config/atof-vax.c create mode 100644 gas/config/e-i386coff.c create mode 100644 gas/config/e-i386elf.c create mode 100644 gas/config/e-mipsecoff.c create mode 100644 gas/config/e-mipself.c create mode 100644 gas/config/go32.cfg create mode 100644 gas/config/itbl-mips.h create mode 100644 gas/config/m68k-parse.h create mode 100644 gas/config/m68k-parse.y create mode 100644 gas/config/m88k-opcode.h create mode 100644 gas/config/obj-aout.c create mode 100644 gas/config/obj-aout.h create mode 100644 gas/config/obj-bout.c create mode 100644 gas/config/obj-bout.h create mode 100644 gas/config/obj-coff.c create mode 100644 gas/config/obj-coff.h create mode 100644 gas/config/obj-ecoff.c create mode 100644 gas/config/obj-ecoff.h create mode 100644 gas/config/obj-elf.c create mode 100644 gas/config/obj-elf.h create mode 100644 gas/config/obj-evax.c create mode 100644 gas/config/obj-evax.h create mode 100644 gas/config/obj-generic.c create mode 100644 gas/config/obj-generic.h create mode 100644 gas/config/obj-hp300.c create mode 100644 gas/config/obj-hp300.h create mode 100644 gas/config/obj-ieee.c create mode 100644 gas/config/obj-ieee.h create mode 100644 gas/config/obj-multi.c create mode 100644 gas/config/obj-multi.h create mode 100644 gas/config/obj-som.c create mode 100644 gas/config/obj-som.h create mode 100644 gas/config/obj-vms.c create mode 100644 gas/config/obj-vms.h create mode 100644 gas/config/tc-a29k.c create mode 100644 gas/config/tc-a29k.h create mode 100644 gas/config/tc-alpha.c create mode 100644 gas/config/tc-alpha.h create mode 100644 gas/config/tc-arc.c create mode 100644 gas/config/tc-arc.h create mode 100644 gas/config/tc-arm.c create mode 100644 gas/config/tc-arm.h create mode 100644 gas/config/tc-d10v.c create mode 100644 gas/config/tc-d10v.h create mode 100644 gas/config/tc-generic.c create mode 100644 gas/config/tc-generic.h create mode 100644 gas/config/tc-h8300.c create mode 100644 gas/config/tc-h8300.h create mode 100644 gas/config/tc-h8500.c create mode 100644 gas/config/tc-h8500.h create mode 100644 gas/config/tc-hppa.c create mode 100644 gas/config/tc-hppa.h create mode 100644 gas/config/tc-i386.c create mode 100644 gas/config/tc-i386.h create mode 100644 gas/config/tc-i860.c create mode 100644 gas/config/tc-i860.h create mode 100644 gas/config/tc-i960.c create mode 100644 gas/config/tc-i960.h create mode 100644 gas/config/tc-m32r.c create mode 100644 gas/config/tc-m32r.h create mode 100644 gas/config/tc-m68851.h create mode 100644 gas/config/tc-m68k.c create mode 100644 gas/config/tc-m68k.h create mode 100644 gas/config/tc-m88k.c create mode 100644 gas/config/tc-m88k.h create mode 100644 gas/config/tc-mips.c create mode 100644 gas/config/tc-mips.h create mode 100644 gas/config/tc-mn10200.c create mode 100644 gas/config/tc-mn10200.h create mode 100644 gas/config/tc-mn10300.c create mode 100644 gas/config/tc-mn10300.h create mode 100644 gas/config/tc-ns32k.c create mode 100644 gas/config/tc-ns32k.h create mode 100644 gas/config/tc-ppc.c create mode 100644 gas/config/tc-ppc.h create mode 100644 gas/config/tc-sh.c create mode 100644 gas/config/tc-sh.h create mode 100644 gas/config/tc-sparc.c create mode 100644 gas/config/tc-sparc.h create mode 100644 gas/config/tc-tahoe.c create mode 100644 gas/config/tc-tahoe.h create mode 100644 gas/config/tc-tic30.c create mode 100644 gas/config/tc-tic30.h create mode 100644 gas/config/tc-v850.c create mode 100644 gas/config/tc-v850.h create mode 100644 gas/config/tc-vax.c create mode 100644 gas/config/tc-vax.h create mode 100644 gas/config/tc-w65.c create mode 100644 gas/config/tc-w65.h create mode 100644 gas/config/tc-z8k.c create mode 100644 gas/config/tc-z8k.h create mode 100644 gas/config/te-386bsd.h create mode 100644 gas/config/te-aux.h create mode 100644 gas/config/te-delt88.h create mode 100644 gas/config/te-delta.h create mode 100644 gas/config/te-dpx2.h create mode 100644 gas/config/te-dynix.h create mode 100644 gas/config/te-generic.h create mode 100644 gas/config/te-go32.h create mode 100644 gas/config/te-hp300.h create mode 100644 gas/config/te-hppa.h create mode 100644 gas/config/te-i386aix.h create mode 100644 gas/config/te-ic960.h create mode 100644 gas/config/te-linux.h create mode 100644 gas/config/te-lnews.h create mode 100644 gas/config/te-lynx.h create mode 100644 gas/config/te-mach.h create mode 100644 gas/config/te-macos.h create mode 100644 gas/config/te-multi.h create mode 100644 gas/config/te-nbsd.h create mode 100644 gas/config/te-nbsd532.h create mode 100644 gas/config/te-pc532mach.h create mode 100644 gas/config/te-pe.h create mode 100644 gas/config/te-ppcnw.h create mode 100644 gas/config/te-psos.h create mode 100644 gas/config/te-riscix.h create mode 100644 gas/config/te-sparcaout.h create mode 100644 gas/config/te-sun3.h create mode 100644 gas/config/te-svr4.h create mode 100644 gas/config/te-sysv32.h create mode 100644 gas/config/vax-inst.h create mode 100644 gas/config/vms-a-conf.h create mode 100644 gas/config/vms-conf.h create mode 100644 gas/configure create mode 100644 gas/configure.bat create mode 100644 gas/configure.in create mode 100644 gas/debug.c create mode 100644 gas/dep-in.sed create mode 100644 gas/depend.c create mode 100644 gas/doc/Makefile.am create mode 100644 gas/doc/Makefile.in create mode 100644 gas/doc/all.texi create mode 100644 gas/doc/as.1 create mode 100644 gas/doc/as.info create mode 100644 gas/doc/as.info-1 create mode 100644 gas/doc/as.info-2 create mode 100644 gas/doc/as.info-3 create mode 100644 gas/doc/as.info-4 create mode 100644 gas/doc/as.info-5 create mode 100644 gas/doc/as.info-6 create mode 100644 gas/doc/as.info-7 create mode 100644 gas/doc/as.texinfo create mode 100644 gas/doc/c-a29k.texi create mode 100644 gas/doc/c-arm.texi create mode 100644 gas/doc/c-d10v.texi create mode 100644 gas/doc/c-h8300.texi create mode 100644 gas/doc/c-h8500.texi create mode 100644 gas/doc/c-hppa.texi create mode 100644 gas/doc/c-i386.texi create mode 100644 gas/doc/c-i960.texi create mode 100644 gas/doc/c-m32r.texi create mode 100644 gas/doc/c-m68k.texi create mode 100644 gas/doc/c-mips.texi create mode 100644 gas/doc/c-ns32k.texi create mode 100644 gas/doc/c-sh.texi create mode 100644 gas/doc/c-sparc.texi create mode 100644 gas/doc/c-v850.texi create mode 100644 gas/doc/c-vax.texi create mode 100644 gas/doc/c-z8k.texi create mode 100644 gas/doc/gasp.info create mode 100644 gas/doc/gasp.texi create mode 100644 gas/doc/h8.texi create mode 100644 gas/doc/internals.texi create mode 100644 gas/ecoff.c create mode 100644 gas/ecoff.h create mode 100644 gas/ehopt.c create mode 100644 gas/emul-target.h create mode 100644 gas/emul.h create mode 100644 gas/expr.c create mode 100644 gas/expr.h create mode 100644 gas/flonum-copy.c create mode 100644 gas/flonum-konst.c create mode 100644 gas/flonum-mult.c create mode 100644 gas/flonum.h create mode 100644 gas/frags.c create mode 100644 gas/frags.h create mode 100644 gas/gasp.c create mode 100644 gas/gdbinit.in create mode 100644 gas/hash.c create mode 100644 gas/hash.h create mode 100644 gas/input-file.c create mode 100644 gas/input-file.h create mode 100644 gas/input-scrub.c create mode 100644 gas/itbl-lex.c create mode 100644 gas/itbl-lex.l create mode 100644 gas/itbl-ops.c create mode 100644 gas/itbl-ops.h create mode 100644 gas/itbl-parse.c create mode 100644 gas/itbl-parse.h create mode 100644 gas/itbl-parse.y create mode 100644 gas/link.cmd create mode 100644 gas/listing.c create mode 100644 gas/listing.h create mode 100644 gas/literal.c create mode 100644 gas/m68k-parse.c create mode 100644 gas/mac-as.r create mode 100644 gas/macro.c create mode 100644 gas/macro.h create mode 100644 gas/make-gas.com create mode 100644 gas/makefile.vms create mode 100644 gas/messages.c create mode 100644 gas/mpw-config.in create mode 100644 gas/mpw-make.sed create mode 100644 gas/obj.h create mode 100644 gas/output-file.c create mode 100644 gas/output-file.h create mode 100644 gas/read.c create mode 100644 gas/read.h create mode 100644 gas/sb.c create mode 100644 gas/sb.h create mode 100644 gas/stabs.c create mode 100644 gas/stamp-h.in create mode 100644 gas/struc-symbol.h create mode 100644 gas/subsegs.c create mode 100644 gas/subsegs.h create mode 100644 gas/symbols.c create mode 100644 gas/symbols.h create mode 100644 gas/tc.h create mode 100644 gas/testsuite/ChangeLog create mode 100644 gas/testsuite/config/default.exp create mode 100644 gas/testsuite/gas/all/align.d create mode 100644 gas/testsuite/gas/all/align.s create mode 100644 gas/testsuite/gas/all/cofftag.d create mode 100644 gas/testsuite/gas/all/cofftag.s create mode 100644 gas/testsuite/gas/all/comment.s create mode 100644 gas/testsuite/gas/all/cond.d create mode 100644 gas/testsuite/gas/all/cond.s create mode 100644 gas/testsuite/gas/all/diff1.s create mode 100644 gas/testsuite/gas/all/float.s create mode 100644 gas/testsuite/gas/all/gas.exp create mode 100644 gas/testsuite/gas/all/itbl create mode 100644 gas/testsuite/gas/all/itbl-test.c create mode 100644 gas/testsuite/gas/all/itbl.s create mode 100644 gas/testsuite/gas/all/p1480.s create mode 100644 gas/testsuite/gas/all/p2425.s create mode 100644 gas/testsuite/gas/all/struct.d create mode 100644 gas/testsuite/gas/all/struct.s create mode 100644 gas/testsuite/gas/all/x930509.s create mode 100644 gas/testsuite/gas/alpha/fp.d create mode 100644 gas/testsuite/gas/alpha/fp.exp create mode 100644 gas/testsuite/gas/alpha/fp.s create mode 100644 gas/testsuite/gas/arc/alias.d create mode 100644 gas/testsuite/gas/arc/alias.s create mode 100644 gas/testsuite/gas/arc/arc.exp create mode 100644 gas/testsuite/gas/arc/branch.d create mode 100644 gas/testsuite/gas/arc/branch.s create mode 100644 gas/testsuite/gas/arc/flag.d create mode 100644 gas/testsuite/gas/arc/flag.s create mode 100644 gas/testsuite/gas/arc/insn3.d create mode 100644 gas/testsuite/gas/arc/insn3.s create mode 100644 gas/testsuite/gas/arc/j.d create mode 100644 gas/testsuite/gas/arc/j.s create mode 100644 gas/testsuite/gas/arc/ld.d create mode 100644 gas/testsuite/gas/arc/ld.s create mode 100644 gas/testsuite/gas/arc/math.d create mode 100644 gas/testsuite/gas/arc/math.s create mode 100644 gas/testsuite/gas/arc/sshift.d create mode 100644 gas/testsuite/gas/arc/sshift.s create mode 100644 gas/testsuite/gas/arc/st.d create mode 100644 gas/testsuite/gas/arc/st.s create mode 100644 gas/testsuite/gas/arc/warn.exp create mode 100644 gas/testsuite/gas/arc/warn.s create mode 100644 gas/testsuite/gas/arm/arch4t.s create mode 100644 gas/testsuite/gas/arm/arm.exp create mode 100644 gas/testsuite/gas/arm/arm3.s create mode 100644 gas/testsuite/gas/arm/arm6.s create mode 100644 gas/testsuite/gas/arm/arm7dm.s create mode 100644 gas/testsuite/gas/arm/arm7t.d create mode 100644 gas/testsuite/gas/arm/arm7t.s create mode 100644 gas/testsuite/gas/arm/copro.s create mode 100644 gas/testsuite/gas/arm/float.s create mode 100644 gas/testsuite/gas/arm/immed.s create mode 100644 gas/testsuite/gas/arm/inst.d create mode 100644 gas/testsuite/gas/arm/inst.s create mode 100644 gas/testsuite/gas/arm/le-fpconst.d create mode 100644 gas/testsuite/gas/arm/le-fpconst.s create mode 100644 gas/testsuite/gas/arm/thumb.s create mode 100644 gas/testsuite/gas/h8300/addsub.s create mode 100644 gas/testsuite/gas/h8300/addsubh.s create mode 100644 gas/testsuite/gas/h8300/addsubs.s create mode 100644 gas/testsuite/gas/h8300/bitops1.s create mode 100644 gas/testsuite/gas/h8300/bitops1h.s create mode 100644 gas/testsuite/gas/h8300/bitops1s.s create mode 100644 gas/testsuite/gas/h8300/bitops2.s create mode 100644 gas/testsuite/gas/h8300/bitops2h.s create mode 100644 gas/testsuite/gas/h8300/bitops2s.s create mode 100644 gas/testsuite/gas/h8300/bitops3.s create mode 100644 gas/testsuite/gas/h8300/bitops3h.s create mode 100644 gas/testsuite/gas/h8300/bitops3s.s create mode 100644 gas/testsuite/gas/h8300/bitops4.s create mode 100644 gas/testsuite/gas/h8300/bitops4h.s create mode 100644 gas/testsuite/gas/h8300/bitops4s.s create mode 100644 gas/testsuite/gas/h8300/branch.s create mode 100644 gas/testsuite/gas/h8300/branchh.s create mode 100644 gas/testsuite/gas/h8300/branchs.s create mode 100644 gas/testsuite/gas/h8300/cbranch.s create mode 100644 gas/testsuite/gas/h8300/cbranchh.s create mode 100644 gas/testsuite/gas/h8300/cbranchs.s create mode 100644 gas/testsuite/gas/h8300/cmpsi2.s create mode 100644 gas/testsuite/gas/h8300/compare.s create mode 100644 gas/testsuite/gas/h8300/compareh.s create mode 100644 gas/testsuite/gas/h8300/compares.s create mode 100644 gas/testsuite/gas/h8300/decimal.s create mode 100644 gas/testsuite/gas/h8300/decimalh.s create mode 100644 gas/testsuite/gas/h8300/decimals.s create mode 100644 gas/testsuite/gas/h8300/divmul.s create mode 100644 gas/testsuite/gas/h8300/divmulh.s create mode 100644 gas/testsuite/gas/h8300/divmuls.s create mode 100644 gas/testsuite/gas/h8300/extendh.s create mode 100644 gas/testsuite/gas/h8300/extends.s create mode 100644 gas/testsuite/gas/h8300/ffxx1.d create mode 100644 gas/testsuite/gas/h8300/ffxx1.s create mode 100644 gas/testsuite/gas/h8300/h8300.exp create mode 100644 gas/testsuite/gas/h8300/incdec.s create mode 100644 gas/testsuite/gas/h8300/incdech.s create mode 100644 gas/testsuite/gas/h8300/incdecs.s create mode 100644 gas/testsuite/gas/h8300/logical.s create mode 100644 gas/testsuite/gas/h8300/logicalh.s create mode 100644 gas/testsuite/gas/h8300/logicals.s create mode 100644 gas/testsuite/gas/h8300/macs.s create mode 100644 gas/testsuite/gas/h8300/misc.s create mode 100644 gas/testsuite/gas/h8300/misch.s create mode 100644 gas/testsuite/gas/h8300/miscs.s create mode 100644 gas/testsuite/gas/h8300/mov32bug.s create mode 100644 gas/testsuite/gas/h8300/movb.s create mode 100644 gas/testsuite/gas/h8300/movbh.s create mode 100644 gas/testsuite/gas/h8300/movbs.s create mode 100644 gas/testsuite/gas/h8300/movlh.s create mode 100644 gas/testsuite/gas/h8300/movls.s create mode 100644 gas/testsuite/gas/h8300/movw.s create mode 100644 gas/testsuite/gas/h8300/movwh.s create mode 100644 gas/testsuite/gas/h8300/movws.s create mode 100644 gas/testsuite/gas/h8300/multiples.s create mode 100644 gas/testsuite/gas/h8300/pushpop.s create mode 100644 gas/testsuite/gas/h8300/pushpoph.s create mode 100644 gas/testsuite/gas/h8300/pushpops.s create mode 100644 gas/testsuite/gas/h8300/rotsh.s create mode 100644 gas/testsuite/gas/h8300/rotshh.s create mode 100644 gas/testsuite/gas/h8300/rotshs.s create mode 100644 gas/testsuite/gas/hppa/README create mode 100644 gas/testsuite/gas/hppa/basic/add.s create mode 100644 gas/testsuite/gas/hppa/basic/addi.s create mode 100644 gas/testsuite/gas/hppa/basic/basic.exp create mode 100644 gas/testsuite/gas/hppa/basic/branch.s create mode 100644 gas/testsuite/gas/hppa/basic/comclr.s create mode 100644 gas/testsuite/gas/hppa/basic/copr.s create mode 100644 gas/testsuite/gas/hppa/basic/coprmem.s create mode 100644 gas/testsuite/gas/hppa/basic/dcor.s create mode 100644 gas/testsuite/gas/hppa/basic/deposit.s create mode 100644 gas/testsuite/gas/hppa/basic/ds.s create mode 100644 gas/testsuite/gas/hppa/basic/extract.s create mode 100644 gas/testsuite/gas/hppa/basic/fmem.s create mode 100644 gas/testsuite/gas/hppa/basic/fmemLRbug.s create mode 100644 gas/testsuite/gas/hppa/basic/fp_comp.s create mode 100644 gas/testsuite/gas/hppa/basic/fp_conv.s create mode 100644 gas/testsuite/gas/hppa/basic/fp_fcmp.s create mode 100644 gas/testsuite/gas/hppa/basic/fp_misc.s create mode 100644 gas/testsuite/gas/hppa/basic/imem.s create mode 100644 gas/testsuite/gas/hppa/basic/immed.s create mode 100644 gas/testsuite/gas/hppa/basic/logical.s create mode 100644 gas/testsuite/gas/hppa/basic/purge.s create mode 100644 gas/testsuite/gas/hppa/basic/sh1add.s create mode 100644 gas/testsuite/gas/hppa/basic/sh2add.s create mode 100644 gas/testsuite/gas/hppa/basic/sh3add.s create mode 100644 gas/testsuite/gas/hppa/basic/shift.s create mode 100644 gas/testsuite/gas/hppa/basic/special.s create mode 100644 gas/testsuite/gas/hppa/basic/spop.s create mode 100644 gas/testsuite/gas/hppa/basic/sub.s create mode 100644 gas/testsuite/gas/hppa/basic/subi.s create mode 100644 gas/testsuite/gas/hppa/basic/system.s create mode 100644 gas/testsuite/gas/hppa/basic/unit.s create mode 100644 gas/testsuite/gas/hppa/basic/weird.s create mode 100644 gas/testsuite/gas/hppa/parse/align1.s create mode 100644 gas/testsuite/gas/hppa/parse/align2.s create mode 100644 gas/testsuite/gas/hppa/parse/appbug.s create mode 100644 gas/testsuite/gas/hppa/parse/badfmpyadd.s create mode 100644 gas/testsuite/gas/hppa/parse/block1.s create mode 100644 gas/testsuite/gas/hppa/parse/block2.s create mode 100644 gas/testsuite/gas/hppa/parse/calldatabug.s create mode 100644 gas/testsuite/gas/hppa/parse/callinfobug.s create mode 100644 gas/testsuite/gas/hppa/parse/defbug.s create mode 100644 gas/testsuite/gas/hppa/parse/entrybug.s create mode 100644 gas/testsuite/gas/hppa/parse/exportbug.s create mode 100644 gas/testsuite/gas/hppa/parse/exprbug.s create mode 100644 gas/testsuite/gas/hppa/parse/fixup7bug.s create mode 100644 gas/testsuite/gas/hppa/parse/global.s create mode 100644 gas/testsuite/gas/hppa/parse/labelbug.s create mode 100644 gas/testsuite/gas/hppa/parse/linesepbug.s create mode 100644 gas/testsuite/gas/hppa/parse/lselbug.s create mode 100644 gas/testsuite/gas/hppa/parse/nosubspace.s create mode 100644 gas/testsuite/gas/hppa/parse/parse.exp create mode 100644 gas/testsuite/gas/hppa/parse/procbug.s create mode 100644 gas/testsuite/gas/hppa/parse/regpopbug.s create mode 100644 gas/testsuite/gas/hppa/parse/spacebug.s create mode 100644 gas/testsuite/gas/hppa/parse/ssbug.s create mode 100644 gas/testsuite/gas/hppa/parse/stdreg.s create mode 100644 gas/testsuite/gas/hppa/parse/stringer.s create mode 100644 gas/testsuite/gas/hppa/parse/undefbug.s create mode 100644 gas/testsuite/gas/hppa/parse/versionbug.s create mode 100644 gas/testsuite/gas/hppa/parse/xmpyubug.s create mode 100644 gas/testsuite/gas/hppa/reloc/applybug.s create mode 100644 gas/testsuite/gas/hppa/reloc/blebug.s create mode 100644 gas/testsuite/gas/hppa/reloc/blebug2.s create mode 100644 gas/testsuite/gas/hppa/reloc/blebug3.s create mode 100644 gas/testsuite/gas/hppa/reloc/exitbug.s create mode 100644 gas/testsuite/gas/hppa/reloc/fixupbug.s create mode 100644 gas/testsuite/gas/hppa/reloc/funcrelocbug.s create mode 100644 gas/testsuite/gas/hppa/reloc/labelopbug.s create mode 100644 gas/testsuite/gas/hppa/reloc/longcall.s create mode 100644 gas/testsuite/gas/hppa/reloc/picreloc.s create mode 100644 gas/testsuite/gas/hppa/reloc/plabelbug.s create mode 100644 gas/testsuite/gas/hppa/reloc/r_no_reloc.s create mode 100644 gas/testsuite/gas/hppa/reloc/reduce.s create mode 100644 gas/testsuite/gas/hppa/reloc/reduce2.s create mode 100644 gas/testsuite/gas/hppa/reloc/reduce3.s create mode 100644 gas/testsuite/gas/hppa/reloc/reloc.exp create mode 100644 gas/testsuite/gas/hppa/reloc/roundmode.s create mode 100644 gas/testsuite/gas/hppa/reloc/selectorbug.s create mode 100644 gas/testsuite/gas/hppa/unsorted/align3.s create mode 100644 gas/testsuite/gas/hppa/unsorted/align4.s create mode 100644 gas/testsuite/gas/hppa/unsorted/brlenbug.s create mode 100644 gas/testsuite/gas/hppa/unsorted/common.s create mode 100644 gas/testsuite/gas/hppa/unsorted/fragbug.s create mode 100644 gas/testsuite/gas/hppa/unsorted/globalbug.s create mode 100644 gas/testsuite/gas/hppa/unsorted/importbug.s create mode 100644 gas/testsuite/gas/hppa/unsorted/labeldiffs.s create mode 100644 gas/testsuite/gas/hppa/unsorted/locallabel.s create mode 100644 gas/testsuite/gas/hppa/unsorted/ss_align.s create mode 100644 gas/testsuite/gas/hppa/unsorted/unsorted.exp create mode 100644 gas/testsuite/gas/i386/all.exp create mode 100644 gas/testsuite/gas/i386/inout.s create mode 100644 gas/testsuite/gas/i386/pushw.l create mode 100644 gas/testsuite/gas/i386/pushw.s create mode 100644 gas/testsuite/gas/ieee-fp/x930509a.exp create mode 100644 gas/testsuite/gas/ieee-fp/x930509a.s create mode 100644 gas/testsuite/gas/m32r/allinsn.d create mode 100644 gas/testsuite/gas/m32r/allinsn.exp create mode 100644 gas/testsuite/gas/m32r/allinsn.s create mode 100644 gas/testsuite/gas/m32r/high-1.d create mode 100644 gas/testsuite/gas/m32r/high-1.s create mode 100644 gas/testsuite/gas/m32r/m32r.exp create mode 100644 gas/testsuite/gas/m32r/relax-1.d create mode 100644 gas/testsuite/gas/m32r/relax-1.s create mode 100644 gas/testsuite/gas/m32r/uppercase.d create mode 100644 gas/testsuite/gas/m32r/uppercase.s create mode 100644 gas/testsuite/gas/m68k-coff/gas.exp create mode 100644 gas/testsuite/gas/m68k-coff/p2389.s create mode 100644 gas/testsuite/gas/m68k-coff/p2389a.s create mode 100644 gas/testsuite/gas/m68k-coff/p2430.s create mode 100644 gas/testsuite/gas/m68k-coff/p2430a.s create mode 100644 gas/testsuite/gas/m68k-coff/t1.s create mode 100644 gas/testsuite/gas/m68k/all.exp create mode 100644 gas/testsuite/gas/m68k/bitfield.d create mode 100644 gas/testsuite/gas/m68k/bitfield.s create mode 100644 gas/testsuite/gas/m68k/cas.d create mode 100644 gas/testsuite/gas/m68k/cas.s create mode 100644 gas/testsuite/gas/m68k/disperr.s create mode 100644 gas/testsuite/gas/m68k/fmoveml.d create mode 100644 gas/testsuite/gas/m68k/fmoveml.s create mode 100644 gas/testsuite/gas/m68k/link.d create mode 100644 gas/testsuite/gas/m68k/link.s create mode 100644 gas/testsuite/gas/m68k/op68000.d create mode 100644 gas/testsuite/gas/m68k/operands.d create mode 100644 gas/testsuite/gas/m68k/operands.s create mode 100644 gas/testsuite/gas/m68k/p2410.s create mode 100644 gas/testsuite/gas/m68k/p2663.s create mode 100644 gas/testsuite/gas/m68k/pcrel.d create mode 100644 gas/testsuite/gas/m68k/pcrel.s create mode 100644 gas/testsuite/gas/m68k/pic1.s create mode 100644 gas/testsuite/gas/m68k/t2.d create mode 100644 gas/testsuite/gas/m68k/t2.s create mode 100644 gas/testsuite/gas/m88k/init.d create mode 100644 gas/testsuite/gas/m88k/init.s create mode 100644 gas/testsuite/gas/m88k/m88k.exp create mode 100644 gas/testsuite/gas/macros/err.s create mode 100644 gas/testsuite/gas/macros/irp.d create mode 100644 gas/testsuite/gas/macros/irp.s create mode 100644 gas/testsuite/gas/macros/macros.exp create mode 100644 gas/testsuite/gas/macros/rept.d create mode 100644 gas/testsuite/gas/macros/rept.s create mode 100644 gas/testsuite/gas/macros/semi.d create mode 100644 gas/testsuite/gas/macros/semi.s create mode 100644 gas/testsuite/gas/macros/test1.d create mode 100644 gas/testsuite/gas/macros/test1.s create mode 100644 gas/testsuite/gas/macros/test2.d create mode 100644 gas/testsuite/gas/macros/test2.s create mode 100644 gas/testsuite/gas/macros/test3.d create mode 100644 gas/testsuite/gas/macros/test3.s create mode 100644 gas/testsuite/gas/mips/abs.d create mode 100644 gas/testsuite/gas/mips/abs.s create mode 100644 gas/testsuite/gas/mips/add.d create mode 100644 gas/testsuite/gas/mips/add.s create mode 100644 gas/testsuite/gas/mips/and.d create mode 100644 gas/testsuite/gas/mips/and.s create mode 100644 gas/testsuite/gas/mips/beq.d create mode 100644 gas/testsuite/gas/mips/beq.s create mode 100644 gas/testsuite/gas/mips/bge.d create mode 100644 gas/testsuite/gas/mips/bge.s create mode 100644 gas/testsuite/gas/mips/bgeu.d create mode 100644 gas/testsuite/gas/mips/bgeu.s create mode 100644 gas/testsuite/gas/mips/blt.d create mode 100644 gas/testsuite/gas/mips/blt.s create mode 100644 gas/testsuite/gas/mips/bltu.d create mode 100644 gas/testsuite/gas/mips/bltu.s create mode 100644 gas/testsuite/gas/mips/delay.d create mode 100644 gas/testsuite/gas/mips/delay.s create mode 100644 gas/testsuite/gas/mips/div-ilocks.d create mode 100644 gas/testsuite/gas/mips/div.d create mode 100644 gas/testsuite/gas/mips/div.s create mode 100644 gas/testsuite/gas/mips/dli.d create mode 100644 gas/testsuite/gas/mips/dli.s create mode 100644 gas/testsuite/gas/mips/itbl create mode 100644 gas/testsuite/gas/mips/itbl.s create mode 100644 gas/testsuite/gas/mips/jal-empic.d create mode 100644 gas/testsuite/gas/mips/jal-svr4pic.d create mode 100644 gas/testsuite/gas/mips/jal-svr4pic.s create mode 100644 gas/testsuite/gas/mips/jal-xgot.d create mode 100644 gas/testsuite/gas/mips/jal.d create mode 100644 gas/testsuite/gas/mips/jal.s create mode 100644 gas/testsuite/gas/mips/la-empic.d create mode 100644 gas/testsuite/gas/mips/la-empic.s create mode 100644 gas/testsuite/gas/mips/la-svr4pic.d create mode 100644 gas/testsuite/gas/mips/la-xgot.d create mode 100644 gas/testsuite/gas/mips/la.d create mode 100644 gas/testsuite/gas/mips/la.s create mode 100644 gas/testsuite/gas/mips/lb-empic.d create mode 100644 gas/testsuite/gas/mips/lb-pic.s create mode 100644 gas/testsuite/gas/mips/lb-svr4pic.d create mode 100644 gas/testsuite/gas/mips/lb-xgot-ilocks.d create mode 100644 gas/testsuite/gas/mips/lb-xgot.d create mode 100644 gas/testsuite/gas/mips/lb.d create mode 100644 gas/testsuite/gas/mips/lb.s create mode 100644 gas/testsuite/gas/mips/ld-empic.d create mode 100644 gas/testsuite/gas/mips/ld-ilocks.d create mode 100644 gas/testsuite/gas/mips/ld-pic.s create mode 100644 gas/testsuite/gas/mips/ld-svr4pic.d create mode 100644 gas/testsuite/gas/mips/ld-xgot.d create mode 100644 gas/testsuite/gas/mips/ld.d create mode 100644 gas/testsuite/gas/mips/ld.s create mode 100644 gas/testsuite/gas/mips/li.d create mode 100644 gas/testsuite/gas/mips/li.s create mode 100644 gas/testsuite/gas/mips/lif-empic.d create mode 100644 gas/testsuite/gas/mips/lif-svr4pic.d create mode 100644 gas/testsuite/gas/mips/lif-xgot.d create mode 100644 gas/testsuite/gas/mips/lifloat.d create mode 100644 gas/testsuite/gas/mips/lifloat.s create mode 100644 gas/testsuite/gas/mips/mips.exp create mode 100644 gas/testsuite/gas/mips/mips16.d create mode 100644 gas/testsuite/gas/mips/mips16.s create mode 100644 gas/testsuite/gas/mips/mips4.d create mode 100644 gas/testsuite/gas/mips/mips4.s create mode 100644 gas/testsuite/gas/mips/mips4010.d create mode 100644 gas/testsuite/gas/mips/mips4010.s create mode 100644 gas/testsuite/gas/mips/mips4100.d create mode 100644 gas/testsuite/gas/mips/mips4100.s create mode 100644 gas/testsuite/gas/mips/mips4650.d create mode 100644 gas/testsuite/gas/mips/mips4650.s create mode 100644 gas/testsuite/gas/mips/mul-ilocks.d create mode 100644 gas/testsuite/gas/mips/mul.d create mode 100644 gas/testsuite/gas/mips/mul.s create mode 100644 gas/testsuite/gas/mips/nodelay.d create mode 100644 gas/testsuite/gas/mips/rol.d create mode 100644 gas/testsuite/gas/mips/rol.s create mode 100644 gas/testsuite/gas/mips/sb.d create mode 100644 gas/testsuite/gas/mips/sb.s create mode 100644 gas/testsuite/gas/mips/trunc.d create mode 100644 gas/testsuite/gas/mips/trunc.s create mode 100644 gas/testsuite/gas/mips/uld.d create mode 100644 gas/testsuite/gas/mips/uld.s create mode 100644 gas/testsuite/gas/mips/ulh-empic.d create mode 100644 gas/testsuite/gas/mips/ulh-pic.s create mode 100644 gas/testsuite/gas/mips/ulh-svr4pic.d create mode 100644 gas/testsuite/gas/mips/ulh-xgot.d create mode 100644 gas/testsuite/gas/mips/ulh.d create mode 100644 gas/testsuite/gas/mips/ulh.s create mode 100644 gas/testsuite/gas/mips/ulw.d create mode 100644 gas/testsuite/gas/mips/ulw.s create mode 100644 gas/testsuite/gas/mips/usd.d create mode 100644 gas/testsuite/gas/mips/usd.s create mode 100644 gas/testsuite/gas/mips/ush.d create mode 100644 gas/testsuite/gas/mips/ush.s create mode 100644 gas/testsuite/gas/mips/usw.d create mode 100644 gas/testsuite/gas/mips/usw.s create mode 100644 gas/testsuite/gas/mn10200/add.s create mode 100644 gas/testsuite/gas/mn10200/basic.exp create mode 100644 gas/testsuite/gas/mn10200/bcc.s create mode 100644 gas/testsuite/gas/mn10200/bccx.s create mode 100644 gas/testsuite/gas/mn10200/bit.s create mode 100644 gas/testsuite/gas/mn10200/cmp.s create mode 100644 gas/testsuite/gas/mn10200/ext.s create mode 100644 gas/testsuite/gas/mn10200/logical.s create mode 100644 gas/testsuite/gas/mn10200/mov1.s create mode 100644 gas/testsuite/gas/mn10200/mov2.s create mode 100644 gas/testsuite/gas/mn10200/mov3.s create mode 100644 gas/testsuite/gas/mn10200/mov4.s create mode 100644 gas/testsuite/gas/mn10200/movb.s create mode 100644 gas/testsuite/gas/mn10200/movbu.s create mode 100644 gas/testsuite/gas/mn10200/movx.s create mode 100644 gas/testsuite/gas/mn10200/muldiv.s create mode 100644 gas/testsuite/gas/mn10200/other.s create mode 100644 gas/testsuite/gas/mn10200/shift.s create mode 100644 gas/testsuite/gas/mn10200/sub.s create mode 100644 gas/testsuite/gas/mn10300/add.s create mode 100644 gas/testsuite/gas/mn10300/basic.exp create mode 100644 gas/testsuite/gas/mn10300/bcc.s create mode 100644 gas/testsuite/gas/mn10300/bit.s create mode 100644 gas/testsuite/gas/mn10300/cmp.s create mode 100644 gas/testsuite/gas/mn10300/ext.s create mode 100644 gas/testsuite/gas/mn10300/extend.s create mode 100644 gas/testsuite/gas/mn10300/logical.s create mode 100644 gas/testsuite/gas/mn10300/loop.s create mode 100644 gas/testsuite/gas/mn10300/mov1.s create mode 100644 gas/testsuite/gas/mn10300/mov2.s create mode 100644 gas/testsuite/gas/mn10300/mov3.s create mode 100644 gas/testsuite/gas/mn10300/mov4.s create mode 100644 gas/testsuite/gas/mn10300/movbu.s create mode 100644 gas/testsuite/gas/mn10300/movhu.s create mode 100644 gas/testsuite/gas/mn10300/movm.s create mode 100644 gas/testsuite/gas/mn10300/muldiv.s create mode 100644 gas/testsuite/gas/mn10300/other.s create mode 100644 gas/testsuite/gas/mn10300/shift.s create mode 100644 gas/testsuite/gas/mn10300/sub.s create mode 100644 gas/testsuite/gas/mri/char.d create mode 100644 gas/testsuite/gas/mri/char.s create mode 100644 gas/testsuite/gas/mri/comment.d create mode 100644 gas/testsuite/gas/mri/comment.s create mode 100644 gas/testsuite/gas/mri/common.d create mode 100644 gas/testsuite/gas/mri/common.s create mode 100644 gas/testsuite/gas/mri/constants.d create mode 100644 gas/testsuite/gas/mri/constants.s create mode 100644 gas/testsuite/gas/mri/empty.s create mode 100644 gas/testsuite/gas/mri/equ.d create mode 100644 gas/testsuite/gas/mri/equ.s create mode 100644 gas/testsuite/gas/mri/expr.d create mode 100644 gas/testsuite/gas/mri/expr.s create mode 100644 gas/testsuite/gas/mri/float.d create mode 100644 gas/testsuite/gas/mri/float.s create mode 100644 gas/testsuite/gas/mri/for.d create mode 100644 gas/testsuite/gas/mri/for.s create mode 100644 gas/testsuite/gas/mri/if.d create mode 100644 gas/testsuite/gas/mri/if.s create mode 100644 gas/testsuite/gas/mri/immconst.d create mode 100644 gas/testsuite/gas/mri/label.d create mode 100644 gas/testsuite/gas/mri/label.s create mode 100644 gas/testsuite/gas/mri/moveml.d create mode 100644 gas/testsuite/gas/mri/moveml.s create mode 100644 gas/testsuite/gas/mri/mri.exp create mode 100644 gas/testsuite/gas/mri/repeat.d create mode 100644 gas/testsuite/gas/mri/repeat.s create mode 100644 gas/testsuite/gas/mri/semi.d create mode 100644 gas/testsuite/gas/mri/semi.s create mode 100644 gas/testsuite/gas/mri/while.d create mode 100644 gas/testsuite/gas/mri/while.s create mode 100644 gas/testsuite/gas/ppc/astest.d create mode 100644 gas/testsuite/gas/ppc/astest.s create mode 100644 gas/testsuite/gas/ppc/astest2.d create mode 100644 gas/testsuite/gas/ppc/astest2.s create mode 100644 gas/testsuite/gas/ppc/ppc.exp create mode 100644 gas/testsuite/gas/sh/basic.exp create mode 100644 gas/testsuite/gas/sh/fp.s create mode 100644 gas/testsuite/gas/sparc-solaris/addend.exp create mode 100644 gas/testsuite/gas/sparc-solaris/addend.s create mode 100644 gas/testsuite/gas/sparc-solaris/gas.exp create mode 100644 gas/testsuite/gas/sparc-solaris/sol-cc.s create mode 100644 gas/testsuite/gas/sparc-solaris/sol-gcc.s create mode 100644 gas/testsuite/gas/sparc/asi.d create mode 100644 gas/testsuite/gas/sparc/asi.s create mode 100644 gas/testsuite/gas/sparc/membar.d create mode 100644 gas/testsuite/gas/sparc/membar.s create mode 100644 gas/testsuite/gas/sparc/mism-1.s create mode 100644 gas/testsuite/gas/sparc/mismatch.exp create mode 100644 gas/testsuite/gas/sparc/prefetch.d create mode 100644 gas/testsuite/gas/sparc/prefetch.s create mode 100644 gas/testsuite/gas/sparc/rdpr.d create mode 100644 gas/testsuite/gas/sparc/rdpr.s create mode 100644 gas/testsuite/gas/sparc/reloc64.d create mode 100644 gas/testsuite/gas/sparc/reloc64.s create mode 100644 gas/testsuite/gas/sparc/set64.d create mode 100644 gas/testsuite/gas/sparc/set64.s create mode 100644 gas/testsuite/gas/sparc/sparc.exp create mode 100644 gas/testsuite/gas/sparc/splet-2.d create mode 100644 gas/testsuite/gas/sparc/splet-2.s create mode 100644 gas/testsuite/gas/sparc/splet.d create mode 100644 gas/testsuite/gas/sparc/splet.s create mode 100644 gas/testsuite/gas/sparc/synth.d create mode 100644 gas/testsuite/gas/sparc/synth.s create mode 100644 gas/testsuite/gas/sparc/synth64.d create mode 100644 gas/testsuite/gas/sparc/synth64.s create mode 100644 gas/testsuite/gas/sparc/wrpr.d create mode 100644 gas/testsuite/gas/sparc/wrpr.s create mode 100644 gas/testsuite/gas/sun4/addend.d create mode 100644 gas/testsuite/gas/sun4/addend.exp create mode 100644 gas/testsuite/gas/sun4/addend.s create mode 100644 gas/testsuite/gas/template create mode 100644 gas/testsuite/gas/v850/arith.s create mode 100644 gas/testsuite/gas/v850/basic.exp create mode 100644 gas/testsuite/gas/v850/bit.s create mode 100644 gas/testsuite/gas/v850/branch.s create mode 100644 gas/testsuite/gas/v850/compare.s create mode 100644 gas/testsuite/gas/v850/fepsw.s create mode 100644 gas/testsuite/gas/v850/hilo.s create mode 100644 gas/testsuite/gas/v850/hilo2.s create mode 100644 gas/testsuite/gas/v850/jumps.s create mode 100644 gas/testsuite/gas/v850/logical.s create mode 100644 gas/testsuite/gas/v850/mem.s create mode 100644 gas/testsuite/gas/v850/misc.s create mode 100644 gas/testsuite/gas/v850/move.s create mode 100644 gas/testsuite/gas/v850/range.s create mode 100644 gas/testsuite/gas/v850/reloc.s create mode 100644 gas/testsuite/gas/vax/quad.exp create mode 100644 gas/testsuite/gas/vax/quad.s create mode 100644 gas/testsuite/gasp/INC1.H create mode 100644 gas/testsuite/gasp/INC2.H create mode 100644 gas/testsuite/gasp/assign.asm create mode 100644 gas/testsuite/gasp/assign.err create mode 100644 gas/testsuite/gasp/assign.out create mode 100644 gas/testsuite/gasp/condass.asm create mode 100644 gas/testsuite/gasp/condass.err create mode 100644 gas/testsuite/gasp/condass.out create mode 100644 gas/testsuite/gasp/crash.asm create mode 100644 gas/testsuite/gasp/crash.err create mode 100644 gas/testsuite/gasp/crash.out create mode 100644 gas/testsuite/gasp/crash1.asm create mode 100644 gas/testsuite/gasp/crash1.err create mode 100644 gas/testsuite/gasp/crash1.out create mode 100644 gas/testsuite/gasp/crash2.asm create mode 100644 gas/testsuite/gasp/crash2.err create mode 100644 gas/testsuite/gasp/crash2.out create mode 100644 gas/testsuite/gasp/data.asm create mode 100644 gas/testsuite/gasp/data.err create mode 100644 gas/testsuite/gasp/data.out create mode 100644 gas/testsuite/gasp/exp.asm create mode 100644 gas/testsuite/gasp/exp.err create mode 100644 gas/testsuite/gasp/exp.out create mode 100644 gas/testsuite/gasp/gasp.exp create mode 100644 gas/testsuite/gasp/include.asm create mode 100644 gas/testsuite/gasp/include.err create mode 100644 gas/testsuite/gasp/include.out create mode 100644 gas/testsuite/gasp/listing.asm create mode 100644 gas/testsuite/gasp/listing.err create mode 100644 gas/testsuite/gasp/listing.out create mode 100644 gas/testsuite/gasp/macro.asm create mode 100644 gas/testsuite/gasp/macro.err create mode 100644 gas/testsuite/gasp/macro.out create mode 100644 gas/testsuite/gasp/mdouble.asm create mode 100644 gas/testsuite/gasp/mdouble.err create mode 100644 gas/testsuite/gasp/mdouble.out create mode 100644 gas/testsuite/gasp/mri/embed.asm create mode 100644 gas/testsuite/gasp/mri/embed.out create mode 100644 gas/testsuite/gasp/mri/exists.asm create mode 100644 gas/testsuite/gasp/mri/exists.out create mode 100644 gas/testsuite/gasp/mri/irp.asm create mode 100644 gas/testsuite/gasp/mri/irp.out create mode 100644 gas/testsuite/gasp/mri/irpc.asm create mode 100644 gas/testsuite/gasp/mri/irpc.out create mode 100644 gas/testsuite/gasp/mri/macro.asm create mode 100644 gas/testsuite/gasp/mri/macro.out create mode 100644 gas/testsuite/gasp/mri/narg.asm create mode 100644 gas/testsuite/gasp/mri/narg.out create mode 100644 gas/testsuite/gasp/mri/rept.asm create mode 100644 gas/testsuite/gasp/mri/rept.out create mode 100644 gas/testsuite/gasp/pl1.asm create mode 100644 gas/testsuite/gasp/pl1.err create mode 100644 gas/testsuite/gasp/pl1.out create mode 100644 gas/testsuite/gasp/pl2.asm create mode 100644 gas/testsuite/gasp/pl2.err create mode 100644 gas/testsuite/gasp/pl2.out create mode 100644 gas/testsuite/gasp/pl3.asm create mode 100644 gas/testsuite/gasp/pl3.err create mode 100644 gas/testsuite/gasp/pl3.out create mode 100644 gas/testsuite/gasp/pl4.asm create mode 100644 gas/testsuite/gasp/pl4.err create mode 100644 gas/testsuite/gasp/pl4.out create mode 100644 gas/testsuite/gasp/pl5.asm create mode 100644 gas/testsuite/gasp/pl5.err create mode 100644 gas/testsuite/gasp/pl5.out create mode 100644 gas/testsuite/gasp/pl6.asm create mode 100644 gas/testsuite/gasp/pl6.err create mode 100644 gas/testsuite/gasp/pl6.out create mode 100644 gas/testsuite/gasp/pl7.asm create mode 100644 gas/testsuite/gasp/pl7.err create mode 100644 gas/testsuite/gasp/pl7.out create mode 100644 gas/testsuite/gasp/pl8.asm create mode 100644 gas/testsuite/gasp/pl8.err create mode 100644 gas/testsuite/gasp/pl8.out create mode 100644 gas/testsuite/gasp/pr7583.asm create mode 100644 gas/testsuite/gasp/pr7583.err create mode 100644 gas/testsuite/gasp/pr7583.out create mode 100644 gas/testsuite/gasp/reg.asm create mode 100644 gas/testsuite/gasp/reg.err create mode 100644 gas/testsuite/gasp/reg.out create mode 100644 gas/testsuite/gasp/rep.asm create mode 100644 gas/testsuite/gasp/rep.err create mode 100644 gas/testsuite/gasp/rep.out create mode 100644 gas/testsuite/gasp/repeat.asm create mode 100644 gas/testsuite/gasp/repeat.err create mode 100644 gas/testsuite/gasp/repeat.out create mode 100644 gas/testsuite/gasp/reperr.asm create mode 100644 gas/testsuite/gasp/reperr.err create mode 100644 gas/testsuite/gasp/reperr.out create mode 100644 gas/testsuite/gasp/reperr1.asm create mode 100644 gas/testsuite/gasp/reperr1.err create mode 100644 gas/testsuite/gasp/reperr1.out create mode 100644 gas/testsuite/gasp/reperr2.asm create mode 100644 gas/testsuite/gasp/reperr2.err create mode 100644 gas/testsuite/gasp/reperr2.out create mode 100644 gas/testsuite/gasp/reperr3.asm create mode 100644 gas/testsuite/gasp/reperr3.err create mode 100644 gas/testsuite/gasp/reperr3.out create mode 100644 gas/testsuite/gasp/sdata.asm create mode 100644 gas/testsuite/gasp/sdata.err create mode 100644 gas/testsuite/gasp/sdata.out create mode 100644 gas/testsuite/gasp/sfunc.asm create mode 100644 gas/testsuite/gasp/sfunc.err create mode 100644 gas/testsuite/gasp/sfunc.out create mode 100644 gas/testsuite/gasp/t1.asm create mode 100644 gas/testsuite/gasp/t1.err create mode 100644 gas/testsuite/gasp/t1.out create mode 100644 gas/testsuite/gasp/t2.asm create mode 100644 gas/testsuite/gasp/t2.err create mode 100644 gas/testsuite/gasp/t2.out create mode 100644 gas/testsuite/gasp/t3.asm create mode 100644 gas/testsuite/gasp/t3.err create mode 100644 gas/testsuite/gasp/t3.out create mode 100644 gas/testsuite/gasp/while.asm create mode 100644 gas/testsuite/gasp/while.err create mode 100644 gas/testsuite/gasp/while.out create mode 100644 gas/testsuite/lib/doboth create mode 100644 gas/testsuite/lib/doobjcmp create mode 100644 gas/testsuite/lib/dostriptest create mode 100644 gas/testsuite/lib/dotest create mode 100644 gas/testsuite/lib/dounsreloc create mode 100644 gas/testsuite/lib/dounssym create mode 100644 gas/testsuite/lib/gas-defs.exp create mode 100644 gas/testsuite/lib/gas-dg.exp create mode 100644 gas/testsuite/lib/run create mode 100644 gas/vmsconf.sh create mode 100644 gas/write.c create mode 100644 gas/write.h create mode 100644 gprof/.gdbinit create mode 100644 gprof/ChangeLog create mode 100644 gprof/Makefile.am create mode 100644 gprof/Makefile.in create mode 100644 gprof/NOTES create mode 100644 gprof/TEST create mode 100644 gprof/TODO create mode 100644 gprof/acconfig.h create mode 100644 gprof/aclocal.m4 create mode 100644 gprof/alpha.c create mode 100644 gprof/basic_blocks.c create mode 100644 gprof/basic_blocks.h create mode 100644 gprof/bb_exit_func.c create mode 100644 gprof/bbconv.pl create mode 100644 gprof/bsd_callg_bl.c create mode 100644 gprof/bsd_callg_bl.m create mode 100644 gprof/call_graph.c create mode 100644 gprof/call_graph.h create mode 100644 gprof/cg_arcs.c create mode 100644 gprof/cg_arcs.h create mode 100644 gprof/cg_dfn.c create mode 100644 gprof/cg_dfn.h create mode 100644 gprof/cg_print.c create mode 100644 gprof/cg_print.h create mode 100644 gprof/configure create mode 100644 gprof/configure.bat create mode 100644 gprof/configure.in create mode 100644 gprof/core.c create mode 100644 gprof/core.h create mode 100644 gprof/flat_bl.c create mode 100644 gprof/flat_bl.m create mode 100644 gprof/fsf_callg_bl.c create mode 100644 gprof/fsf_callg_bl.m create mode 100644 gprof/gconfig.in create mode 100644 gprof/gen-c-prog.awk create mode 100644 gprof/gmon.h create mode 100644 gprof/gmon_io.c create mode 100644 gprof/gmon_io.h create mode 100644 gprof/gmon_out.h create mode 100644 gprof/gprof.1 create mode 100644 gprof/gprof.c create mode 100644 gprof/gprof.h create mode 100644 gprof/gprof.info create mode 100644 gprof/gprof.info-1 create mode 100644 gprof/gprof.info-2 create mode 100644 gprof/gprof.texi create mode 100644 gprof/hertz.c create mode 100644 gprof/hertz.h create mode 100644 gprof/hist.c create mode 100644 gprof/hist.h create mode 100644 gprof/i386.c create mode 100644 gprof/search_list.c create mode 100644 gprof/search_list.h create mode 100644 gprof/source.c create mode 100644 gprof/source.h create mode 100644 gprof/sparc.c create mode 100644 gprof/stamp-h.in create mode 100644 gprof/sym_ids.c create mode 100644 gprof/sym_ids.h create mode 100644 gprof/symtab.c create mode 100644 gprof/symtab.h create mode 100644 gprof/tahoe.c create mode 100644 gprof/utils.c create mode 100644 gprof/utils.h create mode 100644 gprof/vax.c create mode 100644 include/COPYING create mode 100644 include/ChangeLog create mode 100644 include/ansidecl.h create mode 100644 include/aout/ChangeLog create mode 100644 include/aout/adobe.h create mode 100644 include/aout/aout64.h create mode 100644 include/aout/ar.h create mode 100644 include/aout/dynix3.h create mode 100644 include/aout/encap.h create mode 100644 include/aout/host.h create mode 100644 include/aout/hp.h create mode 100644 include/aout/hp300hpux.h create mode 100644 include/aout/hppa.h create mode 100644 include/aout/ranlib.h create mode 100644 include/aout/reloc.h create mode 100644 include/aout/stab.def create mode 100644 include/aout/stab_gnu.h create mode 100644 include/aout/sun4.h create mode 100644 include/bfdlink.h create mode 100644 include/bout.h create mode 100644 include/callback.h create mode 100644 include/coff/ChangeLog create mode 100644 include/coff/a29k.h create mode 100644 include/coff/alpha.h create mode 100644 include/coff/apollo.h create mode 100644 include/coff/arm.h create mode 100644 include/coff/aux-coff.h create mode 100644 include/coff/ecoff.h create mode 100644 include/coff/go32exe.h create mode 100644 include/coff/h8300.h create mode 100644 include/coff/h8500.h create mode 100644 include/coff/i386.h create mode 100644 include/coff/i860.h create mode 100644 include/coff/i960.h create mode 100644 include/coff/internal.h create mode 100644 include/coff/m68k.h create mode 100644 include/coff/m88k.h create mode 100644 include/coff/mips.h create mode 100644 include/coff/pe.h create mode 100644 include/coff/powerpc.h create mode 100644 include/coff/rs6000.h create mode 100644 include/coff/sh.h create mode 100644 include/coff/sparc.h create mode 100644 include/coff/sym.h create mode 100644 include/coff/symconst.h create mode 100644 include/coff/tic30.h create mode 100644 include/coff/w65.h create mode 100644 include/coff/we32k.h create mode 100644 include/coff/z8k.h create mode 100644 include/demangle.h create mode 100644 include/dis-asm.h create mode 100644 include/elf/ChangeLog create mode 100644 include/elf/alpha.h create mode 100644 include/elf/arc.h create mode 100644 include/elf/common.h create mode 100644 include/elf/dwarf.h create mode 100644 include/elf/dwarf2.h create mode 100644 include/elf/external.h create mode 100644 include/elf/hppa.h create mode 100644 include/elf/internal.h create mode 100644 include/elf/m32r.h create mode 100644 include/elf/mips.h create mode 100644 include/elf/ppc.h create mode 100644 include/elf/sparc.h create mode 100644 include/elf/v850.h create mode 100644 include/floatformat.h create mode 100644 include/fnmatch.h create mode 100644 include/fopen-bin.h create mode 100644 include/fopen-same.h create mode 100644 include/fopen-vms.h create mode 100644 include/gdbm.h create mode 100644 include/getopt.h create mode 100644 include/hp-symtab.h create mode 100644 include/ieee.h create mode 100644 include/libiberty.h create mode 100644 include/mpw/ChangeLog create mode 100644 include/mpw/README create mode 100644 include/mpw/dir.h create mode 100644 include/mpw/dirent.h create mode 100644 include/mpw/fcntl.h create mode 100644 include/mpw/grp.h create mode 100644 include/mpw/mpw.h create mode 100644 include/mpw/pwd.h create mode 100644 include/mpw/spin.h create mode 100644 include/mpw/stat.h create mode 100644 include/mpw/sys/file.h create mode 100644 include/mpw/sys/param.h create mode 100644 include/mpw/sys/resource.h create mode 100644 include/mpw/sys/stat.h create mode 100644 include/mpw/sys/time.h create mode 100644 include/mpw/sys/types.h create mode 100644 include/mpw/utime.h create mode 100644 include/mpw/varargs.h create mode 100644 include/nlm/ChangeLog create mode 100644 include/nlm/alpha-ext.h create mode 100644 include/nlm/common.h create mode 100644 include/nlm/external.h create mode 100644 include/nlm/i386-ext.h create mode 100644 include/nlm/internal.h create mode 100644 include/nlm/ppc-ext.h create mode 100644 include/nlm/sparc32-ext.h create mode 100644 include/oasys.h create mode 100644 include/objalloc.h create mode 100644 include/obstack.h create mode 100644 include/opcode/ChangeLog create mode 100644 include/opcode/a29k.h create mode 100644 include/opcode/alpha.h create mode 100644 include/opcode/arc.h create mode 100644 include/opcode/arm.h create mode 100644 include/opcode/cgen.h create mode 100644 include/opcode/convex.h create mode 100644 include/opcode/d10v.h create mode 100644 include/opcode/h8300.h create mode 100644 include/opcode/hppa.h create mode 100644 include/opcode/i386.h create mode 100644 include/opcode/i860.h create mode 100644 include/opcode/i960.h create mode 100644 include/opcode/m68k.h create mode 100644 include/opcode/m88k.h create mode 100644 include/opcode/mips.h create mode 100644 include/opcode/mn10200.h create mode 100644 include/opcode/mn10300.h create mode 100644 include/opcode/np1.h create mode 100644 include/opcode/ns32k.h create mode 100644 include/opcode/pn.h create mode 100644 include/opcode/ppc.h create mode 100644 include/opcode/pyr.h create mode 100644 include/opcode/sparc.h create mode 100644 include/opcode/tahoe.h create mode 100644 include/opcode/tic30.h create mode 100644 include/opcode/v850.h create mode 100644 include/opcode/vax.h create mode 100644 include/os9k.h create mode 100644 include/progress.h create mode 100644 include/regs/ChangeLog create mode 100644 include/remote-sim.h create mode 100644 include/symcat.h create mode 100644 include/wait.h create mode 100644 install-sh create mode 100644 ld/ChangeLog create mode 100644 ld/Makefile.am create mode 100644 ld/Makefile.in create mode 100644 ld/NEWS create mode 100644 ld/README create mode 100644 ld/TODO create mode 100644 ld/acconfig.h create mode 100644 ld/acinclude.m4 create mode 100644 ld/aclocal.m4 create mode 100644 ld/config.in create mode 100644 ld/configdoc.texi create mode 100644 ld/configure create mode 100644 ld/configure.bat create mode 100644 ld/configure.host create mode 100644 ld/configure.in create mode 100644 ld/configure.tgt create mode 100644 ld/dep-in.sed create mode 100644 ld/emulparams/README create mode 100644 ld/emulparams/a29k.sh create mode 100644 ld/emulparams/aixppc.sh create mode 100644 ld/emulparams/aixrs6.sh create mode 100644 ld/emulparams/alpha.sh create mode 100644 ld/emulparams/arcelf.sh create mode 100644 ld/emulparams/armaoutb.sh create mode 100644 ld/emulparams/armaoutl.sh create mode 100644 ld/emulparams/armcoff.sh create mode 100644 ld/emulparams/armpe.sh create mode 100644 ld/emulparams/coff_sparc.sh create mode 100644 ld/emulparams/d10velf.sh create mode 100644 ld/emulparams/delta68.sh create mode 100644 ld/emulparams/ebmon29k.sh create mode 100644 ld/emulparams/elf32_sparc.sh create mode 100644 ld/emulparams/elf32b4300.sh create mode 100644 ld/emulparams/elf32bmip.sh create mode 100644 ld/emulparams/elf32bsmip.sh create mode 100644 ld/emulparams/elf32ebmip.sh create mode 100644 ld/emulparams/elf32elmip.sh create mode 100644 ld/emulparams/elf32l4300.sh create mode 100644 ld/emulparams/elf32lmip.sh create mode 100644 ld/emulparams/elf32lppc.sh create mode 100644 ld/emulparams/elf32lsmip.sh create mode 100644 ld/emulparams/elf32ppc.sh create mode 100644 ld/emulparams/elf64_sparc.sh create mode 100644 ld/emulparams/elf64alpha.sh create mode 100644 ld/emulparams/elf_i386.sh create mode 100644 ld/emulparams/gld960.sh create mode 100644 ld/emulparams/gld960coff.sh create mode 100644 ld/emulparams/go32.sh create mode 100644 ld/emulparams/h8300.sh create mode 100644 ld/emulparams/h8300h.sh create mode 100644 ld/emulparams/h8300s.sh create mode 100644 ld/emulparams/h8500.sh create mode 100644 ld/emulparams/h8500b.sh create mode 100644 ld/emulparams/h8500c.sh create mode 100644 ld/emulparams/h8500m.sh create mode 100644 ld/emulparams/h8500s.sh create mode 100644 ld/emulparams/hp300bsd.sh create mode 100644 ld/emulparams/hp3hpux.sh create mode 100644 ld/emulparams/hppaelf.sh create mode 100644 ld/emulparams/i386aout.sh create mode 100644 ld/emulparams/i386bsd.sh create mode 100644 ld/emulparams/i386coff.sh create mode 100644 ld/emulparams/i386go32.sh create mode 100644 ld/emulparams/i386linux.sh create mode 100644 ld/emulparams/i386lynx.sh create mode 100644 ld/emulparams/i386mach.sh create mode 100644 ld/emulparams/i386moss.sh create mode 100644 ld/emulparams/i386msdos.sh create mode 100644 ld/emulparams/i386nbsd.sh create mode 100644 ld/emulparams/i386nw.sh create mode 100644 ld/emulparams/i386pe.sh create mode 100644 ld/emulparams/lnk960.sh create mode 100644 ld/emulparams/m32relf.sh create mode 100644 ld/emulparams/m68k4knbsd.sh create mode 100644 ld/emulparams/m68kaout.sh create mode 100644 ld/emulparams/m68kaux.sh create mode 100644 ld/emulparams/m68kcoff.sh create mode 100644 ld/emulparams/m68kelf.sh create mode 100644 ld/emulparams/m68klinux.sh create mode 100644 ld/emulparams/m68klynx.sh create mode 100644 ld/emulparams/m68knbsd.sh create mode 100644 ld/emulparams/m68kpsos.sh create mode 100644 ld/emulparams/m88kbcs.sh create mode 100644 ld/emulparams/mipsbig.sh create mode 100644 ld/emulparams/mipsbsd.sh create mode 100644 ld/emulparams/mipsidt.sh create mode 100644 ld/emulparams/mipsidtl.sh create mode 100644 ld/emulparams/mipslit.sh create mode 100644 ld/emulparams/mipslnews.sh create mode 100644 ld/emulparams/mn10200.sh create mode 100644 ld/emulparams/mn10300.sh create mode 100644 ld/emulparams/news.sh create mode 100644 ld/emulparams/ns32knbsd.sh create mode 100644 ld/emulparams/pc532macha.sh create mode 100644 ld/emulparams/ppcmacos.sh create mode 100644 ld/emulparams/ppcnw.sh create mode 100644 ld/emulparams/ppcpe.sh create mode 100644 ld/emulparams/riscix.sh create mode 100644 ld/emulparams/sa29200.sh create mode 100644 ld/emulparams/sh.sh create mode 100644 ld/emulparams/shelf.sh create mode 100644 ld/emulparams/shl.sh create mode 100644 ld/emulparams/shlelf.sh create mode 100644 ld/emulparams/sparcaout.sh create mode 100644 ld/emulparams/sparclinux.sh create mode 100644 ld/emulparams/sparclynx.sh create mode 100644 ld/emulparams/sparcnbsd.sh create mode 100644 ld/emulparams/st2000.sh create mode 100644 ld/emulparams/sun3.sh create mode 100644 ld/emulparams/sun4.sh create mode 100644 ld/emulparams/tic30aout.sh create mode 100644 ld/emulparams/tic30coff.sh create mode 100644 ld/emulparams/v850.sh create mode 100644 ld/emulparams/vanilla.sh create mode 100644 ld/emulparams/vax.sh create mode 100644 ld/emulparams/vsta.sh create mode 100644 ld/emulparams/w65.sh create mode 100644 ld/emulparams/z8001.sh create mode 100644 ld/emulparams/z8002.sh create mode 100644 ld/emultempl/README create mode 100644 ld/emultempl/aix.em create mode 100644 ld/emultempl/armcoff.em create mode 100644 ld/emultempl/elf32.em create mode 100644 ld/emultempl/generic.em create mode 100644 ld/emultempl/gld960.em create mode 100644 ld/emultempl/gld960c.em create mode 100644 ld/emultempl/hppaelf.em create mode 100644 ld/emultempl/linux.em create mode 100644 ld/emultempl/lnk960.em create mode 100644 ld/emultempl/mipsecoff.em create mode 100644 ld/emultempl/pe.em create mode 100644 ld/emultempl/stringify.sed create mode 100644 ld/emultempl/sunos.em create mode 100644 ld/emultempl/vanilla.em create mode 100644 ld/gen-doc.texi create mode 100644 ld/genscripts.sh create mode 100644 ld/h8-doc.texi create mode 100644 ld/ld.1 create mode 100644 ld/ld.h create mode 100644 ld/ld.info create mode 100644 ld/ld.info-1 create mode 100644 ld/ld.info-2 create mode 100644 ld/ld.info-3 create mode 100644 ld/ld.info-4 create mode 100644 ld/ld.texinfo create mode 100644 ld/ldcref.c create mode 100644 ld/ldctor.c create mode 100644 ld/ldctor.h create mode 100644 ld/ldemul.c create mode 100644 ld/ldemul.h create mode 100644 ld/ldexp.c create mode 100644 ld/ldexp.h create mode 100644 ld/ldfile.c create mode 100644 ld/ldfile.h create mode 100644 ld/ldgram.c create mode 100644 ld/ldgram.h create mode 100644 ld/ldgram.y create mode 100644 ld/ldint.texinfo create mode 100644 ld/ldlang.c create mode 100644 ld/ldlang.h create mode 100644 ld/ldlex.c create mode 100644 ld/ldlex.h create mode 100644 ld/ldlex.l create mode 100644 ld/ldmain.c create mode 100644 ld/ldmain.h create mode 100644 ld/ldmisc.c create mode 100644 ld/ldmisc.h create mode 100644 ld/ldver.c create mode 100644 ld/ldver.h create mode 100644 ld/ldwrite.c create mode 100644 ld/ldwrite.h create mode 100644 ld/lexsup.c create mode 100644 ld/mac-ld.r create mode 100644 ld/mpw-config.in create mode 100644 ld/mpw-elfmips.c create mode 100644 ld/mpw-eppcmac.c create mode 100644 ld/mpw-esh.c create mode 100644 ld/mpw-idtmips.c create mode 100644 ld/mpw-make.sed create mode 100644 ld/mri.c create mode 100644 ld/mri.h create mode 100644 ld/scripttempl/README create mode 100644 ld/scripttempl/a29k.sc create mode 100644 ld/scripttempl/aix.sc create mode 100644 ld/scripttempl/alpha.sc create mode 100644 ld/scripttempl/aout.sc create mode 100644 ld/scripttempl/armaout.sc create mode 100644 ld/scripttempl/armcoff.sc create mode 100644 ld/scripttempl/delta68.sc create mode 100644 ld/scripttempl/ebmon29k.sc create mode 100644 ld/scripttempl/elf.sc create mode 100644 ld/scripttempl/elfd10v.sc create mode 100644 ld/scripttempl/elfppc.sc create mode 100644 ld/scripttempl/go32coff.sc create mode 100644 ld/scripttempl/h8300.sc create mode 100644 ld/scripttempl/h8300h.sc create mode 100644 ld/scripttempl/h8300s.sc create mode 100644 ld/scripttempl/h8500.sc create mode 100644 ld/scripttempl/h8500b.sc create mode 100644 ld/scripttempl/h8500c.sc create mode 100644 ld/scripttempl/h8500m.sc create mode 100644 ld/scripttempl/h8500s.sc create mode 100644 ld/scripttempl/hppaelf.sc create mode 100644 ld/scripttempl/i386coff.sc create mode 100644 ld/scripttempl/i386go32.sc create mode 100644 ld/scripttempl/i386lynx.sc create mode 100644 ld/scripttempl/i386msdos.sc create mode 100644 ld/scripttempl/i960.sc create mode 100644 ld/scripttempl/m68kaux.sc create mode 100644 ld/scripttempl/m68kcoff.sc create mode 100644 ld/scripttempl/m68klynx.sc create mode 100644 ld/scripttempl/m88kbcs.sc create mode 100644 ld/scripttempl/mips.sc create mode 100644 ld/scripttempl/mipsbsd.sc create mode 100644 ld/scripttempl/nw.sc create mode 100644 ld/scripttempl/pe.sc create mode 100644 ld/scripttempl/ppcpe.sc create mode 100644 ld/scripttempl/psos.sc create mode 100644 ld/scripttempl/riscix.sc create mode 100644 ld/scripttempl/sa29200.sc create mode 100644 ld/scripttempl/sh.sc create mode 100644 ld/scripttempl/sparccoff.sc create mode 100644 ld/scripttempl/sparclynx.sc create mode 100644 ld/scripttempl/st2000.sc create mode 100644 ld/scripttempl/tic30aout.sc create mode 100644 ld/scripttempl/tic30coff.sc create mode 100644 ld/scripttempl/v850.sc create mode 100644 ld/scripttempl/vanilla.sc create mode 100644 ld/scripttempl/w65.sc create mode 100644 ld/scripttempl/z8000.sc create mode 100644 ld/stamp-h.in create mode 100644 ld/sysdep.h create mode 100644 ld/testsuite/ChangeLog create mode 100644 ld/testsuite/config/default.exp create mode 100644 ld/testsuite/ld-bootstrap/bootstrap.exp create mode 100644 ld/testsuite/ld-cdtest/cdtest-bar.cc create mode 100644 ld/testsuite/ld-cdtest/cdtest-foo.cc create mode 100644 ld/testsuite/ld-cdtest/cdtest-foo.h create mode 100644 ld/testsuite/ld-cdtest/cdtest-main.cc create mode 100644 ld/testsuite/ld-cdtest/cdtest.dat create mode 100644 ld/testsuite/ld-cdtest/cdtest.exp create mode 100644 ld/testsuite/ld-elfvers/vers.exp create mode 100644 ld/testsuite/ld-elfvers/vers1.c create mode 100644 ld/testsuite/ld-elfvers/vers1.dsym create mode 100644 ld/testsuite/ld-elfvers/vers1.map create mode 100644 ld/testsuite/ld-elfvers/vers1.sym create mode 100644 ld/testsuite/ld-elfvers/vers1.ver create mode 100644 ld/testsuite/ld-elfvers/vers13.asym create mode 100644 ld/testsuite/ld-elfvers/vers15.c create mode 100644 ld/testsuite/ld-elfvers/vers15.dsym create mode 100644 ld/testsuite/ld-elfvers/vers15.sym create mode 100644 ld/testsuite/ld-elfvers/vers15.ver create mode 100644 ld/testsuite/ld-elfvers/vers2.c create mode 100644 ld/testsuite/ld-elfvers/vers2.dsym create mode 100644 ld/testsuite/ld-elfvers/vers2.map create mode 100644 ld/testsuite/ld-elfvers/vers2.ver create mode 100644 ld/testsuite/ld-elfvers/vers3.c create mode 100644 ld/testsuite/ld-elfvers/vers3.dsym create mode 100644 ld/testsuite/ld-elfvers/vers3.ver create mode 100644 ld/testsuite/ld-elfvers/vers4.c create mode 100644 ld/testsuite/ld-elfvers/vers4.sym create mode 100644 ld/testsuite/ld-elfvers/vers4a.dsym create mode 100644 ld/testsuite/ld-elfvers/vers4a.sym create mode 100644 ld/testsuite/ld-elfvers/vers4a.ver create mode 100644 ld/testsuite/ld-elfvers/vers5.c create mode 100644 ld/testsuite/ld-elfvers/vers6.c create mode 100644 ld/testsuite/ld-elfvers/vers6.dsym create mode 100644 ld/testsuite/ld-elfvers/vers6.sym create mode 100644 ld/testsuite/ld-elfvers/vers6.ver create mode 100644 ld/testsuite/ld-elfvers/vers7.c create mode 100644 ld/testsuite/ld-elfvers/vers7.map create mode 100644 ld/testsuite/ld-elfvers/vers7a.c create mode 100644 ld/testsuite/ld-elfvers/vers7a.dsym create mode 100644 ld/testsuite/ld-elfvers/vers7a.sym create mode 100644 ld/testsuite/ld-elfvers/vers7a.ver create mode 100644 ld/testsuite/ld-elfvers/vers8.c create mode 100644 ld/testsuite/ld-elfvers/vers8.map create mode 100644 ld/testsuite/ld-elfvers/vers8.ver create mode 100644 ld/testsuite/ld-elfvers/vers9.c create mode 100644 ld/testsuite/ld-elfvers/vers9.dsym create mode 100644 ld/testsuite/ld-elfvers/vers9.sym create mode 100644 ld/testsuite/ld-elfvers/vers9.ver create mode 100644 ld/testsuite/ld-empic/empic.exp create mode 100644 ld/testsuite/ld-empic/relax.t create mode 100644 ld/testsuite/ld-empic/relax1.c create mode 100644 ld/testsuite/ld-empic/relax2.c create mode 100644 ld/testsuite/ld-empic/relax3.c create mode 100644 ld/testsuite/ld-empic/relax4.c create mode 100644 ld/testsuite/ld-empic/run.c create mode 100644 ld/testsuite/ld-empic/runtest1.c create mode 100644 ld/testsuite/ld-empic/runtest2.c create mode 100644 ld/testsuite/ld-empic/runtesti.s create mode 100644 ld/testsuite/ld-scripts/cross1.c create mode 100644 ld/testsuite/ld-scripts/cross1.t create mode 100644 ld/testsuite/ld-scripts/cross2.c create mode 100644 ld/testsuite/ld-scripts/cross2.t create mode 100644 ld/testsuite/ld-scripts/cross3.c create mode 100644 ld/testsuite/ld-scripts/crossref.exp create mode 100644 ld/testsuite/ld-scripts/defined.exp create mode 100644 ld/testsuite/ld-scripts/defined.s create mode 100644 ld/testsuite/ld-scripts/defined.t create mode 100644 ld/testsuite/ld-scripts/phdrs.exp create mode 100644 ld/testsuite/ld-scripts/phdrs.s create mode 100644 ld/testsuite/ld-scripts/phdrs.t create mode 100644 ld/testsuite/ld-scripts/script.exp create mode 100644 ld/testsuite/ld-scripts/script.s create mode 100644 ld/testsuite/ld-scripts/script.t create mode 100644 ld/testsuite/ld-scripts/scriptm.t create mode 100644 ld/testsuite/ld-scripts/sizeof.exp create mode 100644 ld/testsuite/ld-scripts/sizeof.s create mode 100644 ld/testsuite/ld-scripts/sizeof.t create mode 100644 ld/testsuite/ld-sh/sh.exp create mode 100644 ld/testsuite/ld-sh/sh1.s create mode 100644 ld/testsuite/ld-sh/sh2.c create mode 100644 ld/testsuite/ld-sh/start.s create mode 100644 ld/testsuite/ld-shared/main.c create mode 100644 ld/testsuite/ld-shared/sh1.c create mode 100644 ld/testsuite/ld-shared/sh2.c create mode 100644 ld/testsuite/ld-shared/shared.dat create mode 100644 ld/testsuite/ld-shared/shared.exp create mode 100644 ld/testsuite/ld-shared/sun4.dat create mode 100644 ld/testsuite/ld-shared/xcoff.dat create mode 100644 ld/testsuite/ld-srec/sr1.c create mode 100644 ld/testsuite/ld-srec/sr2.c create mode 100644 ld/testsuite/ld-srec/sr3.cc create mode 100644 ld/testsuite/ld-srec/srec.exp create mode 100644 ld/testsuite/ld-undefined/undefined.c create mode 100644 ld/testsuite/ld-undefined/undefined.exp create mode 100644 ld/testsuite/ld-versados/t1-1.ro create mode 100644 ld/testsuite/ld-versados/t1-2.ro create mode 100644 ld/testsuite/ld-versados/t1.ld create mode 100644 ld/testsuite/ld-versados/t1.ook create mode 100644 ld/testsuite/ld-versados/t2-1.ro create mode 100644 ld/testsuite/ld-versados/t2-2.ro create mode 100644 ld/testsuite/ld-versados/t2-3.ro create mode 100644 ld/testsuite/ld-versados/t2.ld create mode 100644 ld/testsuite/ld-versados/t2.ook create mode 100644 ld/testsuite/ld-versados/versados.exp create mode 100644 ld/testsuite/lib/ld-lib.exp create mode 100644 libiberty/COPYING.LIB create mode 100644 libiberty/ChangeLog create mode 100644 libiberty/Makefile.in create mode 100644 libiberty/README create mode 100644 libiberty/alloca-botch.h create mode 100644 libiberty/alloca-norm.h create mode 100644 libiberty/alloca.c create mode 100644 libiberty/argv.c create mode 100644 libiberty/asprintf.c create mode 100644 libiberty/atexit.c create mode 100644 libiberty/basename.c create mode 100644 libiberty/bcmp.c create mode 100644 libiberty/bcopy.c create mode 100644 libiberty/bzero.c create mode 100644 libiberty/choose-temp.c create mode 100644 libiberty/clock.c create mode 100644 libiberty/concat.c create mode 100644 libiberty/config.h-vms create mode 100644 libiberty/config.table create mode 100644 libiberty/config/mh-a68bsd create mode 100644 libiberty/config/mh-aix create mode 100644 libiberty/config/mh-apollo68 create mode 100644 libiberty/config/mh-cxux7 create mode 100644 libiberty/config/mh-cygwin32 create mode 100644 libiberty/config/mh-fbsd21 create mode 100644 libiberty/config/mh-go32 create mode 100644 libiberty/config/mh-hpbsd create mode 100644 libiberty/config/mh-irix4 create mode 100644 libiberty/config/mh-ncr3000 create mode 100644 libiberty/config/mh-riscix create mode 100644 libiberty/config/mh-sysv create mode 100644 libiberty/config/mh-sysv4 create mode 100644 libiberty/config/mh-windows create mode 100644 libiberty/config/mt-mingw32 create mode 100644 libiberty/config/mt-sunos4 create mode 100644 libiberty/config/mt-vxworks5 create mode 100644 libiberty/configure.bat create mode 100644 libiberty/configure.in create mode 100644 libiberty/copysign.c create mode 100644 libiberty/cplus-dem.c create mode 100644 libiberty/dummy.c create mode 100644 libiberty/fdmatch.c create mode 100644 libiberty/floatformat.c create mode 100644 libiberty/fnmatch.c create mode 100644 libiberty/functions.def create mode 100644 libiberty/getcwd.c create mode 100644 libiberty/getopt.c create mode 100644 libiberty/getopt1.c create mode 100644 libiberty/getpagesize.c create mode 100644 libiberty/getruntime.c create mode 100644 libiberty/hex.c create mode 100644 libiberty/index.c create mode 100644 libiberty/insque.c create mode 100644 libiberty/makefile.dos create mode 100644 libiberty/makefile.vms create mode 100644 libiberty/memchr.c create mode 100644 libiberty/memcmp.c create mode 100644 libiberty/memcpy.c create mode 100644 libiberty/memmove.c create mode 100644 libiberty/memset.c create mode 100644 libiberty/mpw-config.in create mode 100644 libiberty/mpw-make.sed create mode 100644 libiberty/mpw.c create mode 100644 libiberty/msdos.c create mode 100644 libiberty/objalloc.c create mode 100644 libiberty/obstack.c create mode 100644 libiberty/pexecute.c create mode 100644 libiberty/random.c create mode 100644 libiberty/rename.c create mode 100644 libiberty/rindex.c create mode 100644 libiberty/sigsetmask.c create mode 100644 libiberty/spaces.c create mode 100644 libiberty/strcasecmp.c create mode 100644 libiberty/strchr.c create mode 100644 libiberty/strdup.c create mode 100644 libiberty/strerror.c create mode 100644 libiberty/strncasecmp.c create mode 100644 libiberty/strrchr.c create mode 100644 libiberty/strsignal.c create mode 100644 libiberty/strstr.c create mode 100644 libiberty/strtod.c create mode 100644 libiberty/strtol.c create mode 100644 libiberty/strtoul.c create mode 100644 libiberty/tmpnam.c create mode 100644 libiberty/vasprintf.c create mode 100644 libiberty/vfork.c create mode 100644 libiberty/vfprintf.c create mode 100644 libiberty/vmsbuild.com create mode 100644 libiberty/vprintf.c create mode 100644 libiberty/vsprintf.c create mode 100644 libiberty/waitpid.c create mode 100644 libiberty/xatexit.c create mode 100644 libiberty/xexit.c create mode 100644 libiberty/xmalloc.c create mode 100644 libiberty/xstrdup.c create mode 100644 libiberty/xstrerror.c create mode 100644 ltconfig create mode 100644 ltmain.sh create mode 100644 makeall.bat create mode 100644 makefile.vms create mode 100644 missing create mode 100644 mkinstalldirs create mode 100644 move-if-change create mode 100644 mpw-README create mode 100644 mpw-build.in create mode 100644 mpw-config.in create mode 100644 mpw-configure create mode 100644 mpw-install create mode 100644 opcodes/ChangeLog create mode 100644 opcodes/Makefile.am create mode 100644 opcodes/Makefile.in create mode 100644 opcodes/a29k-dis.c create mode 100644 opcodes/acconfig.h create mode 100644 opcodes/acinclude.m4 create mode 100644 opcodes/aclocal.m4 create mode 100644 opcodes/alpha-dis.c create mode 100644 opcodes/alpha-opc.c create mode 100644 opcodes/arc-dis.c create mode 100644 opcodes/arc-opc.c create mode 100644 opcodes/arm-dis.c create mode 100644 opcodes/arm-opc.h create mode 100644 opcodes/cgen-asm.c create mode 100644 opcodes/cgen-dis.c create mode 100644 opcodes/cgen-opc.c create mode 100644 opcodes/config.in create mode 100644 opcodes/configure create mode 100644 opcodes/configure.bat create mode 100644 opcodes/configure.in create mode 100644 opcodes/d10v-dis.c create mode 100644 opcodes/d10v-opc.c create mode 100644 opcodes/dep-in.sed create mode 100644 opcodes/dis-buf.c create mode 100644 opcodes/disassemble.c create mode 100644 opcodes/h8300-dis.c create mode 100644 opcodes/h8500-dis.c create mode 100644 opcodes/h8500-opc.h create mode 100644 opcodes/hppa-dis.c create mode 100644 opcodes/i386-dis.c create mode 100644 opcodes/i960-dis.c create mode 100644 opcodes/m10200-dis.c create mode 100644 opcodes/m10200-opc.c create mode 100644 opcodes/m10300-dis.c create mode 100644 opcodes/m10300-opc.c create mode 100644 opcodes/m32r-asm.c create mode 100644 opcodes/m32r-dis.c create mode 100644 opcodes/m32r-opc.c create mode 100644 opcodes/m32r-opc.h create mode 100644 opcodes/m68k-dis.c create mode 100644 opcodes/m68k-opc.c create mode 100644 opcodes/m88k-dis.c create mode 100644 opcodes/makefile.vms create mode 100644 opcodes/mips-dis.c create mode 100644 opcodes/mips-opc.c create mode 100644 opcodes/mips16-opc.c create mode 100644 opcodes/mpw-config.in create mode 100644 opcodes/mpw-make.sed create mode 100644 opcodes/ns32k-dis.c create mode 100644 opcodes/ppc-dis.c create mode 100644 opcodes/ppc-opc.c create mode 100644 opcodes/sh-dis.c create mode 100644 opcodes/sh-opc.h create mode 100644 opcodes/sparc-dis.c create mode 100644 opcodes/sparc-opc.c create mode 100644 opcodes/stamp-h.in create mode 100644 opcodes/sysdep.h create mode 100644 opcodes/tic30-dis.c create mode 100644 opcodes/v850-dis.c create mode 100644 opcodes/v850-opc.c create mode 100644 opcodes/w65-dis.c create mode 100644 opcodes/w65-opc.h create mode 100644 opcodes/z8k-dis.c create mode 100644 opcodes/z8k-opc.h create mode 100644 opcodes/z8kgen.c create mode 100644 setup.com create mode 100644 symlink-tree create mode 100644 texinfo/gpl.texinfo create mode 100644 texinfo/lgpl.texinfo create mode 100644 texinfo/texinfo.tex create mode 100644 ylwrap diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..60549be --- /dev/null +++ b/COPYING @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) 19yy + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) 19yy name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/COPYING.LIB b/COPYING.LIB new file mode 100644 index 0000000..eb685a5 --- /dev/null +++ b/COPYING.LIB @@ -0,0 +1,481 @@ + GNU LIBRARY GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1991 Free Software Foundation, Inc. + 675 Mass Ave, Cambridge, MA 02139, USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the library GPL. It is + numbered 2 because it goes with version 2 of the ordinary GPL.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Library General Public License, applies to some +specially designated Free Software Foundation software, and to any +other libraries whose authors decide to use it. You can use it for +your libraries, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if +you distribute copies of the library, or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link a program with the library, you must provide +complete object files to the recipients so that they can relink them +with the library, after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + Our method of protecting your rights has two steps: (1) copyright +the library, and (2) offer you this license which gives you legal +permission to copy, distribute and/or modify the library. + + Also, for each distributor's protection, we want to make certain +that everyone understands that there is no warranty for this free +library. If the library is modified by someone else and passed on, we +want its recipients to know that what they have is not the original +version, so that any problems introduced by others will not reflect on +the original authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that companies distributing free +software will individually obtain patent licenses, thus in effect +transforming the program into proprietary software. To prevent this, +we have made it clear that any patent must be licensed for everyone's +free use or not licensed at all. + + Most GNU software, including some libraries, is covered by the ordinary +GNU General Public License, which was designed for utility programs. This +license, the GNU Library General Public License, applies to certain +designated libraries. This license is quite different from the ordinary +one; be sure to read it in full, and don't assume that anything in it is +the same as in the ordinary license. + + The reason we have a separate public license for some libraries is that +they blur the distinction we usually make between modifying or adding to a +program and simply using it. Linking a program with a library, without +changing the library, is in some sense simply using the library, and is +analogous to running a utility program or application program. However, in +a textual and legal sense, the linked executable is a combined work, a +derivative of the original library, and the ordinary General Public License +treats it as such. + + Because of this blurred distinction, using the ordinary General +Public License for libraries did not effectively promote software +sharing, because most developers did not use the libraries. We +concluded that weaker conditions might promote sharing better. + + However, unrestricted linking of non-free programs would deprive the +users of those programs of all benefit from the free status of the +libraries themselves. This Library General Public License is intended to +permit developers of non-free programs to use free libraries, while +preserving your freedom as a user of such programs to change the free +libraries that are incorporated in them. (We have not seen how to achieve +this as regards changes in header files, but we have achieved it as regards +changes in the actual functions of the Library.) The hope is that this +will lead to faster development of free libraries. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, while the latter only +works together with the library. + + Note that it is possible for a library to be covered by the ordinary +General Public License rather than by this special one. + + GNU LIBRARY GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library which +contains a notice placed by the copyright holder or other authorized +party saying it may be distributed under the terms of this Library +General Public License (also called "this License"). Each licensee is +addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also compile or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + c) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + d) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the source code distributed need not include anything that is normally +distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Library General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + Appendix: How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! diff --git a/Makefile.in b/Makefile.in new file mode 100644 index 0000000..e0d5ba3 --- /dev/null +++ b/Makefile.in @@ -0,0 +1,1653 @@ +# +# Makefile for directory with subdirs to build. +# Copyright (C) 1990, 91, 92, 93, 94, 95, 96, 97, 1998 +# 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 +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# + +srcdir = . + +prefix = /usr/local +exec_prefix = $(prefix) + +bindir=${exec_prefix}/bin +sbindir=${exec_prefix}/sbin +libexecdir=${exec_prefix}/libexec +datadir=${prefix}/share +sysconfdir=${prefix}/etc +sharedstatedir=${prefix}/com +localstatedir=${prefix}/var +libdir=${exec_prefix}/lib +includedir=${prefix}/include +oldincludedir=/usr/include +infodir=${prefix}/info +mandir=${prefix}/man + +tooldir = $(exec_prefix)/$(target) + +program_transform_name = + +man1dir = $(mandir)/man1 +man2dir = $(mandir)/man2 +man3dir = $(mandir)/man3 +man4dir = $(mandir)/man4 +man5dir = $(mandir)/man5 +man6dir = $(mandir)/man6 +man7dir = $(mandir)/man7 +man8dir = $(mandir)/man8 +man9dir = $(mandir)/man9 +GDB_NLM_DEPS = + +SHELL = /bin/sh + +# INSTALL_PROGRAM_ARGS is changed by configure.in to use -x for a +# cygwin32 host. +INSTALL_PROGRAM_ARGS = + +INSTALL = $(SHELL) $$s/install-sh -c +INSTALL_PROGRAM = $(INSTALL) $(INSTALL_PROGRAM_ARGS) +INSTALL_SCRIPT = $(INSTALL) +INSTALL_DATA = $(INSTALL) -m 644 + +INSTALL_DOSREL = install-dosrel-fake + +AS = as +AR = ar +AR_FLAGS = rc +CC = cc + +# Special variables passed down in EXTRA_GCC_FLAGS. They are defined +# here so that they can be overridden by Makefile fragments. +HOST_CC = $(CC_FOR_BUILD) +HOST_PREFIX = +HOST_PREFIX_1 = loser- + +# These flag values are normally overridden by the configure script. +CFLAGS = -g +CXXFLAGS = -g -O2 + +LIBCFLAGS = $(CFLAGS) +CFLAGS_FOR_TARGET = $(CFLAGS) +LDFLAGS_FOR_TARGET = +LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET) +PICFLAG = +PICFLAG_FOR_TARGET = + +CXX = c++ + +# Use -O2 to stress test the compiler. +LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates +CXXFLAGS_FOR_TARGET = $(CXXFLAGS) +LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates + +RANLIB = ranlib + +DLLTOOL = dlltool +WINDRES = windres + +NM = nm + +LD = ld + +# Not plain GZIP, since gzip looks there for extra command-line options. +GZIPPROG = gzip + +# These values are substituted by configure. +DEFAULT_YACC = yacc +DEFAULT_LEX = lex + +BISON = `if [ -f $$r/bison/bison ] ; then \ + echo $$r/bison/bison -L $$s/bison/ ; \ + else \ + echo bison ; \ + fi` + +YACC = `if [ -f $$r/bison/bison ] ; then \ + echo $$r/bison/bison -y -L $$s/bison/ ; \ + elif [ -f $$r/byacc/byacc ] ; then \ + echo $$r/byacc/byacc ; \ + else \ + echo ${DEFAULT_YACC} ; \ + fi` + +LEX = `if [ -f $$r/flex/flex ] ; \ + then echo $$r/flex/flex ; \ + else echo ${DEFAULT_LEX} ; fi` + +M4 = `if [ -f $$r/m4/m4 ] ; \ + then echo $$r/m4/m4 ; \ + else echo m4 ; fi` + +MAKEINFO = `if [ -f $$r/texinfo/makeinfo/Makefile ] ; \ + then echo $$r/texinfo/makeinfo/makeinfo ; \ + else echo makeinfo ; fi` + +# This just becomes part of the MAKEINFO definition passed down to +# sub-makes. It lets flags be given on the command line while still +# using the makeinfo from the object tree. +MAKEINFOFLAGS = + +EXPECT = `if [ -f $$r/expect/expect ] ; \ + then echo $$r/expect/expect ; \ + else echo expect ; fi` + +RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \ + then echo $$s/dejagnu/runtest ; \ + else echo runtest ; fi` + + +# compilers to use to create programs which must be run in the build +# environment. +CC_FOR_BUILD = $(CC) +CXX_FOR_BUILD = $(CXX) + +SUBDIRS = "this is set via configure, don't edit this" +OTHERS = + +# This is set by the configure script to the list of directories which +# should be built using the target tools. +TARGET_CONFIGDIRS = libiberty libgloss newlib libio librx libstdc++ libg++ winsup opcodes cygmon + +# Target libraries are put under this directory: +# Changed by configure to $(target_alias) if cross. +TARGET_SUBDIR = . + +# This is set by the configure script to the arguments passed to configure. +CONFIG_ARGUMENTS = + +# This is set by configure to REALLY_SET_LIB_PATH if --enable-shared +# was used. +SET_LIB_PATH = + +# This is the name of the environment variable used for the path to +# the libraries. This may be changed by configure.in. +RPATH_ENVVAR = LD_LIBRARY_PATH + +# configure.in sets SET_LIB_PATH to this if --enable-shared was used. +REALLY_SET_LIB_PATH = \ + $(RPATH_ENVVAR)=$$r/bfd:$$r/opcodes:$$$(RPATH_ENVVAR); \ + export $(RPATH_ENVVAR); + +ALL = all.normal +INSTALL_TARGET = installdirs \ + install-gcc \ + $(INSTALL_MODULES) \ + $(INSTALL_TARGET_MODULES) \ + $(INSTALL_X11_MODULES) \ + $(INSTALL_DOSREL) + + +CC_FOR_TARGET = ` \ + if [ -f $$r/gcc/xgcc ] ; then \ + if [ -f $$r/$(TARGET_SUBDIR)/newlib/Makefile ] ; then \ + if [ -f $$r/$(TARGET_SUBDIR)/winsup/Makefile ] ; then \ + echo $$r/gcc/xgcc -B$$r/gcc/ -B$$r/$(TARGET_SUBDIR)/newlib/ -L$$r/$(TARGET_SUBDIR)/winsup -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \ + else \ + echo $$r/gcc/xgcc -B$$r/gcc/ -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \ + fi; \ + else \ + echo $$r/gcc/xgcc -B$$r/gcc/; \ + fi; \ + else \ + if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ + echo $(CC); \ + else \ + t='$(program_transform_name)'; echo gcc | sed -e 's/x/x/' $$t; \ + fi; \ + fi` + +# If CC_FOR_TARGET is not overriden on the command line, then this +# variable is passed down to the gcc Makefile, where it is used to +# build libgcc2.a. We define it here so that it can itself be +# overridden on the command line. +GCC_FOR_TARGET = $$r/gcc/xgcc -B$$r/gcc/ + + +CXX_FOR_TARGET = ` \ + if [ -f $$r/gcc/xgcc ] ; then \ + if [ -f $$r/$(TARGET_SUBDIR)/newlib/Makefile ] ; then \ + if [ -f $$r/$(TARGET_SUBDIR)/winsup/Makefile ] ; then \ + echo $$r/gcc/xgcc -B$$r/gcc/ -B$$r/$(TARGET_SUBDIR)/newlib/ -L$$r/winsup -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \ + else \ + echo $$r/gcc/xgcc -B$$r/gcc/ -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \ + fi; \ + else \ + echo $$r/gcc/xgcc -B$$r/gcc/; \ + fi; \ + else \ + if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ + echo $(CXX); \ + else \ + t='$(program_transform_name)'; echo c++ | sed -e 's/x/x/' $$t; \ + fi; \ + fi` + +AS_FOR_TARGET = ` \ + if [ -f $$r/gas/as-new ] ; then \ + echo $$r/gas/as-new ; \ + else \ + if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ + echo $(AS); \ + else \ + t='$(program_transform_name)'; echo as | sed -e 's/x/x/' $$t ; \ + fi; \ + fi` + +LD_FOR_TARGET = ` \ + if [ -f $$r/ld/ld-new ] ; then \ + echo $$r/ld/ld-new ; \ + else \ + if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ + echo $(LD); \ + else \ + t='$(program_transform_name)'; echo ld | sed -e 's/x/x/' $$t ; \ + fi; \ + fi` + +DLLTOOL_FOR_TARGET = ` \ + if [ -f $$r/binutils/dlltool ] ; then \ + echo $$r/binutils/dlltool ; \ + else \ + if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ + echo $(DLLTOOL); \ + else \ + t='$(program_transform_name)'; echo dlltool | sed -e 's/x/x/' $$t ; \ + fi; \ + fi` + +WINDRES_FOR_TARGET = ` \ + if [ -f $$r/binutils/windres ] ; then \ + echo $$r/binutils/windres ; \ + else \ + if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ + echo $(WINDRES); \ + else \ + t='$(program_transform_name)'; echo windres | sed -e 's/x/x/' $$t ; \ + fi; \ + fi` + +AR_FOR_TARGET = ` \ + if [ -f $$r/binutils/ar ] ; then \ + echo $$r/binutils/ar ; \ + else \ + if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ + echo $(AR); \ + else \ + t='$(program_transform_name)'; echo ar | sed -e 's/x/x/' $$t ; \ + fi; \ + fi` + +RANLIB_FOR_TARGET = ` \ + if [ -f $$r/binutils/ranlib ] ; then \ + echo $$r/binutils/ranlib ; \ + else \ + if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ + echo $(RANLIB); \ + else \ + t='$(program_transform_name)'; echo ranlib | sed -e 's/x/x/' $$t ; \ + fi; \ + fi` + +NM_FOR_TARGET = ` \ + if [ -f $$r/binutils/nm-new ] ; then \ + echo $$r/binutils/nm-new ; \ + else \ + if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ + echo $(NM); \ + else \ + t='$(program_transform_name)'; echo nm | sed -e 's/x/x/' $$t ; \ + fi; \ + fi` + +#### host and target specific makefile fragments come in here. +### + +# Flags to pass down to all sub-makes. +# Please keep these in alphabetical order. +BASE_FLAGS_TO_PASS = \ + "AR_FLAGS=$(AR_FLAGS)" \ + "AR_FOR_TARGET=$(AR_FOR_TARGET)" \ + "AS_FOR_TARGET=$(AS_FOR_TARGET)" \ + "BISON=$(BISON)" \ + "CC_FOR_BUILD=$(CC_FOR_BUILD)" \ + "CC_FOR_TARGET=$(CC_FOR_TARGET)" \ + "CFLAGS=$(CFLAGS)" \ + "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \ + "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \ + "CXXFLAGS=$(CXXFLAGS)" \ + "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \ + "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \ + "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \ + "INSTALL=$(INSTALL)" \ + "INSTALL_DATA=$(INSTALL_DATA)" \ + "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ + "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \ + "LDFLAGS=$(LDFLAGS)" \ + "LEX=$(LEX)" \ + "LD_FOR_TARGET=$(LD_FOR_TARGET)" \ + "LIBCFLAGS=$(LIBCFLAGS)" \ + "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \ + "LIBCXXFLAGS=$(LIBCXXFLAGS)" \ + "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \ + "M4=$(M4)" \ + "MAKE=$(MAKE)" \ + "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \ + "NM_FOR_TARGET=$(NM_FOR_TARGET)" \ + "PICFLAG=$(PICFLAG)" \ + "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \ + "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \ + "RPATH_ENVVAR=$(RPATH_ENVVAR)" \ + "SHELL=$(SHELL)" \ + "EXPECT=$(EXPECT)" \ + "RUNTEST=$(RUNTEST)" \ + "RUNTESTFLAGS=$(RUNTESTFLAGS)" \ + "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \ + "YACC=$(YACC)" \ + "bindir=$(bindir)" \ + "datadir=$(datadir)" \ + "exec_prefix=$(exec_prefix)" \ + "includedir=$(includedir)" \ + "infodir=$(infodir)" \ + "libdir=$(libdir)" \ + "libexecdir=$(libexecdir)" \ + "lispdir=$(lispdir)" \ + "localstatedir=$(localstatedir)" \ + "mandir=$(mandir)" \ + "oldincludedir=$(oldincludedir)" \ + "prefix=$(prefix)" \ + "sbindir=$(sbindir)" \ + "sharedstatedir=$(sharedstatedir)" \ + "sysconfdir=$(sysconfdir)" \ + "tooldir=$(tooldir)" + +# Flags to pass down to most sub-makes, in which we're building with +# the host environment. +# If any variables are added here, they must be added to do-*, below. +EXTRA_HOST_FLAGS = \ + 'AR=$(AR)' \ + 'AS=$(AS)' \ + 'CC=$(CC)' \ + 'CXX=$(CXX)' \ + 'DLLTOOL=$(DLLTOOL)' \ + 'LD=$(LD)' \ + 'NM=$(NM)' \ + 'RANLIB=$(RANLIB)' \ + 'WINDRES=$(WINDRES)' + +FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) + +# Flags that are concerned with the location of the X11 include files +# and library files +# +# NOTE: until the top-level is getting the values via autoconf, it only +# causes problems to have this top-level Makefile overriding the autoconf-set +# values in child directories. Only variables that don't conflict with +# autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now. +# +X11_FLAGS_TO_PASS = \ + 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \ + 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)' + +# Flags to pass down to makes which are built with the target environment. +# The double $ decreases the length of the command line; the variables +# are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. +# If any variables are added here, they must be added to do-*, below. +EXTRA_TARGET_FLAGS = \ + 'AR=$$(AR_FOR_TARGET)' \ + 'AS=$$(AS_FOR_TARGET)' \ + 'CC=$$(CC_FOR_TARGET)' \ + 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \ + 'CXX=$$(CXX_FOR_TARGET)' \ + 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \ + 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \ + 'LD=$$(LD_FOR_TARGET)' \ + 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \ + 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \ + 'NM=$$(NM_FOR_TARGET)' \ + 'PICFLAG=$$(PICFLAG_FOR_TARGET)' \ + 'RANLIB=$$(RANLIB_FOR_TARGET)' \ + 'WINDRES=$$(WINDRES_FOR_TARGET)' + +TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) + +# Flags to pass down to gcc. gcc builds a library, libgcc.a, so it +# unfortunately needs the native compiler and the target ar and +# ranlib. +# If any variables are added here, they must be added to do-*, below. +# The HOST_* variables are a special case, which are used for the gcc +# cross-building scheme. +EXTRA_GCC_FLAGS = \ + 'AR=$$(AR_FOR_TARGET)' \ + 'AS=$(AS)' \ + 'CC=$(CC)' \ + 'CXX=$(CXX)' \ + 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \ + 'HOST_CC=$(CC_FOR_BUILD)' \ + 'HOST_PREFIX=$(HOST_PREFIX)' \ + 'HOST_PREFIX_1=$(HOST_PREFIX_1)' \ + 'NM=$(NM)' \ + 'RANLIB=$$(RANLIB_FOR_TARGET)' \ + 'WINDRES=$$(WINDRES_FOR_TARGET)' \ + "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \ + "`if test x'$(LANGUAGES)' != x; then echo 'LANGUAGES=$(LANGUAGES)'; else echo 'XFOO=bar'; fi`" \ + "`if test x'$(STMP_FIXPROTO)' != x; then echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)'; else echo 'XFOO=bar'; fi`" \ + "`if test x'$(LIMITS_H_TEST)' != x; then echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)'; else echo 'XFOO=bar'; fi`" \ + "`if test x'$(LIBGCC1_TEST)' != x; then echo 'LIBGCC1_TEST=$(LIBGCC1_TEST)'; else echo 'XFOO=bar'; fi`" \ + "`if test x'$(LIBGCC2_CFLAGS)' != x; then echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)'; else echo 'XFOO=bar'; fi`" \ + "`if test x'$(LIBGCC2_DEBUG_CFLAGS)' != x; then echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)'; else echo 'XFOO=bar'; fi`" \ + "`if test x'$(LIBGCC2_INCLUDES)' != x; then echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)'; else echo 'XFOO=bar'; fi`" \ + "`if test x'$(ENQUIRE)' != x; then echo 'ENQUIRE=$(ENQUIRE)'; else echo 'XFOO=bar'; fi`" \ + "`if test x'$(BOOT_CFLAGS)' != x; then echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)'; else echo 'XFOO=bar'; fi`" + +GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) + +# This is a list of the targets for all of the modules which are compiled +# using $(FLAGS_TO_PASS). +ALL_MODULES = \ + all-apache \ + all-autoconf \ + all-automake \ + all-bash \ + all-bfd \ + all-binutils \ + all-bison \ + all-byacc \ + all-cvssrc \ + all-db \ + all-dejagnu \ + all-diff \ + all-dosutils \ + all-etc \ + all-fileutils \ + all-findutils \ + all-find \ + all-flex \ + all-gas \ + all-gawk \ + all-gettext \ + all-gnuserv \ + all-gprof \ + all-grep \ + all-grez \ + all-gzip \ + all-hello \ + all-indent \ + all-inet \ + all-intl \ + all-ispell \ + all-itcl \ + all-ld \ + all-libgui \ + all-libiberty \ + all-m4 \ + all-make \ + all-mmalloc \ + all-opcodes \ + all-patch \ + all-perl \ + all-prms \ + all-rcs \ + all-readline \ + all-release \ + all-recode \ + all-sed \ + all-send-pr \ + all-shellutils \ + all-sim \ + all-snavigator \ + all-tar \ + all-tcl \ + all-texinfo \ + all-textutils \ + all-tgas \ + all-time \ + all-uudecode \ + all-wdiff + +# This is a list of the check targets for all of the modules which are +# compiled using $(FLAGS_TO_PASS). +# +# The list is in two parts. The first lists those tools which +# are tested as part of the host's native tool-chain, and not +# tested in a cross configuration. +NATIVE_CHECK_MODULES = \ + check-bison \ + check-byacc \ + check-flex + +CROSS_CHECK_MODULES = \ + check-apache \ + check-autoconf \ + check-automake \ + check-bash \ + check-bfd \ + check-binutils \ + check-cvssrc \ + check-db \ + check-dejagnu \ + check-diff \ + check-etc \ + check-fileutils \ + check-findutils \ + check-find \ + check-gas \ + check-gawk \ + check-gettext \ + check-gnuserv \ + check-gprof \ + check-grep \ + check-gzip \ + check-hello \ + check-indent \ + check-inet \ + check-intl \ + check-ispell \ + check-itcl \ + check-ld \ + check-libgui \ + check-libiberty \ + check-m4 \ + check-make \ + check-mmcheckoc \ + check-opcodes \ + check-patch \ + check-perl \ + check-prms \ + check-rcs \ + check-readline \ + check-recode \ + check-sed \ + check-send-pr \ + check-shellutils \ + check-snavigator \ + check-sim \ + check-tar \ + check-tcl \ + check-texinfo \ + check-textutils \ + check-tgas \ + check-time \ + check-uudecode \ + check-wdiff + +CHECK_MODULES=$(NATIVE_CHECK_MODULES) $(CROSS_CHECK_MODULES) + +# This is a list of the install targets for all of the modules which are +# compiled using $(FLAGS_TO_PASS). +# We put install-opcodes before install-binutils because the installed +# binutils might be on PATH, and they might need the shared opcodes +# library. +# We put install-tcl before install-itcl because itcl wants to run a +# program on installation which uses the Tcl libraries. +INSTALL_MODULES = \ + install-apache \ + install-autoconf \ + install-automake \ + install-bash \ + install-bfd \ + install-opcodes \ + install-binutils \ + install-bison \ + install-byacc \ + install-cvssrc \ + install-db \ + install-dejagnu \ + install-diff \ + install-dosutils \ + install-etc \ + install-fileutils \ + install-findutils \ + install-find \ + install-flex \ + install-gas \ + install-gawk \ + install-gettext \ + install-gnuserv \ + install-gprof \ + install-grep \ + install-grez \ + install-gzip \ + install-hello \ + install-indent \ + install-inet \ + install-intl \ + install-ispell \ + install-tcl \ + install-itcl \ + install-ld \ + install-libgui \ + install-libiberty \ + install-m4 \ + install-make \ + install-mmalloc \ + install-patch \ + install-perl \ + install-prms \ + install-rcs \ + install-readline \ + install-recode \ + install-sed \ + install-send-pr \ + install-shellutils \ + install-sim \ + install-snavigator \ + install-tar \ + install-textutils \ + install-tgas \ + install-time \ + install-uudecode \ + install-wdiff + +# This is a list of the targets for all of the modules which are compiled +# using $(X11_FLAGS_TO_PASS). +ALL_X11_MODULES = \ + all-emacs \ + all-emacs19 \ + all-gdb \ + all-expect \ + all-gash \ + all-guile \ + all-tclX \ + all-tk \ + all-tix + +# This is a list of the check targets for all of the modules which are +# compiled using $(X11_FLAGS_TO_PASS). +CHECK_X11_MODULES = \ + check-emacs \ + check-gdb \ + check-guile \ + check-expect \ + check-gash \ + check-tclX \ + check-tk \ + check-tix + +# This is a list of the install targets for all the modules which are +# compiled using $(X11_FLAGS_TO_PASS). +INSTALL_X11_MODULES = \ + install-emacs \ + install-emacs19 \ + install-gdb \ + install-guile \ + install-expect \ + install-gash \ + install-tclX \ + install-tk \ + install-tix + +# This is a list of the targets for all of the modules which are compiled +# using $(TARGET_FLAGS_TO_PASS). +ALL_TARGET_MODULES = \ + all-target-libio \ + all-target-libstdc++ \ + all-target-librx \ + all-target-libg++ \ + all-target-newlib \ + all-target-winsup \ + all-target-libgloss \ + all-target-libiberty \ + all-target-gperf \ + all-target-examples \ + all-target-cygmon + +# This is a list of the configure targets for all of the modules which +# are compiled using the target tools. +CONFIGURE_TARGET_MODULES = \ + configure-target-libio \ + configure-target-libstdc++ \ + configure-target-librx \ + configure-target-libg++ \ + configure-target-newlib \ + configure-target-winsup \ + configure-target-libgloss \ + configure-target-libiberty \ + configure-target-gperf \ + configure-target-examples \ + configure-target-cygmon + +# This is a list of the check targets for all of the modules which are +# compiled using $(TARGET_FLAGS_TO_PASS). +CHECK_TARGET_MODULES = \ + check-target-libio \ + check-target-libstdc++ \ + check-target-libg++ \ + check-target-newlib \ + check-target-winsup \ + check-target-libiberty \ + check-target-gperf + +# This is a list of the install targets for all of the modules which are +# compiled using $(TARGET_FLAGS_TO_PASS). +INSTALL_TARGET_MODULES = \ + install-target-libio \ + install-target-libstdc++ \ + install-target-libg++ \ + install-target-newlib \ + install-target-winsup \ + install-target-libgloss \ + install-target-libiberty \ + install-target-gperf + +# This is a list of the targets for which we can do a clean-{target}. +CLEAN_MODULES = \ + clean-apache \ + clean-autoconf \ + clean-automake \ + clean-bash \ + clean-bfd \ + clean-binutils \ + clean-bison \ + clean-byacc \ + clean-cvssrc \ + clean-db \ + clean-dejagnu \ + clean-diff \ + clean-dosutils \ + clean-etc \ + clean-fileutils \ + clean-findutils \ + clean-find \ + clean-flex \ + clean-gas \ + clean-gawk \ + clean-gettext \ + clean-gnuserv \ + clean-gprof \ + clean-grep \ + clean-grez \ + clean-gzip \ + clean-hello \ + clean-indent \ + clean-inet \ + clean-intl \ + clean-ispell \ + clean-itcl \ + clean-ld \ + clean-libgui \ + clean-libiberty \ + clean-m4 \ + clean-make \ + clean-mmalloc \ + clean-opcodes \ + clean-patch \ + clean-perl \ + clean-prms \ + clean-rcs \ + clean-readline \ + clean-release \ + clean-recode \ + clean-sed \ + clean-send-pr \ + clean-shellutils \ + clean-sim \ + clean-snavigator \ + clean-tar \ + clean-tcl \ + clean-texinfo \ + clean-textutils \ + clean-tgas \ + clean-time \ + clean-uudecode \ + clean-wdiff + +# All of the target modules that can be cleaned +CLEAN_TARGET_MODULES = \ + clean-target-libio \ + clean-target-libstdc++ \ + clean-target-librx \ + clean-target-libg++ \ + clean-target-newlib \ + clean-target-winsup \ + clean-target-libgloss \ + clean-target-libiberty \ + clean-target-gperf \ + clean-target-examples \ + clean-target-cygmon + +# All of the x11 modules that can be cleaned +CLEAN_X11_MODULES = \ + clean-emacs \ + clean-emacs19 \ + clean-gdb \ + clean-expect \ + clean-gash \ + clean-guile \ + clean-tclX \ + clean-tk \ + clean-tix + +# The first rule in the file had better be this one. Don't put any above it. +all: all.normal +.PHONY: all + +# The target built for a native build. +.PHONY: all.normal +all.normal: \ + $(ALL_MODULES) \ + $(ALL_X11_MODULES) \ + $(ALL_TARGET_MODULES) \ + all-gcc + +# Do a target for all the subdirectories. A ``make do-X'' will do a +# ``make X'' in all subdirectories (because, in general, there is a +# dependency (below) of X upon do-X, a ``make X'' will also do this, +# but it may do additional work as well). +# This target ensures that $(BASE_FLAGS_TO_PASS) appears only once, +# because it is so large that it can easily overflow the command line +# length limit on some systems. +DO_X = \ + do-clean \ + do-distclean \ + do-dvi \ + do-info \ + do-install-info \ + do-installcheck \ + do-mostlyclean \ + do-maintainer-clean \ + do-TAGS +.PHONY: $(DO_X) +$(DO_X): + @target=`echo $@ | sed -e 's/^do-//'`; \ + r=`pwd`; export r; \ + s=`cd $(srcdir); pwd`; export s; \ + $(SET_LIB_PATH) \ + for i in $(SUBDIRS) -dummy-; do \ + if [ -f ./$$i/Makefile ]; then \ + case $$i in \ + gcc) \ + for flag in $(EXTRA_GCC_FLAGS); do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'|"`; \ + done; \ + ;; \ + *) \ + for flag in $(EXTRA_HOST_FLAGS); do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'|"`; \ + done; \ + ;; \ + esac ; \ + export AR AS CC CXX LD NM RANLIB DLLTOOL WINDRES; \ + if (cd ./$$i; \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ + $${target}); \ + then true; else exit 1; fi; \ + else true; fi; \ + done + @target=`echo $@ | sed -e 's/^do-//'`; \ + r=`pwd`; export r; \ + s=`cd $(srcdir); pwd`; export s; \ + $(SET_LIB_PATH) \ + for i in $(TARGET_CONFIGDIRS) -dummy-; do \ + if [ -f $(TARGET_SUBDIR)/$$i/Makefile ]; then \ + for flag in $(EXTRA_TARGET_FLAGS); do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'|"`; \ + done; \ + export AR AS CC CXX LD NM RANLIB DLLTOOL WINDRES; \ + if (cd $(TARGET_SUBDIR)/$$i; \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ + $${target}); \ + then true; else exit 1; fi; \ + else true; fi; \ + done + +# Here are the targets which correspond to the do-X targets. + +.PHONY: info installcheck dvi install-info +.PHONY: clean distclean mostlyclean maintainer-clean realclean +.PHONY: local-clean local-distclean local-maintainer-clean +info: do-info +installcheck: do-installcheck +dvi: do-dvi + +# Make sure makeinfo is built before we do a `make info'. +do-info: all-texinfo + +install-info: do-install-info dir.info + s=`cd $(srcdir); pwd`; export s; \ + if [ -f dir.info ] ; then \ + $(INSTALL_DATA) dir.info $(infodir)/dir.info ; \ + else true ; fi + +local-clean: + -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E + +local-distclean: + -rm -f Makefile config.status config.cache + -if [ "$(TARGET_SUBDIR)" != "." ]; then \ + rm -rf $(TARGET_SUBDIR); \ + else true; fi + +local-maintainer-clean: + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +clean: do-clean local-clean +mostlyclean: do-mostlyclean local-clean +distclean: do-distclean local-clean local-distclean +maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean +maintainer-clean: local-distclean +realclean: maintainer-clean + +# This rule is used to clean specific modules. +.PHONY: $(CLEAN_MODULES) $(CLEAN_X11_MODULES) clean-gcc +$(CLEAN_MODULES) $(CLEAN_X11_MODULES) clean-gcc: + @dir=`echo $@ | sed -e 's/clean-//'`; \ + if [ -f ./$${dir}/Makefile ] ; then \ + r=`pwd`; export r; \ + s=`cd $(srcdir); pwd`; export s; \ + $(SET_LIB_PATH) \ + (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) clean); \ + else \ + true; \ + fi + +.PHONY: $(CLEAN_TARGET_MODULES) +$(CLEAN_TARGET_MODULES): + @dir=`echo $@ | sed -e 's/clean-target-//'`; \ + rm -f $(TARGET_SUBDIR)/$${dir}/multilib.out $(TARGET_SUBDIR)/$${dir}/tmpmulti.out; \ + if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \ + r=`pwd`; export r; \ + s=`cd $(srcdir); pwd`; export s; \ + $(SET_LIB_PATH) \ + (cd $(TARGET_SUBDIR)/$${dir}; $(MAKE) $(TARGET_FLAGS_TO_PASS) clean); \ + else \ + true; \ + fi + +clean-target: $(CLEAN_TARGET_MODULES) + +# Check target. + +.PHONY: check +check: $(CHECK_MODULES) \ + $(CHECK_TARGET_MODULES) \ + $(CHECK_X11_MODULES) \ + check-gcc + +# Installation targets. + +.PHONY: install uninstall source-vault binary-vault vault-install +install: $(INSTALL_TARGET) + +uninstall: + @echo "the uninstall target is not supported in this tree" + +source-vault: + $(MAKE) -f ./release/Build-A-Release \ + host=$(host_alias) source-vault + +binary-vault: + $(MAKE) -f ./release/Build-A-Release \ + host=$(host_alias) target=$(target_alias) + +vault-install: + @if [ -f ./release/vault-install ] ; then \ + ./release/vault-install $(host_alias) $(target_alias) ; \ + else \ + true ; \ + fi + +.PHONY: install.all +install.all: install-no-fixedincludes + @if [ -f ./gcc/Makefile ] ; then \ + r=`pwd` ; export r ; \ + $(SET_LIB_PATH) \ + (cd ./gcc; \ + $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \ + else \ + true ; \ + fi + +# inet-install is used because the I*Net wants DejaGNU installed but +# not built. Similarly, gzip is built but not installed. +inet-install: + $(MAKE) INSTALL_MODULES="`echo $(INSTALL_MODULES) | sed -e 's/install-dejagnu//' -e 's/install-gzip//'`" install + +# install-no-fixedincludes is used because Cygnus can not distribute +# the fixed header files. +.PHONY: install-no-fixedincludes +install-no-fixedincludes: \ + installdirs \ + $(INSTALL_MODULES) \ + $(INSTALL_TARGET_MODULES) \ + $(INSTALL_X11_MODULES) \ + gcc-no-fixedincludes + +# Install the gcc headers files, but not the fixed include files, +# which Cygnus is not allowed to distribute. This rule is very +# dependent on the workings of the gcc Makefile.in. +.PHONY: gcc-no-fixedincludes +gcc-no-fixedincludes: + @if [ -f ./gcc/Makefile ]; then \ + rm -rf gcc/tmp-include; \ + mv gcc/include gcc/tmp-include 2>/dev/null; \ + mkdir gcc/include; \ + cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \ + touch gcc/stmp-fixinc gcc/include/fixed; \ + rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \ + r=`pwd`; export r; \ + s=`cd $(srcdir); pwd` ; export s; \ + $(SET_LIB_PATH) \ + (cd ./gcc; \ + $(MAKE) $(GCC_FLAGS_TO_PASS) install); \ + rm -rf gcc/include; \ + mv gcc/tmp-include gcc/include 2>/dev/null; \ + else true; fi + + +# This rule is used to build the modules which use FLAGS_TO_PASS. To +# build a target all-X means to cd to X and make all. +# +# all-gui, and all-libproc are handled specially because +# they are still experimental, and if they fail to build, that +# shouldn't stop "make all". +.PHONY: $(ALL_MODULES) all-gui all-libproc +$(ALL_MODULES) all-gui all-libproc: + @dir=`echo $@ | sed -e 's/all-//'`; \ + if [ -f ./$${dir}/Makefile ] ; then \ + r=`pwd`; export r; \ + s=`cd $(srcdir); pwd`; export s; \ + $(SET_LIB_PATH) \ + (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) all); \ + else \ + true; \ + fi + +# These rules are used to check the modules which use FLAGS_TO_PASS. +# To build a target check-X means to cd to X and make check. Some +# modules are only tested in a native toolchain. + +.PHONY: $(CHECK_MODULES) $(NATIVE_CHECK_MODULES) $(CROSS_CHECK_MODULES) +$(NATIVE_CHECK_MODULES): + @if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ + dir=`echo $@ | sed -e 's/check-//'`; \ + if [ -f ./$${dir}/Makefile ] ; then \ + r=`pwd`; export r; \ + s=`cd $(srcdir); pwd`; export s; \ + $(SET_LIB_PATH) \ + (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) check); \ + else \ + true; \ + fi; \ + fi + +$(CROSS_CHECK_MODULES): + @dir=`echo $@ | sed -e 's/check-//'`; \ + if [ -f ./$${dir}/Makefile ] ; then \ + r=`pwd`; export r; \ + s=`cd $(srcdir); pwd`; export s; \ + $(SET_LIB_PATH) \ + (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) check); \ + else \ + true; \ + fi + +# This rule is used to install the modules which use FLAGS_TO_PASS. +# To build a target install-X means to cd to X and make install. +.PHONY: $(INSTALL_MODULES) +$(INSTALL_MODULES): installdirs + @dir=`echo $@ | sed -e 's/install-//'`; \ + if [ -f ./$${dir}/Makefile ] ; then \ + r=`pwd`; export r; \ + s=`cd $(srcdir); pwd`; export s; \ + $(SET_LIB_PATH) \ + (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) install); \ + else \ + true; \ + fi + +# This rule is used to configure the modules which are built with the +# target tools. +.PHONY: $(CONFIGURE_TARGET_MODULES) +$(CONFIGURE_TARGET_MODULES): + @dir=`echo $@ | sed -e 's/configure-target-//'`; \ + if [ -d $(TARGET_SUBDIR)/$${dir} ]; then \ + r=`pwd`; export r; \ + $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/$${dir}/tmpmulti.out 2> /dev/null; \ + if [ -s $(TARGET_SUBDIR)/$${dir}/tmpmulti.out ]; then \ + if [ -f $(TARGET_SUBDIR)/$${dir}/multilib.out ]; then \ + if cmp $(TARGET_SUBDIR)/$${dir}/multilib.out $(TARGET_SUBDIR)/$${dir}/tmpmulti.out > /dev/null; then \ + rm -f $(TARGET_SUBDIR)/$${dir}/tmpmulti.out; \ + else \ + echo "Multilibs changed for $${dir}, reconfiguring"; \ + rm -f $(TARGET_SUBDIR)/$${dir}/multilib.out $(TARGET_SUBDIR)/$${dir}/Makefile; \ + mv $(TARGET_SUBDIR)/$${dir}/tmpmulti.out $(TARGET_SUBDIR)/$${dir}/multilib.out; \ + fi; \ + else \ + mv $(TARGET_SUBDIR)/$${dir}/tmpmulti.out $(TARGET_SUBDIR)/$${dir}/multilib.out; \ + fi; \ + fi; \ + fi; exit 0 # break command into two pieces + @dir=`echo $@ | sed -e 's/configure-target-//'`; \ + if [ ! -d $(TARGET_SUBDIR) ]; then \ + true; \ + elif [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \ + true; \ + elif echo " $(TARGET_CONFIGDIRS) " | grep " $${dir} " >/dev/null 2>&1; then \ + if [ -d $(srcdir)/$${dir} ]; then \ + [ -d $(TARGET_SUBDIR)/$${dir} ] || mkdir $(TARGET_SUBDIR)/$${dir};\ + r=`pwd`; export r; \ + s=`cd $(srcdir); pwd`; export s; \ + $(SET_LIB_PATH) \ + AR="$(AR_FOR_TARGET)"; export AR; \ + AS="$(AS_FOR_TARGET)"; export AS; \ + CC="$(CC_FOR_TARGET)"; export CC; \ + CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ + CXX="$(CXX_FOR_TARGET)"; export CXX; \ + CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ + DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ + LD="$(LD_FOR_TARGET)"; export LD; \ + LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ + NM="$(NM_FOR_TARGET)"; export NM; \ + RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ + WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ + echo Configuring in $(TARGET_SUBDIR)/$${dir}; \ + cd $(TARGET_SUBDIR)/$${dir}; \ + case $(srcdir) in \ + /*) \ + topdir=$(srcdir) ;; \ + *) \ + case "$(TARGET_SUBDIR)" in \ + .) topdir="../$(srcdir)" ;; \ + *) topdir="../../$(srcdir)" ;; \ + esac ;; \ + esac; \ + if [ "$(srcdir)" = "." ] ; then \ + if [ "$(TARGET_SUBDIR)" != "." ] ; then \ + if $(SHELL) $$s/symlink-tree $${topdir}/$${dir} "no-such-file" ; then \ + if [ -f Makefile ]; then \ + if $(MAKE) distclean; then \ + true; \ + else \ + exit 1; \ + fi; \ + else \ + true; \ + fi; \ + else \ + exit 1; \ + fi; \ + else \ + true; \ + fi; \ + srcdiroption="--srcdir=."; \ + libsrcdir="."; \ + else \ + srcdiroption="--srcdir=$${topdir}/$${dir}"; \ + libsrcdir="$$s/$${dir}"; \ + fi; \ + if [ -f $${libsrcdir}/configure ] ; then \ + $(SHELL) $${libsrcdir}/configure \ + $(CONFIG_ARGUMENTS) $${srcdiroption} \ + --with-target-subdir="$(TARGET_SUBDIR)"; \ + else \ + $(SHELL) $$s/configure \ + $(CONFIG_ARGUMENTS) $${srcdiroption} \ + --with-target-subdir="$(TARGET_SUBDIR)"; \ + fi; \ + else \ + true; \ + fi; \ + else \ + true; \ + fi + +# This rule is used to build the modules which use TARGET_FLAGS_TO_PASS. +# To build a target all-X means to cd to X and make all. +.PHONY: $(ALL_TARGET_MODULES) +$(ALL_TARGET_MODULES): + @dir=`echo $@ | sed -e 's/all-target-//'`; \ + if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \ + r=`pwd`; export r; \ + s=`cd $(srcdir); pwd`; export s; \ + $(SET_LIB_PATH) \ + (cd $(TARGET_SUBDIR)/$${dir}; $(MAKE) $(TARGET_FLAGS_TO_PASS) all); \ + else \ + true; \ + fi + +# This rule is used to check the modules which use TARGET_FLAGS_TO_PASS. +# To build a target install-X means to cd to X and make install. +.PHONY: $(CHECK_TARGET_MODULES) +$(CHECK_TARGET_MODULES): + @dir=`echo $@ | sed -e 's/check-target-//'`; \ + if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \ + r=`pwd`; export r; \ + s=`cd $(srcdir); pwd`; export s; \ + $(SET_LIB_PATH) \ + (cd $(TARGET_SUBDIR)/$${dir};$(MAKE) $(TARGET_FLAGS_TO_PASS) check);\ + else \ + true; \ + fi + +# This rule is used to install the modules which use +# TARGET_FLAGS_TO_PASS. To build a target install-X means to cd to X +# and make install. +.PHONY: $(INSTALL_TARGET_MODULES) +$(INSTALL_TARGET_MODULES): installdirs + @dir=`echo $@ | sed -e 's/install-target-//'`; \ + if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \ + r=`pwd`; export r; \ + s=`cd $(srcdir); pwd`; export s; \ + $(SET_LIB_PATH) \ + (cd $(TARGET_SUBDIR)/$${dir}; \ + $(MAKE) $(TARGET_FLAGS_TO_PASS) install); \ + else \ + true; \ + fi + +# This rule is used to build the modules which use X11_FLAGS_TO_PASS. +# To build a target all-X means to cd to X and make all. +.PHONY: $(ALL_X11_MODULES) +$(ALL_X11_MODULES): + @dir=`echo $@ | sed -e 's/all-//'`; \ + if [ -f ./$${dir}/Makefile ] ; then \ + r=`pwd`; export r; \ + s=`cd $(srcdir); pwd`; export s; \ + $(SET_LIB_PATH) \ + (cd $${dir}; \ + $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all); \ + else \ + true; \ + fi + +# This rule is used to check the modules which use X11_FLAGS_TO_PASS. +# To build a target check-X means to cd to X and make all. +.PHONY: $(CHECK_X11_MODULES) +$(CHECK_X11_MODULES): + @dir=`echo $@ | sed -e 's/check-//'`; \ + if [ -f ./$${dir}/Makefile ] ; then \ + r=`pwd`; export r; \ + s=`cd $(srcdir); pwd`; export s; \ + $(SET_LIB_PATH) \ + (cd $${dir}; \ + $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check); \ + else \ + true; \ + fi + +# This rule is used to install the modules which use X11_FLAGS_TO_PASS. +# To build a target install-X means to cd to X and make install. +.PHONY: $(INSTALL_X11_MODULES) +$(INSTALL_X11_MODULES): installdirs + @dir=`echo $@ | sed -e 's/install-//'`; \ + if [ -f ./$${dir}/Makefile ] ; then \ + r=`pwd`; export r; \ + s=`cd $(srcdir); pwd`; export s; \ + $(SET_LIB_PATH) \ + (cd $${dir}; \ + $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install); \ + else \ + true; \ + fi + +# gcc is the only module which uses GCC_FLAGS_TO_PASS. +.PHONY: all-gcc +all-gcc: + @if [ -f ./gcc/Makefile ] ; then \ + r=`pwd`; export r; \ + s=`cd $(srcdir); pwd`; export s; \ + $(SET_LIB_PATH) \ + (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) all); \ + else \ + true; \ + fi + +.PHONY: all-bootstrap +all-bootstrap: + @if [ -f ./gcc/Makefile ] ; then \ + r=`pwd`; export r; \ + s=`cd $(srcdir); pwd`; export s; \ + $(SET_LIB_PATH) \ + (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) bootstrap); \ + else \ + true; \ + fi + +.PHONY: check-gcc +check-gcc: + @if [ -f ./gcc/Makefile ] ; then \ + r=`pwd`; export r; \ + s=`cd $(srcdir); pwd`; export s; \ + $(SET_LIB_PATH) \ + (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) check); \ + else \ + true; \ + fi + +.PHONY: install-gcc +install-gcc: + @if [ -f ./gcc/Makefile ] ; then \ + r=`pwd`; export r; \ + s=`cd $(srcdir); pwd`; export s; \ + $(SET_LIB_PATH) \ + (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) install); \ + else \ + true; \ + fi + + +# EXPERIMENTAL STUFF +# This rule is used to install the modules which use FLAGS_TO_PASS. +# To build a target install-X means to cd to X and make install. +.PHONY: install-dosrel +install-dosrel: installdirs info + @dir=`echo $@ | sed -e 's/install-//'`; \ + if [ -f ./$${dir}/Makefile ] ; then \ + r=`pwd`; export r; \ + s=`cd $(srcdir); pwd`; export s; \ + $(SET_LIB_PATH) \ + (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) install); \ + else \ + true; \ + fi + +install-dosrel-fake: + + +# This is a list of inter-dependencies among modules. +all-apache: +all-autoconf: all-m4 all-texinfo +all-automake: +all-bash: +all-bfd: +all-binutils: all-libiberty all-opcodes all-bfd all-flex all-bison all-byacc +all-bison: all-texinfo +all-byacc: +all-cvssrc: +configure-target-cygmon: $(ALL_GCC) +all-target-cygmon: configure-target-cygmon all-gas all-ld all-gcc all-target-libiberty all-target-newlib all-target-libio +all-db: +all-dejagnu: all-tcl all-expect all-tk +all-diff: all-libiberty +all-emacs: +all-emacs19: all-bison all-byacc +all-etc: +configure-target-examples: $(ALL_GCC) +all-target-examples: configure-target-examples +all-expect: all-tcl all-tk +all-fileutils: all-libiberty +all-findutils: +all-find: +all-flex: all-libiberty all-bison all-byacc +all-gas: all-libiberty all-opcodes all-bfd +all-gash: all-tcl +all-gawk: +ALL_GCC = all-gcc +all-gcc: all-bison all-byacc all-binutils all-gas all-ld +all-bootstrap: all-libiberty all-bison all-byacc all-binutils all-gas all-ld +GDB_TK = all-tk all-tcl all-itcl all-tix all-libgui +all-gdb: all-libiberty all-opcodes all-bfd all-mmalloc all-readline all-bison all-byacc all-sim $(gdbnlmrequirements) $(GDB_TK) +all-gettext: +all-gnuserv: +configure-target-gperf: $(ALL_GCC) +all-target-gperf: configure-target-gperf all-target-libiberty all-target-libstdc++ +all-gprof: all-libiberty all-bfd all-opcodes +all-grep: all-libiberty +all-grez: all-libiberty all-bfd all-opcodes +all-gui: all-gdb all-libproc all-target-librx +all-guile: +all-gzip: all-libiberty +all-hello: all-libiberty +all-indent: +all-inet: all-tcl all-send-pr all-perl +all-intl: +all-ispell: all-emacs19 +all-itcl: all-tcl all-tk +all-ld: all-libiberty all-bfd all-opcodes all-bison all-byacc all-flex +configure-target-libg++: $(ALL_GCC) configure-target-librx +all-target-libg++: configure-target-libg++ all-gas all-ld all-gcc all-target-libiberty all-target-newlib all-target-libio all-target-librx all-target-libstdc++ +configure-target-libgloss: $(ALL_GCC) +all-target-libgloss: configure-target-libgloss configure-target-newlib +configure-target-libio: $(ALL_GCC) +all-target-libio: configure-target-libio all-gas all-ld all-gcc all-target-libiberty all-target-newlib +check-target-libio: all-target-libstdc++ +all-libgui: all-tcl all-tk all-itcl +all-libiberty: +configure-target-librx: $(ALL_GCC) configure-target-newlib +all-target-librx: configure-target-librx +configure-target-libstdc++: $(ALL_GCC) +all-target-libstdc++: configure-target-libstdc++ all-gas all-ld all-gcc all-target-libiberty all-target-newlib all-target-libio +all-m4: all-libiberty +all-make: all-libiberty +all-mmalloc: +configure-target-newlib: $(ALL_GCC) +all-target-newlib: configure-target-newlib all-binutils all-gas all-gcc +all-opcodes: all-bfd all-libiberty +all-patch: all-libiberty +all-perl: +all-prms: all-libiberty +all-rcs: +all-readline: +all-recode: all-libiberty +all-sed: all-libiberty +all-send-pr: all-prms +all-shellutils: +all-sim: all-libiberty all-bfd all-opcodes all-readline +all-snavigator: all-tcl all-tk all-tix all-itcl all-db all-grep +all-tar: all-libiberty +all-tcl: +all-tclX: all-tcl all-tk +all-tk: all-tcl +all-texinfo: all-libiberty +all-textutils: +all-tgas: all-libiberty all-bfd all-opcodes +all-time: +all-tix: all-tcl all-tk +all-wdiff: +all-target-winsup: all-target-newlib all-target-libiberty all-target-libio configure-target-winsup +configure-target-winsup: configure-target-newlib +all-uudecode: all-libiberty +configure-target-libiberty: $(ALL_GCC) +all-target-libiberty: configure-target-libiberty all-gcc all-ld all-target-newlib +all-target: $(ALL_TARGET_MODULES) +install-target: $(INSTALL_TARGET_MODULES) +install-gdbtk: install-tcl install-tk install-itcl install-tix install-libgui install-gdb +### other supporting targets + +MAKEDIRS= \ + $(prefix) \ + $(exec_prefix) +.PHONY: installdirs +installdirs: mkinstalldirs + $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS) + +dir.info: do-install-info + if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \ + $(srcdir)/texinfo/gen-info-dir $(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \ + mv -f dir.info.new dir.info ; \ + else true ; \ + fi + +dist: + @echo "Building a full distribution of this tree isn't done" + @echo "via 'make dist'. Check out the etc/ subdirectory" + +etags tags: TAGS + +# Right now this just builds TAGS in each subdirectory. emacs19 has the +# ability to use several tags files at once, so there is probably no need +# to combine them into one big TAGS file (like CVS 1.3 does). We could +# (if we felt like it) have this Makefile write a piece of elisp which +# the user could load to tell emacs19 where all the TAGS files we just +# built are. +TAGS: do-TAGS + +# with the gnu make, this is done automatically. + +Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag) + $(SHELL) ./config.status + +# +# Support for building net releases + +# Files in devo used in any net release. +# ChangeLog omitted because it may refer to files which are not in this +# distribution (perhaps it would be better to include it anyway). +DEVO_SUPPORT= README Makefile.in configure configure.in \ + config.guess config.sub config move-if-change \ + mpw-README mpw-build.in mpw-config.in mpw-configure mpw-install \ + COPYING COPYING.LIB install-sh config-ml.in symlink-tree \ + mkinstalldirs ltconfig ltmain.sh missing ylwrap + +# Files in devo/etc used in any net release. +# ChangeLog omitted because it may refer to files which are not in this +# distribution (perhaps it would be better to include it anyway). +ETC_SUPPORT= Makefile.in configure configure.in standards.texi \ + make-stds.texi standards.info* + +# When you use `make setup-dirs' or `make taz' you should always redefine +# this macro. +SUPPORT_FILES = list-of-support-files-for-tool-in-question + +.PHONY: taz + +taz: $(DEVO_SUPPORT) $(SUPPORT_FILES) \ + texinfo/texinfo.tex texinfo/gpl.texinfo texinfo/lgpl.texinfo + # Take out texinfo from a few places; make simple BISON=bison line. + sed -e '/^all\.normal: /s/\all-texinfo //' \ + -e '/^ install-texinfo /d' \ + tmp + mv -f tmp Makefile.in + # + ./configure sun4 + [ -z "$(CONFIGURE_TARGET_MODULES)" ] \ + || $(MAKE) $(CONFIGURE_TARGET_MODULES) ALL_GCC="" \ + CC_FOR_TARGET="$(CC)" CXX_FOR_TARGET="$(CXX)" + # Make links, and run "make diststuff" or "make info" when needed. + rm -rf proto-toplev ; mkdir proto-toplev + set -e ; dirs="$(TOOL) $(DEVO_SUPPORT) $(SUPPORT_FILES)" ; \ + for d in $$dirs ; do \ + if [ -d $$d ]; then \ + if [ ! -f $$d/Makefile ] ; then true ; \ + elif grep '^diststuff:' $$d/Makefile >/dev/null ; then \ + (cd $$d ; $(MAKE) diststuff ) || exit 1 ; \ + elif grep '^info:' $$d/Makefile >/dev/null ; then \ + (cd $$d ; $(MAKE) info ) || exit 1 ; \ + fi ; \ + if [ -d $$d/proto-$$d.dir ]; then \ + ln -s ../$$d/proto-$$d.dir proto-toplev/$$d ; \ + else \ + ln -s ../$$d proto-toplev/$$d ; \ + fi ; \ + else ln -s ../$$d proto-toplev/$$d ; fi ; \ + done + cd etc ; $(MAKE) info + $(MAKE) distclean + # + mkdir proto-toplev/etc + (cd proto-toplev/etc; \ + for i in $(ETC_SUPPORT); do \ + ln -s ../../etc/$$i . ; \ + done) + # + # Take out texinfo from configurable dirs + rm proto-toplev/configure.in + sed -e '/^host_tools=/s/texinfo //' \ + proto-toplev/configure.in + # + mkdir proto-toplev/texinfo + ln -s ../../texinfo/texinfo.tex proto-toplev/texinfo/ + ln -s ../../texinfo/gpl.texinfo proto-toplev/texinfo/ + ln -s ../../texinfo/lgpl.texinfo proto-toplev/texinfo/ + if test -r texinfo/util/tex3patch ; then \ + mkdir proto-toplev/texinfo/util && \ + ln -s ../../../texinfo/util/tex3patch proto-toplev/texinfo/util ; \ + else true; fi + chmod og=u `find . -print` + if grep AM_INIT_AUTOMAKE $(TOOL)/configure.in >/dev/null 2>&1; then \ + ver=`sed < $(TOOL)/configure.in -n 's/AM_INIT_AUTOMAKE[^,]*, *\([^)]*\))/\1/p'`; \ + else \ + ver=`sed <$(TOOL)/Makefile.in -n 's/^VERSION *= *//p'`; \ + fi; \ + $(MAKE) -f Makefile.in do-tar-gz TOOL=$(TOOL) VER=$$ver + +do-tar-gz: + echo "==> Making $(TOOL)-$(VER).tar.gz" + -rm -f $(TOOL)-$(VER) + ln -s proto-toplev $(TOOL)-$(VER) + tar cfh $(TOOL)-$(VER).tar $(TOOL)-$(VER) + $(GZIPPROG) -v -9 $(TOOL)-$(VER).tar + +TEXINFO_SUPPORT= texinfo/texinfo.tex texinfo/gpl.texinfo texinfo/lgpl.texinfo +DIST_SUPPORT= $(DEVO_SUPPORT) $(TEXINFO_SUPPORT) + +.PHONY: gas.tar.gz +GAS_SUPPORT_DIRS= bfd include libiberty opcodes setup.com makefile.vms +gas.tar.gz: $(DIST_SUPPORT) $(GAS_SUPPORT_DIRS) gas + $(MAKE) -f Makefile.in taz TOOL=gas \ + SUPPORT_FILES="$(GAS_SUPPORT_DIRS)" + +# The FSF "binutils" release includes gprof and ld. +.PHONY: binutils.tar.gz +BINUTILS_SUPPORT_DIRS= bfd gas include libiberty opcodes ld gprof setup.com makefile.vms +binutils.tar.gz: $(DIST_SUPPORT) $(BINUTILS_SUPPORT_DIRS) binutils + $(MAKE) -f Makefile.in taz TOOL=binutils \ + SUPPORT_FILES="$(BINUTILS_SUPPORT_DIRS) makeall.bat configure.bat" + +.PHONY: gas+binutils.tar.gz +GASB_SUPPORT_DIRS= $(GAS_SUPPORT_DIRS) binutils ld gprof +gas+binutils.tar.gz: $(DIST_SUPPORT) $(GASB_SUPPORT_DIRS) gas + $(MAKE) -f Makefile.in taz TOOL=gas \ + SUPPORT_FILES="$(GASB_SUPPORT_DIRS) makeall.bat configure.bat" + +.PHONY: libg++.tar.gz +LIBGXX_SUPPORT_DIRS=include libstdc++ libio librx libiberty +libg++.tar.gz: $(DIST_SUPPORT) libg++ + $(MAKE) -f Makefile.in taz TOOL=libg++ \ + SUPPORT_FILES="$(LIBGXX_SUPPORT_DIRS)" + +GNATS_SUPPORT_DIRS=include libiberty send-pr +gnats.tar.gz: $(DIST_SUPPORT) $(GNATS_SUPPORT_DIRS) gnats + $(MAKE) -f Makefile.in taz TOOL=gnats \ + SUPPORT_FILES="$(GNATS_SUPPORT_DIRS)" + +.PHONY: gdb.tar.gz +GDB_SUPPORT_DIRS= bfd include libiberty mmalloc opcodes readline sim utils +GDBTK_SUPPORT_DIRS= `if [ -d tcl -a -d tk ] ; then echo tcl tk ; fi` +gdb.tar.gz: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb + $(MAKE) -f Makefile.in taz TOOL=gdb \ + SUPPORT_FILES="$(GDB_SUPPORT_DIRS) $(GDBTK_SUPPORT_DIRS)" + +.PHONY: newlib.tar.gz +NEWLIB_SUPPORT_DIRS=libgloss +# taz configures for the sun4 target which won't configure newlib. +# We need newlib configured so that the .info files are made. +# Unfortunately, it is not enough to just configure newlib separately: +# taz will build the .info files but since SUBDIRS won't contain newlib, +# distclean won't be run (leaving Makefile, config.status, and the tmp files +# used in building the .info files, eg: *.def, *.ref). +# The problem isn't solvable however without a lot of extra work because +# target libraries are built in subdir $(target_alias) which gets nuked during +# the make distclean. For now punt on the issue of shipping newlib info files +# with newlib net releases and wait for a day when some native target (sun4?) +# supports newlib (if only minimally). +newlib.tar.gz: $(DIST_SUPPORT) $(NEWLIB_SUPPORT_DIRS) newlib + $(MAKE) -f Makefile.in taz TOOL=newlib \ + SUPPORT_FILES="$(NEWLIB_SUPPORT_DIRS)" \ + DEVO_SUPPORT="$(DEVO_SUPPORT) COPYING.NEWLIB" newlib + +.NOEXPORT: +MAKEOVERRIDES= + + +# end of Makefile.in diff --git a/README b/README new file mode 100644 index 0000000..eb0e436 --- /dev/null +++ b/README @@ -0,0 +1,47 @@ + README for GNU development tools + +This directory contains various GNU compilers, assemblers, linkers, +debuggers, etc., plus their support routines, definitions, and documentation. + +If you are receiving this as part of a GDB release, see the file gdb/README. +If with a binutils release, see binutils/README; if with a libg++ release, +see libg++/README, etc. That'll give you info about this +package -- supported targets, how to use it, how to report bugs, etc. + +It is now possible to automatically configure and build a variety of +tools with one command. To build all of the tools contained herein, +run the ``configure'' script here, e.g.: + + ./configure + make + +To install them (by default in /usr/local/bin, /usr/local/lib, etc), +then do: + make install + +(If the configure script can't determine your type of computer, give it +the name as an argument, for instance ``./configure sun4''. You can +use the script ``config.sub'' to test whether a name is recognized; if +it is, config.sub translates it to a triplet specifying CPU, vendor, +and OS.) + +If you have more than one compiler on your system, it is often best to +explicitly set CC in the environment before running configure, and to +also set CC when running make. For example (assuming sh/bash/ksh): + + CC=gcc ./configure + make + +A similar example using csh: + + setenv CC gcc + ./configure + make + +Much of the code and documentation enclosed is copyright by +the Free Software Foundation, Inc. See the file COPYING or +COPYING.LIB in the various directories, for a description of the +GNU General Public License terms under which you can copy the files. + +REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info +on where and how to report problems. diff --git a/bfd/COPYING b/bfd/COPYING new file mode 100644 index 0000000..60549be --- /dev/null +++ b/bfd/COPYING @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) 19yy + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) 19yy name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/bfd/ChangeLog b/bfd/ChangeLog new file mode 100644 index 0000000..557679d --- /dev/null +++ b/bfd/ChangeLog @@ -0,0 +1,9245 @@ +Mon Apr 27 11:49:55 1998 Ian Lance Taylor + + * configure.in: Set version number to 2.9.1. + * configure: Rebuild. + + Based on patch from H.J. Lu : + * elf.c (bfd_elf_get_bfd_needed_list): New function. + * bfd-in.h (bfd_elf_get_bfd_needed_list): Declare. + * bfd-in2.h: Rebuild. + +Fri Apr 24 12:09:18 1998 Ian Lance Taylor + + * syms.c (struct indexentry): Change directory_name, file_name, + and function_name fields to char *. + (struct stab_find_info): Change cached_file_name field to char *. + +Thu Apr 16 11:43:33 1998 Ian Lance Taylor + + * archive.c (bfd_generic_archive_p): If a slurp subroutine returns + an error other than bfd_error_system_call, set the error to + bfd_error_wrong_format. + + * targets.c (bfd_target_vector) [SELECT_VECS not defined]: Add + bfd_elf32_powerpcle_vec. + + * elf.c (copy_private_bfd_data): If all the p_paddr fields in the + program segments are zero, don't set p_paddr_valid. + +Fri Apr 10 13:44:27 1998 Ian Lance Taylor + + * coffcode.h (coff_write_object_contents): Move a PE COMDAT symbol + before any other symbols in the same section. + +Tue Apr 7 12:35:18 1998 Ian Lance Taylor + + * archures.c (bfd_default_scan): Add m68k cases back to default + switch, reverting patch of March 25, since IEEE support depends + upon them. + +Mon Apr 6 14:06:40 1998 Ian Lance Taylor + + * Makefile.am (diststuff): New target. + * Makefile.in: Rebuild. + +Sun Apr 5 16:21:44 1998 Jeffrey A Law (law@cygnus.com) + + * som.c (som_bfd_ar_write_symbol_stuff): Fix computation of + som_offset when we have an extended name table. + +Sun Apr 5 16:04:39 1998 H.J. Lu + + * Makefile.am (stamp-lib): Check that .libs/libbfd.a exists before + trying to copy it. + * Makefile.in: Rebuild. + +Fri Apr 3 11:09:42 1998 Andreas Schwab + + * elf32-m68k.c (elf_m68k_size_dynamic_sections): Generate section + symbols when creating a shared library. + (elf_m68k_adjust_dynindx): New function, used by above code. + (elf_m68k_finish_dynamic_sections): Initialize the section + symbols. + (elf_m68k_relocate_section): Change abort to BFD_ASSERT. + +Wed Apr 1 13:36:58 1998 Andreas Schwab + + * elf32-m68k.c (elf_m68k_relocate_section, case R_68K_PLT*O): Fix + assertion. + +Tue Mar 31 16:25:45 1998 Ian Lance Taylor + + * Makefile.am: Rebuild dependencies. + * Makefile.in: Rebuild. + +Mon Mar 30 16:12:17 1998 Ian Lance Taylor + + * configure.in: Set version number to 2.9. + * configure: Rebuild. + +Mon Mar 30 12:20:50 1998 Brent Baccala + + * syms.c (ENABLE_CACHING): Define. + (struct indexentry): Define. + (struct stab_cache): Remove. + (cmpindexentry): New static function. + (struct stab_find_info): Add new fields: indextable, + indextablesize, cached_indexentry, cached_offset, cached_stab, and + cached_file_name. Remove fields: file_cache, function_cache, and + line_cache. + (_bfd_stab_section_find_nearest_line): Rewrite to build a sorted + index table and search it. + +Mon Mar 30 10:39:34 1998 Ian Lance Taylor + + * elf.c (_bfd_elf_copy_private_section_data): Call + copy_private_bfd_data once we've seen the last SEC_ALLOC section. + + * cpu-mips.c: Remove trailing comma at end of enumeration list. + +Sat Mar 28 16:33:02 1998 Ian Lance Taylor + + * coff-arm.c: Define all globally visible variables and functions + only when COFF_WITH_PE is not defined. + * configure.in (armpe_little_vec, armpe_big_vec): Add + coff-arm.lo. + * configure: Rebuild. + +Fri Mar 27 16:06:02 1998 Ian Lance Taylor + + Fix some gcc -Wall warnings: + * aout-arm.c (MY(fix_pcrel_26)): Add casts to avoid warnings. + * archive.c (_bfd_generic_read_ar_hdr_mag): Likewise. + * archures.c (bfd_default_scan): Likewise. + * bfd.c (bfd_scan_vma): Likewise. + * binary.c (mangle_name): Likewise + * coff-arm.c (aoutarm_fix_pcrel_26): Likewise. + * coff-sh.c (sh_relocate_section): Likewise. + * coff-stgo32.c (create_go32_stub): Likewise. + * coffcode.h (coff_slurp_line_table): Likewise. + * ecoff.c (_bfd_ecoff_write_armap): Likewise. + * elf.c (_bfd_elf_make_section_from_shdr): Likewise. + (assign_file_positions_for_segments): Likewise. + * elf32-mips.c (mips_elf_relocate_section): Likewise. + * elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise. + * oasys.c (oasys_write_sections): Likewise. + * ppcboot.c (ppcboot_object_p): Likewise. + (mangle_name): Likewise. + * riscix.c (riscix_fix_pcrel_26): Likewise. + * srec.c (srec_scan): Likewise. + * stabs.c (_bfd_write_section_stabs): Likewise. + * sunos.c (sunos_add_dynamic_symbols): Likewise. + * aout-ns32k.c (_bfd_ns32k_relocate_contents): Add default case to + switch. Declare parameters for function pointers. + * archures.c (bfd_default_scan): Add braces to avoid ambiguous if + warning. + * elf.c (elf_sort_sections): Likewise. + * coff-arm.c (coff_thumb_pcrel_common): Initialize relocation. + Add default cases to switches. + (coff_arm_relocate_section): Remove unused local variables. + Always set rstat. + (coff_arm_bfd_set_private_flags): Change flag variable to type + flagword. + * coff-mips.c (mips_relocate_section): Initialize use_lo. + * coff-ppc.c (ppc_record_toc_entry): Change i to unsigned int. + (dump_toc): Change cat to const, and initialize it. + * coff-sh.c (sh_relax_delete_bytes): Initialize start and voff. + * elf32-sh.c (sh_elf_relax_delete_bytes): Likewise. + (sh_elf_relocate_section): Initialize r_symndx. + * coffcode.h (coff_compute_section_file_positions): Only declare + old_sofar if ALIGN_SECTIONS_IN_FILE. + (coff_write_object_contents): Initialize csym. + * coffgen.c (coff_pointerize_aux): Make type and class unsigned. + * cpu-ns32k.c (_bfd_ns32k_get_displacement): Add default case to + switch. + * dwarf2.c: Include libiberty.h. + (read_2_signed_bytes, read_4_signed_bytes): Comment out. + (decode_line_info): Remove unused local variables. + * elf32-m32r.c (m32r_elf_sda16_reloc): Likewise. + (m32r_elf_relocate_section): Likewise. + * elf32-v850.c (v850_elf_store_addend_in_insn): Likewise. + (v850_elf_reloc): Likewise. + * elf-bfd.h (elf_linker_section_t): Make alignment unsigned. + (struct elf_obj_tdata): Make cverdefs and cverrefs unsigned. + * elf.c (assign_file_positions_for_segments): Always set adjust. + * elf32-d30v.c (bfd_elf_d30v_reloc): Initialize tmp_addr. Fully + parenthesize expression. + * elf32-m32r.c (m32r_elf_relocate_section): Always initialize h. + (m32r_elf_object_p): Return a value. + (m32r_elf_print_private_bfd_data): Change fprintf format string. + * elf32-mips.c (mips_elf_final_link): Initialize last. + (mips_elf_finish_dynamic_sections): Initialize last and dindx. + * elf32-v850.c (v850_elf_object_p): Return a value. + (v850_elf_print_private_bfd_data): Change fprintf format string. + * elfcode.h (elf_slurp_symbol_table): Change symcount and i to + unsigned long. + * elflink.h (elf_link_add_object_symbols): Change vernum to + unsigned int, and initialize it. Change fprintf format string. + (NAME(bfd_elf,size_dynamic_sections)): Cast -1 to bfd_size_type + when setting or comparing to soname_indx. + (elf_create_pointer_linker_section): Change num_symbols to + unsigned int. + * libcoff-in.h (coff_data_type): Change flags to flagword. + * peicode.h (pe_print_idata): Initialize idx. Change j to + bfd_size_type. Initialize hint_member. Remove useless test to + time_stamp. + (pe_print_edata): Change num_functions and num_names in struct + EDT_type to unsigned long. Remove cast. Change fprintf format + string. + * ppcboot.c (ppcboot_object_p): Change i to size_t. + * reloc.c (bfd_get_reloc_size): Change return type to unsigned + int. + * reloc16.c (bfd_coff_reloc16_relax_section): Change shrinks to + int *. Update uses. Change j to long. + * bfd-in2.h, libcoff.h: Rebuild. + +Thu Mar 26 13:32:17 1998 Ian Lance Taylor + + * coffcode.h (coff_new_section_hook): Set the type and storage + class in the native symbol information allocated for a new section + symbol. + +Thu Mar 26 10:13:41 1998 Nick Clifton + + * peicode.h: Chain together calls to + coff_bfd_copy_private_bfd_data and + coff_bfd_print_private_bfd_data. + + * coff-arm.c: Add prototypes for + coff_arm_bfd_print_private_bfd_data and + coff_arm_bfd_copy_private_bfd_data. + +Wed Mar 25 15:45:55 1998 Nick Clifton + + * coffcode.h (coff_mkobject_hook): Set private falgs even for a PE + build. + + * peicode.h: Call arm-coff private data functions after handling + pe private data. + + * coff-arm.c: Turn statics into globals so that they can be shared + both pe and pei backends. + +Wed Mar 25 15:19:38 1998 Ian Lance Taylor + + * aoutf1.h (sunos_set_arch_mach): Use bfd_mach_m68* rather than + plain numbers. + (sunos_write_object_contents): Likewise. + * aoutx.h (NAME(aout,machine_type)): Likewise. + * coffcode.h (coff_set_arch_mach_hook): Likewise. + +Wed Mar 25 13:59:24 1998 Andreas Schwab + + * archures.c (bfd_mach_m68*): Add definitions for various m68k + variants. + (bfd_default_scan): Remove m68k special cases. + * bfd-in2.h: Rebuild. + * mipsbsd.c (MY(write_object_contents)): Use bfd_mach_m68* rather + than plain numbers. + * sparclynx.c (NAME(lynx,set_arch_mach)): Likewise. + * cpu-m68k.c (arch_info_struct): Likewise. Add entry for + m68k:68000. + (bfd_m68k_arch): Set mach field to zero to signal no explicit + selection, change printable_name to just "m68k" and make that the + default instead of m68k:68020. + + * aout-tic30.c (NAME): Define this to avoid multiple definitions + from aoutx.h. + (MY_get_section_contents): Define as aout_32_get_section_contents + rather than NAME(aout,get_section_contents). + + * elf-m10300.c (elf32_mn10300_link_hash_table_create): Fix cast. + + * evax-alpha.c (evax_set_arch_mach): Only accept bfd_arch_alpha + and call bfd_default_set_arch_mach to do the real work. + +Wed Mar 25 10:41:35 1998 Richard Henderson + + * bout.c (BALX): Include return register g14 as part of the insn. + (BALX_MASK): New. + (calljx_callback): Use it. + +Wed Mar 25 11:19:28 1998 Ian Lance Taylor + + * libbfd-in.h (BFD_ALIGN): Cast this parameter to bfd_vma. + * libbfd.h: Rebuild. + + * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Change + byte_count to unsigned int. + (mn10300_elf_relax_section): Initialize internal_relocs. Remove + unused local variables. + + * evax-alpha.c (evax_close_and_cleanup): Remove unused local + variables er and er1. + + * cpu-v850.c: Include . + (scan): Case isdigit argument to unsigned char. + + From Yan Meroth : + * ihex.c (ihex_scan): Add extbase variable so that getting an + extended linear address record does not ignore any previous + extended address. + (ihex_write_object_contents): When writing out an extended linear + address record, zero out any previous extended address. + +Tue Mar 24 16:09:43 1998 Manfred Hollstein + + * ieee.c (do_one): Check section before dereferencing it. + (ieee_canonicalize_reloc): Likewise with src->relent.sym_ptr_ptr. + (ieee_generic_stat_arch_elt): Likewise with abfd->my_archive. + +Mon Mar 23 18:51:47 1998 Joel Sherrill + + * config.bfd: (sh*-*-rtems*): Switched from ELF to COFF. + +Mon Mar 23 14:23:36 1998 Nick Clifton + + * coff-arm.c: Add interworking functions to pe backends. + +Fri Mar 20 18:47:20 1998 Ian Lance Taylor + + * configure.in: Use AM_DISABLE_SHARED. + * aclocal.m4, configure: Rebuild with libtool 1.2. + +Fri Mar 20 11:25:41 1998 Nick Clifton + + * coff-arm.c (coff_arm_relocate_section): Better error messages + when interowrking conflucts occur. Courtesy of Jonathan Walton + and Tony Thompson. PR 15357. + (aoutarm_std_reloc_howto): Fixed bitsize fields of rightshifted + relocations. Patch courtesy of Jonathan Walton and Tony + Thompson. PR 15373. + +Fri Mar 20 02:26:43 1998 Richard Henderson + + * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Revert + part of Feb 22 change controling when to override the existing + symbol with the .plt entry. + +Wed Mar 18 09:26:25 1998 Nick Clifton + + * config.bfd (targ_cpu): Add thumb-pe target. + + * coffcode.h (OTHER_GLOBAL_CLASS): Support thumb external + functions in PE build. + +Sun Mar 8 23:37:26 1998 Stan Cox + + * config.bfd (sparclite-*-elf*): Added. + +Mon Feb 23 19:31:19 1998 Ian Lance Taylor + + * configure.in: Add elf.lo to elf shell variable. + * Makefile.am (BFD_LIBS): Remove elf.lo. + (BFD_LIBS_CFILES): Remove elf.c. + (BFD32_BACKENDS): Add elf.lo. + (BFD32_BACKENDS_CFILES): Add elf.c. + * configure, Makefile.in: Rebuild. + +1998-02-23 15:53 Richard Henderson + + * elf32-i386.c (elf_i386_relocate_section): A pc-relative + relocation against a now-local symbol should not have a dynamic + relocation. + +Mon Feb 23 16:17:08 1998 Ian Lance Taylor + + * peicode.h (coff_swap_filehdr_in): Don't set BFD flag HAS_SYMS in + COFF filehdr flags. + (pe_print_private_bfd_data): Print PE flags. From Mikey + . + +Sun Feb 22 20:39:00 1998 Richard Henderson + + * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Don't create + a plt entry when we can determine that we authoritatively define + the symbol. + +Sun Feb 22 20:33:05 1998 Richard Henderson + + * configure.in (COREFILE selection): Remove sparc-*-linux*. They + don't actually use trad-core, but a SunOS-style core file handled + by gdb directly. + * hosts/sparclinux.h: Remove. + +Wed Feb 18 15:31:06 1998 Ian Lance Taylor + + * peicode.h (pe_print_idata): If there is no .idata section, look + for the import tables in some other section. Make the initial + label line up better with the data. Print the import address + table even if there is no import name table. If the import + address table holds actual addresses, print them. + +Tue Feb 17 12:58:34 1998 Ian Lance Taylor + + * libbfd.c (bfd_seek): If fseek fails, save errno around call to + bfd_tell. If errno is EINVAL, set bfd_error_file_truncated, not + bfd_error_system_call. + +Fri Feb 13 13:11:33 1998 Ian Lance Taylor + + * Makefile.am (AUTOMAKE_OPTIONS): Define. + * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e. + + From H.J. Lu : + * Makefile.am (libbfd_la_LDFLAGS): Define. + * Makefile.in: Rebuild. + +Thu Feb 12 17:31:11 1998 Ian Lance Taylor + + NetBSD patches from Gordon W. Ross : + * netbsd.h (MACHTYPE_OK): Define. + (MY(write_object_contents)): Use DEFAULT_ARCH and DEFAULT_MID when + calling N_SET_MACHTYPE, rather than having a switch. + * libaout.h (enum machine_type): Add M_PMAX_NETBSD, M_VAX_NETBSD, + and M_ALPHA_NETBSD. + * i386netbsd.c (MACHTYPE_OK): Don't define. + (DEFAULT_MID): Define. + * m68k4knetbsd.c (SEGMENT_SIZE): Don't define. + (MACHTYPE_OK): Don't define. + (DEFAULT_MID): Define. + * m68knetbsd.c: (MACHTYPE_OK): Don't define. + (DEFAULT_MID): Define. + * ns32knetbsd.c (MACHTYPE_OK): Don't define. + (DEFAULT_MID): Define. + * sparcnetbsd.c (MACHTYPE_OK): Don't define. + (DEFAULT_MID): Define. + + NetBSD patches from Gordon W. Ross : + * vaxnetbsd.c: New file. + * netbsd-core.c: Clean up. Remove unused macros. Use netbsd + rather than netbsd_core. + * targets.c (vaxnetbsd_vec): Declare. + (bfd_target_vector): Add vaxnetbsd_vec. If NETBSD_CORE is + defined, add netbsd_core_vec. + * configure.in: Set COREFILE for alpha*-*-netbsd* and + powerpc-*-netbsd* to netbsd-core.lo. If COREFILE is + netbsd-core.lo, set COREFLAG to -DNETBSD_CORE. + * config.bfd (alpha*-*-netbsd*): New target. + * Makefile.am: Rebuild dependencies. + (BFD32_BACKENDS): Add vaxnetbsd.lo. + (BFD32_BACKENDS_CFILES): Add vaxnetbsd.c. + * configure, Makefile.in: Rebuild. + + * configure.host: Remove the old shared library build stuff. We + now use libtool instead. + +Wed Feb 11 17:13:09 1998 Richard Henderson + + * tekhex.c (tekhex_write_object_contents): Call tekhex_init. + +Tue Feb 10 19:23:28 1998 H.J. Lu + + * configure.in: Take stab-syms.lo out of sparclinux_vec list. + * configure: Rebuild. + +Tue Feb 10 15:16:38 1998 Nick Clifton + * elf32-v850.c (remember_hi16s_reloc): New function. + (find_remembered_hi16s_reloc): New function. + (v850_elf_store_addend_in_insn): Use the above new functions to + match up HI6S relocs with LO16 relocs. + +Tue Feb 10 15:01:39 1998 Ian Lance Taylor + + * configure.in: Change -linux* to -linux-gnu*. + * config.bfd, configure.host: Likewise. + * configure: Rebuild. + +Mon Feb 9 19:40:59 1998 Nick Clifton + + * elf32-v850.c (v850_elf_store_addend_in_insn): Fix another + LO16/HI16S bug and improve comments about what is going on. + +Sat Feb 7 15:27:03 1998 Ian Lance Taylor + + * configure, aclocal.m4: Rebuild with new libtool. + +Fri Feb 6 11:50:22 1998 Jeffrey A Law (law@cygnus.com) + + * elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): For BFD_RELOC_CTOR + get the size from bfd_arch_bits_per_address instead of directly + from the isa. + +Thu Feb 5 14:21:34 1998 Michael Meissner + + * libbfd-in.h (BFD_ALIGN): If rounding up would cause the address + to wrap, just return all 1's bits instead. + * libbfd.h: Regenerate. + +Thu Feb 5 11:51:05 1998 Ian Lance Taylor + + * coff-i386.c (coff_pe_i386_relocate_section): New static function + if COFF_WITH_PE. + (coff_relocate_section): If COFF_WITH_PE, define as + coff_pe_i386_relocate_section. + * coffcode.h (coff_write_object_contents): If COFF_IMAGE_WITH_PE, + skip empty sections, to match coff_write_object_contents. + + * elf64-mips.c (mips_elf64_swap_reloca_out): Swap out r_addend, + rather than swapping out r_offset twice. From Luke Deller + . + +Wed Feb 4 19:11:28 1998 Ian Lance Taylor + + * configure.in: Set libtool_enable_shared rather than + libtool_shared. Remove diversion hack. + * configure, Makefile.in, doc/Makefile.in, aclocal.m4: Rebuild + with new libtool. + +Wed Feb 4 16:10:21 1998 Brent Baccala + + * syms.c (struct stab_cache): Define. + (struct stab_find_info): Remove cached_offset, cached_stab, + cached_str, and cached_stroff fields. Add file_cache, + function_cache, and line_cache fields. + (_bfd_stab_section_find_nearest_line): Use extensive caching to + speed up searches. + +Wed Feb 4 13:34:22 1998 Ian Lance Taylor + + * peicode.h (pe_print_idata): Check for import of ordinal rather + than name. + (pe_print_edata): If there is no .edata section, look for the + export data in some other section. + +Mon Feb 2 20:05:42 1998 Jason Molenda (crash@bugshack.cygnus.com) + + * configure.in: Change version to 2.8.4. + * configure: Regenerated. + +Mon Feb 2 17:39:39 1998 Steve Haworth + + Add tms320c30 support: + * cpu-tic30.c: New file. + * aout-tic30.c: New file. + * coff-tic30.c: New file. + * archures.c (bfd_arch_tic30): Define. + (bfd_tic30_arch): Declare. + (bfd_archures_list): Add bfd_tic30_arch. + * targets.c (bfd_target_vector): Add tic30_aout_vec and + tic30_coff_vec. + * reloc.c (BFD_RELOC_TIC30_LDP): Define. + * coffcode.h (coff_set_arch_mach_hook): Add tic30 case. + (coff_set_flags): Likewise. + * config.bfd (tic30-*-*aout*, tic30-*-*coff*): New targets. + * configure.in (tic30_aout_vec, tic30_coff_vec): New vectors. + * Makefile.am: Rebuild dependencies. + (ALL_MACHINES): Add cpu-tic30.lo. + (ALL_MACHINES_CFILES): Add cpu-tic30.c. + (BFD32_BACKENDS): Add aout-tic30.lo and coff-tic30.lo. + (BFD32_BACKENDS_CFILES): Add aout-tic30.c and coff-tic30.c. + * configure, Makefile.in, bfd-in2.h, libbfd.h: Rebuild. + +Mon Feb 2 12:25:12 1998 Nick Clifton + + * elf32-v850.c (v850_elf_store_addend_in_insn): Allow HI16_S reloc + to lag behind LO16 reloc by a couple of instructions. + +Mon Feb 2 14:09:46 1998 Ian Lance Taylor + + * Makefile.am ($(srcdir)/bfd-in2.h): Add dummy command to force + make to reexamine the file timestamp. + ($(srcdir)/libbfd.h, $(srcddir)/libcoff.h): Likewise. + + * elf64-alpha.c (ELF_MAXPAGESIZE): Change to 0x10000 from + 0x100000. + +Fri Jan 30 19:07:07 1998 Geoff Keating + + * elf32-ppc.c (ppc_elf_create_dynamic_sections): New procedure + to create .dynsbss and .rela.sbss sections. + (ppc_elf_adjust_dynamic_symbol): Put space for small data to be + copied from dynamic objects into .sbss. + (ppc_elf_size_dynamic_sections): Strip .rela.sbss if we don't + use it. Correct typo of .rela.sdata2. + (ppc_elf_finish_dynamic_symbol): Generate reloc to where we + put the data, which may now be in .sbss. + (ppc_elf_relocate_section): A SDAREL16 reloc can be in dynsbss. + (elf_backend_create_dynamic_sections): Define as + ppc_elf_create_dynamic_sections. + + * elf32-ppc.c (ppc_elf_check_relocs): Don't emit R_PPC_REL* relocs + against _GLOBAL_OFFSET_TABLE_. + (ppc_elf_relocate_section): Don't emit R_PPC_REL32 relocs in + shared libraries which refer to local symbols. Make sure that the + test for allocating space for a reloc in a shared object is the + same as the test for emitting a reloc. + +Thu Jan 29 15:55:35 1998 J.J. van der Heijden + + * config.bfd (i[3456]-*-mingw32*): New target. + * acinclude.m4 (BFD_BINARY_OPEN): Check for mingw32. + * aclocal.m4, configure: Rebuild. + +Wed Jan 28 13:41:26 1998 Ian Lance Taylor + + * elf.c (_bfd_elf_close_and_cleanup): Only check the strtab if we + have a bfd_object. + +Tue Jan 27 21:43:55 1998 Richard Henderson + + Sparc v9 ABI compliant PLT: + * elf64-sparc.c (PLT_HEADER_SIZE): V9 ABI uses 4 entries. + (plt_templates, sparc64_elf_build_plt_entry): Delete. + (LARGE_PLT_THRESHOLD): New define. + (GOT_RESERVED_ENTRIES): V9 ABI only uses 1. + (sparc64_elf_build_plt): New function. + (sparc64_elf_plt_entry_offset): Likewise. + (sparc64_elf_plt_ptr_offset): Likewise. + (sparc64_elf_adjust_dynamic_symbol): Change h->plt_offset to + contain the index for convenience. Skip the initial entries + in .rela.plt. + (sparc64_elf_size_dynamic_sections): Zero the allocated contents + memory for the benefit of .rela.plt. + (sparc64_elf_relocate_section): Call sparc64_elf_plt_entry_offset. + (sparc64_elf_finish_dynamic_symbol): Kill template stuff. Use + sparc64_elf_plt_entry_offset & sparc64_elf_plt_ptr_offset for reloc. + (sparc64_elf_finish_dynamic_sections): DT_PLTGOT points to .plt. + Call sparc64_elf_build_plt. + (elf_backend_want_got_plt): No. + (elf_backend_plt_readonly): No. + (elf_backend_plt_alignment): 8. + + * elf.c (_bfd_elf_close_and_cleanup): New function; free the shstrtab. + * elf-bfd.h (_bfd_elf_close_and_cleanup): Declare it. + * elfxx-target.h (bfd_elfNN_close_and_cleanup): Arrange for it + to be called. + +Tue Jan 27 21:45:15 1998 Jeffrey A Law (law@cygnus.com) + + * archures.c (bfd_mach_mips*): Add definitions for various MIPS + processors. + * cpu-mips.c (arch_info_struct): Add mips variants. + * bfd-in2.h: Rebuilt. + +Tue Jan 27 15:06:04 1998 Nick Clifton + + * coff-arm.c (coff_arm_relocate_section): Fix for PR14752 by + preserving the contents of t2a3_b_insn. + +Tue Jan 27 12:47:27 1998 Robert Lipe + + * config.bfd (i[3456]86-sco3.2v5*): ELF now the default. + (i[3456]86sco3.2v5*coff): New target. + +Mon Jan 26 15:41:30 1998 Ian Lance Taylor + + * bfd-in2.h: Rebuild with changes to chew--tab expansion. + +Thu Jan 22 21:26:48 1998 Richard Henderson + + * bfd.c (bfd_get_error_handler): Add orthogonal function. + * bfd-in2.h: Regenerate. + +Thu Jan 22 21:13:39 1998 Richard Henderson + + * tekhex.c (tekhex_write_object_contents): Check for no symbols. + +Wed Jan 21 21:19:03 1998 Ian Lance Taylor + + * coff-i386.c (coff_i386_rtype_to_howto): If COFF_WITH_PE, don't + adjust addend for an output common symbol (from Jimmy Blair + ). If COFF_WITH_PE, adjust addend for PC relative + defined symbol to counteract adjustment made in generic relocation + code. + + * dwarf2.c: Include sysdep.h, not stdio.h and stdlib.h. + +Wed Jan 21 21:16:06 1998 Manfred Hollstein + + * coff-m88k.c (GET_SCNDHR_NRELOC): Fix typo in macro name. + (GET_SCNDHR_NLNNO): Likewise. + +Mon Jan 19 12:49:52 1998 Ian Lance Taylor + + * cpu-sh.c (arch_info_struct): Correct next field of sh3e. + +Wed Jan 14 17:23:27 1998 Nick Clifton + + * elf32-m32r.c: Add macros to handle NOP insertion. + +Wed Jan 14 16:15:22 1998 Richard Henderson + + * xcofflink.c (xcoff_mark_symbol): Don't mark the absolute section. + (xcoff_mark): Likewise. + (xcoff_build_ldsyms): Mark absolute symbols. + +Wed Jan 14 16:03:11 1998 Richard Henderson + + * bout.c (b_out_write_object_contents): Sort symbols before output + to keep {CALL,BAL}NAME symbols adjacent. + (b_out_symbol_cmp): New function. + +Tue Dec 30 12:45:18 1997 Ian Lance Taylor + + * elf32-sparc.c (elf32_sparc_check_relocs): If -Bsymbolic, don't + allocate space for a PC relative reloc against a symbol which is + defined in a regular file. + (elf32_sparc_relocate_section): If -Bsymbolic, don't copy a PC + relative reloc against a symbol which is defined in a regular + file. + +Mon Dec 29 18:02:28 1997 Ian Lance Taylor + + From Jonathan Stone : + * config.bfd (mips-dec-netbsd*): Add ECOFF vectors to + targ_selvecs. + (mips*el-*-netbsd*): Like mips-dec-netbsd*. + (mips*-*-netbsd*): New target. + +Mon Dec 29 17:13:28 1997 H.J. Lu (hjl@gnu.org) + + * elflink.h (elf_link_assign_sym_version): Change error message + from "undefined version name" to "undefined versioned symbol + name". + +Mon Dec 29 11:41:16 1997 Nick Clifton + + * coff-arm.c (coff_arm_relocate_section): Fix typo from previous + delta. + +Tue Dec 23 17:01:10 1997 Ian Lance Taylor + + * libbfd-in.h (_bfd_dwarf2_find_nearest_line): Declare. + * libbfd.h: Rebuild. + + * peicode.h (coff_swap_scnhdr_out): Set .reloc section to be + shared. Set stab* sections to be shared and read. Set .rsrc + section to be read and shared. + +Mon Dec 22 13:20:57 1997 Ian Lance Taylor + + * Makefile.am: Rebuild dependencies. + (ALL_MACHINES_CFILES): Add dwarf2.lo. + (ALL_MACHINES_CFILES): Add dwarf2.c. + * Makefile.in: Rebuild. + + * coff-arm.c: Don't include obstack.h. + +Mon Dec 22 13:04:33 1997 Joel Sherrill + + * config.bfd (i[3456]86*-go32-rtems*): Fix to be the same as + i[3456]86-go32. + +Thu Dec 18 16:01:25 1997 Doug Evans + + * configure: Regenerate to get @SHELL@ substituted. + +Wed Dec 17 09:45:09 1997 Nick Clifton + + * coff-arm.c (coff_arm_relocate_section): Only look at section + owner if there is one. + + * elf.c (assign_file_positions_for_segments): Fail if there is not + enough room for the program headers. (PR14186) + +Tue Dec 16 08:09:56 1997 Gavin Koch + + * elf.c (_bfd_elf_find_nearest_line): Call + _bfd_dwarf2_find_nearest_line first. + * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Same. + * dwarf2.c: New file; implement _bfd_dwarf2_find_nearest_line. + +Mon Dec 15 16:08:52 1997 Nick Clifton + + * archures.c: Add bfd_mach_m32r. + +Mon Dec 15 16:11:22 1997 Fred Fish + + * coffcode.h (ALIGN_SECTIONS_IN_FILE): Define if I960 not defined. + (coff_compute_section_file_positions): Use ALIGN_SECTIONS_IN_FILE + to decide when to align the file sections for paging. + +Mon Dec 15 15:01:15 1997 Nick Clifton + + * elf32-m32r.c (m32r_elf_object_p): New Function. + (m32r_elf_final_write_processing): New Function. + (m32r_elf_set_private_flags): New Function. + (m32r_elf_copy_private_bfd_data): New Function. + (m32r_elf_merge_private_bfd_data): New Function. + (m32r_elf_print_private_bfd_data): New Function. + (elf_backend_object_p): Point to m32r_object_p. + (elf_backend_final_write_processing): Point to + m32r_elf_final_write_processing. + (bfd_elf32_bfd_copy_private_bfd_data): Point to + m32r_elf_copy_private_bfd_data. + (bfd_elf32_bfd_merge_private_bfd_data): Point to + m32r_elf_merge_private_bfd_data. + (bfd_elf32_bfd_set_private_flags): Point to + m32r_elf_set_private_bfd_data. + (bfd_elf32_bfd_print_private_bfd_data): Point to + m32r_elf_print_private_bfd_data. + + + * bfd-in2.h (bfd_mach_m32r): Add identifier for M32R architecture + machines. + +Fri Dec 12 11:30:28 1997 Brendan Kehoe + + * configure: Only build libbfd shared if --enable-shared's value + was `yes', or was set to `*bfd*'. + * aclocal.m4: Likewise. + * NOTE: this really needs to be fixed in libtool/libtool.m4, the + original source of this bit of code. It's not clear what the best fix + would be, though. + +Thu Dec 11 17:48:11 1997 Richard Henderson + + * linker.c (generic_link_add_symbol_list): Always init udata.p so + that the generic relaxation code can function when input and output + file formats are mismatched. + +Thu Dec 11 01:02:18 1997 Ian Lance Taylor + + * coff-sh.c (bfd_coff_small_swap_table): Initialize new fields. + + * elf.c (assign_file_positions_for_segments): For a loadable + section, make sure that the load address is correct relative to + the load address of the segment plus the size of the segment so + far. + + * coffcode.h (_coff_link_output_has_begun): Make static. + (_coff_final_link_postscript): Likewise. + +Wed Dec 10 23:37:11 1997 Ian Lance Taylor + + * elflink.h (elf_link_input_bfd): Handle a relocateable link in + which a relocation refers to an indirect or warning symbol. + +Wed Dec 10 11:15:55 1997 Nick Clifton + + * coff-arm.c (bfd_arm_coff_final_link): Function deleted. + (coff_arm_final_link_postscript): New function. + (coff_arm_link_output_has_begun): New function. + + * libcoff.h (struct bfd_coff_backend_data): Add new fields: + _bfd_coff_link_output_has_begun and + _bfd_coff_final_link_postscript. Add new macros: + bfd_coff_link_output_has_begun() and + bfd_coff_final_link_postscript(). + + * cofflink.c (_bfd_coff_final_link): Insert calls to + bfd_coff_link_output_has_begun() and + bfd_coff_final_link_postscript(). + + * coffcode.h: Add two new fields to bfd_coff_backend_data + structure: _bfd_coff_link_output_has_begun and + _bfd_coff_final_link_postscript. Add default initialisers for + these fields. Add overridable aliases for the coff swap functions + in the backend data structure. + + * elf32-v850.c: Update with patches from the branch to fix + HI16_S/LO16 reloc pairs. + +Tue Dec 9 11:37:53 1997 Andrew Cagney + + * archures.c (bfd_mach_mips*): Define. + (bfd_default_scan): For 3000 and 4000 replace magic constant with + macro. + + * cpu-mips.c (N): Define. + (bfd_mips_arch, arch_info_struct): Re-write using macro N, replace + numbers with bfd_mach_mips* macros. + +Fri Dec 5 11:13:46 1997 Nick Clifton + + * elf32-v850.c (v850_elf_reloc, v850_elf_store_addend_in_insn, + v850_elf_relocate_section): Fix PR2 14180 and 14181 + (v850_elf_section_from_bfd_section, v850_elf_symbol_processing, + v850_elf_add_symbol_hook, v850_elf_link_output_symbol_hook, + v850_elf_section_from_shdr, v850_elf_fake_sections): New functions + (for PR14180) to create and handle special common sections. + (v850_elf_final_link_relocate): Fix HI16 and HI16_S relocations + which have data stored in the instructions. PR14258. + +Tue Dec 2 10:26:16 1997 Nick Clifton + + * coff-arm.c (TARGET_UNDERSCORE): Revert back to '_' + (USER_LABEL_PREFIX): Revert back to '_' + + * config.bfd (targ_cpu): Add support for Thumb target. + +Mon Dec 1 20:24:18 1997 J"orn Rennecke + + * coff-sh.c (sh_coff_howtos): Add R_SH_SWITCH8 entry. + (get_symbol_value): Handle R_SH_SWITCH8. + (sh_relax_delete_bytes): Likewise. + +Wed Nov 26 14:13:34 1997 Nick Clifton + + * coff-arm.c (TARGET_UNDERSCORE): Changed to match definition in + gcc/config/arm/semi.h + + * coffcode.h (coff_slurp_symbol_table): Add ARM and Thumb symbol + classes. + +Sun Nov 23 16:02:58 1997 Andrew Cagney + + * freebsd.h (SWAP_MAGIC): Read magic number little and not big + endian. + +Wed Nov 26 09:30:37 1997 Nick Clifton + + * coffcode.h (coff_mkobject_hook): Only set private flags for non + PE ARM ports. + +Tue Nov 25 15:33:23 1997 Richard Henderson + + * binary.c (binary_set_section_contents): Also ignore NEVER_LOAD + sections. + +Tue Nov 25 10:55:36 1997 Nick Clifton + + * coff-arm.c (coff_arm_bfd_merge_private_bfd_data): Do not + complain if inout and output formats differ. + +Tue Nov 25 11:26:27 1997 Ian Lance Taylor + + * Makefile.am (BFD32_BACKENDS): Remove tekhex.lo. + (BFD32_BACKENDS_CFILES): Remove tekhex.c. + * Makefile.in: Rebuild. + * aclocal.m4, configure, src/Makefile.in: Rebuild with current + automake and autoconf. + + * coff-arm.c (arm_allocate_interworking_sections): Fix typo + (COFF_WITH_PR to COFF_WITH_PE). + +Mon Nov 24 15:47:49 1997 Nick Clifton + + * coff-arm.c: Make variables and some functions static, so that + this file can be included in multiple object files. + (coff_arm_bfd_final_link): Fix minor bug. + +Sat Nov 22 15:16:00 1997 Nick Clifton + + * coff-arm.c: Add support for PIC and APCS-FLOAT type binaries. + + * coffcode.h: Add support for PIC and APCS-FLOAT type binaries. + +Sat Nov 22 16:06:56 1997 Klaus Kaempf + + * evax-emh.c (_bfd_evax_write_emh): Use alloca instead of strdup. + +Sat Nov 22 12:29:30 1997 Ian Lance Taylor + + * sunos.c (sunos_add_one_symbol): When overriding a defined + symbol, set it to undefined, not new. + + * elf32-sh.c (sh_elf_relax_delete_bytes): Don't kill LABEL + relocs. + +Fri Nov 21 14:14:22 1997 Richard Henderson + + * coff-sh.c (sh_relax_section): Force sign extention of USES r_offset. + (sh_relax_delete_bytes): Don't kill LABEL relocs. + +Mon Nov 17 15:08:38 1997 Jeffrey A Law (law@cygnus.com) + + * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Fix typo. + (mn10300_elf_relax_section): Likewise. + +Sat Nov 15 15:36:07 1997 Fred Fish + + * peicode.h (coff_swap_aouthdr_in): Cast second arg of + bfd_h_get_* calls to "bfd_byte *". + +Tue Nov 11 10:37:23 1997 Jeffrey A Law (law@cygnus.com) + + * elf-m10300.c (elf32_mn10300_link_hash_entry): Add new field + "movm_stack_size". + (mn10300_elf_relax_section): Include stack space for register saves + in the imm8 field of a "call" instruction. + (compute_function_info): Determine how much stack is allocated by + the movm instruction. Fix typo. + (elf32_mn10300_link_hash_newfunc): Initialize movm_stack_size. + +Mon Nov 10 14:32:40 1997 Andreas Schwab + + * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Don't crash if + a version dependency could not be found. + +Tue Nov 4 12:05:56 1997 Klaus K"ampf + + * configure.com: Get version info from configure.in + +Fri Oct 24 11:15:58 1997 Jakub Jelinek + + * elf64-sparc.c (sparc64_elf_merge_private_bfd_data): + New function. Avoid mixing US1 and HAL R1 code. + Set resulting memory ordering to the strongest one used. + (sparc64_elf_object_p): Set bfd_mach correctly. + +Thu Oct 23 14:09:33 1997 Richard Henderson + + * elf64-sparc.c (sparc64_elf_howto_table): Add UA64 & UA16. + (sparc64_elf_check_relocs): Handle them. + (sparc64_elf_relocate_section): Likewise. Before emitting a dyn reloc, + check alignment and transmute R_SPARC_x<->R_SPARC_UAx. + +Thu Oct 23 00:53:14 1997 Richard Henderson + + * configure.in (sparc*-*-linux*): Use trad-core and ... + * hosts/sparclinux.h: New file. + +Thu Oct 23 00:25:29 1997 Richard Henderson + + * config.bfd (sparc64-*-linux*): New target. + + * elf-bfd.h (struct elf_backend_data): Add plt_alignment member. + * elflink.c (_bfd_elf_create_got_section): Set .got alignment based + on arch_size. + (_bfd_elf_create_dynamic_sections): Likewise for .rel* sections. + Set .plt alignment from new plt_alignment. + * elflink.h (elf_link_create_dynamic_sections): Set version section + alignment to LOG_FILE_ALIGN. + * elfxx-target.h (elf_backend_plt_alignment): Provide default. + (elfXX_bed): Init plt_alignment. + + * elf64-sparc.c (sparc64_elf_check_relocs, + sparc64_elf_adjust_dynamic_symbol, sparc64_elf_size_dynamic_sections, + sparc64_elf_adjust_dynindx, sparc64_elf_finish_dynamic_symbol, + sparc64_elf_finish_dynamic_sections): New functions. + (sparc64_elf_howto_table): Fix a few name strings. + (ELF_DYNAMIC_INTERPRETER): New definition. + (sparc64_elf_relocate_section): Handle shared libraries. + + * elf64-sparc.c (struct plt_template, plt_*_header, plt_*_entry, + sparc64_elf_build_plt_entry, sparc64_elf_finish_dynamic_symbol): + PLT definitions sparc64-linux originally choose. These will go + away soon in favour of the official abi definitions. + +Wed Oct 22 16:08:45 1997 Ian Lance Taylor + + * coff-sh.c (coff_small_object_p): New static function. + (coff_small_new_section_hook): New static function. + (bfd_coff_small_swap_table): New static const structure. + (coff_small_close_and_cleanup): Define. + (coff_small_bfd_free_cached_info): Define. + (coff_small_get_section_contents): Define. + (coff_small_get_section_contents_in_window): Define. + (shcoff_small_vec): New static structure. + (shlcoff_small_vec): New static structure. + * targets.c (bfd_target_vector): Add shcoff_small_vec and + shlcoff_small_vec. + * config.bfd (sh-*-elf*): Add shcoff_small_vec and + shlcoff_small_vec to targ_selvecs. + (sh-*-*): Likewise. + * configure.in: Add shcoff_small_vec and shlcoff_small_vec cases. + * configure: Rebuild. + +Mon Oct 20 15:01:27 1997 Klaus K"ampf + + * evax-egsd.c: Weak symbols are global. + + * evax-emh.c: Use proper casts. + + * evax-egsd.c (_bfd_evax_write_egsd): Remove unneeded uname. + + * evax-egsd.c: Section names and symbols have different + length restrictions. Add length parameter to + _bfd_evax_length_hash_symbol. + * evax-etir.c: Likewise. + * evax-misc.c (_bfd_evax_length_hash_symbol): Add length + parameter. + * evax.h (EOBJ_S_C_SECSIZ): Define. + + * evax-alpha.c: Remove duplicate test. + + * evax-emh.c: SYS$ functions are upper-case. + + * evax-egsd.c: Create separate sections for common symbols. + * evax-etir.c: Don't output common section. + * evax.h: Bump up section count. + + * configure.com: Use 64bit integers with DEC C. + + * evax-egsd.c: Make section flags dec c compatible. + +Mon Oct 20 09:38:31 1997 Jeffrey A Law (law@cygnus.com) + + * som.c (normalize): Delete function. + (som_bfd_ar_write_symbol_stuff): New parameter elength. All callers + changed. Use passed in elength to determine size of the extended + name table instead of computing it again. + +Sun Oct 19 23:36:21 1997 Jim Wilson + + * peicode.h (coff_swap_scnhdr_out): Use |= not = to set + IMAGE_SCN_MEM_READ for an unrecognized section. + +Sun Oct 19 21:04:56 1997 Jeffrey A Law (law@cygnus.com) + + * som.c (som_bfd_ar_write_symbol_stuff): Account for trailing + '/' in the extended name table. + +Fri Oct 17 00:04:13 1997 Richard Henderson + + * elflink.h (elf_link_assign_sym_version): For explicitly versioned + symbols, check globals list before matching on locals. + +Thu Oct 16 08:17:06 1997 Michael Meissner + + * peicode.h (coff_swap_scnhdr_out,pe_print_idata): Fix mangled + patch. + +Wed Oct 15 13:45:10 1997 Ian Lance Taylor + + * peicode.h (pe_mkobject_hook): Set DLL flag. + (pe_bfd_copy_private_bfd_data): Copy DLL flag. + + * peicode.h (coff_swap_scnhdr_out): Set IMAGE_SCN_MEM_DISCARDABLE + for .stab* sections. Replace strlen of constant strings with + number. + +Tue Oct 14 15:42:45 1997 Richard Henderson + + * elf64-alpha.c (elf64_alpha_merge_ind_symbols): New function to + merge got and reloc entries from ind syms to their target. + (elf64_alpha_always_size_sections): Call it. + (elf64_alpha_check_relocs): Operate on the target of indirect symbols. + (elf64_alpha_can_merge_gots): Likewise. + (elf64_alpha_merge_gots): Likewise. + + * elf64-alpha.c (elf64_alpha_relocate_section): Back out HJ's change, + as it is insufficient to handle the relocation changes as well. + +Mon Oct 13 23:10:08 1997 Richard Henderson + + * elf64-alpha.c (elf64_alpha_calc_dynrel_sizes): Allow for RELATIVE + relocs for symbols in shlibs that have been forced local. + (elf64_alpha_relocate_section): Output RELATIVEs in .got for same. + +Mon Oct 13 21:24:04 1997 Richard Henderson + + * elf64-alpha.c (elf64_alpha_relocate_section): Use the + got_enties of the default symbol for the default versioned + symbol. Patch from hjl@gnu.ai.mit.edu, modified not to use + alloca in the loop. + +Mon Oct 13 17:37:37 1997 Nick Clifton + + * elf32-v850.c (v850_elf_final_link_relocate): Only use the bottom + 24 bits of the PC when computing a PC relative relocation. + +Fri Oct 10 16:01:30 1997 Nick Clifton + + * elf32-v850.c (v850_elf_reloc, v850_elf_final_link_relocate): + Correct value for maximum positive 22 bit PC relative relocation. + (v850_elf_final_link_relocate): Prevent overflow from HI16_S and + HI_16 relocations. Correct bit adjustment in TDA offsets. + +Thu Oct 9 16:43:39 1997 Doug Evans + + * elf64-sparc.c (sparc_elf_{hix22,lox10}_reloc): New functions. + (sparc64_elf_howto_table): Use them for HIX22,LOX10 relocs. + +Wed Oct 8 11:38:45 1997 Richard Henderson + + * elfcore.h (bfd_prstatus): Pedanticly, alignment_power should + be LOG_FILE_ALIGN. + +Wed Oct 8 11:36:00 1997 Richard Henderson + + * config.bfd: Missed one alpha* change. + +Tue Oct 7 13:00:17 1997 Doug Evans + + * elf32-sparc.c (_bfd_sparc_elf_howto_table): Remove BFD64 support. + * elf64-sparc.c (SPARC64_OLD_RELOCS): Undef. + (MINUS_ONE): New macro. + (sparc_elf_notsup_reloc): New function. + (sparc64_elf_howto_table): Add entries for DISP64,PLT64,HIX22,LOX10, + H44,M44,L44,REGISTER. + (sparc_reloc_map): Likewise. Map BFD_RELOC_CTOR to R_SPARC_64. + (init_insn_reloc): New function. + (sparc_elf_wdisp16_reloc): Use it. + (sparc64_elf_relocate_section): Add entries for OLO10,HIX22,LOX10. + +Tue Oct 7 11:40:37 1997 Ian Lance Taylor + + * som.c (som_construct_extended_name_table): Remove static + function, and define as macro instead. + +Fri Oct 3 14:02:17 1997 Richard Henderson + + * config.bfd: Change alpha-*-* to alpha*-*-*; config.guess now + recognizes alphaev5 etc. + * configure.host: Likewise. + +Fri Oct 3 11:23:47 1997 Ian Lance Taylor + + Make ld -s work on AIX: + * xcofflink.c (xcoff_link_add_symbols): Don't create the .debug + section if we are stripping. + (bfd_xcoff_size_dynamic_sections): Don't set the .debug section + size if we are stripping. + (_bfd_xcoff_bfd_final_link): Don't set SEC_RELOC or rel_filepos, + and don't write out relocs, if we are stripping. + (xcoff_link_input_bfd): Don't set up reloc if we are stripping. + (xcoff_write_global_symbol): Don't write out symbol or reloc if we + are stripping. + + * configure.in: Don't include elf.lo again for ELF targets; it's + always in the library anyhow. + * configure: Rebuild. + + * bfd-in2.h: Rebuild. + + * elf32-sparc.c (sparc_elf_wdisp16_reloc): Cast to bfd_byte *, not + char *, when calling bfd_get_32 and bfd_put_32. + * sunos.c (sunos_scan_dynamic_symbol): Cast contents to char * + when calling strcpy. + +Thu Oct 2 16:15:50 1997 Doug Evans + + * reloc.c (bfd_check_overflow): New function. + (bfd_perform_relocation, bfd_install_relocation): Use it. + (BFD_RELOC_SPARC_{DISP64,PLT64}): New relocs. + (BFD_RELOC_SPARC_{HIX22,LOX10,H44,M44,L44,REGISTER}): New relocs. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + +Thu Oct 2 13:17:18 1997 Ian Lance Taylor + + * peicode.h (coff_swap_scnhdr_out): Set IMAGE_SCN_MEM_READ for an + unrecognized section. From Jon Thackray . + +Wed Oct 1 14:03:44 1997 Ian Lance Taylor + + * Makefile.am ($(BFD_H)): Change stmp-bfd.h to stmp-bfd-h. + (stmp-bfd-h): Rename from stmp-bfd.h. + (BFD_H_FILES, LIBBFD_H_FILES, LIBCOFF_H_FILES): New variables. + ($(srcdir)/bfd-in2.h): Just depend upon stmp-bin2-h. + (stmp-bin2-h): New target. + ($(srcdir)/libbfd.h): Just depend upon stmp-lbfd-h. + (stmp-lbfd-h): New target. + ($(srcdir)/libcoff.h): Just depend upon stmp-lcoff-h. + (stmp-lcoff-h): New target. + (CLEANFILES): Change stmp-bfd.h to stmp-bfd-h. Add stmp-bin2.h, + stmp-lbfd-h, and stmp-lcoff-h. + * Makefile.in: Rebuild. + + * configure.in: Use a diversion to set enable_shared before the + arguments are parsed. + * configure: Rebuild. + +Tue Sep 30 14:18:32 1997 Doug Evans + + * elf32-sparc.c (_bfd_sparc_elf_howto_table): R_SPARC_GLOB_JMP + renamed to R_SPARC_UNUSED_42. + (sparc_reloc_map): Delete R_SPARC_GLOB_JMP entry. + * elf64-sparc.c (_bfd_sparc_elf_howto_table): R_SPARC_GLOB_JMP + renamed to R_SPARC_UNUSED_42. + (sparc_reloc_map): Delete R_SPARC_GLOB_JMP entry. + * reloc.c (BFD_RELOC_SPARC_GLOB_JMP): Delete. + * bfd-in2.h: Regenerated. + * libbfd.h: Regenerated. + +Thu Sep 25 12:15:02 1997 Ian Lance Taylor + + * elflink.h (elf_merge_symbol): Don't check the hash creator until + after we have set *sym_hash. + +Wed Sep 24 16:52:28 1997 Joel Sherrill + + * config.bfd (sh*-*-rtems*): New target, like sh-*-*elf*. + +Wed Sep 24 11:27:23 1997 Ian Lance Taylor + + * Makefile.am (libbfd_a_SOURCES): Define. + * Makefile.in: Rebuild. + + * configure.in: Call AC_CHECK_TOOL before AM_PROG_LIBTOOL. + * aclocal.m4: Rebuild with new libtool. + * configure: Rebuild. + +Tue Sep 23 19:03:13 1997 Ian Lance Taylor + + * elf.c (map_sections_to_segments): Even if we are not demand + paged, don't put a loadable section after a nonloadable section. + (assign_file_positions_for_segments): Increment the file offset + for a section with contents, even if it is not loadable. + +Thu Sep 18 15:04:57 1997 Nick Clifton + + * elf32-v850.c (v850_elf_check_relocs): Improve error message. + +Wed Sep 17 09:54:51 1997 Nick Clifton + + * elf32-v850.c (v850_elf_final_link_relocate): Add checks to catch + relocations against non-existant symbols. + +Tue Sep 16 14:20:27 1997 Nick Clifton + + * reloc.c: Add BFR_RELOC_V850_TDA_16_16_OFFSET. + + * elf32-v850.c (v850_elf_reloc, v850_elf_final_link_relocate, + v850_elf_howto_table, v850_elf_reloc_map): Add support for a 16 + bit reloc in the tiny data area. + +Wed Sep 10 15:17:25 1997 Nick Clifton + + * elf32-v850.c (v850_elf_reloc): Remove spurious error message. + +Wed Sep 10 11:17:50 1997 Andrew Cagney + + * archures.c (bfd_default_scan): Use strcasecmp. + (bfd_default_scan): Test for match with arch_name + ":" + + printable_name. + (bfd_default_scan): Test for match with printable_name - ":". + (bfd_default_scan): Delete w65, h8300, h8500, z8k, i960 special + cases. Each implements their own scan function. + (bfd_default_scan): Delete 386, 2900, 860, mips 2000, mips 4400 + special cases. Since info->mach == 0. The test mach == number + fails. + (bfd_arch_list): New function, return name of all the supported + architectures. + +Tue Sep 9 10:21:56 1997 Nick Clifton + + * elf32-v850.c (v850_elf_print_private_bfd_data): Break after + decoding architecture. + (v850_elf_reloc): Do not complain if a R_V850_LO16 reloc has bit + 15 set. + +Sun Sep 7 12:25:22 1997 H.J. Lu (hjl@gnu.ai.mit.edu) + + * bfd/elf64-alpha.c (reloc_howto_type): Fix the howto table. + +Thu Sep 4 09:44:10 1997 Ian Lance Taylor + + * Makefile.am: Rebuild dependencies. + (ALL_MACHINES_CFILES): Add cpu-v850.c. + (ALL_MACHINES_CFILES): Add elf32-v850.c. + * Makefile.in: Rebuild. + + * reloc.c: Remove extraneous commas from relocation entries. + Remove BFD_RELOC_V850_16_PCREL. + * bfd-in2.h: Rebuild. + + * xcofflink.c (xcoff_link_add_symbols): Put XTY_CM/XMC_TD symbols + in sections named .tocbss rather than .bss. + +Wed Sep 3 11:23:23 1997 Nick Clifton + + * libbfd.h, bfd-in2.h, elf32-v850.c: Removed + BFD_RELOC_V850_16_PCREL. + +Tue Sep 2 20:44:10 1997 Fred Fish + + * cofflink.c (coff_link_check_ar_symbols): Handle C_SYSTEM syms + the same as C_EXT syms. + (coff_link_add_symbols): Ditto. + (_bfd_coff_link_input_bfd): Ditto. + (_bfd_coff_write_task_globals): Add save_global_to_static. Use + it to preserve and restore state of global_to_static flag. + +Tue Sep 2 17:45:22 1997 Nick Clifton + + * elf32-v850.c (v850_elf_object_p): Set machine number based on + bits in e_flags field rather than magic numbers. + (v850_elf_final_write_processing, v850_elf_set_private_flags, + v850_elf_copy_private_bfd_data, v850_elf_merge_private_bfd_data, + v850_elf_print_private_bfd_data): New functions. + + +Tue Sep 2 17:35:05 1997 Doug Evans + + * cpu-arc.c (arc_get_mach): Properly scan defined mach entries. + +Tue Sep 2 18:29:37 1997 Jeffrey A Law (law@cygnus.com) + + * elf-m10200.c (mn10200_elf_final_link_relocate): PC relative + instructions are relative to the next instruction, not the + current instruction. + (mn10200_elf_relax_section): Similarly. + +Tue Sep 2 15:45:45 1997 Nick Clifton + + * cpu-v850.c: Use a macro to construct bfd_arch_info_type + entries. + + * reloc.c, libbfd.h, bfd-in2.h, elf32-v850.c: Replace + BFD_RELOC_V850_{SDA/TDA/ZDA}_OFFSET relocs with new bit pattern + specific versions: BFD_RELOC_V850_{area}_{bits}_OFFSET. + +Thu Aug 28 17:01:09 1997 Andrew Cagney + + * cpu-v850.c: Remove "plain" from v850 printable name. + (scan): Use strcasecmp. + + * archures.c (bfd_mach_v850): Define. + + * cpu-sh.c (scan_mach): Compare with table instead of hardwired to + just sh/SH, use strcasecmp. + (arch_info_struct): Add entries for sh3 et.al. + + * archures.c (bfd_mach_sh, ...): Define. + +Wed Aug 27 17:33:07 1997 Andrew Cagney + + * archures.c (bfd_archures_list): Always NULL terminate the list. + +Tue Aug 26 17:26:51 1997 Ian Lance Taylor + + * Makefile.am: Rebuild dependencies. + (ALL_MACHINES_CFILES): Add cpu-arc.c. + (ALL_MACHINES_CFILES): Add elf32-arc.c. + (elf32-arc.lo): Remove explicit dependency. + * Makefile.in: Rebuild. + + * acinclude.m4 (BFD_CC_FOR_BUILD): Set EXEEXT_FOR_BUILD. + * doc/Makefile.am (MKDOC): Use EXEEXT_FOR_BUILD, not EXEEXT. + * aclocal.m4, configure, Makefile.in, doc/Makefile.in: Rebuild. + +Mon Aug 25 16:14:34 1997 Christopher Provenzano + + * configure: Rebuild with latest devo autoconf for NT support + +Mon Aug 25 16:11:04 1997 Nick Clifton + + * cpu-arm.c (compatible): If B is a default type, return A. + +Mon Aug 25 15:35:46 1997 Nick Clifton + + * cpu-v850.c (scan): New function. + (arch_info_struct): New structure. + (bfd_v850_arch): Add link into arch_info_structure. + + * config.bfd (targ_cpu): All v850 variants use the bfd_arch_v850 + architecture. + + * elf32-v850.c (v850_elf_object_p): New function. + + +Mon Aug 25 14:07:33 1997 Ian Lance Taylor + + * syms.c (_bfd_stab_section_find_nearest_line): Clear the + cached_stab field if the offset prevents us from using the cache. + +Mon Aug 25 12:08:13 1997 Ian Lance Taylor + + * aout-target.h (MY(vec)): Add SEC_CODE and SEC_DATA to section + flags. + * aout-arm.c (aout_arm_little_vec): Likewise. + (aout_arm_big_vec): Likewise. + * bout.c (b_out_vec_big_host): Likewise. + (b_out_vec_little_host): Likewise. + * mipsbsd.c (aout_mips_little_vec): Likewise. + (aout_mips_big_vec): Likewise. + +Tue Aug 19 08:47:17 1997 Fred Fish + + * coff-i960.c (COFF_ALIGN_IN_SECTION_HEADER): Define to 1. + (GET_SCNHDR_ALIGN, PUT_SCNHDR_ALIGN): Define. + * coff-m88k.c (GET_SCNHDR_NRELOC, GET_SCNHDR_NLNNO): Define. + * coffcode.h (coff_set_alignment_hook): Conditionally compile in if + COFF_ALIGN_IN_SECTION_HEADER is defined. Convert alignment to power + of two for I960 only. + * coffswap.h (GET_SCNHDR_NRELOC, PUT_SCNHDR_NRELOC, GET_SCNDHR_NLNNO, + PUT_SCNHDR_NLNNO, GET_SCNHDR_FLAGS, PUT_SCNHDR_FLAGS): Provide + default definitions. + (coff_swap_scnhdr_in): Use GET_SCNHDR_FLAGS, GET_SCNHDR_NRELOC, + GET_SCNHDR_NLNNO, and GET_SCNHDR_ALIGN. + (coff_swap_scnhdr_out): Use PUT_SCNHDR_FLAGS, PUT_SCNHDR_ALIGN. + +Mon Aug 18 11:36:19 1997 Nick Clifton + + * elf32-v850.c (v850_elf_howto_table, v850_elf_reloc_map, + v850_elf_check_relocs, v850_elf_reloc, + v850_elf_final_link_relocate): Add support for + BFD_RELOC_V850_16_PCREL relocation. + + * reloc.c (COMMENT): Add suuport for BFD_RELOC_V850_16_PCREL + relocation. + + * libbfd.h: Add support for BFD_RELOC_V850_16_PCREL relocation. + + * bfd-in2.h: Add support for BFD_RELOC_V850_16_PCREL relocation. + + +Fri Aug 15 12:01:28 1997 Ian Lance Taylor + + * coffgen.c (coff_find_nearest_line): Correctly handle the offset + argument as section relative, rather than an absolute address. + From Jan Hoogenraad . + +Fri Aug 15 04:58:02 1997 Doug Evans + + * config.bfd (arc-*-elf*): Add. + * configure.in (bfd_elf32_{little,big}arc_vec): Add. + * configure: Rebuild. + * Makefile.am (ALL_MACHINES): Add cpu-arc.lo. + (BFD32_BACKENDS): Add elf32-arc.lo. + (cpu-arc.lo,elf32-arc.lo): Add rules for. + * Makefile.in: Rebuild. + * archures.c (architecture list): Add bfd_arch_arc. + (bfd_archures_list): Add bfd_arc_arch. + (bfd_mach_arc_base): Define. + * reloc.c (BFD_RELOC_ARC_B22_PCREL,BFD_RELOC_ARC_B26): Add. + * targets.c (bfd_elf32_{little,big}arc_vec): Declare. + (bfd_target_vect): Add them. + * bfd-in2.h, libbfd.h: Rebuild. + * cpu-arc.c, elf32-arc.c: New files. + * elf.c (pre_headers): Recognize bfd_arch_arc. + +Tue Aug 12 11:45:18 1997 Ian Lance Taylor + + * aoutx.h (NAME(aout,final_link)): If no symbols, make sure the + data section is correctly rounded to a page in the file. + +Mon Aug 11 12:45:43 1997 Ian Lance Taylor + + * aoutx.h (NAME(aout,final_link)): Don't emit the string table if + there are no symbols. + +Sun Aug 10 14:45:56 1997 Ian Lance Taylor + + * coff-stgo32.c: Rename from coff-stubgo32.c to avoid old System V + file system 14 character limit. + * Makefile.am, configure.in: Corresponding changes. + * Makefile.in, configure: Rebuild. + +Fri Aug 8 18:34:36 1997 Ian Lance Taylor + + * Makefile.am: (ALL_MACHINES_CFILES): Add elf32-d10v.c. + Rebuild dependencies. + * Makefile.in: Rebuild. + +Wed Aug 6 18:56:51 1997 Ian Lance Taylor + + * Makefile.am (docdir): Define. + * Makefile.in: Rebuild. + +Tue Aug 5 23:05:03 1997 Ian Lance Taylor + + * configure: Rebuild with autoconf 2.12.1. + +Mon Aug 4 12:00:35 1997 Ian Lance Taylor + + * aclocal.m4, configure: Rebuild with new automake patches. + +Sun Aug 3 08:15:12 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * rs6000-core.c (make_bfd_asection): New function to add a section + to the core file bfd. + (rs6000coff_core_p): Use make_bfd_asection to add the core file + sections. + Use BFD routines to seek, read and stat the core file. + Handle .data sections from loaded objects and anonymously mmapped + regions, these are available in AIX 4 core files. + +Fri Aug 1 12:58:32 1997 Ian Lance Taylor + + * configure.in: Set enable_shared before AM_PROG_LIBTOOL. + * acinclude.m4: Move acmacros.m4 in here. Remove AM_PROG_LIBTOOL + copy; use a patches libtool instead. + * acmacros.m4: Remove. + * Makefile.in, aclocal.m4, configure: Rebuild. + +Thu Jul 31 19:55:36 1997 Ian Lance Taylor + + * Makefile.am: New file, based on old Makefile.in. + * acmacros.m4: New file, copied from old aclocal.m4. + * acinclude.m4: New file. + * configure.in: Call AM_PROG_LIBTOOL. Remove shared library + handling; now handled by libtool. Replace AC_CONFIG_HEADER with + AM_CONFIG_HEADER. Replace AC_PROG_INSTALL with AM_PROG_INSTALL. + Call AM_MAINTAINER_MODE, AM_CYGWIN32, and AM_EXEEXT. Change all + .o files to .lo. Remove stamp-h handling in AC_OUTPUT. + * acconfig.h: Mention PACKAGE and VERSION. + * stamp-h.in: New file. + * dep-in.sed: Change .o to .lo. + * Makefile.in: Now built with automake. + * aclocal.m4: Now built with aclocal. + * config.in, configure: Rebuild. + * VERSION: Remove. + +Thu Jul 31 12:09:20 1997 Geoff Keating + + * elf32-ppc.c (ppc_elf_size_dynamic_sections): Don't set TEXTREL + if there is only a relocation to a read-only but not allocatable + section (like .stab). + * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise. + * elf32-i386.c (elf_i386_size_dynamic_sections): Likewise. + * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise. + * elf32-mips.c (mips_elf_size_dynamic_sections): Likewise. + * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Likewise. + + * elf32-ppc.c (ppc_elf_howto_raw): Correct various comments. + (ppc_elf_create_linker_section): These sections are not + created by the linker (that is, they are created by the user + putting data in them). In particular, they can be the source + and target of relocations. + (ppc_elf_adjust_dynamic_symbol): Check postcondition of + bfd_elf32_link_record_dynamic_symbol. Align 16-byte common + objects (for instance, 'long double') to 16-byte boundaries. + (ppc_elf_size_dynamic_sections): Make the code that generates + section symbols exactly the same as for sparc, reducing the + number of section symbols output. + (ppc_elf_check_relocs): Check postcondition of + bfd_elf32_link_record_dynamic_symbol. Make default case the + same as corresponding code for sparc, fixing bug involving + .rela.stabs. + (ppc_elf_finish_dynamic_symbol): Fix case involving GOT symbols + forced to be local because of versioning (by replicating + corresponding change in sparc). Treat R_PPC_RELATIVE RELA relocs + as usual in ELF, not as pseudo-REL relocs (as the sparc linker + does). + (ppc_elf_relocate_section): Add handy debugging code for when + assertion fails. Add some more 'symbol made local because of + versioning' cases. + + * elf32-ppc.c (ppc_elf_relocate_section): Cope with addend when + processing a GOT relocation as required by ABI. + +Wed Jul 30 21:30:35 1997 Andreas Schwab + + * elflink.h (NAME(bfd_elf,record_link_assignment)): Remove any + version info if this symbol came from a dynamic object. + (elf_link_add_object_symbols): Set the version info of a symbol + only if the object actually contains version definitions and + defines this symbol. + +Mon Jul 28 18:07:43 1997 Rob Savoye + + * aclocal.m4: Add CYGWIN and EXEEXT autoconf macros. + * configure.in: Use CYGWIN and EXEEXT autoconf macro to look for + win32 dependencies. + * configure: Regenerated with autoconf 2.12. + * doc/Makefile.in: Add $(EXEEXT) to chew executable. + +Mon Jul 28 02:50:29 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * rs6000-core.c (rs6000coff_core_p): If CORE_TRUNC is set, print + a warning rather than returning an error. + +Sun Jul 27 19:54:14 1997 Felix Lee + + * coffswap.h (coff_swap_aux_in): add semicolon to make MSVC happy. + +Fri Jul 25 14:50:08 1997 Felix Lee + + * cisco-core.c: define signals for wingdb. + +Fri Jul 25 16:27:07 1997 Ian Lance Taylor + + * ecofflink.c (bfd_ecoff_debug_accumulate): Only merge files with + the same number of aux entries. + +Fri Jul 25 08:22:15 1997 Jeffrey A Law (law@cygnus.com) + + * som.c (hppa_som_gen_reloc_type): Use R_DATA_EXPR for the + difference of two symbols if the relocation size is 32 bits. + (som_write_fixups): Handle R_DATA_EXPR. + +Wed Jul 23 16:08:02 1997 Ian Lance Taylor + + * coff-i386.c (coff_i386_reloc): Don't offset a common symbol by + its value if COFF_WITH_PE is defined. + +Tue Jul 22 17:19:45 1997 Robert Hoehne + + * coff-stubgo32.c: New file. + * go32stub.h: New file. + * coff-i386.c: If COFF_GO32_EXE, include coff/go32exe.h. + * coffswap.h (coff_swap_filehdr_in): Invoke + COFF_ADJUST_FILEHDR_IN_PRE and COFF_ADJUST_FILEHDR_IN_POST if they + are defined. + (coff_swap_filehdr_out): Invoke COFF_ADJUST_FILEHDR_OUT_PRE and + COFF_ADJUST_FILEHDR_OUT_POST if they are defined. + (coff_swap_aux_in): Invoke COFF_ADJUST_AUX_IN_PRE and + COFF_ADJUST_AUX_IN_POST if they are defined. + (coff_swap_aux_out): Invoke COFF_ADJUST_AUX_OUT_PRE and + COFF_ADJUST_AUX_OUT_POST if they are defined. + (coff_swap_scnhdr_in): Invoke COFF_ADJUST_SCNHDR_IN_PRE and + COFF_ADJUST_SCNHDR_IN_POST if they are defined. + (coff_swap_scnhdr_out): Invoke COFF_ADJUST_SCNHDR_OUT_PRE and + COFF_ADJUST_SCNHDR_OUT_POST if they are defined. + * targets.c (go32stubbedcoff_vec): Declare. + (bfd_target_vector): Add go32stubbedcoff_vec. + * configure.in (go32coff_vec): New target vector. + (go32stubbedcoff_vec): Likewise. + * config.bfd (i[3456]86-*-msdosdjgpp*): New target. + (i[3456]86-*-go32*): Change to be like new msdosdjgpp*. + * Makefile.in: Rebuild dependencies. + (BFD32_BACKENDS): Add coff-stubgo32.o. + (BFD32_BACKENDS_CFILES): Add coff-stubgo32.c. + (HFILES): Add go32stub.h. + +Tue Jul 22 15:09:12 1997 Ian Lance Taylor + + * configure.in: Check for fdopen. + * configure, config.in: Rebuild. + * opncls.c (bfd_fdopenr): Check HAVE_FDOPEN rather than VMS or + __GO32__. Reindent a bit. + +Sun Jul 20 20:05:20 1997 Ian Lance Taylor + + * sunos.c (sunos_create_dynamic_sections): Set SEC_LINKER_CREATED + flag for newly created sections. + (sunos_add_dynamic_symbols): Don't discard newly created sections + if shared library is dynobj. + +Mon Jul 14 15:33:55 1997 Ian Lance Taylor + + * elf.c (map_sections_to_segments): When checking whether + including a section in a segment would force us to skip a page, + align the address of the next segment to avoid wraparound + problems. + +Mon Jul 7 16:41:20 1997 Ian Lance Taylor + + * coff-i386.c (coff_i386_is_local_label_name): New static function + if TARGET_UNDERSCORE. + (coff_bfd_is_local_label_name): Define if TARGET_UNDERSCORE. + (i386coff_vec): Add SEC_CODE and SEC_DATA to section_flags. + +Mon Jun 30 14:29:26 1997 Ian Lance Taylor + + * elf32-m68k.c (howto_table): Use complain_overflow_bitfield, not + complain_overflow_signed, for 32 bit PC relative relocations. + +Thu Jun 26 01:26:31 1997 Ian Lance Taylor + + * elflink.h (elf_link_add_object_symbols): When a version + indirection symbol is overridden, make the original symbol point + at the real overriding symbol. + + * elf.c (bfd_elf_string_from_elf_section): Check for an invalid + string index. + + * elflink.h (elf_link_output_extsym): Use the right section for a + common symbol. + * elf32-mips.c (mips_elf_link_output_symbol_hook): If a common + symbol was in .scommon, mark it as SHN_MIPS_SCOMMON. + +Wed Jun 25 12:43:10 1997 H.J. Lu + + * elflink.h (elf_merge_symbols): Resolve indirect and warning + symbols before checking for new symbols. + + * elfcore.h (elf_corefile_note): Move out of HAVE_SYS_PROCFS_H. + +Tue Jun 24 11:20:43 1997 Ian Lance Taylor + + * coffgen.c (coff_object_p): Read the f_opthdr bytes from the + file, not aoutsz bytes (they are different in XCOFF .o files). + + * xcofflink.c (xcoff_link_add_symbols): Permit symbols to be + redefined by objects included from archives. + +Mon Jun 23 18:03:27 1997 Ian Lance Taylor + + * elflink.h (elf_merge_symbol): In the case of a new defined + symbol overriding an old defined symbol, return the hash table + entry which we modify, even if it is the target of an + indirection. + (elf_link_add_object_symbols): If the real name of the symbol gets + overridden, convert the versioned symbol into an indirect symbol + to the real symbol. + + * elflink.h (elf_merge_symbol): New static function, broken out of + elf_link_add_object_symbols. + (elf_link_add_object_symbols): Call it. + +Sun Jun 22 19:40:57 1997 Ian Lance Taylor + + * coff-i386.c (i3coff_object_p): If COFF_IMAGE_WITH_PE, hack to + handle case where COFF filehdr does not immediately follow PE + header. + * coffgen.c (coff_object_p): Remove useless seek to current + location. + +Wed Jun 18 19:03:38 1997 Ian Lance Taylor + + * linker.c (link_action): Change COMMON_ROW/indr to from CREF to + REFC. + +Tue Jun 17 11:55:02 1997 Ian Lance Taylor + + * cofflink.c (_bfd_coff_link_input_bfd): If stripping debugging + symbols, skip N_ABS symbols with debugging storage classes. + +Mon Jun 16 18:56:27 1997 Geoff Keating + + * elf32-ppc.c (ppc_elf_relocate_section): Don't emit R_PPC_REL* + relocs in shared libraries which refer to local symbols. Cope + with addend when processing a GOT relocation. + + * elf32-ppc.c (ppc_elf_size_dynamic_sections): Only create symbols + for sections that the linker didn't create. + (ppc_elf_finish_dynamic_sections): Only try to write out a section + symbol if it was created in ppc_elf_size_dynamic_sections. + (ppc_elf_relocate_section): Complain if we have to generate a reloc + relative to a section for which we didn't output a symbol. + + * elf32-ppc.c (ppc_elf_size_dynamic_sections): Clean up. PLT + relocs are 'rela' relocs, like everything else. .rela.plt is not + a read-only section, so we don't have to special-case it. + + * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Entries in the + .rela.bss section are (of course) 'rela' relocs not 'rel' relocs. + + * elf32-ppc.c (ppc_elf_check_relocs): Initialise srelgot. + (ppc_elf_relocate_section): @got offsets are 4 from start of the + actual .got section. + * elflink.c (_bfd_elf_create_got_section): The three reserved + words start from the symbol '_GLOBAL_OFFSET_TABLE_'. + + * elf32-ppc.c (ppc_elf_size_dynamic_sections): '.rela' is 5 + characters, not 4. + + * elf32-ppc.c (ppc_elf_check_relocs): Use + _bfd_elf_create_got_section to create the GOT rather than + ppc_elf_create_linker_section. Create the '.rela.got' section + ourselves. + (ppc_elf_finish_dynamic_symbol): Set up GOT relocations when a + symbol has a GOT entry. + (ppc_elf_relocate_section): Record when a symbol is used through + the GOT, and allocate space in the GOT for each such symbol. + (ppc_elf_adjust_dynamic_symbol): Delete unused .got.plt stuff. + (ppc_elf_create_linker_section): Delete unused LINKER_SECTION_GOT + stuff. + + * elf32-ppc.c (ppc_elf_howto_raw): GOT16_HA relocs should be + treated in a similar way to ADDR16_HA relocs. + (ppc_elf_relocate_section): PLTREL24 relocs do not get copied into + shared objects; the linker must deal with them. + (ppc_elf_create_linker_section): Stop setting + _GLOBAL_OFFSET_TABLE_ to the wrong value; delete unused + LINKER_SECTION_PLT stuff. + (ppc_elf_check_relocs): Delete unused LINKER_SECTION_PLT stuff. + (ppc_elf_finish_dynamic_sections): Use BFD calls to get GOT + section, not ELF-specific calls. + (elf_backend_plt_not_loaded): Set to 1. + (elf_backend_got_symbol_offset): Set to 4. + * elf-bfd.h (elf_backend_data): Add 'plt_not_loaded' member + for when ld.so fills in the PLT; and 'got_symbol_offset' member. + * elflink.c (_bfd_elf_create_dynamic_sections): Apply + plt_not_loaded member. + (_bfd_elf_create_got_section): Apply got_symbol_offset. + * elfxx-target.h (elf_backend_plt_not_loaded): Set default to + 'loaded'. + (elf_backend_G_O_T_offset): Set default to 0. + (elfNN_bed): Set added fields. + + * elf32-ppc.c (ppc_elf_size_dynamic_sections): Was setting + DT_RELENT in shared objects; should be DT_RELAENT. + + * elf32-ppc.c (ppc_elf_relocate_section): Propagate + R_PPC_ADDR16_HA relocs to shared objects. Cope with case where + such a reloc (in a non-shared object) refers to a symbol that's + not defined. + +Mon Jun 16 14:42:14 1997 H.J. Lu + + * elfcode.h (put_signed_word): Define. + (get_signed_word): Define. + (elf_swap_reloca_in): Use get_signed_word for the r_addend field. + (elf_swap_reloca_out): Use put_signed_word for the r_addend + field. + * elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Use + bfd_get_signed_32 to set the r_addend field. + * elf64-mips.c (mips_elf64_swap_reloca_in): Use + bfd_h_get_signed_64 to set the r_addend field. + +Mon Jun 16 12:31:29 1997 Ian Lance Taylor + + * elf32-i386.c (elf_i386_relocate_section): When generating a + shared library, do the relocation if the input section is not + allocated in memory. + + * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Call + elf_link_assign_sym_version before elf_adjust_dynamic_symbol. + (elf_fix_symbol_flags): New static function, broken out of + elf_adjust_dynamic_symbol. + (elf_adjust_dynamic_symbol): Call elf_fix_symbol_flags. + (elf_link_assign_sym_version): Likewise. Permit a symbol to be + forced local even if NEEDS_PLT is set. When forcing a symbol to + be local, clear NEEDS_PLT. + (elf_link_output_extsym): Remove unused local bed. + +Wed Jun 11 22:44:20 1997 Jeffrey A Law (law@cygnus.com) + + * elf32-mn10300.c (elf32_mn10300_link_hash_entry): New structure + for derived elf linker hash table entries. References to + elf_link_hash_entry changed appropriately. + (elf32_mn10300_link_hash_table): New structure for derived elf + linker hash table. + (elf32_mn10300_hash_table): Define. + (elf32_mn10300_link_hash_traverse): Likewise. + (elf32_mn10300_link_hash_newfunc): New function. + (elf32_mn10300_link_hash_table_create): Likewise. + (elf32_mn10300_finish_hash_table_entry): Likewise. + (mn10300_elf_relax_section): Handle "call" -> "calls", removal + of prologue code, and call:32->call:16 relaxing. + (compute_function_info: New function. + (bfd_elf32_bfd_ilink_hash_table_create): Define. + +Wed Jun 11 00:00:07 1997 Ian Lance Taylor + + * elflink.h (elf_link_output_extsym): Call finish_dynamic_symbol + for a symbol which is being forced to be local. + * elf32-i386.c (elf_i386_relocate_section): Write out the + relocation value for a GOT reloc for a symbol which is turning + into a local symbol. + (elf_i386_finish_dynamic_symbol): If a symbol is turning into a + local symbol, write out a RELATIVE reloc rather than a GLOB_DAT + reloc. + * elf32-m68k.c, elf32-sparc.c: Corresponding changes. + + * elf32-i386.c (elf_i386_relocate_section): Get the relocation + value if the symbol is turning into a local symbol. + * elf32-m68k.c (elf_m68k_relocate_section): Likewise. + * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. + +1997-06-10 22:58 Ulrich Drepper + + * elflink.h (elf_link_add_object_symbols): Also read verneed + information by calling `_bfd_elf_slurp_version_tables'. + (elf_link_add_object_symbols): For undefined symbols look for + version information in the verneed records. + (elf_link_add_object_symbols): Use soname of shared object + for verneed record if it is available. + +Tue Jun 10 11:13:03 1997 H.J. Lu + + * cpu-arm.c: Add prototypes for compatible and scan. + * cofflink.c: Add prototype for mark_relocs. + + * archive.c (bfd_special_undocumented_glue): Change filename to + const pointer. Add prototype. + +Mon Jun 9 12:34:21 1997 Andreas Schwab + + * elflink.h (elf_link_add_object_symbols): Ignore relocations of + sections that will be discarded. + +1997-06-06 22:58 Ulrich Drepper + + * elflink.h (elf_link_find_version_dependencies): When searching + for known version symbol skip non-matching verdef records, not + matching records. + +Thu Jun 5 15:52:45 1997 Ian Lance Taylor + + * cofflink.c (_bfd_coff_generic_relocate_section): Write a long, + not a bfd_vma, to the base file, to match how dlltool reads it. + +Tue Jun 3 16:57:45 1997 Nick Clifton + + * reloc.c: Add thumb relocations. + + * bfd-in2.h: Add Thumb relocations. + + * libbfd.h: Add Thumb relocations. + +Mon Jun 2 10:41:52 1997 Andreas Schwab + + * cpu-m68k.c (arch_info_struct): Fix 68060 cpu name. + +Fri May 30 12:46:27 1997 Ian Lance Taylor + + * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Set dynindx + for a section even if it is not loaded. + + * cofflink.c (coff_link_add_symbols): If PE file, don't subtract + section VMA. + (_bfd_coff_link_input_bfd): Separate section VMA handling for + input and output files. + (_bfd_coff_generic_relocate_section): Check whether input file, + not output file, is a PE file. + +Wed May 28 15:48:43 1997 Nick Clifton + + * coff-arm.c: (coff_arm_bfd_set_private_flags): Make static. + +Wed May 28 16:16:04 1997 Ian Lance Taylor + + * coff-i386.c (coff_i386_reloc): Don't just exit if we see an + R_IMAGEBASE reloc. + +Wed May 28 09:48:43 1997 Nick Clifton + + * cpu-arm.c (compatible): Add test for supersets of ARM + architectures. + +Tue May 27 19:42:03 1997 Bob Manson + + * cofflink.c (_bfd_coff_final_link): Initialize global_to_static + member. + +Tue May 27 14:34:08 1997 Nick Clifton + + * coff-arm.c (coff_arm_bfd_set_private_flags): Make global. It is + called directly by gas/config/tc-arm.c. + +Tue May 27 15:58:53 1997 Richard Henderson + + * elf64-alpha.c (PLT_ENTRY_*): Use a new thread-safe format. + (elf64_alpha_finish_dynamic_symbol): Fill it in properly. + +Mon May 26 14:05:13 1997 Ian Lance Taylor + + * coff-ppc.c (coff_ppc_relocate_section): If PE file, don't add + section VMA. + +Mon May 26 10:57:48 1997 Fred Fish + + * peicode.h (coff_bfd_print_private_bfd_data): #undef before #define. + (coff_bfd_copy_private_bfd_data): Ditto. + * coff-arm.c (coff_arm_bfd_merge_private_bfd_data): Make static. + (coff_arm_bfd_print_private_bfd_data): Ditto. + (coff_arm_bfd_set_private_flags): Ditto. + (coff_arm_bfd_copy_private_bfd_data): Ditto. + +Fri May 23 15:14:58 1997 Fred Fish + + * libcoff-in.h (struct coff_final_link_info): Add boolean + global_to_static member for support of task linking. + (_bfd_coff_write_task_globals): Add prototype. + * libcoff.h: Regenerate. + * coffcode.h (coff_write_object_contents): Use #ifdef to + check RS6000COFF_C, to be consistent with all other uses + in this file. + * cofflink.c (_bfd_coff_final_link): If doing task linking, + call _bfd_coff_write_task_globals. + (_bfd_coff_link_input_bfd): If doing task linking, convert + global functions to static. + (_bfd_coff_write_global_sym): If doing task linking, convert + global variables to static. + (_bfd_coff_write_task_globals): New function. + +Wed May 21 17:15:50 1997 Ian Lance Taylor + + * coffcode.h (coff_slurp_symbol_table): If COFF_WITH_PE or + COFF_IMAGE_WITH_PE, don't subtract the section VMA from the symbol + value. + * coffgen.c (fixup_symbol_value): Add abfd parameter. Change all + callers. If PE file, don't add section VMA. + (coff_write_alien_symbol): If PE file, don't add section VMA. + * cofflink.c (_bfd_coff_link_input_bfd): Likewise. + (_bfd_coff_write_global_sym): Likewise. + (_bfd_coff_generic_relocate_section): Likewise. + + * peicode.h: Add & 0xffffffff when using ImageBase in case bfd_vma + is 64 bits. + +Wed May 21 09:58:10 1997 Nick Clifton + + * cofflink.c (mark_relocs): Add new function to mark symbols which + are used by relocations. + (_bfd_coff_link_input_bfd): Add call to mark_relocs() and code to + suppress the skipping of symbols that have thus been marked. + +Tue May 20 18:45:26 1997 Ian Lance Taylor + + * coff-sh.c (sh_merge_private_data): New static function. + (coff_bfd_merge_private_bfd_data): Define. + +Fri May 16 10:23:03 1997 Jeffrey A Law (law@cygnus.com) + + * elf-m10300.c (elf32_mn10300_relax_section): Read in all + the symbols associated with each BFD. + (mn10300_elf_relax_delete_bytes): Don't adjust the same symbol + more than once. + * elf-m10200.c: Likewise. + * elf32-m32r.c: Likewise. + * elf32-sh.c: Likewise. + +Fri May 16 12:10:52 1997 Ian Lance Taylor + + * elflink.h (elf_link_add_object_symbols): Don't decrease the + alignment of a common symbol. If two symbols that look like + common symbols are found in two shared libraries, and the size is + different, use the larger size, and warn if --warn-common. If a + common symbol overrides a definition in a shared library, set the + size to the larger size, and warn if --warn-common. + +Thu May 15 14:31:28 1997 Nick Clifton + + * cpu-arm.c (compatible): Allow default machine to be polymorphed + into any other machine type. + + * coffcode.h (coff_set_flags): Initialise flags variable to 0. + + * coff-arm.c (coff_arm_bfd_merge_private_bfd_data): When merging + data into an unitialised destination set its machine type as well. + +Thu May 15 16:40:20 1997 Ian Lance Taylor + + * elflink.h (elf_link_add_object_symbols): Force ELF symbol size + to common symbol size. Consistently treat uninitialized symbols + in shared objects as common symbols. + +Fri May 9 10:15:27 1997 Nick Clifton + + * archures.c (constants): Added new constants to identify the + type of the ARM architecture: bfd_mach_arm_2, bfd_mach_arm_2a, + bfd_mach_arm_3, bfd_mach_arm_3M, bfd_mach_arm_4 and bfd_mach_arm_4T. + + * bfd-in2.h (constants): Added new constants to identify + the type of the ARM architecture: bfd_mach_arm_2, bfd_mach_arm_2a, + bfd_mach_arm_3, bfd_mach_arm_3M, bfd_mach_arm_4 and + bfd_mach_arm_4T. This file is auto-magically generated from the + archures.c file. This update is just to save work. + + * coff-arm.c (coff_arm_bfd_merge_private_bfd_data, + coff_arm_bfd_print_private_bfd_data, + coff_arm_bfd_set_private_flags, + coff_arm_bfd_copy_private_bfd_data): Added these new functions. + (global): Macro redefinitions set up to use these new functions. + + * coffcode.h (coff_mkobject_hook): Added call to + coff_arm_bfd_set_private_flags(). + (coff_set_arch_mach_hook): Added code to set machine type based on + bits stored in internal flags. + (coff_set_flags): Added code to set the new bits in the flags + field based on the machine number. + (function definition macros): Made all function definition macros + conditional so that they can be overridden by target specific + files. + + * cpu-arm.c (compatible): Added this function. (arch_info_struct): + Structure extended to include new types, one each for ARMv2, + ARMv2a, ARMv3, ARMv3M, ARMv4 and ARMv4T. + + * libcoff-in.h (struct coff_tdata): Added flags field. + +Fri May 9 17:40:02 1997 Ian Lance Taylor + + * config.bfd (i[3456]86-*-gnu*): Don't include Mach support. + + * config.bfd: Change #if 0 around uses of host_aout_vec to #if + HAVE_host_aout_vec. + +Mon May 5 13:57:32 1997 Mike Meissner + + * coffgen.c (coff_find_nearest_line): If there are no syments, + just return false. + +Mon May 5 18:18:45 1997 Philip Blundell + + * config.bfd: cope with '*-*-linux-gnuaout' targets. + +Thu May 1 11:31:12 1997 Ian Lance Taylor + + * targmatch.sed: Add explicit \n characters to work around bug in + HP/UX 10.20 sed program. + +Wed Apr 30 12:27:03 1997 Ian Lance Taylor + + * elf.c (copy_private_bfd_data): Cast csecs to avoid sign + extension problems. + +Tue Apr 22 12:06:08 1997 Ian Lance Taylor + + * Makefile.in (do_maintainer_clean): Don't remove bfd-in2.h. + +Mon Apr 21 11:21:31 1997 Andreas Schwab + + * elf32-m68k.c: Follow the last changes in elf32-i386.c: + (struct elf_m68k_pcrel_relocs_copied, struct + elf_m68k_link_hash_entry, struct elf_m68k_link_hash_table, + elf_m68k_link_hash_traverse, elf_m68k_hash_table, + elf_m68k_link_hash_newfunc, elf_m68k_link_hash_table_create, + elf_m68k_discard_copies, bfd_elf32_bfd_link_hash_table_create): + New definitions. + (elf_m68k_check_relocs): If linking with -Bsymbolic, don't copy + PC relative relocs for a global symbol defined in a regular + object, and count the number of PC relative relocs copied for any + global symbol. + (elf_m68k_size_dynamic_sections): If linking with -Bsymbolic, + traverse with elf_m68k_discard_copies. + +Sat Apr 19 22:50:14 1997 Ian Lance Taylor + + * elf32-i386.c (elf_i386_check_relocs): Only count PC relative + relocs. From Jamie Lokier . + + * coffcode.h (coff_compute_section_file_positions): Force the + potential last byte in the file to be written out when + COFF_IMAGE_WITH_PE. + +Thu Apr 17 13:46:56 1997 Per Fogelstrom + + * configure.host (mips*-*-openbsd*): New host. + +Thu Apr 17 11:10:54 1997 Ian Lance Taylor + + * elflink.h (elf_link_add_object_symbols): Only subtract the + section VMA from the symbol value if this is a fully linked file. + + * elf32-i386.c (struct elf_i386_pcrel_relocs_copied): Define. + (struct elf_i386_link_hash_entry): Define. + (struct elf_i386_link_hash_table): Define. + (elf_i386_link_hash_traverse): Define. + (elf_i386_hash_table): Define. + (elf_i386_link_hash_newfunc): New static function. + (elf_i386_link_hash_table_create): New static function. + (elf_i386_check_relocs): If linking with -Bsymbolic, don't copy + PC relative relocs for a global symbol defined in a regular + object, and count the number of PC relative relocs copied for any + global symbol. + (elf_i386_size_dynamic_sections): If linking with -Bsymbolic, + traverse with elf_i386_discard_copies. + (elf_i386_discard_copies): New static function. + (bfd_elf32_bfd_link_hash_table_create): Define. + + From Gordon W. Ross : + * aoutf1.h (MY_entry_is_text_address): Define if not defined. + (sunos4_aout_backend): Use MY_entry_is_text_address. + +Wed Apr 16 14:02:29 1997 Ian Lance Taylor + + From Gordon W. Ross : + * netbsd.h (N_SHARED_LIB): Define. + (SEGMENT_SIZE): Don't define. + * m68knetbsd.c (SEGMENT_SIZE): Don't define (revert change of + April 11). + * sparcnetbsd.c (TARGET_PAGE_SIZE): Define as 0x2000. + (SEGMENT_SIZE): Don't define. + + * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Set .rela.bss size + to sizeof Rela structure, not sizeof Rel structure. From Gary + Thomas . + +Tue Apr 15 11:50:37 1997 Ian Lance Taylor + + * aout-target.h (MY(callback)): If entry_is_text_address, adjust + whenever entry is larger than text address, but only by whole + pages. From Gordon W. Ross . + + * Makefile.in (install): Depend upon installdirs. Use + mkinstalldirs to build $(oldincludedir). + (installdirs): New target. + + * elflink.h (elf_link_add_object_symbols): Don't call check_relocs + if this is a debugging section which we are stripping. + +Mon Apr 14 12:39:30 1997 Richard Henderson + + * elf64-alpha.c (elf64_alpha_object_p): Allocate the + alpha-specific target data struct. + +Mon Apr 14 11:45:46 1997 Ian Lance Taylor + + From Thomas Graichen : + * Makefile.in: Always use $(SHELL) when running move-if-change. + * configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub. + * configure: Rebuild. + +Fri Apr 11 15:43:24 1997 Ian Lance Taylor + + * elfcode.h (elf_slurp_symbol_table): Only subtract the section + VMA if this is an executable file or a shared object. + + * targets.c (netbsd_core_vec): Declare. From Gordon W. Ross + . + + * libaout.h (struct aout_backend_data): Add entry_is_text_address + field. + * aout-target.h (SEGMENT_SIZE): Define to TARGET_PAGE_SIZE at the + start of the file. Remove uses later on which switch using + ifdef. + (MY(callback)): Handle entry_is_text_address. + (MY_entry_is_text_address): Define if not defined. + (MY(backend_data)): Initialize new field. + * aoutf1.h (sunos4_aout_backend): Likewise. + * i386aout.c (MY(backend_data)): Likewise. + * i386mach3.c (MY(backend_data)): Likewise. + * mipsbsd.c (MY(backend_data)): Likewise. + * sparclynx.c (sparclynx_aout_backend): Likewise. + * netbsd.h (SEGMENT_SIZE): Define if not defined. + (MY_entry_is_text_address): Define. + * m68knetbsd.c (SEGMENT_SIZE): Define as 0x20000. + + * xcofflink.c (bfd_xcoff_import_symbol): Handle importing a symbol + whose name starts with `.'. + +Fri Apr 11 11:57:15 1997 Niklas Hallqvist + + * config.bfd: (i[3456]86-*-openbsd*, m68*-*-openbsd*, + mips*el*-*-openbsd*, mips*-*-openbsd*, ns32k-*-openbsd*, + powerpc-*-*bsd*, sparc-*-openbsd*): New targets. + * configure.in (i[3456]86-*-openbsd*, mips*-*-openbsd*, + m68*-*-openbsd*, ns32k-*-openbsd*, powerpc-*-*bsd*, + sparc-*-openbsd*): New targets. + * configure: Rebuild. + +Tue Apr 8 18:09:29 1997 Jamie Lokier + + * stabs.c (struct stab_section_info): New field + `cumulative_skips'. + (_bfd_link_section_stabs): Fill the above array. + (_bfd_stab_section_offset): Use `cumulative_skips' to + speed up offset calculation. + +Tue Apr 8 00:01:31 1997 Jeffrey A Law (law@cygnus.com) + + * elf-mn10300.c (mn10300_elf_relax_section): Don't forget the + addend for non pc-relative relocations. + + * elf-m10300.c (bfd_elf32_mn10300_reloc): Remove prototype + for non-existent function. + + * elf-m10300.c (mn10300_elf_relax_section): New function. + (mn10300_elf_relax_delete_bytes): Likewise. + (mn10300_elf_symbol_address_p): Likewise. + (mn10300_elf_get_relocated_section_contents): Likewise. + (bfd_elf32_bfd_relax_section): Define. + (bfd_elf32_bfd_get_relocated_section_contents): Likewise. + +Mon Apr 7 16:47:09 1997 Ian Lance Taylor + + * configure.host: Set SHLIB_LIBS. + * configure.in: Substitute SHLIB_LIBS. + * configure: Rebuild. + * Makefile.in (SHLIB_LIBS): New variable. + ($(SHLIB)): Use $(SHLIB_LIBS). + +Mon Apr 7 10:53:52 1997 Michael Snyder + + * bfd-in.h bfd-in2.h: add bfd_section_lma macro to correspond + with bfd_section_vma. + +Fri Apr 4 11:37:15 1997 Ian Lance Taylor + + * configure.in: Update file names for bfd_elf32_mn10[23]00_vec. + Correct CPU file names for mn10[23]00. + * configure: Rebuild. + + * bfd.c (bfd_record_phdr): Cast count to size_t before + subtraction. + + * coff-ppc.c (dump_toc): Add cast to avoid warning from SunOS cc. + * coff-rs6000.c (xcoff_read_ar_hdr): Likewise. + (xcoff_write_archive_contents): LIkewise. + * elf32-mips.c (_bfd_mips_elf_set_section_contents): Likewise. + (mips_elf_create_procedure_table): Likewise. + * peicode.h (pe_print_idata): Likewise. + (pe_print_edata, pe_print_pdata, pe_print_reloc): Likewise. + * xcofflink.c (xcoff_get_section_contents): Likewise. + (_bfd_xcoff_canonicalize_dynamic_symtab): Likewise. + (xcoff_link_add_symbols): Likewise. + (xcoff_link_add_symbols): Likewise. + + * ppcboot.c (ppcboot_set_arch_mach): Make static. + (ppcboot_bfd_print_private_bfd_data): Likewise. + + * elf32-mips.c (elf_mips_ctor64_howto): Set complain_on_overflow + to complain_overflow_signed. + +Thu Apr 3 11:51:54 1997 Ian Lance Taylor + + * VERSION: Set to 2.8.1. + + * Branched binutils 2.8. + + * elf32-ppc.c (ppc_elf_check_relocs): Don't check SEC_ALLOC when + deciding whether to copy a reloc into a shared object. + (ppc_elf_relocate_section): Likewise. Relocate R_PPC_RELATIVE + relocs in unallocated sections. + * elf32-sparc.c (elf32_sparc_relocate_section): Relocate + R_SPARC_RELATIVE relocs in unallocated sections. + +Wed Apr 2 16:19:41 1997 Mike Meissner + + * elf32-ppc.c (ppc_elf_check_relocs): Undo March 26 change and + always create got section so that the _GLOBAL_OFFSET_TABLE_ label + is always created. + +Wed Apr 2 10:49:07 1997 Ian Lance Taylor + + * elflink.h (elf_link_add_object_symbols): Let a common symbol + override an uninitialized symbol from a shared library with a + smaller size. + + * elf-m10200.c: Rename from elf32-mn10200.c. + * elf-m10300.c: Rename from elf32-mn10300.c. + * cpu-m10200.c: Rename from cpu-mn10200.c + * cpu-m10300.c: Rename from cpu-mn10300.c + * Makefile.in: Update accordingly. + + * elf32-mips.c (elf_mips_ctor64_howto): New static variable. + (elf_mips_isa): Move to earlier in file. + (mips_reloc_map): Remove BFD_RELOC_CTOR entry. + (bfd_elf32_bfd_reloc_type_lookup): Handle BFD_RELOC_CTOR + specially. + + * elf32-mips.c (mips16_jump_reloc): Print a warning rather than + calling abort. + +Tue Apr 1 16:18:05 1997 Klaus Kaempf + + * configure.com: New file. + * config.h-vms: Remove file. + * makefile.vms: Update for new configure scheme. + +Mon Mar 31 23:28:39 1997 H.J. Lu + + * libcoff-in.h (ppc_allocate_toc_section): Declare. + (ppc_process_before_allocation): Declare. + * libcoff.h: Rebuild. + + * coffcode.h (coff_mkobject_hook): Declare if not a macro. + +Mon Mar 31 16:29:50 1997 Joel Sherrill + + * config.bfd (hppa*-*-rtems*): New target, like hppa-*-*elf*. + +Mon Mar 31 16:11:35 1997 Ian Lance Taylor + + * coff-a29k.c (coff_a29k_relocate_section): Don't use symndx as a + symbol index for a R_IHCONST reloc. + +Mon Mar 31 15:40:59 1997 Philippe De Muyter + + * targmatch.sed: Do not use \(\) recursively. + +Fri Mar 28 14:44:08 1997 H.J. Lu + + * m68klinux.c (MACHTYPE_OK): Define. + * i386linux.c (MACHTYPE_OK): Define. + +Fri Mar 28 11:56:15 1997 Ian Lance Taylor + + From David S. Miller and H.J. Lu + : + * sparclinux.c: New file. + * bfd-in.h (bfd_sparclinux_size_dynamic_sections): Declare. + * bfd-in2.h: Rebuild. + * config.bfd (sparc-*-linuxaout*, sparc-*-linux*): New targets. + * configure.in (sparclinux_vec): Add to list of vectors. + * configure: Rebuild. + * targets.c (sparclinux_vec): Declare. + (bfd_target_vector): Add sparclinux_vec. + * Makefile.in: Rebuild dependencies. + (BFD32_BACKENDS): Add sparclinux.o. + (BFD32_BACKENDS_CFILES): Add sparclinux.c. + + * coff-mips.c (mips_ecoff_backend_data): Initialize new + bfd_coff_backend_data field. + * coff-alpha.c (alpha_ecoff_backend_data): Likewise. + + * config.bfd: Add bfd_elf64_{big,little}mips_vec to targ_selvecs + for mips*el*-*-linux* and mips*-*-linux*. From H.J. Lu + and Ralf Baechle . + + * bfd.c: Include "libiberty.h". + (strerror): Don't declare. + (bfd_errmsg): Call xstrerror rather than strerror. + +Thu Mar 27 12:55:42 1997 Ian Lance Taylor + + * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Generate a COPY + reloc even if the symbol is in the .bss section. + * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise. + * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise. + * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise. + + * coffcode.h (bfd_coff_backend_data): Add new field + _bfd_coff_default_section_alignment_power. + (bfd_coff_default_section_alignment_power): Define. + (bfd_coff_std_swap_table): Initialize new field. + * libcoff.h: Rebuild. + * cofflink.c (coff_link_add_symbols): Limit alignment of a common + symbol to the default section alignment. + + * COPYING: Update FSF address. + +Wed Mar 26 14:50:20 1997 Ian Lance Taylor + + * elflink.c (_bfd_elf_create_linker_section): Don't set + bss_section and rel_section from existing sections. + + * elf32-ppc.c (ppc_elf_check_relocs): Only create the got section + if it is needed. + +Tue Mar 25 22:26:56 1997 Stu Grossman (grossman@critters.cygnus.com) + + * aoutx.h (some_aout_object_p): Change executable test to fix + problems with embedded a.out systems. + +Tue Mar 25 14:35:37 1997 Ian Lance Taylor + + * stabs.c (_bfd_stab_section_offset): New function. + * libbfd-in.h (_bfd_stab_section_offset): Declare. + * libbfd.h: Rebuild. + * elf32-i386.c (elf_i386_relocate_section): Adjust the offset of a + stab reloc. + * elf32-m68k.c (elf_m68k_relocate_section): Likewise. + * elf32-mips.c (mips_elf_relocate_section): Likewise. + * elf32-ppc.c (ppc_elf_relocate_section): Likewise. + * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. + * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. + + * stabs.c (_bfd_link_section_stabs): Copy over the first header + symbol. Check for memory allocation failure of *psinfo. + (_bfd_write_section_stabs): Add psinfo parameter. Change all + callers. Set the value of the header symbol. + * libbfd-in.h (_bfd_write_section_stabs): Update declaration. + * libbfd.h: Rebuild. + +Mon Mar 24 13:41:00 1997 Ian Lance Taylor + + * targmatch.sed: Use the hold space to put the #ifdef around the + the string constant. + * targets.c (UNSUPPORTED_TARGET): Don't define. + (find_target): Don't check for UNSUPPORTED_TARGET. + (bfd_set_default_target): Don't try to optimize by checking for + default. + + * Makefile.in: Rebuild dependencies. + (ALL_MACHINES_CFILES): Add cpu-m32r.c. + (BFD32_BACKENDS_CFILES): Add elf32-m32r.c. + (elf32-m32r.o): Remove explicit target. + + * config.bfd: Don't set targ_underscore for i[3456]86-*-gnu* or + i[3456]86-*-linux*. + + * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Don't + count section symbols for sections that were created by the + linker, or are not allocatable or not loadable. + (elf32_sparc_finish_dynamic_sections): Output output section + symbols for section for which we made space for them. + +Fri Mar 21 13:08:26 1997 Ian Lance Taylor + + * elf32-sparc.c (elf32_sparc_size_dynamic_sections): If there is + no .rela.plt section, don't output a DT_PLTGOT dynamic entry. + +Fri Mar 21 12:36:46 1997 Doug Evans + + * elf32-m32r.c (m32r_elf_howto_table): Use special function for LO16. + (m32r_hi16_list): New static local. + (m32r_elf_hi16_reloc): Don't perform reloc, just queue it up. + (m32r_elf_do_hi16_reloc): Delete. + (m32r_elf_relocate_hi16): New function. + (m32r_elf_lo16_reloc): New function. + (m32r_elf_relocate_section): For HI16 relocs, scan for corresponding + LO16 reloc. + + Mon Mar 10 16:03:31 1997 Doug Evans + + * elf32-m32r.c (m32r_elf_create_linker_section): Delete. + (m32r_elf_add_symbol_hook): Rewrite _SDA_BASE_ support. + (m32r_elf_final_sda_base): New function. + (m32r_elf_relocate_section): Rewrite sdata support. + (m32r_elf_finish_dynamic_sections): Delete. + +Thu Mar 20 12:39:02 1997 Ian Lance Taylor + + Based on patches from Philippe De Muyter . + * coff-svm68k.c: New file. Just defines some macros and includes + coff-m68k.c. + * coff-m68k.c: Add functions to handle common addends, moved in + from cf-m68klynx.c. Control them using COFF_COMMON_ADDEND macro. + Control whether relocs are visible using STATIC_RELOCS. + * cf-m68klynx.c: Simplify greatly: just define macros to control + coff-m68k.c. + * coff-aux.c: Likewise. Just leave add_one_symbol routine. + * targets. (m68ksysvcoff_vec): Declare. + (bfd_target_vector): Add m68ksysvcoff_vec. + * config.bfd (m68*-motorola-sysv*): New target. + * configure.in (m68ksysvcoff_vec): New vector. + * configure: Rebuild. + * Makefile.in: Rebuild dependencies. + (BFD32_BACKENDS): Add coff-svm68k.o. + (BFD32_BACKENDS_CFILES): Add coff-svm68k.c. + + * binary.c (binary_set_section_contents): Don't get misled if the + first section is not loadable. From Matthew L. Martin + . + + * elflink.h (elf_bfd_final_link): Set the value of a section + symbol to the section address unless doing a relocateable link. + +Tue Mar 18 23:03:17 1997 Richard Henderson + + * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't create + .plt entry if we've taken the function's address. + (elf64_alpha_merge_gots): Merge collected flags info as well. + +Tue Mar 18 22:40:09 1997 H.J. Lu + + * Many files: Add function prototypes. + * cpu-m68k.c (bfd_default_scan_num_mach): Don't declare. + * ecofflink.c: Include "libcoff.h" and "libecoff.h". + * elf32-ppc.c (ppc_elf_fake_sections): Make static. + * opncls.c (bfd_openstreamr): Change stream parameter to PTR. + * peicode.h: Change several void * parameters to PTR. + * srec.c (srec_get_symbol_info): Make static. + * syms.c (bfd_symbol_is_absolute): Remove. + * Makefile.in: Rebuild dependencies. + +Tue Mar 18 12:58:08 1997 Ian Lance Taylor + + * elf32-m32r.c (m32r_elf_is_local_label_name): Remove. + (bfd_elf32_bfd_is_local_label): Don't define. + + * xcofflink.c (_bfd_xcoff_bfd_final_link): Call bfd_malloc rather + than malloc. + +Mon Mar 17 11:32:53 1997 Ian Lance Taylor + + * bfd-in.h: Don't include obstack.h. + (struct bfd_hash_table): Change memory field to PTR. + * bfd.c (struct _bfd): Change memory field to PTR. + * bfd-in2.h: Rebuild. + * libbfd-in.h (bfd_release): Declare as function, don't define as + macro. + * libbfd.h: Rebuild. + * opncls.c: Include "objalloc.h" rather than "obstack.h". Use + objalloc routines rather than obstack routines. + (obstack_chunk_alloc, obstack_chunk_free): Don't define. + (getpagesize): Don't define. + (_bfd_new_bfd): Don't set _bfd_chunksize. + (bfd_openr): Free new bfd and objalloc on failure. + (bfd_fdopenr, bfd_openstreamr, bfd_openw): Likewise. + (bfd_alloc_size): Remove. + (bfd_release): New function. + * hash.c: Include "objalloc.h" rather than "obstack.h". Use + objalloc routines rather than obstack routines. + (obstack_chunk_alloc, obstack_chunk_free): Don't define. + * ecofflink.c: Include "objalloc.h" rather than "obstack.h". Use + objalloc routines rather than obstack routines. + (obstack_chunk_alloc, obstack_chunk_free): Don't define. + (struct accumulate): Change memory to struct objalloc *. + * liboasys.h (oasys_data_type): Remove oasys_obstack field. + * dep-in.sed: Don't remove obstack.h from dependency list. + * Makefile.in: Rebuild dependencies. + (BFD_H_DEPS): Remove obstack.h. + (install): Don't install obstack.h. + * Many files: Don't include "obstack.h". + * VERSION: Bump. + + * opncls.c (bfd_alloc_grow, bfd_alloc_finish): Remove. + * libbfd-in.h (bfd_alloc_grow, bfd_alloc_finish): Don't declare. + * libbfd.h: Rebuild. + * ieee.c (ieee_archive_p): Rewrite to not use bfd_alloc_grow. + * sunos.c (sunos_add_dynamic_symbols): Likewise. + * srec.c (srec_scan): Rewrite to not use obstack_1grow. + + * opncls.c (bfd_alloc): Rename from bfd_alloc_by_size_t. Remove + old version of bfd_alloc. + * libbfd-in.h (bfd_alloc_by_size_t): Don't declare. + * libbfd.h: Rebuild. + * Several files: Call bfd_alloc rather than bfd_alloc_by_size_t. + +Sat Mar 15 15:24:18 1997 Ian Lance Taylor + + * elf32-mips.c (mips_elf_is_local_label_name): Accept the generic + ELF local label syntax as well. + +Sat Mar 15 10:16:42 1997 Fred Fish + + * config.bfd (powerpc-*-beos*): New target. + * configure.in (powerpc-*-beos*): Add case that explicitly + does not set COREFILE for now. A future BeOS version is + expected to support core files. + * configure: Regenerate with autoconf. + +Fri Mar 14 16:43:22 1997 Ian Lance Taylor + + * elf32-mips.c (mips_elf_check_relocs): Give an error if CALL16 is + seen with a local symbol, rather than crashing. + + * elfcode.h (elf_slurp_symbol_table): Don't try to read the + version symbols if there aren't any. + +Thu Mar 13 14:08:53 1997 Ian Lance Taylor + + * elflink.h (elf_link_add_object_symbols): Don't warn about type + or size changes because of a weak symbol. + + * cisco-core.c (SIGEMT): Define if not defined. + +Wed Mar 12 21:36:05 1997 Ian Lance Taylor + + * elflink.h (elf_link_add_object_symbols): Use extsymoff when + setting ever. Sanity check the version number. Sort out copying + flags and other information when adding an indirect symbol. + (NAME(bfd_elf,size_dynamic_sections)): Preserve any dynamic + symbols added by the backend. Clear the entire contents of the + versym section. + (elf_export_symbol): Ignore indirect symbols. + (elf_link_output_extsym): Accept a section without an owner in an + assert. + * elfcode.h (elf_slurp_symbol_table): Add a sanity check on the + version count. Correct the allocation of x_versymp. + + * elf32-mips.c (mips_elf_add_symbol_hook): Don't set the owner of + the magic sections used for SHN_MIPS_TEXT and SHN_MIPS_DATA. + Don't return bfd_und_section_ptr when info->shared. + (mips_elf_final_link): Set the alignment of .rtproc to 4, not 12. + (mips_elf_create_dynamic_sections): Correct type: ^= for &=. + (mips_elf_check_relocs): Resolve an indirect symbol in + sym_hashes. + (mips_elf_finish_dynamic_symbol): Don't change SHN_ABS into + SHN_MIPS_TEXT or SHN_MIPS_DATA. + + * elf.c (bfd_elf_print_symbol): Tweak version output slightly. + +Tue Mar 11 01:38:36 1997 Ian Lance Taylor + + From Eric Youngdale : + * elf-bfd.h (ELF_LINK_FORCED_LOCAL): Define. + * elf.c (bfd_elf_print_symbol): Correct errors in last change. + * elflink.h (elf_link_add_object_symbols): Handle cases in which a + versioned symbol appears in both a regular and a shared object. + (elf_link_assign_sym_version): Set ELF_LINK_FORCED_LOCAL when + appropriate. Improve error message. + (struct elf_outext_info): Rename from elf_finfo_failed. Change + all uses. Add localsyms field. + (elf_bfd_final_link): When generating a shared library, call + elf_link_output_extsym to output all local symbols. + (elf_link_output_extsym): Handle symbols which were forced to + become local. + +Sun Mar 9 23:08:49 1997 Ian Lance Taylor + + From Eric Youngdale : + * elf-bfd.h (elf_symbol_type): Add version field. + * elfcode.h (elf_slurp_symbol_table): Set version field. + * elflink.h (elf_link_add_object_symbols): When creating an + indirect symbol for a default version symbol, set DEF_DYNAMIC if + appropriate. Set up an indirection from the nondefault version of + the symbol as well. + (NAME(bfd_elf,size_dynamic_sections)): Call + elf_link_assign_sym_version before checking whether there are any + versions. Always record the version name as a dynamic symbol. + Initialize counters. + (elf_link_assign_sym_version): After finding a version, see if a + symbol should be forced to local scope. Create a new version + definition if appropriate. + (elf_link_output_extsym): Correct indirect symbol handling. + * elf.c (bfd_elf_print_symbol): Print version information. + (bfd_section_from_shdr): Turn version sections into BFD sections. + (elf_fake_sections): Only copy cverdefs and cverrefs into sh_info + if sh_info is not already set. + (_bfd_elf_copy_private_section_data): Copy sh_info for version + sections. + * elflink.c (_bfd_elf_link_record_dynamic_symbol): Tell + _bfd_stringtab_add to copy the name into permanent memory if + appropriate. + +Fri Mar 7 11:55:31 1997 H.J. Lu + + * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Fully parenthesize. + +Fri Mar 7 10:37:30 1997 Ian Lance Taylor + + * coffcode.h (bfd_coff_backend_data): Change + _bfd_coff_compute_section_file_positions to return a boolean + value. Change all callers. + (coff_compute_section_file_positions): Change return type to + boolean. If the size of the last section changed, then output a + zero byte at the end of the file. + * libcoff.h: Rebuild. + + * xcofflink.c (_bfd_xcoff_bfd_final_link): Always allocate space + for at least 6 output symbols. + (xcoff_write_global_symbol): When emitting TOC entry relocs, also + emit a TC csect to represent the space they take up. For an XO + symbol, just emit a reference, not a csect. + + * Makefile.in ($(SHLINK)): Just use ln -s, not ln -sf, since + Solaris doesn't like the combined options, and the -f is + unnecessary. + (stamp-tshlink, install): Likewise. + + * elf32-mips.c (mips_elf_relocate_section): Correct R_MIPS16_26 + handling when little endian. + +Thu Mar 6 13:51:51 1997 Jeffrey A Law (law@cygnus.com) + + * elf32-mn10300.c (mn10300_elf_final_link_relocate): New function. + (mn10300_elf_relocate_section): Likewise. + (elf_backend_relocate_section): Define. + + * elf32-mn10300.c (reloc_type): Remove PCREL{8,16,32}_{1,2}BYTE + relocs. Replace them with generic PCREL_{8,16,32} relocs. + (elf32_mn10300_howto_table): Likewise. + (elf32_mn10300_reloc_map): Likewise. + (bfd_elf32_mn10300_reloc): Delete unused function. + +Thu Mar 6 12:19:59 1997 Fred Fish + + * coffcode.h (coff_slurp_reloc_table): Pull duplicate declarations and + code fragment out of both legs of #ifdef RELOC_PROCESSING ... #endif + block. Use NULL for initializations of "ptr" rather than bare 0. + * coff-h8300.c: Fix typo in comment. + * coff-h8500.c: Ditto. + * coff-w65.c: Ditto + * coff-z8k.c: Ditto. + +Wed Mar 5 13:59:09 1997 Doug Evans + + * elf32-m32r.c (m32r_elf_do_10_pcrel_reloc): Fix overflow calc. + (m32r_elf_relax_section, m32r_elf_relax_delete_bytes, + m32r_elf_get_relocated_section_contents): First pass at relax support. + +Mon Mar 3 13:27:09 1997 Ulrich Drepper + + * elflink.h (elf_link_add_object_symbols): Use correct sh_size + entry for reading verdef records. + Use correct braces for computing increments of extverdaux and + exteverdef record pointers. + +Sun Mar 2 16:25:35 1997 Ian Lance Taylor + + * elflink.h (elf_link_find_version_dependencies): Check that + DEF_REGULAR is not set as well as checking that DEF_DYNAMIC is + set. + +Fri Feb 28 15:06:45 1997 Ian Lance Taylor + + * targets.c (bfd_default_vector): Make non-const. + (find_target): New static function, broken out of + bfd_find_target. + (bfd_set_default_target): New function. + (bfd_find_target): Call find_target. When defaulting, use + bfd_default_vector[0] if it is not NULL. + * libbfd-in.h (bfd_default_vector): Adjust declaration. + * bfd-in2.h, libbfd.h: Rebuild. + + * syms.c (bfd_is_local_label): Return false if the symbol has no + name. + * coff-i960.c (coff_i960_is_local_label_name): New function. + (coff_bfd_is_local_label_name): Define. + * coff-m68k.c (m68k_coff_is_local_label_name): New function. + (coff_bfd_is_local_label_name): Define. + * coff-rs6000.c (xcoff_is_local_label_name): New function. + (coff_bfd_is_local_label_name): Define. + * elf.c (_bfd_elf_is_local_label_name): Treat symbols beginning + with .. or _.L_ as local. + * elf32-i386.c (elf_i386_is_local_label_name): New function. + (bfd_elf32_bfd_is_local_label_name): Define. + * evax-alpha.c (evax_bfd_is_local_label_name): Treat symbols + beginning with $ as local. + +Thu Feb 27 18:36:23 1997 Ian Lance Taylor + + * aoutx.h (aout_link_write_symbols): Use bfd_is_local_label_name + rather than comparing against info->lprefix. + * cofflink.c (_bfd_coff_link_input_bfd): Likewise. + * elflink.h (elf_link_input_bfd): Likewise. + * linker.c (_bfd_generic_link_output_symbols): Likewise. + * xcofflink.c (xcoff_link_input_bfd): Likewise. + + * elfxx-target.h (bfd_elfNN_bfd_is_local_label_name): Define as + _bfd_elf_is_local_label_name if not already defined. + * elf.c (_bfd_elf_is_local_label_name): New function. + * elf-bfd.h (_bfd_elf_is_local_label_name): Declare. + + * coff-m88k.c (coff_bfd_is_local_label_name): Define. + (m88k_is_local_label_name): New static function. + + * coffcode.h (coff_bfd_is_local_label_name): Define as + _bfd_coff_is_local_label_name if not already defined. + * coffgen.c (_bfd_coff_is_local_label_name): New function. + * libcoff-in.h (_bfd_coff_is_local_label_name): Declare. + * libcoff.h: Rebuild. + + * targets.c (BFD_JUMP_TABLE_SYMBOLS): Change _bfd_is_local_label + to _bfd_is_local_label_name. + (bfd_target): Likewise. + * syms.c (bfd_is_local_label): Define as function, not macro. + (bfd_is_local_name): Define. + * libbfd.c (bfd_generic_is_local_label_name): Rename from + bfd_generic_is_local_label, and take a string rather than a + symbol. + * libbfd-in.h (_bfd_nosymbols_bfd_is_local_label): Don't define. + (_bfd_nosymbols_bfd_is_local_label_name): Define. + (bfd_generic_is_local_label): Don't declare. + (bfd_generic_is_local_label_name): Declare. + * bfd-in2.h, libbfd.h: Rebuild. + * All backends: Change local_label to local_label_name. + + * elf32-mips.c (struct mips_got_info): Add assigned_gotno field. + (mips_elf_relocate_got_local): Change return type to boolean. + Don't assume that the first zero entry is unassigned; instead, use + assigned_gotno. + (mips_elf_relocate_section): Check return value of + mips_elf_relocate_got_local. + (mips_elf_create_got_section): Initialize assigned_gotno field. + +Wed Feb 26 13:33:03 1997 Ian Lance Taylor + + * elflink.h (elf_link_input_bfd): Don't skip symbols from sections + that have no contents merely because linker_mark is not set. + +Tue Feb 25 18:51:35 1997 Stan Shebs + + * config.bfd (mips*-*-lnews*): New target. + * coff-mips.c (mips_relocate_section): Make assert compare + content byteorder instead of header byteorder. + (ecoff_biglittle_vec): New BFD, big-endian headers, little-endian + data. + * targets.c (bfd_target_vector): Add ecoff_biglittle_vec. + * configure.in (ecoff_biglittle_vec): Add case. + * configure: Update. + +Tue Feb 25 00:32:49 1997 Ian Lance Taylor + + * elf.c (elf_fake_sections): Use SHT_NOTE for any section whose + name begins with ".note". + (map_sections_to_segments): Add a PT_NOTE segment for any loadable + section whose name begins with ".note". + (get_program_header_size): Corresponding change. + + * elf32-mips.c (mips_elf_relocate_section): Check for misaligned + jal and for jal overflow. + +Mon Feb 24 17:53:14 1997 Ian Lance Taylor + + From Eric Youngdale : + * elflink.h (elf_link_add_archive_symbols): If a default symbol is + not found, try looking it up again without the version name. + (elf_link_add_object_symbols): Always link against the dynamic + symbol table of a dynamic object. When linking against a dynamic + object, include version strings in symbol names, and set up + version information. Add indirect symbols for default versions. + (elf_link_create_dynamic_sections): Add special version sections. + (struct elf_assign_sym_version_info): Define. + (struct elf_find_verdep_info): Define. + (NAME(bfd_elf,size_dynamic_sections)): Add verdefs parameter. Set + up version sections. + (elf_adjust_dynamic_symbol): Ignore indirect symbols. + (elf_link_find_version_dependencies): New static function. + (elf_link_assign_sym_version): New static function. + (elf_link_renumber_dynsyms): New static function. + (struct elf_final_link_info): Add symver_sec field. + (elf_bfd_final_link): Initialize finfo.symver_sec. Don't count + local symbols of a dynamic object. Handle DT_VER* constants. + (elf_link_output_extsym): Simplify BFD_ASSERT checking for a + dynamic object. Skip indirect symbols from ELF objects. Remove + the version name before choosing a hash bucket. Write out the + version information if appropriate. + (elf_link_input_bfd): Check for DYNAMIC, not ET_DYN. + * bfd-in.h (bfd_elf32_size_dynamic_sections): Update declaration. + (bfd_elf64_size_dynamic_sections): Likewise. + * bfd-in2.h: Rebuild. + * elf-bfd.h (struct elf_link_hash_entry): Add verinfo field. + Change elf_link_hash_flags to unsigned short. + (ELF_LINK_HIDDEN): Define. + (struct elf_obj_tdata): Add fields dynversym_hdr, dynverref_hdr, + dynverdef_hdr, dynversym_section, dynverdef_section, + dynverref_section, cverdefs, cverrefs, verdef, verref. + (elf_dynversym, elf_dynverdef, elf_dynverref): Define. + (_bfd_elf_swap_verdef_in, _bfd_elf_swap_verdef_out): Declare. + (_bfd_elf_swap_verdaux_in, _bfd_elf_swap_verdaux_out): Declare. + (_bfd_elf_swap_verneed_in, _bfd_elf_swap_verneed_out): Declare. + (_bfd_elf_swap_vernaux_in, _bfd_elf_swap_vernaux_out): Declare. + (_bfd_elf_swap_versym_in, _bfd_elf_swap_versym_out): Declare. + (_bfd_elf_slurp_version_tables): Declare. + * elf.c (_bfd_elf_swap_verdef_in): New function. + (_bfd_elf_swap_verdef_out): Likewise. + (_bfd_elf_swap_verdaux_in, _bfd_elf_swap_verdaux_out): Likewise. + (_bfd_elf_swap_verneed_in, _bfd_elf_swap_verneed_out): Likewise. + (_bfd_elf_swap_vernaux_in, _bfd_elf_swap_vernaux_out): Likewise. + (_bfd_elf_swap_versym_in, _bfd_elf_swap_versym_out): Likewise. + (_bfd_elf_print_private_bfd_data): Add DT_VER* constants. Print + version information if there is any. + (_bfd_elf_link_hash_newfunc): Initialize verinfo field. + (bfd_section_from_shdr): Handle SHT_GNU_ver* section types. + (elf_fake_sections): Handle .gnu.version* section names. + (assign_section_numbers): Handle SHT_GNU_ver* section types. + (_bfd_elf_slurp_version_tables): New function. + * elflink.c (_bfd_elf_link_record_dynamic_symbol): Don't include + version name in string entered in dynamic hash table. + * elfcode.h: Include fnmatch.h. + * elf32-i386.c (elf_i386_relocate_section): Handle a dynamic + symbol which was forced to become local. + * elf32-m68k.c (elf_m68k_relocate_section): Likewise. + * elf32-ppc.c (ppc_elf_relocate_section): Likewise. + * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. + * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise. + +Fri Feb 21 16:15:18 1997 Jeffrey A Law (law@cygnus.com) + + * elf32-mn10200.c (mn10200_elf_final_link_relocate): Simplify + somewhat. + (mn10200_elf_relax_section): Correctly compute a symbol's value + when the symbol is local, but not in the same section as we are + relaxing. Implement abs24 -> abs16, imm24 -> imm16 and d24 -> d16 + relaxing. + +Fri Feb 21 13:55:14 1997 Doug Evans + + * elf32-m32r.c: Rewrite to use ELF backend linker. + Store lower 16 bits of addend in R_M32R_HI16_[SU]LO insns. + Add small data area support (R_M32R_SDA16). + * reloc.c: Document BFD_RELOC_M32R_SDA16. + * bfd-in2.h,libbfd.h: Regenerated. + +Thu Feb 20 23:50:31 1997 Jeffrey A Law (law@cygnus.com) + + * elf32-mn10200.c (mn10200_elf_relax_section): New function. + (mn10200_elf_relax_delete_bytes): Likewise. + (mn10200_elf_symbol_address_p): Likewise. + (mn10200_elf_get_relocated_section_contents): Likewise. + (bfd_elf32_bfd_relax_section): Define. + (bfd_elf32_bfd_get_relocated_section_contents): Likewise. + + * elf32-mn10200.c (mn10200_elf_final_link_relocate): New function. + (mn10200_elf_relocate_section): Likewise. + (elf_backend_relocate_section): Define. + +Tue Feb 18 15:31:48 1997 Fred Fish + + * reloc.c (struct reloc_howto_struct): Fix typo in comment. + * bfd-in2.h: Regenerated. + +Tue Feb 18 11:41:00 1996 Dawn Perchik + + * sysdep.h: Don't define errno in MSVC if error.h is included. + +Tue Feb 18 10:04:13 1997 Jeffrey A Law (law@cygnus.com) + + * elf32-v850.c (v850_elf_relocate_section): Make sure r_symndx + is initialized before it is used. + +Mon Feb 17 11:28:40 1997 Ian Lance Taylor + + * hp300hpux.c (convert_sym_type): Don't convert a secondary common + symbol into a weak undefined symbol; leave it as a common symbol. + +Fri Feb 14 19:08:03 1997 Ian Lance Taylor + + * elflink.h (elf_link_add_object_symbols): Don't issue a warning + about a symbol defined in a dynamic object if it has already been + defined in a regular object. + +Thu Feb 13 20:53:22 1997 Klaus Kaempf (kkaempf@progis.de) + + * makefile.vms: Add gcc flags to allow compiling with current gcc + snapshot + (targmatch.h): New dependency. + + * reloc.c (BFD_RELOC_ALPHA_CODEADDR): New relocation for + openVMS/Alpha. + * evax.h (ALPHA_R_CODEADDR): New relocation. + * evax-alpha.c (ALPHA_R_CODEADDR): 64 bit procedure relocation for + openVMS/Alpha. + * evax-etir.c (ALPHA_R_CODEADDR): Output object code for this + relocation. + * bfd-in2.h, libbfd.h: Rebuild. + + Restrict symbol length to 64 bytes, case preserving: + * evax-emh.c (_bfd_evax_write_emh): Remove case hacking. + * evax-misc.c (_bfd_evax_case_hack_symbol): Remove. + (_bfd_evax_length_hash_symbol): Added. + * evax-etir.c (_bfd_evax_write_etir): Call + _bfd_evax_length_hash_symbol before output of symbol. + * evax-egsd.c (_bfd_evax_write_egsd): Likewise. + * evax.h (flag_hash_long_names, flag_show_after_trunc): Remove. + + * evax-emh.c: Output filename to object file without path. + + * evax-egsd.c: New sections for local and global commons. + + * evax-alpha.c, evax-emh.c, evax-egsd.c, evax-etir.c, + evax-misc.c, evax.h: Remove 8 bit characters from copyright + notices. Replace AXP with Alpha. + +Wed Feb 12 18:10:30 1997 Ian Lance Taylor + + * sunos.c (sunos_create_dynamic_sections): We need the dynamic + sections if we are creating a shared library. + +Tue Feb 11 15:45:43 1997 Doug Evans + + * configure.host (i386-windows): Don't set host64=true. + +Tue Feb 11 15:27:32 1997 Ian Lance Taylor + + * elf32-mips.c (reloc_type): Add R_MIPS16_GPREL. + (elf_mips16_gprel_howto): New static variable. + (mips16_gprel_reloc): New static function. + (bfd_elf32_bfd_reloc_type_lookup): Handle BFD_RELOC_MIPS16_GPREL. + (mips_info_to_howto_rel): Handle R_MIPS16_GPREL. + (mips_elf_relocate_section): Handle R_MIPS16_GPREL. + * reloc.c (BFD_RELOC_MIPS16_GPREL): Define. + * bfd-in2.h, libbfd.h: Rebuild. + +Mon Feb 10 23:25:00 1997 Doug Evans + + * elf32-m32r.c (elf_m32r_howto_table): Change partial_inplace to true + for R_M32R_{16,32,24,HI16_ULO,HI16_SLO,LO16}. + +Fri Feb 7 12:39:11 1997 Ian Lance Taylor + + * elflink.h (elf_link_input_bfd): If we've discarded a section, + the output section will be the absolute section; don't print an + assertion message for that case when doing a relocateable link. + +Thu Feb 6 16:55:43 1997 Ian Lance Taylor + + * elf32-mips.c (FN_STUB, CALL_STUB, CALL_FP_STUB): Define. + (struct mips_elf_link_hash_entry): Add new fields fn_stub, + need_fn_sub, call_stub, and call_fp_stub. + (struct mips_elf_link_hash_table): Add field mips16_stubs_seen. + (mips_elf_link_hash_newfunc): Initialize new fields. + (mips_elf_link_hash_table_create): Likewise. + (mips_elf_relocate_section): Redirect relocations to use mips16 + stubs when appropriate. + (mips_elf_check_relocs): Attach stub sections to the appropriate + symbol. Set need_fn_stub when appropriate. + (mips_elf_always_size_sections): New static function. + (mips_elf_check_mips16_stubs): New static function. + (elf_backend_always_size_sections): Define. + * elf-bfd.h (struct elf_obj_tdata): Add local_stubs field. + + * elflink.h (elf_link_input_bfd): Discard local symbols that are + attached to sections which are not being included in the link. + +Wed Feb 5 13:20:17 1997 Ian Lance Taylor + + * cofflink.c (_bfd_coff_generic_relocate_section): Ignore the + symbol value when computing the addend for a pc_relative + pcrel_offset reloc. + +Mon Feb 3 11:54:06 1997 Ian Lance Taylor + + * cofflink.c (_bfd_coff_generic_relocate_section): If doing a + relocateable link, just skip pc_relative pcrel_offset relocs. + * coff-arm.c (coff_arm_rtype_to_howto): Return a different howto + structure for an ARM26 reloc which can be resolved. + (coff_arm_adjust_symndx): Only convert ARM26 to ARM26D if the + reloc can be resolved. + + * coff-h8300.c (h8300_reloc16_extra_cases): Correct off by one + error in overflow check for R_RELBYTE. + +Fri Jan 31 14:07:27 1997 Ian Lance Taylor + + * ieee.c (ieee_slurp_section_data): Pick up the start address. + From Mark Rasin . + + * aoutx.h (aout_link_write_symbols): Don't apply discard_l to + debugging symbols. + +Wed Jan 29 00:00:49 1997 Jeffrey A Law (law@cygnus.com) + + * elf32-mn10200.c (reloc_type): Add 16bit pc-relative reloc. + (elf_mn10200_howto_table): Likewise. + (mn10200_reloc_map): Likewise. + +Mon Jan 27 12:07:35 1997 Doug Evans + + * reloc.c: Add relocs BFD_RELOC_M32R_{HI16_[US]LO,LO16}. + * bfd-in2.h, libbfd.h: Regenerated. + * elf32-m32r.c: Add support for them. + +Mon Jan 27 12:25:02 1997 Ian Lance Taylor + + * aout-arm.c (MY_swap_std_reloc_in): Remove unused r_length. + * elf32-ppc.c (ppc_elf_check_relocs): Remove unused plt. + * elf32-v850.c (v850_elf_final_link_relocate): Remove used + r_format and r_pcrel. Always return a value. + * riscix.c (MY_final_link_callback): Define to dummy value. + + * elf32-i386.c (elf_i386_size_dynamic_sections): When checking for + relocations against the text segment, look up the output name of + the reloc section. + * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise. + * elf32-mips.c (mips_elf_size_dynamic_sections): Likewise. + * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise. + * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise. + * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Likewise. + +Thu Jan 16 17:45:57 1997 Ian Lance Taylor + + * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Change type of + auxiliary_filters parameter to be const char * const *. Accept a + NULL terminated array. + * bfd-in.h (bfd_elf32_size_dynamic_sections): Update declaration. + (bfd_elf32_size_dynamic_sections): Update declaration. + * bfd-in2.h: Rebuild. + +Wed Jan 15 11:21:32 1997 Ian Lance Taylor + + * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Treat a + NOTYPE symbol in a text section as a FUNC symbol. + + * coffcode.h (coff_compute_section_file_positions): Force + relocbase to be aligned to COFF_DEFAULT_SECTION_ALIGNMENT_POWER. + +Tue Jan 14 08:46:33 1997 Doug Evans + + * libaout.h (machine_type): Reserve several values for sparclet. + +Mon Jan 13 19:36:25 1997 Michael Meissner + + * elf32-v850.c (v850_elf_howto_table): Set the special_function + table to v850_elf_reloc for all non-standard relocations. + (v850_elf_check_relocs): Add check for h being non-null. + (v850_elf_reloc): Add R_V850_ZDA_OFFSET support. Use switch + statement instead of multiple ifs. + (v850_elf_relocate_section): Fix up error message, don't just call + abort. + +Mon Jan 6 13:28:35 1997 Jeffrey A Law (law@cygnus.com) + + * elf32-mn10200.c (elf_mn10200_howto): Don't ever set partial-inplace. + Use bfd_elf_generic_reloc as special function for all relocs. + (bfd_elf32_mn10200_reloc): Remove unnecessary function. + + * elf32-mn10200.c (elf_mn10200_howto): Set pcrel_offset for + 24bit pc-relative reloc. + +Fri Jan 3 16:54:08 1997 Jeffrey A Law (law@cygnus.com) + + * reloc.c: Add BFD_RELOC_24. + * elf32-mn10200.c (enum reloc_type): Add 24bit and pcrel relocs. + (elf_mn10200_howto, mn10200_reloc_map): Corresponding changes. + * bfd-in2.h, libbfd.h: Rebuilt. + +Fri Jan 3 16:58:31 1997 Richard Henderson + + elf64-alpha multiple .got rewrite: + + * elf-bfd.h (struct elf_backend_data): Add always_size_sections entry. + (bfd_elf*_mkobject): Don't define here ... + * elfxx-target.h: ... but rather here. Default always_size_sections + hook to NULL. + * elf.c (elf_mkobject): Rename to bfd_elf_mkobject, since that was + what the #defines in elf-bfd.h transmuted it to anyway. + + * section.c: Add SEC_LINKER_CREATED flag. + * bfd-in2.h: Rebuild. + * elf32-i386.c (elf_i386_check_relocs): Add SEC_LINKER_CREATED to + relocation section flags. + (elf_i386_size_dynamic_sections): Use SEC_LINKER_CREATED instead of + SEC_IN_MEMORY to recognize generated bits. + * elf32-m68k.c (elf_m68k_check_relocs, elf_m68k_size_dynamic_sections): + Likewise. + * elf32-mips.c (mips_elf_final_link, mips_elf_create_dynamic_sections, + mips_elf_create_compact_rel_section, mips_elf_create_got_section, + mips_elf_check_relocs, mips_elf_size_dynamic_sections): Likewise. + * elf32-ppc.c (ppc_elf_create_linker_section, + ppc_elf_size_dynamic_sections): Likewise. + * elf32-sparc.c (elf32_sparc_check_relocs, + elf32_sparc_size_dynamic_sections): Likewise. + * elflink.c (_bfd_elf_create_got_section): Add SEC_LINKER_CREATED to + section flags. + (_bfd_elf_create_dynamic_sections): Likewise. + (_bfd_elf_make_linker_section_rela): Likewise. + * elflink.h (elf_link_create_dynamic_sections): Likewise. + (bfd_elf,size_dynamic_sections): Call the always_size_sections hook. + (elf_bfd_final_link): Use SEC_LINKER_CREATED instead of SEC_IN_MEMORY + to identify generated bits. + (elf_link_input_bfd): Likewise. + + * elf64-alpha.c: Rewrite everything touching relocations. + +Fri Jan 3 11:42:53 1997 Michael Meissner + + * elf32-v850.c (all functions and static variables): Go through + and regularize names to be of the form v850_elf_. + (toplevel): Include . + (enum reloc_type): Move to include/elf/v850.h. + (v850_elf_check_relocs): For common variables, if the variable is + referenced by a R_V850_{SDA,ZDA,TDA} relocation, put the variable + into the appropriate section. + (elf_backend_check_relocs): Define. + +Tue Dec 31 15:15:28 1996 Michael Meissner + + * elf32-v850.c (elf_v850_howto_table): Fix some spacing. + +Tue Dec 31 14:44:50 1996 Ian Lance Taylor + + * config.bfd (mips*el-*-linux*): New target. + (mips*-*-linux*): New target. + + * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Clean up. + Return a useful value. + + * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE. + + * configure.in: Check ac_cv_func_mmap_fixed_mapped, not + ac_cv_func_mmap. + * configure: Rebuild. + * configure.host: Use ac_cv_func_mmap_fixed_mapped instead of + ac_cv_func_mmap in bfd/configure.host. + + * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Add + filter_shlib and auxiliary_filter_shlib parameters. + * elf.c (_bfd_elf_print_private_bfd_data): Handle DT_AUXILIARY and + DT_FILTER. + * bfd-in.h (bfd_elf32_size_dynamic_sections): Update declaration. + (bfd_elf64_size_dynamic_sections): Likewise. + * bfd-in2.h: Rebuild. + +Mon Dec 30 18:48:52 1996 Ian Lance Taylor + + * xcofflink.c (xcoff_build_ldsyms): When exporting all defined + symbols, don't export a symbol which is defined by an object in an + archive which contains shared objects. + +Mon Dec 30 11:54:56 1996 Ian Lance Taylor + + * libbfd.c: Patch up the mmap code so that it is only built if BFD + is configured with --with-mmap. + +Fri Dec 27 20:56:41 1996 Fred Fish + + * TODO: Correct a misspelling. + +Fri Dec 27 11:48:12 1996 H.J. Lu + + * elflink.h (elf_buckets): Add some more values for larger + binaries. + +Thu Dec 26 18:36:54 1996 Ian Lance Taylor + + * Makefile.in (install): Move subdir_do out of conditional. From + Fred Fish . + +Wed Dec 18 10:04:30 1996 Jeffrey A Law (law@cygnus.com) + + * elf32-mn10200.c (enum reloc_type): Enable basic 8, 16, and + 32 bit relocs. + (elf_mn10200_howto_table): Likewise. + (mn10200_reloc_map): Likewise. + +Tue Dec 17 11:09:36 1996 Ian Lance Taylor + + * elf32-mips.c (mips_elf_add_symbol_hook): Add 1 to the value of a + mips16 symbol during the link. + (mips_elf_finish_dynamic_symbol): Subtract 1 from the value of a + mips16 symbol. + (mips_elf_link_output_symbol_hook): New static function. + (elf_backend_link_output_symbol_hook): Define. + + * elf.c (bfd_elf_print_symbol): Print the st_other field if it is + not zero. + +Mon Dec 16 14:38:39 1996 Ian Lance Taylor + + * elf.c (bfd_section_from_shdr): Don't check for reloc sections + against SEC_DEBUGGING sections here (revert patch of December 5). + * elfcode.h (elf_object_p): Check for them here, instead. + +Sun Dec 15 14:46:06 1996 Ian Lance Taylor + + * elfcode.h (elf_slurp_reloc_table): Add dynamic parameter. + * elf.c (_bfd_elf_canonicalize_reloc): Pass new argument to + slurp_reloc_table. + (_bfd_elf_get_dynamic_reloc_upper_bound): New function. + (_bfd_elf_canonicalize_dynamic_reloc): New function. + * elf-bfd.h (struct elf_size_info): Update declaration of + slurp_reloc_table. + (_bfd_elf_get_dynamic_reloc_upper_bound): Declare. + (_bfd_elf_canonicalize_dynamic_reloc): Declare. + * elfxx-target.h: Use new dynamic reloc routines by default. + * elf64-mips.c (mips_elf64_slurp_reloc_table): Add dynamic + parameter. + +Fri Dec 13 13:18:49 1996 Dan Wilder + + * coffcode.h (coff_set_flags): Use MC68KBCSMAGIC for bfd_arch_m68k + if NAMES_HAVE_UNDERSCORE is defined. + +Fri Dec 13 11:13:23 1996 Doug Evans + + * libaout.h (enum machine_type): Change M_SPARCLET from 142 to 131. + +Thu Dec 12 15:07:20 1996 Michael Meissner + + * elf32-ppc.c (ppc_elf_check_relocs): Move R_PPC_PLTREL24 into the + supported relocs. + +Thu Dec 12 14:55:41 1996 Ian Lance Taylor + + * elflink.h (elf_link_add_object_symbols): Only add a weak + symbol if the real definition is in the dynamic symbol table. + After finding the real definition, then, if it is dynamic, add the + weak symbol to the dynamic symbol table. + + * coff-aux.c (coff_m68k_aux_link_add_one_symbol): Make static. + + * ppcboot.c (ppcboot_set_arch_mach): Don't define; it's a + function. + (ppcboot_bfd_print_private_bfd_data): Don't take the address of an + array. + +Tue Dec 10 23:23:52 1996 Jeffrey A Law (law@cygnus.com) + + * elf32-mn10300.c (reloc_type): Remove big endian mn10300 reloc + variants. + (elf32_mn10300_howto_table, mn10300_reloc_map): Likewise. + (bfd_elf32_mn10300_reloc): Write data in little endian format. + * reloc.c: Remove mn10300 big endian relocs. + * bfd-in2.h, libbfd.h: Rebuilt. + + * elf32-mn10200.c: Update from elf32-mn10300.c. + +Fri Dec 6 15:18:05 1996 Jeffrey A Law (law@cygnus.com) + + * elf32-mn10300.c (elf_symbol_leading_char): Define. + + * elf32-mn10300.c: Add some comments. + +Fri Dec 6 17:16:43 1996 Ian Lance Taylor + + * ihex.c (ihex_scan): Always initialize buf before jumping to + error_return. + (ihex_read_section): Likewise. + +Thu Dec 5 22:29:18 1996 Jeffrey A Law (law@cygnus.com) + + * elf32-mn10300.c (elf_mn10300_howto_table): Don't set partial- + inplace for most relocs. + +Thu Dec 5 13:24:46 1996 Ian Lance Taylor + + * elflink.h (elf_link_add_object_symbols): Calling check_relocs + even if SEC_ALLOC is not set. + * elf32-i386.c (elf_i386_check_relocs): Don't check SEC_ALLOC + when deciding whether to copy a reloc into a shared object. + (elf_i386_relocate_section): Likewise. + * elf32-sparc.c (elf32_sparc_check_relocs): Likewise. + (elf32_sparc_relocate_section): Likewise. + * elf32-i386.c (elf_i386_check_relocs): Don't set SEC_ALLOC in a + reloc section if it is not set in the source section. + * elf32-sparc.c (elf32_sparc_check_relocs): Likewise. + * elf.c (bfd_section_from_shdr): Mark a reloc section associated + with a SEC_DEBUGGING section as SEC_DEBUGGING. + +Wed Dec 4 14:18:13 1996 Michael Meissner + + * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): #if 0 code that + expects a .got.plt until we actually create it. + +Mon Dec 2 12:13:51 1996 Ian Lance Taylor + + * cofflink.c (_bfd_coff_generic_relocate_section): Print an error + message for bfd_reloc_outofrange, rather than aborting. From + Philippe De Muyter . + + * cofflink.c (_bfd_coff_final_link): If there aren't any relocs in + a relocateable link, don't try to process them. From Heinz Wrobel + . + +Mon Dec 2 00:39:24 1996 Jeffrey A Law (law@cygnus.com) + + * elf32-mn10300.c (mn10300_info_howto): Renamed from + mn10300_info_howto_rel. Tweak reloc argument to be an + Elf32_Internal_Rela. + (USE_RELA): Define instead of USE_REL. + (elf_info_to_howto, elf_info_howto_rel): Corresponding changes. + +Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * configure.in, configure: Handle mips*-sgi-irix6*. + * irix-core.c (irix_core_core_file_p): Accept CORE_MAGICN32 + core files. + +Wed Nov 27 12:10:25 1996 Ian Lance Taylor + + * elf32-i386.c (elf_i386_relocate_section): Warn about a + relocation against a symbol defined in a section with no output + section. + +Tue Nov 26 11:07:31 1996 Ian Lance Taylor + + * aclocal.m4 (BFD_CC_FOR_BUILD): Don't require AC_C_CROSS. + * configure, config.in: Rebuild with autoconf 2.12. + + * elf-bfd.h (struct elf_link_hash_entry): Add other field. + * elf.c (_bfd_elf_link_hash_newfunc): Initialize other field. + (swap_out_syms): Set st_other from existing st_other field. + * elflink.h (elf_link_add_object_symbols): Store st_other in hash + table other field. + (elf_link_output_extsym): Set the other field from the global hash + table entry. + * elf32-mips.c (enum reloc_type): Add R_MIPS16_26. + (elf_mips16_jump_howto): New static variable. + (mips16_jump_reloc): New static function. + (bfd_elf32_bfd_reloc_type_lookup): Handle BFD_RELOC_MIPS16_JMP. + (mips_info_to_howto_rel): Handle R_MIPS16_26. + (mips_elf_relocate_section): Handle R_MIPS16_26. Handle R_MIPS_26 + to a mips16 symbol. + * reloc.c (BFD_RELOC_MIPS16_JMP): Add to list of relocs. + * bfd-in2.h, libbfd.h: Rebuild. + * cpu-mips.c (arch_info_struct): Add mips:16 entry. + +Mon Nov 25 11:23:32 1996 Ian Lance Taylor + + * configure.host: Use long long for mips-sgi-irix6*. + + * coffswap.h (coff_swap_scnhdr_out): Make line number overflow + only a warning. From Philippe De Muyter . + +Mon Nov 25 08:52:29 1996 Jeffrey A Law (law@cygnus.com) + + * elf32-mn10300.c (bfd_elf32_mn10300_reloc): New function. + (enum reloc_type): Add more reloc types. + (elf32_mn10300_howto_table): Update for new reloc types. + (elf32_mn10300_reloc_map): Update for new reloc types. + * reloc.c: Add some new relocs for the mn10300 series. + * bfd-in2.h, libbfd.h: Rebuilt. + +Sat Nov 23 13:26:18 1996 Jeffrey A Law (law@cygnus.com) + + * som.c (setup_sections): Don't lose for a space which has + no data, but some symbols. + +Fri Nov 22 11:32:13 1996 Ian Lance Taylor + + * sunos.c (struct sunos_link_hash_table): Add got_needed field. + (sunos_link_hash_table_create): Initialize got_needed. + (sunos_create_dynamic_sections): Only set .got section size if it + is not already set. Set got_needed. + (bfd_sunos_size_dynamic_sections): Check got_needed. Only set + sdynptr, and only handle dynamic sections, if dynamic sections are + needed. + (sunos_scan_std_relocs): Pass false to create_dynamic_sections. + Initialize .got section. + (sunos_scan_ext_relocs): Likewise. + (sunos_write_dynamic_symbol): Set up PLT entry even if this is not + a dynamic symbol. + (sunos_finish_dynamic_link): Check got_needed. Only set up + dynamic linking information if needed. + +Thu Nov 21 10:31:31 1996 Rob Savoye (rob@cygnus.com) + + * config.bfd: Added VersaDOS format to the Ericsson configuration. + +Wed Nov 20 16:31:31 1996 Jeffrey A Law (law@cygnus.com) + + * elf32-mn10300.c: Rough cut at relocs for the mn10300. + +Wed Nov 13 08:12:38 1996 Jeffrey A Law (law@cygnus.com) + + * Makefile.in (elf32-d10v.o): Don't depend on elf/d10v.h + anymore. + +Tue Nov 12 13:30:00 1996 Dawn Perchik + + * filemode.c: Include sysdep.h. + * ihex.c: Add casts to eliminate compiler warnings. + * sunos.c: Add casts to eliminate compiler warnings. + +Mon Nov 11 10:37:02 1996 Michael Meissner + + * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Create .got.plt + section. + (ppc_elf_check_relocs): Add support for R_PPC_LOCAL24PC. Make + appropriate relocations in the .so file if shared. + (ppc_elf_relocate_section): Ditto. + +Tue Oct 29 15:03:02 1996 Doug Evans + + * elf32-m32r.c (elf_m32r_howto_table, R_M32R_24): Use + complain_overflow_unsigned. + +Tue Oct 29 12:53:46 1996 Martin M. Hunt + + * elf32-d10v.c (elf_d10v_howto_table): Don't complain on + overflows for R_D10V_16 and R_D10V_18. + +Tue Oct 29 13:23:53 1996 Ian Lance Taylor + + * ieee.c (ieee_write_section_part): Use LMA rather than VMA. + (do_with_relocs): Likewise. + (do_as_repeat): Likewise. + (copy_expression): Likewise. + +Fri Oct 25 16:56:40 1996 Ian Lance Taylor + + * ieee.c (ieee_write_external_part): Correctly record whether + there is an external part. + +Thu Oct 24 14:32:52 1996 Jeffrey A Law (law@cygnus.com) + + * elf32-v850.c (elf32_v850_bfd_final_link_relocate): Correctly + handle tda offsets for sld.w and sst.w instructions. + Fix alignment check in sld.w and sst.w tda reloc handling. + +Thu Oct 24 09:08:47 1996 Stu Grossman (grossman@critters.cygnus.com) + + * aclocal.m4, configure: Set USE_BINARY_FOPEN for *-*-windows. + +Wed Oct 23 00:53:16 1996 Jeffrey A Law (law@cygnus.com) + + * elf32-v850.c: Add comments about assumptions about + char, short & long sizes. + (elf32_v850_bfd_final_link_relocate): Fix sign extension + problems for several relocs. + + * elf32-v850.c (elf32_v850_howto_table): Fix typo in + R_V850_SDA_OFFSET entry. + +Wed Oct 23 00:20:34 1996 Ian Lance Taylor + + * xcofflink.c (bfd_xcoff_import_symbol): Don't allocate ldsym. + Store import file index in ldindx. + (xcoff_build_ldsyms): Assume that ldsym was not previously + allocated. For an imported symbol, copy ldindx into l_ifile. + +Tue Oct 22 19:20:38 1996 Jeffrey A Law (law@cygnus.com) + + * elf32-v850.c (elf_v850_howto_table): Fix ordering of + R_V850_ZDA_OFFSET and R_V850_TDA_OFFSET. Fix various + fields in R_V850_TDA_OFFSET. + (elf32_v850_bfd_final_link_relocate): Tweak pc-relative + relocs to work more like other relocs. Handle R_V850_TDA_OFFSET + relocations. + + * elf32-v850.c: Include bfdlink.h. + (bfd_elf32_v850_reloc): Return an error if we get a reloc + we can't handle. + (elf32_v850_bfd_final_link_relocate): New function. + (v850_elf_relocation_section): Likewise. + (elf_backend_relocate_section): Define. + +Tue Oct 22 17:22:43 1996 Ian Lance Taylor + + * binary.c (binary_set_section_contents): Ignore sections which + don't have SEC_LOAD and SEC_ALLOC set. + +Mon Oct 21 12:13:05 1996 Jeffrey A Law (law@cygnus.com) + + * linker.c (_bfd_generic_final_link): Avoid losing static + symbols in the .bss section. + +Mon Oct 21 10:54:58 1996 Ian Lance Taylor + + * elf32-mips.c (elf_mips_howto_table): Describe R_MIPS_64. + (mips32_64bit_reloc): New static function. + (mips_reloc_map): Add entry for BFD_RELOC_64. + (mips_elf_relocate_section): Handle R_MIPS_64. + + * linker.c (default_indirect_link_order): Print an error message + when attempting to do a relocateable link with different object + file formats, rather than calling abort. + +Thu Oct 17 10:43:29 1996 Doug Evans + + * reloc.c (m32r relocs): Rename them. + * bfd-in2.h, libbfd.h: Regenerated. + * elf32-m32r.c: Update. + (m32r_elf_10_pcrel_reloc): New function. + (elf_m32r_howto_table, R_M32R_10_PCREL entry): Use it. + (elf_m32r_howto_table, R_M32R_24 entry): Fix {src,dst}_masks. + +Wed Oct 16 11:24:35 1996 Jeffrey A Law (law@cygnus.com) + + * linker.c (_bfd_generic_final_link): Set "linker_mark" for + all sections that will be included in the output file. + (_bfd_generic_link_output_symbols): Discard symbols in sections + which are being discarded. + * elf32-v850.c (enum reloc_type): Add R_V850_SDA_OFFSET, + R_V850_TDA_OFFSET and R_V850_ZDA_OFFSET. + (elf_v850_howto_table): Corresponding changes. + (elf_v850_reloc_map): Corresponding changes. + * reloc.c: Add additional V850 relocations. + * bfd-in2.h, libbfd.h: Rebuilt. + + * elf32-v850.c (bfd_elf32_v850_reloc): Mask out bits we + no longer want in pc-relative relocs. + +Tue Oct 15 22:17:37 1996 Jeffrey A Law (law@cygnus.com) + + * elf32-v850.c (bfd_elf32_v850_reloc): Don't silently + accept a reloc against an undefined sybmol! + +Tue Oct 15 16:17:28 1996 Stu Grossman (grossman@critters.cygnus.com) + + * elf32-v850.c: Define elf_symbol_leading_char to be '_'. + +Tue Oct 15 12:40:41 1996 Ian Lance Taylor + + * VERSION: Bump for new relocation. + + * hosts/i386bsd.h: If NBPG is not defined, define it as + PAGE_SIZE, for recent versions of FreeBSD. + +Mon Oct 14 12:37:26 1996 Ian Lance Taylor + + * configure.host: Use `long long' as the 64 bit type on a Solaris + host, since both gcc and the SunPRO compilers support it. + +Mon Oct 14 11:17:24 1996 Richard Henderson + + * reloc.c: Create a new BFD_RELOC_ALPHA_ELF_LITERAL. It was a + mistake to have reused the ECOFF LITERAL for ELF since they have + different semantics. + * elf64-alpha.c (elf_reloc_map): Map from ELF_LITERAL. + * bfd-in2.h, libbfd.h: Rebuild. + + * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Trap .got + section overflow. + + * elf64-alpha.c (elf64_alpha_relocate_section): Do not emit a + dynamic relocation for an undefweak symbol when we are building + a static executable. + +Thu Oct 10 11:15:06 1996 Stan Shebs + + * mpw-make.sed (config.bfd, targmatch.sed): Edit references to + point explicitly to srcdir. + (targmatch.h): Edit references to point explicitly to objdir. + +Thu Oct 10 14:14:23 1996 Ian Lance Taylor + + * config.bfd: When setting targ_cpu, don't get confused by + linux-gnu. + +Tue Oct 8 08:51:19 1996 Stu Grossman (grossman@critters.cygnus.com) + + * configure.host: Add support for windows host (a build done + under the Microsoft build environment). + +Tue Oct 8 11:40:16 1996 Ian Lance Taylor + + * elflink.h (elf_link_add_object_symbols): If a symbol is a weak + definition in a dynamic object, add it to the dynamic symbol table + if any dynamic object mentions it. Reverts part of last patch. + + * sunos.c (struct sunos_link_hash_table): Add got_base field. + (sunos_link_hash_table_create): Initialize got_base. + (bfd_sunos_size_dynamic_sections): If the .got section is more + than 0x1000 bytes, set __GLOBAL_OFFSET_TABLE_ and got_base to + 0x1000. + (sunos_check_dynamic_reloc): Subtract got_base from a base + relative relocation. + + * elf32-mips.c (elf_mips_isa): New static function. + (_bfd_mips_elf_merge_private_bfd_data): Don't warn about linking + -mips1 and -mips2 code together, or -mips3 and -mips4 code. + +Mon Oct 7 11:44:17 1996 Ian Lance Taylor + + * archive.c (do_slurp_coff_armap): Only treat archive as little + endian for i960 COFF. + +Fri Oct 4 13:49:01 1996 Ian Lance Taylor + + * coffcode.h (coff_compute_section_file_positions): Adjust sofar + by the change in size of the section when EXEC_P is not set. + + * coff-m68k.c (coff_rtype_to_howto): Define if not defined. + (m68kcoff_rtype_to_howto): New static function. + * cf-m68klynx.c (coff_m68k_lynx_rtype_to_howto): Add the section + VMA to the addend for a PC relative reloc. + + * dep-in.sed: Rework backslash loop a bit to avoid bug in sed on + HP/UX 10.20. + * Makefile.in: Rebuild dependencies. + + * dep-in.sed: Remove ../bfd/sysdep.h, since it will appear when + som.h is included. + +Fri Oct 4 11:41:39 1996 Jeffrey A Law (law@cygnus.com) + + * Makefile.in: Remove explicit dependencies for mn10200 and + mn10300 files. + (ALL_MACHINE_CFILES): Add cpu-mn10200.c and cpu-mn10300.c. + (BFD32_BACKENDS_CFILES): Add elf32-mn10200.c and elf32-mn10300.c + (dependencies): Rebuilt. + +Thu Oct 3 16:57:51 1996 Ian Lance Taylor + + * cofflink.c (coff_link_add_symbols): Set obj_coff_keep_syms + during this function. + + * elflink.c (_bfd_elf_create_linker_section): Only use an existing + section if the flags are compatible. + + * configure.in: Add havevecs, and put it in tdefaults. + * mpw-config.in: Likewise. + * configure: Rebuild. + * targmatch.sed: New file; a sed script to build targmatch.h from + config.bfd. + * config.bfd: Add #if, #endif, and comments for targmatch.h. + * targets.c: Include "fnmatch.h". + (struct targmatch): Define. + (bfd_target_match): Define by including targmatch.h. + (bfd_find_target): If the target is not found by name, search for + it as a configuration triplet. + * Makefile.in: Rebuild dependencies. + (BFD32_BACKENDS): Add aout-arm.o, aout-sparcle.o, hp300bsd.o, + i386dynix.o, m68k4knetbsd.o, and riscix.o. + (BFD32_BACKENDS_CFILES): Add aout-arm.c, aout-sparcle.c, + hp300bsd.c, i386dynix.c, m68k4knetbsd.c, and riscix.c. + (HFILES): Add targmatch.h. Also, alphabetize and reindent. + (CFILES): Remove i386dynix.c and hp300bsd.c. + (targmatch.h): New target. + (do_clean): Remove targmatch.h. + + * configure.in: Add BFD_NEED_DECLARATION(getenv). + * acconfig.h: Add NEED_DECLARATION_GETENV. + * configure, config.in: Rebuild. + * sysdep.h: If NEED_DECLARATION_GETENV, declare getenv. + * aout-adobe.c (aout_adobe_object_p): Don't declare getenv. + +Thu Oct 3 09:29:09 1996 Jeffrey A Law (law@cygnus.com) + + * cpu-mn10x00.c, elf32-mn10x00: Removed. + * cpu-mn10200.c, cpu-mn10300.c: New files. + * elf32-mn10200.c, elf32-mn10300.c: New files. + * Makefile.in: Break mn10x00 support into two separate + configurations, mn10200 and mn10300. + * archures.c, config.bfd, configure.in, elf.c, targets.c: Likewise. + * bfd-in2.h, configure: Rebuilt. + +Thu Oct 3 15:38:19 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) + + * Makefile.in (do_clean): Move config.log to do_distclean. + +Wed Oct 2 21:40:55 1996 Jeffrey A Law (law@cygnus.com) + + * cpu-mn10x00.c, elf32-mn10x00.c: New files. + * Makefile.in (ALL_MACHINES): Add cpu-mn10x00.o. + (BFD32_BACKENDS): Similarly for elf32-mn10x00.o. + (elf32-mn10x00.o): Add dependencies. + * archures.c (enum bfd_architecture): Add bfd_arch_mn10x00. + (bfd_mn10x00_arch): Declare. + (bfd_archures_list): Add bfd_mn10x00_arch. + * config.bfd: Add mn10x00-*-*. + * configure.in: Add bfd_elf32_mn10x00_vec. + * elf.c (prep_headers): Handle bfd_arch_mn10x00. + * targets.c (bfd_elf32_mn10x00_vec): Declare. + (bfd_target_vector): Add bfd_elf32_mn10x00_vec. + * bfd-in2.h, configure: Rebuilt. + +Wed Oct 2 15:46:45 1996 Klaus Kaempf + + openVMS/Alpha: Provide filename and case_hack flags via + symbol table from gas. + Add case_hack code for symbol output from vax/vms. + * evax-alpha.c (evax_initialize): Remove filename handling, + filename is provided via symbol table. + (evax_get_symtab): Use local symbol count when setting up table. + * evax-egsd.c (_bfd_evax_slurp_egsd): Print correct name when + debugging. + (_bfd_evax_write_egsd): Skip file name symbol. + * evax-emh.c (get_vms_time_string): Local function now. + (_bfd_evax_write_emh): Extract source filename and case_hack flags + from symbol table. + * evax_write_etir (_bfd_evax_write_etir): Pass all symbol names + through _bfd_evax_case_hack_symbol. + * evax-misc.c (hash_string, _bfd_evax_case_hack_symbol): New + functions. + (_bfd_evax_basename): Removed. + (_bfd_get_vms_time_string): Moved to evax-emh.c. + * evax.h (evax_private_data_struct): Remove filename. + (flag_hash_long_names, flag_show_after_trunc, + flag_no_hash_mixed_case, vms_name_mapping): New flags for + vms_case_hack. + +Wed Oct 2 12:02:02 1996 Ian Lance Taylor + + * freebsd.h (N_GET_MAGIC_NET): Don't use ntohl. + (N_GETMID_NET, N_GETFLAG_NET): Likewise. + (NO_SWAP_MAGIC): Don't define. + (SWAP_MAGIC): Define. + + * cofflink.c (_bfd_coff_link_input_bfd): Don't crash if there is + no hash table entry for a global symbol. + +Tue Oct 1 16:14:22 1996 Joel Sherrill + + * config.bfd (mips*-*-rtems*): New target, like mips*-*-elf*. + +Tue Oct 1 12:31:39 1996 Ian Lance Taylor + + * cofflink.c (coff_link_add_symbols): Don't override a meaningful + symbol type with T_NULL. Warn if symbol type changes. Based on + patch from Philippe De Muyter . + + * elflink.h (elf_link_add_object_symbols): Only put a symbol from + a dynamic object in the dynamic symbol table if it is referenced + or defined by a regular object. + +Fri Sep 27 18:41:07 1996 Stu Grossman (grossman@critters.cygnus.com) + + * elf32-v850.c (bfd_elf32_v850_is_local_label): New function to + remove dwarf local labels. Shrinks binaries by a factor of 3! + +Mon Sep 23 13:33:00 1996 Ian Lance Taylor + + * elf32-ppc.c (ppc_elf_add_symbol_hook): Create the .sbss section + by hand, rather than by calling bfd_make_section. + +Mon Sep 23 09:23:41 1996 Doug Evans + + * reloc.c: Rename m32r relocs. + * bfd-in2.h, libbfd.h: Rebuilt. + * elf32-m32r.c: Update. + +Fri Sep 20 11:43:43 1996 Ian Lance Taylor + + * aoutx.h (aout_link_input_section_ext): When doing a relocateable + link, adjust the symbol index of a base relative reloc. Don't + change the addend of a PC relative reloc if pcrel_offset is set. + * sunos.c (bfd_sunos_size_dynamic_sections): Don't do anything for + a relocateable link. + + * reloc.c (bfd_perform_relocation): Apply the relocation even if + it is zero, in case src_mask matters. + (bfd_install_relocation): Likewise. + +Thu Sep 19 11:03:06 1996 Ian Lance Taylor + + * xcofflink.c (xcoff_link_add_symbols): Always initialize + keep_syms. + (_bfd_xcoff_bfd_final_link): Don't set target_index + to an uninitialized value. + +Tue Sep 17 14:18:31 1996 Ian Lance Taylor + + * coffcode.h (coff_slurp_line_table): Warn about illegal symbol + indices, rather than crashing. + (coff_slurp_reloc_table): Likewise. Check whether the howto field + is NULL. + * coff-sh.c (sh_relocate_section): Check for an illegal symbol + index. + +Mon Sep 16 12:39:36 1996 Ian Lance Taylor + + * coff-arm.c (aoutarm_std_reloc_howto): Change dst_mask for ARM26D + reloc to 0. + (coff_arm_adjust_symndx): New static function. + (coff_adjust_symndx): Define. + + * srec.c (srec_scan): Accept multiple symbols on a single line. + From Pascal Martin . + + * README: New file. + +Fri Sep 13 14:32:42 1996 Doug Evans + + * aoutf1.h (MY_bfd_merge_private_bfd_data): Define. + (sunos_merge_private_bfd_data): New function. + +Fri Sep 13 15:50:57 1996 Ian Lance Taylor + + * bfd.c (bfd_copy_private_bfd_data): Switch on output BFD rather + than input BFD. + (bfd_merge_private_bfd_data): Likewise. + * section.c (bfd_copy_private_section_data): Likewise. + * syms.c (bfd_copy_private_symbol_data): Likewise. + * bfd-in2.h: Rebuild. + * aout-target.h (MY_bfd_copy_private_section_data): Check that + both BFD's are the right flavour. + * ecoff.c (_bfd_ecoff_bfd_copy_private_bfd_data): Likewise. + * elf.c (_bfd_elf_copy_private_symbol_data): Likewise. + * elf32-mips.c (_bfd_mips_elf_copy_private_bfd_data): Likewise. + (_bfd_mips_elf_merge_private_bfd_data): Likewise. + * elf32-ppc.c (ppc_elf_copy_private_bfd_data): Likewise. + (ppc_elf_merge_private_bfd_data): Likewise. + * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Likewise. + * peicode.h (pe_bfd_copy_private_section_data): Likewise. + + * elf32-hppa.c (elf_hppa_howto_table): Fill in some fields for + R_PARISC_DIR32, so that _bfd_stab_section_find_nearest_line passes + its sanity check. + +Thu Sep 12 11:45:57 1996 Doug Evans + + * reloc.c: Add m32r relocs. + * bfd-in2.h, libbfd.h: Rebuilt. + * cpu-m32r.c,elf32-m32r.c: New files. + +Thu Sep 12 11:10:05 1996 Ian Lance Taylor + + * ieee.c (ieee_vec): Set symbol_leading_char field to '_'. + +Wed Sep 11 11:57:56 1996 Ian Lance Taylor + + * tekhex.c (first_phase): Change type parameter from char to int. + (out): Likewise. + (pass_over): Change func to expect int, not char. + + * elf.c (assign_file_positions_for_segments): Test SEC_ALLOC + rather than SEC_LOAD when aligning the file offset for the first + section in a segment. + +Tue Sep 10 16:18:30 1996 Fred Fish + + * syms.c (coff_section_type): Make arg const. + * irix-core.c (irix_core_core_file_p): Remove extraneous extra arg + to make_bfd_asection(). + * elf-bfd.h (bfd_section_from_phdr): Add prototype. + * elfcode.h (bfd_section_from_phdr): Remove prototype. + (_bfd_elf_stringtab_init): Remove prototype. + + * netbsd-core.c (swap_abort): Add prototype. + * aix386-core.c (swap_abort): Ditto & make static + * hpux-core.c (swap_abort): Ditto & make static. + * irix-core.c (swap_abort): Ditto & make static. + * ptrace-core.c (swap_abort): Ditto & make static. + * trad-core.c (swap_abort): Ditto & make static. + * coffswap.h (coff_swap_reloc_in): Ditto. + (coff_swap_reloc_out): Ditto. + (coff_swap_filehdr_in): Ditto. + (coff_swap_filehdr_out): Ditto. + (coff_swap_sym_in): Ditto. + (coff_swap_sym_out): Ditto. + (coff_swap_aux_in): Ditto. + (coff_swap_aux_out): Ditto. + (coff_swap_lineno_in): Ditto. + (coff_swap_lineno_out): Ditto. + (coff_swap_aouthdr_in): Ditto. + (coff_swap_aouthdr_out): Ditto. + (coff_swap_scnhdr_in): Ditto. + (coff_swap_scnhdr_out): Ditto. + * ihex.c (ihex_sizeof_headers): Ditto. + * tekhex.c (getsym): Ditto. + (find_chunk): Ditto & make static. + (insert_byte): Ditto. + (first_phase): Ditto. + (pass_over): Ditto. + (tekhex_get_symtab): Ditto & make static. + (tekhex_get_symtab_upper_bound): Ditto & make static. + (tekhex_mkobject): Ditto. + (tekhex_object_p): Ditto. + (move_section_contents): Ditto. + (tekhex_get_section_contents): Ditto. + (tekhex_set_arch_mach): Ditto & make static. + (tekhex_set_section_contents): Ditto. + (writevalue): Ditto. + (writesym): Ditto. + (out): Ditto. + (tekhex_write_object_contents): Ditto. + (tekhex_sizeof_headers): Ditto. + (tekhex_make_empty_symbol): Ditto. + (tekhex_get_symbol_info): Ditto. + (tekhex_print_symbol): Ditto. + * irix-core.c (make_bfd_asection): Ditto. + (irix_core_core_file_p): Ditto. + (irix_core_core_file_failing_command): Ditto. + (irix_core_core_file_failing_signal): Ditto. + (irix_core_core_file_matches_executable_p): Ditto. + (irix_core_make_empty_symbol): Ditto. + * coff-mips.c (mips_bfd_reloc_type_lookup): Ditto. + * srec.c (srec_new_symbol): Ditto. + (srec_get_section_contents): Ditto. + (srec_set_arch_mach): Ditto. + (srec_set_section_contents): Ditto. + (internal_srec_write_object_contents): Ditto. + (srec_write_object_contents): Ditto. + (symbolsrec_write_object_contents): Ditto. + (srec_sizeof_headers): Ditto. + (srec_make_empty_symbol): Ditto. + (srec_get_symtab_upper_bound): Ditto. + (srec_get_symtab): Ditto. + (srec_print_symbol): Ditto and make static. + * elf.c (elf_read): Ditto + (assign_section_numbers): Ditto. + (elf_fake_sections): Ditto. + (sym_is_global): Ditto. + (elf_map_symbols): Ditto. + (get_program_header_size): Ditto. + * coffgen.c (make_a_section_from_file): Ditto. + (coff_real_object_p): Ditto. + (fixup_symbol_value): Ditto. + (build_debug_section): Ditto. + (copy_name): Ditto. + * syms.c (coff_section_type): Ditto. + +Mon Sep 9 22:36:01 1996 Jeffrey A Law (law@cygnus.com) + + * bfd-in2.h: Rebuilt after m32r changes. + +Mon Sep 9 12:31:22 1996 Doug Evans + + * config.bfd,configure.in,configure: Add m32r support. + * Makefile.in,archures.c,elf.c,targets.c: Likewise. + * config.bfd: Keep target list alphabetically sorted. + +Mon Sep 9 11:48:41 1996 Jeffrey A Law (law@cygnus.com) + + * elf32-v850.c (bfd_elf32_v850_reloc, case R_V850_HI16): Don't forget + to add in the constant part found in the instruction itself. + (case R_V850_HI16_S): Likewise. + +Fri Sep 6 17:04:39 1996 Martin M. Hunt + + * elf32-d10v.c (elf_d10v_howto_table): Modify the size of R_D10V_16 + and R_D10V_18 to be 1 (word). + +Thu Sep 5 15:23:08 1996 Ian Lance Taylor + + * stabs.c (_bfd_link_section_stabs): If the output_section field + of either section is bfd_abs_section, then the linker is + discarding the section and we should not optimize it. + +Tue Sep 3 12:16:20 1996 Doug Evans + + * Makefile.in (aout-sparcle.o): New target. + * aoutf1.h (TARGET_IS_BIG_ENDIAN_P): Don't define if little endian. + * config.bfd (sparclet-*-aout*): Add case. + * configure.in (sparcle_aout_vec): Add case. + * configure: Regenerated. + * targets.c (sparcle_aout_vec): Declare. + (bfd_target_vector): Add sparcle_aout_vec. + * aout-sparcle.c: New file. + +Tue Sep 3 00:57:02 1996 Jeffrey A Law (law@cygnus.com) + + * elf32-v850.c (bfd_elf32_v850_reloc): Fix handling of + low order sign bit propogation for R_V850_HI16_S. + + * elf32-v850.c (bfd_elf32_v850_reloc): New function for + handling V850 specific relocs. + (elf_v850_howto_table): Use the new function for some + relocations. Twiddle masks & shifts for some relocs. + Set partial_inplace where needed. + +Mon Sep 2 12:12:34 1996 Ian Lance Taylor + + * cpu-mips.c: Add an explicit mips:3000 entry, and change the + default architecture to a machine number of 0. + * elf32-mips.c (_bfd_mips_elf_object_p): Set the machine number + for E_MIPS_ARCH_1. + (_bfd_mips_elf_merge_private_bfd_data): If the machine number of + the output BFD is the default, set it from the first input BFD. + +Sun Sep 1 18:38:01 1996 Jeffrey A Law (law@cygnus.com) + + * elf32-v850.c (elf_v850_howto_table): All the 16bit relocs + insert at bitpos zero. The HI16 relocs are shifted right + by 16 bits. Fix src_mask for all relocs. + (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME): Define. The V850 is + little endian! + (TARGET_BIG_SYM, TARGET_BIG_NAME): Remove. The V850 is little + endian! + +Sun Sep 1 15:41:08 1996 Ian Lance Taylor + + * rs6000-core.c (rs6000coff_core_file_matches_executable_p): + Rewrite to use BFD file read routines and to avoid using a fixed + length for the file name. + +Sat Aug 31 10:22:25 1996 Jeffrey A Law (law@cygnus.com) + + * elf32-v850.c (enum reloc_type): Add R_V850_{32,16,8}. + (elf_v850_howto_table): Add support for R_V850_{32,16,8}. + (v850_reloc_map): Add translation from BFD_RELOC_{32,16,8} + to R_V850_{32,16,8}. + +Fri Aug 30 18:06:04 1996 J.T. Conklin + + * elf32-v850.c (reloc_type): Add R_V850_HI16_S. + (elf_v850_howto_table): Add info for HI16_S reloc. + (v850_reloc_map): Add HI_16_S reloc. + * reloc.c: Define BFD_RELOC_V850_* relocs. + +Fri Aug 30 11:49:19 1996 Ian Lance Taylor + + Add SH ELF support. + * elf32-sh.c: New file. + * elf.c (prep_headers): Handle bfd_arch_sh. + * elfcode.h (write_relocs): Handle absolute symbol. + * elf-bfd.h (_bfd_elf32_link_read_relocs): Declare. + (_bfd_elf64_link_read_relocs): Declare. + * elflink.h (NAME(_bfd_elf,link_read_relocs)): Rename from + elf_link_read_relocs. Make globally visible. Change all + callers. + (elf_link_input_bfd): Get external symbols from cache in + symtab_hdr->contents. Get contents from cache in + elf_section_data. + * elfxx-target.h (bfD_elfNN_bfd_relax_section): Only define if not + already defined. + * reloc.c: Define BFD_RELOC_SH_* relocs. + * libbfd-in.h (_bfd_sh_align_load_span): Declare. + * coff-sh.c (sh_insns_conflict): Fix a return value. + (_bfd_sh_align_load_span): New globally visible function, broken + out of sh_align_load. + (sh_align_load): Call _bfd_sh_align_load_span. + (sh_swap_insns): Change relocs parameter to PTR. + * bfd-in2.h, libbfd.h: Rebuild. + * targets.c (bfd_elf32_sh_vec): Declare. + (bfd_elf32_shl_vec): Declare. + * config.bfd (sh-*-elf*): New target. + * configure.in (bfd_elf32_sh_vec): New target vector. + (bfd_elf32_shl_vec): New target vector. + * configure: Rebuild. + * Makefile.in: Rebuild dependencies. + (BFD32_BACKENDS): Add elf32-sh.o. + (BFD32_BACKENDS_CFILES): Add elf32-sh.c. + + * elf.c (map_sections_to_segments): Check that LMA does not skip a + page before checking D_PAGED. + + * ihex.c (ihex_scan): Removed unnecessary extbase variable. + (ihex_write_object_contents): Remove extbase; always use segbase + instead. + +Thu Aug 29 16:52:17 1996 Michael Meissner + + * configure.in (i[345]86-*-*): Recognize i686 for pentium pro. + * configure.host (i[345]86-*-*): Ditto. + * config.bfd (i[345]86-*-*): Ditto. + * configure: Regenerate. + + * config.bfd (i[3456]86-*-dgux*): Recognize as a synonym for x86 + elf. + +Tue Aug 27 09:18:18 1996 Jeffrey A Law (law@cygnus.com) + + * elf32-hppa.c (hppa_elf_gen_reloc_type): Add new argument. + * elf32-hppa.h (hppa_elf_gen_reloc_type): Update prototype. + * som.c (hppa_som_gen_reloc_type): Add new argument. If + we encounter an R_DATA_ONE_SYMBOL reloc against a symbol that + will have an ST_CODE type, change the symbol's type to ST_DATA. + * som.c (hppa_som_gen_reloc_type): Update prototype. + +Tue Aug 27 00:12:22 1996 Ian Lance Taylor + + * elf32-mips.c (mips_elf_check_relocs): Set dynobj if needed for + R_MIPS_32 and R_MIPS_REL32. Set sgot and g as soon as possible. + (mips_elf_size_dynamic_sections): Don't require .got to exist. + (mips_elf_finish_dynamic_sections): Likewise. + +Thu Aug 22 10:54:38 1996 Ian Lance Taylor + + * configure.host (HLDENV): New variable to set. Set it for + *-*-sysv4*, since those linkers may not support -R but they always + support LD_RUN_PATH. + + * libieee.h (NSECTIONS): Don't define. + (ieee_data_struct): Change section_table to asection **. Add + section_table_size. + * ieee.c (get_section_entry): If the table isn't big enough, make + it bigger. + (ieee_slurp_sections): Remove assertion about number of sections. + (ieee_object_p): Adjust initialization of ieee to match changes to + the structure. + + * xcofflink.c (xcoff_mark): Don't copy relocs for undefined + symbols merely because we are generating a shared library. + (xcoff_build_ldsyms): Don't set up global linkage code for an + undefined symbol merely because we are generating a shared + library. + +Tue Aug 20 15:06:05 1996 J.T. Conklin + + * Makefile.in (ALL_MACHINES): Add cpu-v850.o. + (BFD32_BACKENDS) Add elf32-v850.o. + * archures.c: Add bfd_v850_arch. + * bfd-in2.h: Add bfd_v850_arch. + * config.bfd (v850-*-*): New target. + * configure: (bfd_elf32_v850_vec) New vector. + * configure.in: (bfd_elf32_v850_vec) New vector. + * cpu-v850.c: New file. + * elf.c (prep_headers): Added case bfd_arch_v850. + * elf32-v850.c: New file. + * targets.c (bfd_elf32_v850_vec): New vector. + +Fri Aug 16 16:25:35 1996 Ian Lance Taylor + + * xcofflink.c (xcoff_link_add_dynamic_symbols): Create and define + a function code symbol for an XMC_XO symbol. + +Thu Aug 15 12:33:29 1996 Stan Shebs + + * mpw-config.in: Update editing of autoconf vars to reflect + Jul 18 configure.in change. + * mpw-make.sed: Update editing of include pathnames to be + more general, add @DASH_C_FLAG@ to explicit compile rule edit. + +Thu Aug 15 10:35:13 1996 Richard Henderson + + * elf64-alpha.c (elf64_alpha_output_extsym): The section from + which to offset to get the .plt entry address is ".plt". + +Thu Aug 15 16:40:30 1996 James G. Smith + + * reloc.c: (BFD_RELOC_ARM_THUMB_ADD, BFD_RELOC_ARM_THUMB_IMM, + BFD_RELOC_ARM_THUMB_SHIFT, BFD_RELOC_ARM_THUMB_OFFSET): + Added, for internal use by the ARM gas. + * libbfd.h: Rebuilt + * bfd-in2.h: Rebuilt + +Wed Aug 14 17:02:09 1996 Richard Henderson + + * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Correct typo + in section dynidx start. + +Tue Aug 13 14:35:38 1996 Ian Lance Taylor + + * elf.c (_bfd_elf_make_section_from_shdr): Treat sections whose + name begins with .gnu.linkonce as SEC_LINK_ONCE. This is an + optimization for g++. + +Tue Aug 13 17:04:40 1996 Michael Meissner + + * elf32-ppc.c (ppc_elf_merge_private_bfd_data): If one module has + the -mrelocatable-lib bit set and the other doesn't, clear the + -mrelocatable-lib bit in the header. + +Sat Aug 10 22:59:17 1996 Ian Lance Taylor + + * elflink.h (elf_link_add_object_symbols): Do not resolve a common + symbol against a STT_FUNC symbol in a shared library. + +Fri Aug 9 12:44:57 1996 Ian Lance Taylor + + * xcofflink.c (xcoff_link_add_dynamic_symbols): If a descriptor + symbol is found, automatically define the corresponding function + code. + + * cofflink.c (coff_link_add_symbols): Only set (*sym_hash)->numaux + if sym.n_numaux is not zero. + (_bfd_coff_link_input_bfd): Permit the symbol and the hash table + entry to disagree about the number of aux entries if the symbol + has zero. + + * elf32-mips.c (mips_elf_check_relocs): Create the .rel.dyn + section if it might be needed, not just if info->shared. + (mips_elf_adjust_dynamic_symbol): Make room for a null element at + the start of .rel.dyn if we are going to use it. + (mips_elf_finish_dynamic_sections): Only clear the first element + of .rel.dyn if the size is greater than zero. + +Thu Aug 8 16:24:55 1996 Ian Lance Taylor + + * xcofflink.c (xcoff_link_input_bfd): If we already called the + undefined_symbol callback for a symbol, then don't issue any more + warnings about loader relocs. + (_bfd_ppc_xcoff_relocate_section): Don't do any further processing + after calling the undefined_symbol callback. + + * xcofflink.c (XCOFF_MULTIPLY_DEFINED): Define. + (xcoff_link_add_symbols): Permit multiple definitions of a symbol + as the AIX linker seems to do. + +Thu Aug 8 12:21:56 1996 Klaus Kaempf + + * evax-alpha.c (evax_alpha_vec): Corrected flags, cleanup. + (evax_initialize): Remove evax_reloc_table. + (evax_close_and_cleanup): Ditto. + (reloc_nil): Ditto. + (alpha_howto_table): Remove ALPHA_R_SWREL32 and ALPHA_R_SWREL64 + entries. + (evax_bfd_reloc_type_lookup): Ditto. + * evax-egsd.c (_bfd_evax_slurp_egsd): Add a few casts; set + cooked_size == raw_size. + * evax-emh.c (_bfd_evax_register_filename): Remove. + * evax-etir.c (etir_stc): Allow ETIR_S_C_STC_xx commands. + * evax-misc.c (add_new_contents): Malloc section at full size. + (_bfd_save_evax_section): Memcpy section contents directly. + * evax.h (ALPHA_R_SWREL32, ALPHA_R_SWREL64): Remove. + (evax_reloc_table): Remove. + + * hosts/alphavms.h (O_ACCMODE): Define if needed. + + * makefile.vms: Add better support for DEC C compilation + Add evax.h dependencies + + * reloc.c (bfd_get_reloc_size): Add case for 16 byte reloc. + (BFD_RELOC_SWREL32,BFD_RELOC_SWREL64): Remove. + (BFD_RELOC_ALPHA_BASEREG): Remove. + * bfd-in2.h, libbfd.h: Rebuild. + +Thu Aug 8 08:17:32 1996 Stu Grossman (grossman@critters.cygnus.com) + + * archive.c (bsd_write_armap): Ifdef around calls to getuid and + getgid if _WIN32 is defined. + * opncls.c (bfd_fdopenr): Remove unnecessary WINGDB ifdef. + +Wed Aug 7 23:19:00 1996 Stu Grossman (grossman@critters.cygnus.com) + + * aoutx.h bfd-in.h bfd-in2.h opncls.c riscix.c som.c targets.c: + Change NO_FLAGS to BFD_NO_FLAGS to avoid conflict with an HPUX + include file. + * libbfd.c: Create dummy getpagesize() macro if HAVE_GETPAGESIZE + isn't defined. + +Wed Aug 7 14:11:44 1996 Philippe De Muyter + + * configure.in: Call BFD_NEEDED_DECLARATION on strstr and + realloc. + * acconfig.h (NEED_DECLARATION_STRSTR): New macro. + (NEED_DECLARATION_REALLOC): New macro. + * configure, config.in: Rebuild. + * sysdep.h (strstr): Declare if NEED_DECLARATION_STRSTR. + (realloc): Declare if NEED_DECLARATION_REALLOC. + + * aclocal.m4 (BFD_NEED_DECLARATION): Include or + if they exist. + + * ieee.c (ieee_set_section_contents): Cast bfd_alloc return. + +Wed Aug 7 12:12:03 1996 Ian Lance Taylor + + * cpu-i386.c (i8086_arch): Architecture info for the i8086. + + Based on patches from Eric Valette : + * elf32-i386.c (enum reloc_type): Add FIRST_INVALID_RELOC, + LAST_INVALID_RELOC, R_386_16, R_386_PC16, R_386_8, R_386_PC8. + (elf_howto_table): Add entries for new relocs. + (elf_i386_reloc_type_lookup): Handle new relocs. + (elf_i386_info_to_howto): Just call abort. + (elf_i386_info_to_howto_rel): Check that the reloc type is valid. + (elf_i386_relocate_section): Likewise. + +Tue Aug 6 12:54:56 1996 Martin M. Hunt + + * elf32-d10v.c (elf_d10v_howto_table): Added R_D10V_32. + +Mon Aug 5 13:42:41 1996 Ian Lance Taylor + + * elf.c (_bfd_elf_make_section_from_shdr): For a loadable section, + only get the LMA from the phdr if they are in the same part of the + file. + + * elf.c (map_sections_to_segments): Rewrite tests for starting a + new segment to make them more comprehensible. If the relationship + between the LMA and the VMA changed, start a new segment. Don't + check dynsec when deciding whether to start a new segment for a + writeable section; -N will now handle this. + +Thu Aug 1 22:43:08 1996 Jeffrey A Law (law@cygnus.com) + + * libhppa.h: Remove "esel" changes. Not the right approach. + * som.c: Corresponding changes. + (som_bfd_derive_misc_symbol_info): Use ST_DATA for symbols + which don't have a SOM symbol type associated with them. + Reverses a 1994 change. + +Wed Jul 31 15:50:55 1996 Ian Lance Taylor + + Make ld -N more reasonable for ELF: + * elf.c (map_sections_to_segments): If D_PAGED is not set, set + phdr_in_section to false, and always use a single load segment. + (elf_sort_sections): Sort sections by LMA after VMA. + (assign_file_positions_for_segments): If D_PAGED is not set, don't + align to maxpagesize. + (assign_file_positions_except_relocs): Likewise. + * elfcode.h (elf_object_p): If a section is loaded but not page + aligned, clear D_PAGED. + +Wed Jul 31 15:00:12 1996 James G. Smith + + * reloc.c: (BFD_RELOC_ARM_OFFSETIMM8, BFD_RELOC_ARM_HWLITERAL): + Added, for internal use by the ARM gas. + * libbfd.h: Rebuilt + * bfd-in2.h: Rebuilt + +Tue Jul 30 14:14:57 1996 Jeffrey A Law (law@cygnus.com) + + * libhppa.h (R_HPPA_ESEL): New field selector. + (e_esel): Similarly. + * som.c (hppa_som_gen_reloc_type): If we encounter an e_esel, + then generate R_COMP2 (PUSH_SYM), R_DATA_EXPR fixup stream. + (som_write_fixups): Handle R_DATA_EXPR just like R_CODE_EXPR. + +Tue Jul 30 13:31:27 1996 Ian Lance Taylor + + * xcofflink.c (_bfd_xcoff_bfd_link_add_symbols): Do the regular + archive search before looking for stripped dynamic objects. + +Fri Jul 26 17:51:39 1996 Ian Lance Taylor + + * xcofflink.c (xcoff_build_ldsyms): Make exporting an undefined + symbol a warning rather than an error. + +Wed Jul 24 12:02:53 1996 Ian Lance Taylor + + * elf.c (assign_file_positions_for_segments): Track the virtual + memory position separately from the file position, and use it to + compute the alignment adjustment. + +Tue Jul 23 10:43:31 1996 Martin M. Hunt + + * elf32-d10v.c (elf_d10v_howto_table): Changed all relocs to "long" + and fixed mask on R_D10V_10_PCREL_L. + +Mon Jul 22 15:30:30 1996 Ian Lance Taylor + + * elf64-mips.c: Include "aout/ar.h". + (mips_elf64_slurp_armap): New static function. + (mips_elf64_write_armap): New static function. + (bfd_elf64_archive_*): Define. + * elfxx-target.h (bfd_elfNN_archive_p): Define if not defined. + Use instead of bfd_generic_archive_p. + (bfd_elfNN_write_archive_contents): Define if not defined. Use + instead of _bfd_write_archive_contents. + (bfd_elfNN_mkdarchive): Define if not defined. Use instead of + _bfd_generic_mkarchive. + (TARGET_BIG_SYM): If bfd_elfNN_archive_functions is defined, use + bfd_elfNN_archive in BFD_JUMP_TABLE_ARCHIVE rather than + _bfd_archive_coff. + (TARGET_LITTLE_SYM): Likewise. + * archive.c (bfd_slurp_armap): Check for and reject an archive map + name of /SYM64/. + * Makefile.in: Rebuild dependencies. + + * elf32-mips.c (_bfd_mips_elf_final_write_processing): Handle + SHT_MIPS_LIBLIST, SHT_MIPS_CONTENT, SHT_MIPS_SYMBOL_LIB, and + SHT_MIPS_EVENTS sections. + (_bfd_mips_elf_section_from_shdr): Handle SHT_MIPS_IFACE, + SHT_MIPS_CONTENT, SHT_MIPS_SYMBOL_LIB, and SHT_MIPS_EVENTS + sections. + (_bfd_mips_elf_fake_sections): Likewise. + + * libecoff.h (ecoff_data_type): Add rdata_in_text field. + * ecoff.c (ecoff_compute_section_file_positions): Copy + rdata_in_text from backend info to tdata. Clear it if any data + section comes before .rdata. + (_bfd_ecoff_write_object_contents): Use rdata_in_text field in + tdata rather than backend info. + +Fri Jul 19 18:15:51 1996 Ian Lance Taylor + + * configure.in: Fix test for whether a compiler has a 64 bit + type. From Jim Wilson . + +Thu Jul 18 15:39:10 1996 Ian Lance Taylor + + * configure.host (mips-sgi-irix6*): New host. + + * configure.in: Set and substitute VERSION, BFD_HOST_64BIT_LONG + (replacing HOST_64BITLONG), BFD_HOST_64_BIT_DEFINED, + BFD_HOST_64_BIT, and BFD_HOST_U_64_BIT. Add bfd-in2.h:bfd-in2.h + to AC_OUTPUT call. + * configure: Rebuild. + * bfd-in.h (BFD_ARCH_SIZE): Define as @wordsize@, not @WORDSIZE@. + (BFD_HOST_64_BIT): Define conditionally. + (BFD_HOST_U_64_BIT): Define when BFD_HOST_64_BIT is defined. + (bfd_vma): Typedef as BFD_HOST_U_64_BIT. + (symvalue, bfd_size_type): Likewise. + * bfd-in2.h: Rebuild. + * Makefile.in (do_clean): Remove bfd-tmp.h. + (do_distclean): Remove bfd-in3.h. + (stmp-bfd.h): Just do copy-if-change bfd-in3.h bfd.h. + (bfd-in3.h): New target. + + * config.bfd (sparc-*-sysv4*): Don't build sunos_big_vec. From + Andrew Gierth . + + * configure.host: Set INSTALL_SHLIB. + * configure.in: Call AC_SUBST (INSTALL_SHLIB). + * configure: Rebuild. + * Makefile.in (install): Use @INSTALL_SHLIB@. + + * config.bfd (mips*-*-irix6*): New target. + * configure.host: Handle Irix 6 shared library like Irix 5. + + * xcofflink.c (xcoff_link_add_symbols): Don't check an XMC_TD + symbol for a magic name. + (xcoff_link_input_bfd): Don't change the reloc symbol for an + XMC_TD symbol. + (_bfd_ppc_xcoff_relocate_section): Don't get the TOC offset for an + XMC_TD symbol. + +Thu Jul 18 11:36:31 1996 Stan Shebs + + * mpw-config.in: Add ELF support to mips config, create the + elf32-target.h file in the object dir. + * mpw-make.sed: Edit elfXX-target.h refs at beginnings of lines. + +Wed Jul 17 18:02:32 1996 Kim Knuttila + + * coff-ppc.c: Redid debug scheme - numerous fprintf's gone. + Also removed most abort calls, in favor of using bfd reporting. + +Wed Jul 17 14:51:52 1996 Martin M. Hunt + + * Makefile.in (ALL_MACHINES): Add cpu-d10v.o. + (BFD32_BACKENDS) Add elf32-d10v.o. + * archures.c: Add bfd_d10v_arch. + * bfd-in2.h: Add bfd_d10v_arch. + * config.bfd (d10v-*-*): New target. + * configure: (bfd_elf32_d10v_vec) New vector. + * configure.in: (bfd_elf32_d10v_vec) New vector. + * cpu-d10v.c: New file. + * elf.c (prep_headers): Added case bfd_arch_d10v. + * elf32-d10v.c: New file. + * libbfd.h: Rebuild. + * reloc.c (BFD_RELOC_D10V_10_PCREL_R, BFD_RELOC_D10V_10_PCREL_L, + BFD_RELOC_D10V_18, BFD_RELOC_D10V_18_PCREL): Define. + * targets.c (bfd_elf32_d10v_vec): New vector. + +Wed Jul 17 10:58:55 1996 Kim Knuttila + + * coff-ppc.c (coff_ppc_relocate_section): Removed bogus fprintf + +Tue Jul 16 23:49:02 1996 Stu Grossman (grossman@critters.cygnus.com) + + * archures.c bfd-in2.h: Add bfd_mach_i386_i386 and + bfd_mach_i386_i8086 machine types. + +Wed Jul 10 12:42:56 1996 Ian Lance Taylor + + * ecoff.c (_bfd_ecoff_new_section_hook): Set SEC_CODE for _INIT + and _FINI sections. + +Wed Jul 10 11:18:21 1996 Richard Henderson + + * coffcode.h (coff_set_section_contents): A/UX does not require + special handling of the _LIB section. + +Tue Jul 9 15:52:20 1996 Jeffrey A Law (law@cygnus.com) + + * coff-h8300.c (h8300_reloc16_extra_cases): Use the correct + value for R_RELBYTE. + + * reloc16.c (bfd_coff_reloc16_relax_section): Only "shrinks" + array if one was allocated. + +Tue Jul 9 12:21:54 1996 Ian Lance Taylor + + From Kazumoto Kojima : + * elf32-mips.c (struct mips_elf_link_hash_table): Add new fields + use_rld_obj_head and rld_value. + (mips_elf_link_hash_table_create): Initialize new fields. + (mips_elf_add_symbol_hook): Mark __rld_obj_head symbol as + dynamic. + (mips_elf_create_dynamic_sections): Create .rld_map section. If + __rld_obj_head symbol not seen, create an __rld_map symbol. + (mips_elf_size_dynamic_sections): Make space in .rld_map section. + Create a DT_MIPS_RLD_MAP entry rather than a DT_DEBUG entry. + (mips_elf_finish_dynamic_symbol): Save value of __rld_map or + __rld_obj_head symbol. + (mips_elf_finish_dynamic_sections): Handle DT_MIPS_RLD_MAP. + +Mon Jul 8 16:18:03 1996 Ian Lance Taylor + + * elf32-mips.c (mips_reloc_map): Remove BFD_RELOC_32_PCREL entry. + + * elf32-ppc.c (ppc_elf_howto_raw): For R_PPC_ADDR16_HA, use + ppc_elf_addr16_ha_reloc. + (ppc_elf_addr16_ha_reloc): New static function. + + * coff-mips.c (struct mips_hi): Define. + (mips_refhi_list): New static variable. + (mips_refhi_addr, mips_refhi_addend): Remove. + (mips_refhi_reloc): Maintain a list of unmatched REFHI relocs. + (mips_reflo_reloc): Process mips_refhi_list. + (mips_relhi_list): New static variable. + (mips_relhi_addr, mips_relhi_addend): Remove. + (mips_relhi_reloc): Maintain a list of unmatched RELHI relocs. + (mips_rello_reloc): Process mips_relhi_list. + (mips_relocate_section): Permit an arbitrary number of REFHI or + RELHI relocs before the associated REFLO or RELLO reloc. + +Fri Jul 5 19:27:49 1996 Ian Lance Taylor + + * aout-target.h (MY(callback)): Set reloc_count fields. + +Thu Jul 4 12:00:37 1996 Ian Lance Taylor + + * sunos.c (sunos_add_dynamic_symbols): Don't create dynamic + sections unless this is a SunOS link. + + * VERSION: Set to 2.7.1. + + * Released binutils 2.7. + +Wed Jul 3 14:59:47 1996 Ian Lance Taylor + + * i386aout.c: Include "aout/aout64.h". + (i386aout_write_object_contents): New static function. + (MY_write_object_contents): Define. + + * netbsd.h (MY(write_object_contents)): Make sure that + adjust_sizes_and_vmas is called before fiddling with the magic + number. + +Tue Jul 2 23:30:39 1996 Ian Lance Taylor + + * stabs.c (_bfd_link_section_stabs): Fix casts of psinfo. + +Sun Jun 30 13:34:33 1996 Ian Lance Taylor + + * libbfd-in.h (itos, stoi): Don't define. + * libbfd.h: Rebuild. + * i386lynx.c (KEEPIT): Define as udata.i. + (NAME(lynx,swap_std_reloc_out)): Don't use stoi. + (NAME(lynx,swap_ext_reloc_out)): Likewise. + * riscix.c (riscix_swap_std_reloc_out): Use udata.i rather than + flags. Don't use stoi. + + * elf32-mips.c (ELF_MAGPAGESIZE): Change definition to 0x1000. + + * elf.c (map_sections_to_segments): Don't start a new segment for + a writable section if it's on the same page as the previous + segment. Reset the writable variable for a readonly section. + +Sat Jun 29 16:18:51 1996 Kim Knuttila + + * peicode.h (coff_swap_aouthdr_in): Missing initializations of + first_thunk_address, thunk_size, and import_table_size. + * peicode.h: Improved some diagnostics regarding edata sections. + + * coff-ppc.c (coff_ppc_relocate_section): Earlier error check + on IMGLUE relocs. + (coff_ppc_relocate_section): Improved diagnostic for large TOCDEFN's. + (TARGET_LITTLE_SYM): Added missing D_PAGED. + +Fri Jun 28 13:48:45 1996 Ian Lance Taylor + + * xcofflink.c (xcoff_link_check_ar_symbols): An undefined symbol + with XCOFF_DEF_DYNAMIC set is really defined. + (xcoff_link_check_dynamic_ar_symbols): Likewise. + (xcoff_link_add_symbols): Only create special sections if using an + XCOFF hash table. + + * reloc.c (bfd_perform_relocation): Handle xcoff-powermac like + aixcoff-rs6000. + (bfd_install_relocation): Likewise. + +Fri Jun 28 11:17:00 1996 Richard Henderson + + * elf64-alpha.c (struct alpha_elf_link_hash_entry): Add flags + field. + (ALPHA_ELF_LINK_HASH_LU_ADDR): Define. + (ALPHA_ELF_LINK_HASH_LU_MEM): Define. + (ALPHA_ELF_LINK_HASH_LU_FUNC): Define. + (elf64_alpha_link_hash_newfunc): Initialize flags field. + (elf64_alpha_check_relocs): Record types of LITUSE entries that + are found for LITERAL relocs. + (elf64_alpha_adjust_dynamic_symbol): If a symbol has its address + taken, we cannot generate a .plt entry for the symbol. + +Thu Jun 27 11:24:29 1996 Ian Lance Taylor + + * configure.in: Add AC_ISC_POSIX, and check for setitimer and + sysconf functions (for gprof). + * configure, config.in: Rebuild. + +Wed Jun 26 16:29:02 1996 Ian Lance Taylor + + * ecoff.c (_bfd_ecoff_archive_p): Check the first object file in + an archive if it has a map. If the object file has the wrong + xvec, reject it. + + * coff-alpha.c (alpha_adjust_reloc_in): Set the addend for a + BRADDR, SREL16, SREL32, or SREL64 reloc against an external + symbol. + (alpha_relocate_section): Likewise. + + * coffswap.h (coff_swap_reloc_out): Use RELSZ, not sizeof. + (coff_swap_filehdr_out): Use FILHSZ, not sizeof. + (coff_swap_sym_out): Use SYMESZ, not sizeof. + (coff_swap_aux_out): Use AUXESZ, not sizeof. + (coff_swap_lineno_out): Use LINESZ, not sizeof. + (coff_swap_aouthdr_out): Use AOUTSZ, not sizeof. + (coff_swap_scnhdr_out): Use SCNHSZ, not sizeof. + * peicode.h: Corresponding changes. + +Tue Jun 25 15:28:34 1996 Michael Meissner + + * elflink.h (elf_create_pointer_linker_section): Comment out code + dealing with making GOT pointers negative of the GOT symbol for + now. + +Tue Jun 25 11:41:24 1996 Richard Henderson + + * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't + increment the .rela.plt size until after we're done creating the + .plt entry. + (elf64_alpha_finish_dynamic_symbol): Change .plt entry to load the + .rela.plt offset directly rather than calculating it. + +Mon Jun 24 17:15:10 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) + + * Makefile.in, (bindir, libdir, datadir, mandir, infodir, includedir): + Use autoconf-set values. + * doc/Makefile.in (bindir, libdir, datadir, mandir, infodir, + includedir, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set + values. + (docdir): Deleted. + * configure.in (AC_PREREQ): autoconf v2.5 or higher. + * configure: Rebuilt. + +Mon Jun 24 22:50:35 1996 Jeffrey A Law (law@cygnus.com) + + * som.c (som_write_fixups): Fix typo in R_END_TRY for exception + handling code > 1k away. + +Mon Jun 24 18:41:06 1996 Michael Meissner + + * elflink.h (elf_create_pointer_linker_section): If DEBUG is + defined, output whenever the symbol is updated. + +Mon Jun 24 17:58:12 1996 Jouke Numan + + * elf.c (elf_fake_sections): Don't set sh_addr of a non SEC_ALLOC + section to 0 if user_set_vma is set. + * elflink.h (elf_bfd_final_link): Likewise. + +Sun Jun 23 20:42:51 1996 Doug Evans + + Partially undo patch of Jun 20. + * coffcode.h (coff_set_alignment_hook): Use COFF_IMAGE_WITH_PE. + (coff_compute_section_file_positions): Likewise. + (coff_write_object_contents): Likewise. Re-add deleted code, but + use #ifdef COFF_WITH_PE, not COFF_OBJ_WITH_PE. + * peicode.h (pe_bfd_copy_private_bfd_data): Re-add #ifdef. + +Fri Jun 21 17:38:15 1996 Joel Sherrill + + * config.bfd: Add support for *-*-rtems* configurations. + +Fri Jun 21 15:19:59 1996 Ian Lance Taylor + + * elf.c (prep_headers): Add bfd_arch_alpha case. + +Fri Jun 21 12:35:27 1996 Richard Henderson + + * elf64-alpha.c: New file. + * config.bfd (alpha-*-linuxecoff*): New target. + (alpha-*-linux*, alpha-*-elf*): New targets. + * configure.in (bfd_elf64_alpha_vec): New vector. + * configure: Rebuild. + * targets.c (bfd_elf64_alpha_vec): Declare. + (bfd_target_vector): Add bfd_elf64_alpha_vec if BFD64. + * reloc.c (BFD_RELOC_ALPHA_GPDISP): Define. + * bfd-in2.h, libbfd.h: Rebuild. + * Makefile.in: Rebuild dependencies. + (BFD64_BACKENDS): Add elf64-alpha.o. + (BFD64_BACKENDS_CFILES): Add elf64-alpha.c. + +Thu Jun 20 18:14:25 1996 Ian Lance Taylor + + * ecoff.c (ecoff_armap_hash): If hlog is 0, just return 0, rather + than relying on a right shift of 32. + +Thu Jun 20 11:00:57 1996 Doug Evans + + * coffcode.h (coff_set_alignment_hook): Change COFF_IMAGE_WITH_PE + ifdef to COFF_WITH_PE. + (coff_compute_section_file_positions): Likewise. + (coff_write_object_contents): Likewise. Delete COFF_OBJ_WITH_PE. + * pe-{arm,i386,ppc}.c (COFF_OBJ_WITH_PE): Delete. + * peicode.h (pe_bfd_copy_private_bfd_data): Delete ifdef + COFF_IMAGE_WITH_PE, always include. + + * peicode.h (coff_swap_scnhdr_out): ".drectve" doesn't have trailing 0. + +Wed Jun 19 11:37:52 1996 Ian Lance Taylor + + * elf.c (map_sections_to_segments): Fix up the test for -Ttext to + approximate the correct answer if SIZEOF_HEADERS was not used. + + * binary.c (binary_set_section_contents): Set section file + position based on LMA rather than VMA. + +Wed Jun 19 11:19:25 1996 Manfred Hollstein KS/EIC5 60/3/142 #40283 + + * linker.c (_bfd_generic_link_output_symbols): Don't output any + symbols if info->strip == strip_all. + +Tue Jun 18 15:17:36 1996 Jeffrey A. Law + + * coff-h8300.c: Remove #if 0 code. + (compatable): Don't allow mixing/matching of different architectures. + + * archures.c (bfd_mach_h8300s): Add. + * bfd-in2.h: Rebuilt. + * coff-h8300.c (funcvec_hash_newfunc): Handle H8/S too. + (BADMAG): Likewise. + (h8300_reloc16_estimate): Likewise. + (h8300_reloc16_extra_cases): Likewise. + (h8300_bfd_link_add_symbols): Likewise. + * coffcode.h (coff_set_arch_mach_hook): Likewise. + (coff_set_flags): Likewise. + * cpu-h8300.c (h8300_scan): Likewise. + Add H8/S to bfd_h8300_arch list. + +Tue Jun 18 14:42:58 1996 Klaus Kaempf + + Added support for Alpha OpenVMS: + * evax.h, evax-alpha.c, evax-egsd.c, evax-emh.c: New files. + * evax-etir.c, evax-misc.c, hosts/alphavms.h: New files. + * config.h-vms, makefile.vms: New files. + * config.bfd (alpha-*-*vms*): New target. + * configure.in (evax_alpha_vec): New target vector. + * configure: Rebuild. + * reloc.c (BFD_RELOC_SWREL32, BFD_RELOC_SWREL64): Define. + (BFD_RELOC_ALPHA_LINKAGE, BFD_RELOC_ALPHA_BASEREG): Define. + * targets.c (bfd_target_evax_flavour): Define. + (evax_alpha_vec): Declare. + (bfd_target_vector): Add ecoffalpha_little_vec and evax_alpha_vec + if BFD64 is defined. + * bfd-in2.h, libbfd.h: Rebuild. + * Makefile.in: Rebuild dependencies. + (BFD64_BACKENDS): Add evax-alpha.o, evax-egsd.o, evax-etir.o, + evax-emh.o, and evax-misc.o. + (BFD64_BACKENDS_CFILES): Add evax-alpha.c, evax-egsd.c, + evax-etir.c, evax-emh.c, and evax-misc.c. + (HFILES): Add evax.h. + +Tue Jun 18 13:54:18 1996 Ian Lance Taylor + + * coff-h8300.c (h8300_reloc16_extra_cases): Make name a const + pointer. + (h8300_bfd_link_add_symbols): Likewise. + +Mon Jun 17 10:06:50 1996 Jeffrey A. Law + + * som.h (R_HPPA_BEGIN_TRY, R_HPPA_END_TRY): Define. + * som.c (som_write_fixups): Handle R_BEGIN_TRY and R_END_TRY. + +Mon Jun 17 12:49:11 1996 Ian Lance Taylor + + * elf32-mips.c (mips_elf_relocate_section): Don't create a reloc + for R_MIPS_REL32 and R_MIPS_32 relocs if no dynamic sections were + created. + (mips_elf_check_relocs): Only create .rel.dyn for R_MIPS_REL32 and + R_MIPS_32 relocs if creating a shared library. + +Thu Jun 13 20:14:51 1996 Doug Evans + + * peicode.h (add_data_entry): Use pei_section_data rather than + _cooked_size. Corresponds to May 13 change in coffcode.h. + +Thu Jun 13 10:23:40 1996 Ian Lance Taylor + + * cofflink.c (_bfd_coff_final_link): Handle long section names. + * coffcode.h (coff_write_object_contents): If there are long + section names, always set the f_symptr field, even if there are no + symbols. + * peicode.h (coff_swap_filehdr_in): Don't clear the f_symptr field + if there are no symbols. + + * coffgen.c (make_a_section_from_file): Check return value of + _bfd_coff_read_string_table. + (coff_real_object_p): Check return value of + make_a_section_from_file. + (_bfd_coff_read_string_table): Check that there are some symbols + before trying to read the string table size. + +Wed Jun 12 11:16:37 1996 Ian Lance Taylor + + * xcofflink.c (xcoff_link_add_symbols): When considering whether + to replace a symbol in a dynamic object with a symbol from another + dynamic object, do the replacement if the existing symbol is + global linkage code. + + * xcofflink.c (_bfd_ppc_xcoff_relocate_section): Check explicitly + for _ptrgl, and treat it as global linkage code. + + * aoutx.h (NAME(aout,find_nearest_line)): Notice if we find a + filename or N_SO symbol past the offset, and use it to indicate + that there is no line number or function when appropriate. + +Tue Jun 11 15:24:48 1996 Ian Lance Taylor + + * xcofflink.c (xcoff_build_ldsyms): Set XCOFF_DEF_REGULAR for a + common symbol defined by the linker. Don't export function code + even if export_defineds is set. + +Mon Jun 10 11:57:27 1996 Jeffrey A Law (law@cygnus.com) + + * coff-h8300.c (howto_table): Add new entries for R_BCC_INV + and R_JMP_DEL. + (rtype2howto): Handle R_BCC_INV and R_JMP_DEL. + (h8300_symbol_address_p): New function. + (h8300_reloc16_estimate): Eliminate jumps made unnecessary by + relaxing. + +Sun Jun 9 16:30:20 1996 Jeffrey A Law (law@cygnus.com) + + * coff-h8300.c (h8300_reloc16_estimate): Fix many minor spacing + problems. + (h8300_reloc16_estimate, cases R_JMP1, R_JMP2): Adjust "dot" + correctly for the two variants. Allow relaxing if the target + is 128 bytes away since after relaxation it'll be 126 bytes away. + (h8300_reloc16_estimate, case R_PCRWORD): Correctly adjust + "dot" and "value". Allow relaxing if the target is 128 bytes + away since after relaxation it'll be 126 bytes away. + * reloc16.c (bfd_coff_reloc16_relax_section): Keep relaxing + the given section until nothing changes. + +Thu Jun 6 15:24:45 1996 Richard Henderson + + * ecoff.c (_bfd_ecoff_new_section_hook): Remove the _PDATA + alignment hack--we can get the lnnoptr info another way without + suddenly increasing the alignment requirements. Set the flags for + the _PDATA section. + (ecoff_compute_section_file_positions): Do so. + +Thu Jun 6 11:24:37 1996 Ian Lance Taylor + + * ieee.c (ieee_write_object_contents): Put a timestamp in the file + to keep the HP emulator database happy. + + * config.bfd: Recognize powerpc-*-linux* and powerpcle-*-linux*. + From Kevin Buettner . + +Wed Jun 5 15:16:04 1996 Ian Lance Taylor + + * aoutx.h (translate_to_native_sym_flags): Don't try to print the + name of a NULL section. + +Tue Jun 4 18:53:58 1996 Ian Lance Taylor + + * linker.c (_bfd_generic_link_add_one_symbol): If notice_all is + set, always call the notice callback. + + * VERSION: Increment for bfdlink.h change. + +Mon Jun 3 11:01:53 1996 Ian Lance Taylor + + * coff-sh.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Set to 4. + (sh_relax_delete_bytes): Correct handling of differently sized + trailing alignment reloc. + + * bfd-in.h: Use #error if BFD_HOST_64_BIT can not be defined. + * bfd-in2.h: Rebuild. + * configure.in: Warn if there is no known 64 bit type. + * configure: Rebuild. + + * Makefile.in: Rebuild dependencies. + (BFD32_BACKENDS): Add ppcboot.o. + (BFD32_BACKENDS_CFILES): Add ppcboot.c. + + * elf32-mips.c (mips_elf_size_dynamic_sections): Initialize c. + From Per Fogelstrom . + +Sat Jun 1 21:49:58 1996 Ian Lance Taylor + + * elf64-mips.c (bfd_mips_elf64_swap_reginfo_in) + (bfd_mips_elf64_swap_reginfo_out): Move from here... + * elf32-mips.c (bfd_mips_elf64_swap_reginfo_in) + (bfd_mips_elf64_swap_reginfo_out): ...to here. + +Fri May 31 13:51:28 1996 Ian Lance Taylor + + * elf64-mips.c: Improve reloc special_functions and handling of + SHT_MIPS_OPTIONS section. + * elf32-mips.c (_bfd_mips_elf_hi16_reloc): Rename from + mips_elf_hi16_reloc and make globally visible. + (_bfd_mips_elf_lo16_reloc): Rename from mips_elf_lo16_reloc and + make globally visible. + (_bfd_mips_elf_got16_reloc): Rename from mips_elf_got16_reloc and + make globally visible. + (_bfd_mips_elf_gprel16_reloc): Rename from mips_elf_gprel16_reloc + and make globally visible. + (gprel16_with_gp): Check howto->src_mask before using value in + insn. + (_bfd_mips_elf_gprel32_reloc): Rename from mips_elf_gprel32_reloc + and make globally visible. + (gprel32_with_gp): Check howto->src_mask before fetching value. + (bfd_mips_elf_swap_options_in): New function. + (bfd_mips_elf_swap_options_out): New function. + (_bfd_mips_elf_set_private_flags): Rename from + mips_elf_set_private_flags and make globally visible. + (_bfd_mips_elf_copy_private_bfd_data): Rename from + mips_elf_copy_private_bfd_data and make globally visible. + (_bfd_mips_elf_merge_private_bfd_data): Rename from + mips_elf_merge_private_bfd_data and make globally visible. + (_bfd_mips_elf_section_from_shdr): Accept .MIPS.options as a name + for a SHT_MIPS_OPTIONS section. + (mips_elf32_section_from_shdr): Handle SHT_MIPS_OPTIONS section. + (_bfd_mips_elf_fake_sections): Consider .MIPS.options to be the + name of a SHT_MIPS_OPTIONS section. + (_bfd_mips_elf_set_section_contents): New function. + (mips_elf32_section_processing): Set the GP value in a + SHT_MIPS_OPTIONS section. + (_bfd_mips_elf_find_nearest_line): Rename from + mips_elf_find_nearest_line and make globally visible. + (bfd_elf32_set_section_contents): Define. + * elf-bfd.h (_bfd_mips_elf_hi16_reloc): Declare. + (_bfd_mips_elf_lo16_reloc): Declare. + (_bfd_mips_elf_gprel16_reloc): Declare. + (_bfd_mips_elf_got16_reloc): Declare. + (_bfd_mips_elf_gprel32_reloc): Declare. + (_bfd_mips_elf_set_private_flags): Declare. + (_bfd_mips_elf_copy_private_bfd_data): Declare. + (_bfd_mips_elf_merge_private_bfd_data): Declare. + (_bfd_mips_elf_find_nearest_line): Declare. + (_bfd_mips_elf_set_section_contents): Declare. + + * elf32-hppa.c (elf32_hppa_info_to_howto): Rename from + elf_info_to_howto. + (elf_info_to_howto): Define. + * elf32-sparc.c (elf32_sparc_info_to_howto): Rename from + elf_info_to_howto. + (elf_info_to_howto): Define. + * elf64-sparc.c (sparc64_elf_info_to_howto): Rename from + elf_info_to_howto. + (elf_info_to_howto): Define. + + * coff-w65.c (h8300_reloc16_estimate): Rename R_MOVB[12] to + R_MOV16B[12], to match change in coff/internal.h. + +Thu May 30 12:38:49 1996 Ian Lance Taylor + + * elf64-mips.c: Extensive additions to provide better support for + writing files and for gas. + * elf32-mips.c (_bfd_mips_elf_object_p): New function, broken out + of mips_elf_object_p. + (mips_elf32_object_p): Rename from mips_elf_object_p; call + _bfd_mips_elf_object_p. + (_bfd_mips_elf_final_write_processing): Rename from + mips_elf_final_write_processing and make globally visible. + (_bfd_mips_elf_fake_sections): Rename from + mips_elf_fake_sections and make globally visible. + (_bfd_mips_elf_section_from_bfd_section): Rename from + mips_elf_section_from_bfd_section and make globally visible. + (_bfd_mips_elf_section_processing): New function, broken out of + mips_elf_section_processing. + (mips_elf32_section_processing): Rename from + mips_elf_section_processing; call + _bfd_mips_elf_section_processing. + (_bfd_mips_elf_symbol_processing): Rename from + mips_elf_symbol_processing and make globally visible. + (_bfd_mips_elf_read_ecoff_info): Rename from + mips_elf_read_ecoff_info and make globally visible. + (mips_elf32_ecoff_debug_swap): Rename from + mips_elf_ecoff_debug_swap. + * elf.c (_bfd_elf_symbol_from_bfd_symbol): Use asymbol rather than + struct symbol_cache_entry. + (_bfd_elf_validate_reloc): New function, moved in from + elfcode.h:validate_reloc. + * elfcode.h (validate_reloc): Remove; moved into elf.c and renamed + to _bfd_elf_validate_reloc. Change all callers. + * elf-bfd.h (bfd_section_from_shdr): Declare. + (_bfd_elf_symbol_from_bfd_symbol): Declare. + (_bfd_elf_validate_reloc): Declare. + (_bfd_mips_elf_object_p): Declare. + (_bfd_mips_elf_fake_sections): Declare. + (_bfd_mips_elf_section_from_bfd_section): Declare. + (_bfd_mips_elf_section_processing): Declare. + (_bfd_mips_elf_symbol_processing): Declare. + (_bfd_mips_elf_read_ecoff_info): Declare. + (_bfd_mips_elf_final_write_processing): Declare. + * elfxx-target.h (bfd_elfNN_get_reloc_upper_bound): Don't define + if already defined. + + * elf32-mips.c (mips_elf_object_p): Handle E_MIPS_ARCH_4. + (mips_elf_final_write_processing): Likewise. + +Wed May 29 16:15:29 1996 Ian Lance Taylor + + 64-bit MIPS ELF ABI objdump support: + * elf64-mips.c: New file. + * Makefile.in: Rebuild dependencies. + (BFD64_BACKENDS): Add elf64-mips.o. + (BFD64_BACKENDS_CFILES): Add elf64-mips.c. + * config.bfd (mips*el-*-elf*) Add bfd_elf64_bigmips_vec and + bfd_elf64_littlemips_vec to targ_selvecs. + (mips*-*-elf*): Likewise. + * confingure.in: Add bfd_elf64_bigmips_vec and + bfd_elf64_littlemips_vec to vector switch. + * configure: Rebuild. + * elf32-mips.c (_bfd_mips_elf_section_from_shdr): New function, + broken out of mips_elf_section_from_shdr. + (mips_elf32_section_from_shdr): Rename from + mips_elf_section_from_shdr. Call new function. + (elf_backend_section_from_shdr): Update name of renamed function. + * elf-bfd.h (struct elf_size_info): Change second parameter of + write_out_phdrs to be const. Likewise for second parameter of + swap_symbol_out. + (struct bfd_elf_section_data): Add rel_hdr2 field. + (bfd_elf32_swap_symbol_in): Change second parameter to be const. + (bfd_elf32_swap_symbol_out): Likewise. + (bfd_elf32_swap_reloc_in): Likewise. + (bfd_elf32_swap_reloc_out): Likewise. + (bfd_elf32_swap_reloca_in): Likewise. + (bfd_elf32_swap_reloca_out): Likewise. + (bfd_elf32_swap_phdr_in): Likewise. + (bfd_elf32_swap_phdr_out): Likewise. + (bfd_elf32_swap_dyn_in): Likewise. + (bfd_elf32_swap_dyn_out): Likewise. + (bfd_elf32_slurp_symbol_table): Declare. + (bfd_elf32_write_shdrs_and_ehdr): Declare. + (bfd_elf32_write_out_phdrs): Declare. + (bfd_elf64_swap_symbol_in): Change second parameter to be const. + (bfd_elf64_swap_symbol_out): Likewise. + (bfd_elf64_swap_reloc_in): Likewise. + (bfd_elf64_swap_reloc_out): Likewise. + (bfd_elf64_swap_reloca_in): Likewise. + (bfd_elf64_swap_reloca_out): Likewise. + (bfd_elf64_swap_phdr_in): Likewise. + (bfd_elf64_swap_phdr_out): Likewise. + (bfd_elf64_swap_dyn_in): Likewise. + (bfd_elf64_swap_dyn_out): Likewise. + (bfd_elf64_slurp_symbol_table): Declare. + (bfd_elf64_write_shdrs_and_ehdr): Declare. + (bfd_elf64_write_out_phdrs): Declare. + (_bfd_mips_elf_section_from_shdr): Declare. + * elf.c (bfd_section_from_shdr): Remove assertion requiring + SHT_REL/SHT_RELA to match use_rela_p. If there is already a reloc + section for the section, add the new one to rel_hdr2. Increment + reloc_count rather than setting it. + * elfcode.h (elf_slurp_symbol_table): Define name as macro. + Remove static declaration. + (elf_write_shdrs_and_ehdr): Define name as macro. + (elf_write_out_phdrs): Likewise. + (elf_swap_ehdr_in, elf_swap_ehdr_out): Declare. + (elf_swap_shdr_in, elf_swap_shdr_out): Declare. + (elf_swap_symbol_in): Change second parameter to be const. + (elf_swap_symbol_out): Likewise. + (elf_swap_ehdr_in, elf_swap_ehdr_out): Likewise. + (elf_swap_shdr_in, elf_swap_shdr_out): Likewise. + (elf_swap_phdr_in, elf_swap_phdr_out): Likewise. + (elf_swap_reloc_in, elf_swap_reloc_out): Likewise. + (elf_swap_reloca_in, elf_swap_reloca_out): Likewise. + (elf_write_out_phdrs): Rename from write_out_phdrs. Change second + parameter to be const. Make non-static. + (elf_write_shdrs_and_ehdr): Rename from write_shdrs_and_ehdr. + Make non-static. + (elf_slurp_symbol_table): Make non-static. + (NAME(_bfd_elf,size_info)): Update names of renamed functions. + * elfxx-target.h (elf_info_to_howto): Define if not defined. + (elf_backend_size_info): Likewise. + (elfNN_bed): Use elf_backend_size_info. + * targets.c (bfd_elf64_bigmips_vec): Declare. + (bfd_elf64_littlemips_vec): Declare. + (bfd_target_vector): Add bfd_elf64_bigmips_vec and + bfd_elf64_littlemips_vec if BFD64 is defined. + + * libbfd.c (bfd_get_file_window): Add cast to fprintf argument. + +Tue May 28 11:42:08 1996 Ian Lance Taylor + + * coff-sh.c (sh_relax_delete_bytes): Insert nop instructions, not + zeroes, in alignment holes. + + * configure: Rebuild with autoconf 2.10. + + * aoutx.h (NAME(aout,find_nearest_line)): Make room for the + potential leading underscore in the allocated buffer. + +Fri May 24 14:28:38 1996 Michael Meissner + + * elf32-ppc.c (ppc_elf_add_symbol_hook): Do not put small common + symbols into .sbss if this is a relocatable link. + +Thu May 23 12:26:24 1996 Ian Lance Taylor + + * xcofflink.c (_bfd_ppc_xcoff_relocate_section): Warn about + undefined symbols when creating a shared library. + +Fri May 17 13:54:15 1996 Ian Lance Taylor + + * coff-sh.c: Add a bunch of new code and static const arrays to + support aligning loads and stores on four byte memory boundaries. + Also: + (sh_coff_howtos): Add entries for R_SH_CODE, R_SH_DATA and + R_SH_LABEL. + (sh_relax_section): Look for R_SH_CODE relocs. If we find one, + call sh_align_loads. + (sh_relax_delete_bytes): Don't mark R_SH_CODE or R_SH_DATA relocs + as unused. + +Thu May 16 16:34:13 1996 Ian Lance Taylor + + * cache.c (bfd_open_file): Unlink the file before opening it for + write. From Marty Leisner . + + * opncls.c (bfd_fdopenr): Set opened_once. + +Tue May 14 12:35:32 1996 Ian Lance Taylor + + * som.c (som_slurp_reloc_table): Clear external_relocs cache after + freeing it. + + * libbfd.c: Remove #ifdef FILE_OFFSET_IS_CHAR_INDEX, and compile + the code unconditionally. + +Mon May 13 19:51:37 1996 Ian Lance Taylor + + * libcoff-in.h (struct pei_section_tdata): Define structure. + (pei_section_data): Define macro. + * libcoff.h: Rebuild. + * coffcode.h (coff_set_alignment_hook): If COFF_IMAGE_WITH_PE, + store s_paddr field in pei_section_data. + (coff_compute_section_file_positions): Use pei_section_data rather + than _cooked_size, and don't overwrite an existing value. + (coff_write_object_contents): If COFF_OBJ_WITH_PE, set s_paddr to + 0. If COFF_IMAGE_WITH_PE, set s_paddr to pei_section_data. + * peicode.h (coff_bfd_copy_private_section_data): Define if + COFF_IMAGE_WITH_PE. + (pe_bfd_copy_private_section_data): New static function if + COFF_IMAGE_WITH_PE. + +Wed May 8 16:10:38 1996 Ian Lance Taylor + + * srec.c (srec_set_arch_mach): Write as a function rather than a + macro definition. + + * xcofflink.c (_bfd_xcoff_bfd_link_add_symbols): If an archive has + no map, just check each member in turn to see whether it is + required. + +Wed May 8 09:17:34 1996 Michael Meissner + + * ppcboot.c (ppcboot_object_p): Check for type 0x41 in partition + table. Call BFD_ASSERT to validate header size, instead of + calling fatal. + (ppcboot_bfd_print_private_bfd_data): Put quotes around partition + name. + +Tue May 7 16:10:19 1996 Michael Meissner + + * ppcboot.c: New target for looking at PPCbug boot records. + + * config{ure.in,.bfd}: Add support for ppcboot target. + * targets.c: Ditto. + * configure: Regenerate. + +Tue May 7 11:15:19 1996 Jeffrey A Law (law@cygnus.com) + + * coff-h8300.c (howto_table): Update names to match recent + changes to include/coff/internal.h. Fix minor errors in the + existing relocs. Add R_MOVL1 and R_MOVL2. + (rtype2howto): Similarly. + (h8300_reloc16_estimate): Rewrite to simplify, fix bugs in the + existing relaxing code and peform more relaxing. + (h8300_reloc16_extra_cases): Likewise. + +Mon May 6 18:24:09 1996 Jeffrey A Law (law@cygnus.com) + + * reloc16.c (bfd_coff_reloc16_get_value): Handle common + symbols correctly. + +Sat May 4 05:08:45 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * elfcode.h (elf_object_p): Reject generic ELF target if + e_machine matches an alternate machine code in a specific backend. + + * netbsd-core.c (netbsd_core_vec): Remove initializer for + obsolete align_power_min field. + +Fri May 3 13:07:35 1996 Jeffrey A Law (law@cygnus.com) + + * coff-h8300.c (reloc_howto_type): Add howto entry for + R_PCRWORD_B. + (rtype2howto): Handle R_PCRWORD_B. + (h8300_reloc16_extra_cases): Handle R_PCRWORD_B. + (h8300_reloc_16_estimate): Likewise. Try to turn a 16bit + pc-relative branch (R_PCRWORD) into an 8bit pc-relative + branch (R_PCWORD_B). + +Fri May 3 10:47:41 1996 Ian Lance Taylor + + * aoutx.h (translate_from_native_sym_flags): Set the section for + BSF_CONSTRUCTOR symbols. + + * cofflink.c (_bfd_coff_link_input_bfd): Correct setting of + last_bf_index. + +Wed May 1 18:39:32 1996 Doug Evans + + * coffcode.h (coff_write_object_contents): In comdat section lookup, + stop looking when section is found. + +Wed May 1 14:17:57 1996 Ian Lance Taylor + + * coffcode.h (STRING_SIZE_SIZE): Define. + (styp_to_sec_flags): Handle long symbol names when looking for the + section symbol. + (bfd_coff_backend_data): Add _bfd_coff_long_section_names field. + (bfd_coff_long_section_names): Define. + (coff_write_object_contents): Handle long section names. + (bfd_coff_std_swap_table): Initialize new field. + * libcoff.h: Rebuild. + * coffgen.c (make_a_section_from_file): Handle long section + names. + (coff_write_symbols): Handle long section names. + * coff-alpha.c (alpha_ecoff_backend_data): Initialize new field. + * coff-mips.c (mips_ecoff_backend_data): Likewise. + * pe-arm.c (COFF_LONG_SECTION_NAMES): Define. + * pei-arm.c (COFF_LONG_SECTION_NAMES): Define. + * pe-i386.c (COFF_LONG_SECTION_NAMES): Define. + * pei-i386.c (COFF_LONG_SECTION_NAMES): Define. + * pe-ppc.c (COFF_LONG_SECTION_NAMES): Define. + * pei-ppc.c (COFF_LONG_SECTION_NAMES): Define. + + * bout.c (b_out_callback): Set lma of sections. + (b_out_bfd_get_relocated_section_contents): Rename in_abfd + parameter to output_bfd. Used input_bfd instead of output_bfd in + several places. + +Tue Apr 30 17:56:39 1996 Ian Lance Taylor + + * aoutx.h (translate_from_native_sym_flags): Don't create + SEC_CONSTRUCTOR sections. + * ecoff.c (ecoff_set_symbol_info): Likewise. + + * elf32-mips.c (mips_elf_copy_private_bfd_data): Copy elf_gp. + From Don Bowman . + +Tue Apr 30 17:06:32 1996 Doug Evans + + * coff-arm.c (armcoff_little_vec): If COFF_WITH_PE is defined, add + SEC_LINK_ONCE and SEC_LINK_DUPLICATES to section_flags. + +Mon Apr 29 13:15:17 1996 Ian Lance Taylor + + * elf32-mips.c (struct mips_elf_link_hash_entry): Add + mips_32_relocs field. + (mips_elf_link_hash_newfunc): Initialize mips_32_relocs field. + (mips_elf_relocate_section): Copy R_MIPS_REL32 and R_MIPS_32 + relocs against a global symbol which is not defined in a regular + file. + (mips_elf_check_relocs): For a R_MIPS_REL32 or R_MIPS_32 reloc + against a global symbol, increment mips_32_relocs. + (mips_elf_adjust_dynamic_symbol): If mips_32_relocs is set, and + the symbol is not defined in a regular file, make room in the + .rel.dyn section. + +Fri Apr 26 18:00:37 1996 Ian Lance Taylor + + * ecoff.c (ecoff_compute_section_file_positions): Track the real + file position and the virtual file position separately. Set + filepos information bsaed on the real file position. + (_bfd_ecoff_set_section_contents): Handle .lib sections like the + Jan 23 change to coffcode.h. + + * som.c (som_slurp_symbol_table): Set the symbol count to the + number of BFD symbols created. + +Fri Apr 26 12:34:29 1996 Michael Meissner + + * elf32-ppc.c (ppc_elf_check_relocs): Forward relocations to the + output file if linking shared objects. Loop to check all relocs, + rather than returning false on first error. + +Thu Apr 25 13:25:12 1996 Michael Meissner + + * elf32-ppc.c (ppc_elf_create_linker_section): Add PLT case. + (ppc_elf_additional_program_headers): If .interp section, bump # + of program headers by 1. + (ppc_elf_adjust_dynamic_symbol): Flesh out support. + (ppc_elf_size_dynamic_sections): Add support for .plt section. + (ppc_elf_check_relocs): Print out filename in debug code. Enable + PLT support. + (ppc_elf_finish_dynamic_symbol): Add support for PLT's, beef up + debug output. + (ppc_elf_relocate_section): If the output section isn't defined, + don't abort, just give an error message. + + * elflink.c (_bfd_elf_create_dynamic_sections): If the section + being created is .sdata or .sdata2, don't make the symbol dynamic. + +Wed Apr 24 14:04:07 1996 Ian Lance Taylor + + * xcofflink.c (_bfd_xcoff_bfd_link_add_symbols): Look through the + members of an archive for dynamic objects with no symbols, and + pass them directly to check_archive_element. + (xcoff_link_check_ar_symbols): Pass dynamic objects to + xcoff_link_check_dynamic_ar_symbols. + (xcoff_link_check_dynamic_ar_symbols): New static function. + + * coff-rs6000.c (rs6000coff_vec): Change BFD_JUMP_TABLE_DYNAMIC + from _bfd_nodynamic to _bfd_xcoff. + * libcoff-in.h (_bfd_xcoff_get_dynamic_symtab_upper_bound): + Declare. + (_bfd_xcoff_canonicalize_dynamic_symtab): Declare. + (_bfd_xcoff_get_dynamic_reloc_upper_bound): Declare. + (_bfd_xcoff_canonicalize_dynamic_reloc): Declare. + * libcoff.h: Rebuild. + * xcofflink.c (xcoff_swap_ldrel_in): New static function. + (xcoff_get_section_contents): New static function. + (_bfd_xcoff_get_dynamic_symtab_upper_bound): New function. + (_bfd_xcoff_canonicalize_dynamic_symtab): New function. + (_bfd_xcoff_get_dynamic_reloc_upper_bound): New function. + (xcoff_dynamic_reloc): New static variable. + (_bfd_xcoff_canonicalize_dynamic_reloc): New function. + (xcoff_link_add_dynamic_symbols): Use xcoff_get_section_contents. + +Tue Apr 23 12:48:42 1996 Ian Lance Taylor + + * coff-sparc.c (bfd_coff_generic_reloc): Return bfd_reloc_ok even + if reloc_entry->addend is not 0. + (CALC_ADDEND): Just set the addend to reloc.r_offset. + +Mon Apr 22 18:29:01 1996 Doug Evans + + * elf32-sparc.c (_bfd_sparc_elf_howto_table): Fix spelling of + R_SPARC_GLOB_JMP. + * elf64-sparc.c (sparc64_elf_howto_table): Likewise. + Add entries for R_SPARC_[56]. + (sparc_reloc_map): Add entries for R_SPARC_[56]. + +Mon Apr 22 15:07:24 1996 Ian Lance Taylor + + Optimize linking of stabs in sections as used in ELF and COFF. + * stabs.c: New file. + * libbfd-in.h (_bfd_link_section_stabs): Declare. + (_bfd_write_section_stabs): Declare. + (_bfd_write_stab_strings): Declare. + * libbfd.h: Rebuild. + * libcoff-in.h (struct coff_section_tdata): Add stab_info field. + (struct coff_link_hash_table): Add stab_info field. + * libcoff.h: Rebuild. + * cofflink.c (_bfd_coff_link_hash_table_init): Initialize + stab_info field. + (coff_link_add_symbols): Call _bfd_link_section_stabs if + appropriate. + (_bfd_coff_final_link): Write out stab strings hash table. + (_bfd_coff_link_input_bfd): Handle optimized stabs sections. + * coff-ppc.c (ppc_bfd_coff_final_link): Write out stab strings + hash table. + * elf-bfd.h (struct elf_link_hash_table): Add stab_info field. + (struct bfd_elf_section_data): Add stab_info field. + * elf.c (_bfd_elf_link_hash_table_init): Initialize stab_info + field. + * elflink.h (elf_link_add_object_symbols): If appropriate, call + _bfd_link_section_stabs. + (elf_bfd_final_link): Write out stab strings hash table. + (elf_link_input_bfd): Handle optimized stabs sections. + * reloc.c (_bfd_final_link_relocate): Check address against + _raw_size rather than _cooked_size. + * Makefile.in: Rebuild dependencies. + (BFD_LIBS): Add stabs.o + (BFD_LIBS_CFILES): Add stabs.c. + + * VERSION: Increment for bfdlink.h change. + + * coffgen.c (coff_renumber_symbols): Correct handling of + BSF_NOT_AT_END common symbols. + +Fri Apr 19 19:21:56 1996 Ian Lance Taylor + + * coff-ppc.c (record_toc): Add cast to avoid warning. + (ppc_allocate_toc_section): Likewise. + (coff_ppc_relocate_section): Remove ANSI C string concatenation. + (ppc_coff_reloc_type_lookup): Remove unreached code. + * coffcode.h (coff_write_object_contents): Don't take the address + of an array. + * peicode.h (pe_print_idata): Add casts to avoid warning. + (pe_print_edata): Likewise. + (pe_print_reloc): Remove ANSI C string concatenation. + +Thu Apr 18 18:51:18 1996 Ian Lance Taylor + + * libcoff-in.h (struct coff_final_link_info): Add last_bf_index + and last_bf fields. + * libcoff.h: Rebuild. + * coffswap.h (coff_swap_aux_in): Swap endndx field for C_FCN + symbols. + (coff_swap_aux_out): Likewise. + * peicode.h (coff_swap_aux_in): Likewise. + (coff_swap_aux_out): Likewise. + * coffgen.c (coff_pointerize_aux): Check endndx field for C_FCN + symbols. + * cofflink.c (_bfd_coff_final_link): Initialize last_bf_index + field. + (_bfd_coff_link_input_bfd): Check endndx field for C_FCN symbols. + Fix up .bf endndx link fields. + * coff-ppc.c (ppc_bfd_coff_final_link): Initialize last_bf_index + field. + * xcofflink.c (xcoff_link_input_bfd): Check endndx field for C_FCN + symbols. + +Wed Apr 17 12:08:24 1996 Michael Meissner + + * pe{,i}-ppc.c (PPC_PE): Define instead of PPC, so that compiling + on Solaris PowerPC systems doesn't get confused. + + * ccffcode.h (coff_write_object_contents): Use #ifdef PPC_PE, not + #ifdef PPC. + + * elfcore.h (bfd_prstatus, bfd_fpregset): Add thread argument. + (elf_corefile_note): If HAVE_SYS_PROCFS_H is not defined, don't + update did_reg and did_reg2. + +Wed Apr 17 13:07:37 1996 Ian Lance Taylor + + * xcofflink.c (xcoff_link_input_bfd): Check for TOC overflow. + + * linker.c (_bfd_generic_link_add_one_symbol): When calling the + callback routines, pass h->root.string rather than name, in case + copy is true and name is transient. + +Tue Apr 16 16:36:38 1996 Stu Grossman (grossman@lisa.cygnus.com) + + * elfcore.h: Add support for core files with multiple threads. + (Primarily for Solaris.) + +Tue Apr 16 13:44:08 1996 Ian Lance Taylor + + * aoutx.h (NAME(aout,squirt_out_relocs)): Don't do anything if + section->orelocation is NULL. + + * coffgen.c (bfd_coff_get_syment): New function. + (bfd_coff_get_auxent): New function. + * bfd-in.h (bfd_coff_get_syment): Declare. + (bfd_coff_get_auxent): Declare. + * bfd-in2.h: Rebuild. + +Mon Apr 15 19:06:59 1996 Ian Lance Taylor + + * elf32-mips.c (struct mips_hi16): Define. + (mips_hi16_addr, mips_hi16_addend): Remove. + (mips_hi16_list): New static variable. + (mips_elf_hi16_reloc): Maintain a list of unmatched HI16 relocs. + (mips_elf_lo16_reloc): Process mips_hi16_list. + (mips_elf_relocate_section): Permit an arbitrary number of HI16 + relocs before the associated LO16 reloc. + +Wed Apr 10 00:23:53 1996 Ian Lance Taylor + + * versados.c (versados_scan): Check bfd_alloc return value. + (versados_object_p): Check all bfd_read return values. Require + that lang field be less than 10, to avoid confusion with Intel Hex + files. + + * libaout.h (WRITE_HEADERS): Write out the relocs even if there + aren't any symbols. + * aoutx.h (NAME(aout,swap_std_reloc_out)): Set r_index to N_ABS, + not 0, for an absolute symbol. + (NAME(aout,swap_ext_reloc_out)): Likewise. + + * ihex.c (ihex_scan): Accept a length of 4 for record type 5. + (ihex_write_object_contents): For a large start address, output + the full 32 bit address in record type 5. + + * ieee.c (ieee_write_byte): Change second parameter from bfd_byte + to int to avoid promotion problems in prototype. + +Tue Apr 9 11:44:21 1996 Ian Lance Taylor + + * configure.host: Use ${srcdir} when looking for picfrag. + + * configure.host: Switch on ${libdir}, not $(libdir). From + alan@spri.levels.unisa.edu.au (Alan Modra). + + * aoutx.h (aout_link_add_symbols): Always call add_dynamic_symbols + entry point, not just for DYNAMIC objects. + * sunos.c (sunos_add_dynamic_symbols): Always call + sunos_create_dynamic_sections. If called with a non DYNAMIC + object, don't do anything else. + (sunos_add_one_symbol): Don't call sunos_create_dynamic_sections. + +Mon Apr 8 12:09:36 1996 Ian Lance Taylor + + * configure.in: Permit --enable-shared to specify a list of + directories. + * configure: Rebuild. + + * configure.host: Set HLDFLAGS and SHLIB_CFLAGS for *-dec-osf* + host when configuring with --enable-shard. + +Fri Apr 5 12:24:13 1996 Ian Lance Taylor + + * config.bfd: Add i[345]86-*-freebsdelf* target; from John Polstra + . + + * linker.c (link_action): For WARN_ROW/warn, use MWARN, not CYCLE, + to avoid crashing in bfd_hash_replace. + + * sysdep.h: Use #ifdef, not #if. + +Thu Apr 4 23:32:23 1996 Ian Lance Taylor + + * config.in: Rebuild. + +Thu Apr 4 18:49:09 1996 Fred Fish + + * configure.in (mips-sony-bsd*): Fix typo in AC_DEFINE. + (AC_CHECK_HEADERS): Check for sys/time.h + (AC_HEADER_TIME): Add macro. + * configure: Rebuild. + * sysdep.h: Use TIME_WITH_SYS_TIME and HAVE_SYS_TIME_H + to control what combination of