Fix seg-fault running strip on a corrupt binary.
[deliverable/binutils-gdb.git] / bfd / Makefile.am
index cdfed8f56f7a7fd4f196c668cf6fa6c85323950b..0d5dd4a4236ecd6d85a000fdf46dda37aeefd198 100644 (file)
@@ -1,6 +1,6 @@
 ## Process this file with automake to generate Makefile.in
 #
-#   Copyright (C) 2012-2015 Free Software Foundation, Inc.
+#   Copyright (C) 2012-2016 Free Software Foundation, Inc.
 #
 # 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
@@ -148,6 +148,7 @@ ALL_MACHINES = \
        cpu-plugin.lo \
        cpu-powerpc.lo \
        cpu-rs6000.lo \
+       cpu-riscv.lo \
        cpu-rl78.lo \
        cpu-rx.lo \
        cpu-s390.lo \
@@ -235,6 +236,7 @@ ALL_MACHINES_CFILES = \
        cpu-plugin.c \
        cpu-powerpc.c \
        cpu-rs6000.c \
+       cpu-riscv.c \
        cpu-rl78.c \
        cpu-rx.c \
        cpu-s390.c \
@@ -671,18 +673,21 @@ BFD64_BACKENDS = \
        elf64-hppa.lo \
        elf64-ia64.lo \
        elf64-ia64-vms.lo \
+       elfxx-ia64.lo \
+       elfn32-mips.lo \
        elf64-mips.lo \
+       elfxx-mips.lo \
        elf64-mmix.lo \
        elf64-ppc.lo \
+       elf32-riscv.lo \
+       elf64-riscv.lo \
+       elfxx-riscv.lo \
        elf64-s390.lo \
        elf64-sh64.lo \
        elf64-sparc.lo \
        elf64-tilegx.lo \
        elf64-x86-64.lo \
        elf64.lo \
-       elfn32-mips.lo \
-       elfxx-ia64.lo \
-       elfxx-mips.lo \
        mach-o-aarch64.lo \
        mach-o-x86-64.lo \
        mmo.lo \
@@ -722,6 +727,7 @@ BFD64_BACKENDS_CFILES = \
        elfxx-aarch64.c \
        elfxx-ia64.c \
        elfxx-mips.c \
+       elfxx-riscv.c \
        mach-o-aarch64.c \
        mach-o-x86-64.c \
        mmo.c \
@@ -738,6 +744,7 @@ OPTIONAL_BACKENDS = \
        hpux-core.lo \
        irix-core.lo \
        lynx-core.lo \
+       netbsd-core.lo \
        osf-core.lo \
        rs6000-core.lo \
        sco5-core.lo \
@@ -749,6 +756,7 @@ OPTIONAL_BACKENDS_CFILES = \
        hpux-core.c \
        irix-core.c \
        lynx-core.c \
+       netbsd-core.c \
        osf-core.c \
        rs6000-core.c \
        sco5-core.c \
@@ -783,14 +791,16 @@ SOURCE_CFILES = \
 
 BUILD_CFILES = \
        elf32-aarch64.c elf64-aarch64.c \
-       elf32-ia64.c elf64-ia64.c peigen.c pepigen.c pex64igen.c
+       elf32-ia64.c elf64-ia64.c \
+       elf32-riscv.c elf64-riscv.c \
+       peigen.c pepigen.c pex64igen.c
 
 CFILES = $(SOURCE_CFILES) $(BUILD_CFILES)
 
 ## This is a list of all .h files which are in the source tree.
 SOURCE_HFILES = \
        aout-target.h aoutf1.h aoutx.h coffcode.h coffswap.h ecoffswap.h \
-       elf-bfd.h elf-hppa.h elf-linux-psinfo.h elf32-hppa.h \
+       elf-bfd.h elf-hppa.h elf-linux-core.h elf32-hppa.h \
        elf64-hppa.h elfcode.h elfcore.h \
        freebsd.h genlink.h go32stub.h \
        libaout.h libbfd.h libcoff.h libecoff.h libhppa.h libieee.h \
@@ -953,6 +963,18 @@ elf64-ia64.c : elfnn-ia64.c
        $(SED) -e s/NN/64/g < $(srcdir)/elfnn-ia64.c > elf64-ia64.new
        mv -f elf64-ia64.new elf64-ia64.c
 
+elf32-riscv.c : elfnn-riscv.c
+       rm -f elf32-riscv.c
+       echo "#line 1 \"$(srcdir)/elfnn-riscv.c\"" > elf32-riscv.new
+       sed -e s/NN/32/g < $(srcdir)/elfnn-riscv.c >> elf32-riscv.new
+       mv -f elf32-riscv.new elf32-riscv.c
+
+elf64-riscv.c : elfnn-riscv.c
+       rm -f elf64-riscv.c
+       echo "#line 1 \"$(srcdir)/elfnn-riscv.c\"" > elf64-riscv.new
+       sed -e s/NN/64/g < $(srcdir)/elfnn-riscv.c >> elf64-riscv.new
+       mv -f elf64-riscv.new elf64-riscv.c
+
 peigen.c : peXXigen.c
        rm -f peigen.c
        $(SED) -e s/XX/pe/g < $(srcdir)/peXXigen.c > peigen.new
@@ -995,12 +1017,13 @@ stmp-bfd-h: bfd-in3.h
        rm -f bfd-tmp.h
        touch stmp-bfd-h
 
-BFD_H_FILES = bfd-in.h init.c opncls.c libbfd.c section.c archures.c \
-       reloc.c syms.c bfd.c bfdio.c bfdwin.c \
-       archive.c corefile.c targets.c format.c compress.c
+BFD_H_FILES = bfd-in.h init.c opncls.c libbfd.c \
+       bfdio.c bfdwin.c section.c archures.c reloc.c \
+       syms.c bfd.c archive.c corefile.c targets.c format.c \
+       linker.c simple.c compress.c
 BFD64_H_FILES = archive64.c
-LIBBFD_H_FILES = libbfd-in.h init.c libbfd.c bfdio.c bfdwin.c \
-       cache.c reloc.c archures.c elf.c
+LIBBFD_H_FILES = libbfd-in.h libbfd.c bfdio.c bfdwin.c \
+       cache.c reloc.c archures.c linker.c
 LIBCOFF_H_FILES = libcoff-in.h coffcode.h
 
 # Could really use a "copy-if-change"...
This page took 0.023933 seconds and 4 git commands to generate.