Rename elf-linux-psinfo.h to elf-linux-core.h
authorAlan Modra <amodra@gmail.com>
Thu, 21 Jan 2016 02:45:02 +0000 (13:15 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 21 Jan 2016 09:29:33 +0000 (19:59 +1030)
Since it will sometime have more than just prpsinfo.  Also,
elf32-ppc.c needlessly includes this header.

* elf-linux-core.h: Rename from elf-linux-psinfo.h.
* elf.c: Adjust #include.
* elf32-ppc.c: Don't #include elf-linux-psinfo.h
* Makefile.am (SOURCE_HFILES): Update.
* Makefile.in: Regenerate.
* po/SRC-PORFILES.in: Regenerate.

bfd/ChangeLog
bfd/Makefile.am
bfd/Makefile.in
bfd/elf-linux-core.h [moved from bfd/elf-linux-psinfo.h with 100% similarity]
bfd/elf.c
bfd/elf32-ppc.c
bfd/po/SRC-POTFILES.in

index 4523178..d06be40 100644 (file)
@@ -1,5 +1,14 @@
 2016-01-21  Alan Modra  <amodra@gmail.com>
 
+       * elf-linux-core.h: Rename from elf-linux-psinfo.h.
+       * elf.c: Adjust #include.
+       * elf32-ppc.c: Don't #include elf-linux-psinfo.h
+       * Makefile.am (SOURCE_HFILES): Update.
+       * Makefile.in: Regenerate.
+       * po/SRC-PORFILES.in: Regenerate.
+
+2016-01-21  Alan Modra  <amodra@gmail.com>
+
        * configure.ac: Move corefile selection later in file.  Move
        tdefaults code immediately after other target vector code.
        * configure: Regenerate.
index cb3a856..db6f059 100644 (file)
@@ -790,7 +790,7 @@ 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 \
index 6b90be7..2a5de7c 100644 (file)
@@ -1095,7 +1095,7 @@ BUILD_CFILES = \
 CFILES = $(SOURCE_CFILES) $(BUILD_CFILES)
 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 \
similarity index 100%
rename from bfd/elf-linux-psinfo.h
rename to bfd/elf-linux-core.h
index b2a50bf..dba5a0f 100644 (file)
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -42,7 +42,7 @@ SECTION
 #include "elf-bfd.h"
 #include "libiberty.h"
 #include "safe-ctype.h"
-#include "elf-linux-psinfo.h"
+#include "elf-linux-core.h"
 
 #ifdef CORE_HEADER
 #include CORE_HEADER
index 54cb5d4..c2f2b70 100644 (file)
@@ -35,7 +35,6 @@
 #include "elf32-ppc.h"
 #include "elf-vxworks.h"
 #include "dwarf2.h"
-#include "elf-linux-psinfo.h"
 
 typedef enum split16_format_type
 {
index 25375de..f12ad70 100644 (file)
@@ -157,7 +157,7 @@ elf-bfd.h
 elf-eh-frame.c
 elf-hppa.h
 elf-ifunc.c
-elf-linux-psinfo.h
+elf-linux-core.h
 elf-m10200.c
 elf-m10300.c
 elf-nacl.c