aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1994-03-02 23:04:29 +0000
committerJeff Law <law@redhat.com>1994-03-02 23:04:29 +0000
commit4e64845ca5e5c23afd925cd780aa08884714cda9 (patch)
treeb7372d5f02be00dd18db3ec7a905a1408d49a25a /bfd
parent74a88e8b27dbd777b7634882dc3732f9061da2e6 (diff)
downloadgdb-4e64845ca5e5c23afd925cd780aa08884714cda9.zip
gdb-4e64845ca5e5c23afd925cd780aa08884714cda9.tar.gz
gdb-4e64845ca5e5c23afd925cd780aa08884714cda9.tar.bz2
* som.[ch]: Do not include libhppa.h in som.c, instead include
it in som.h. * elf32-hppa.[ch]: Do not include libhppa.h in elf32-hppa.c, instead include it in elf32-hppa.h.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/elf32-hppa.c1
-rw-r--r--bfd/elf32-hppa.h1
-rw-r--r--bfd/som.c1
-rw-r--r--bfd/som.h1
5 files changed, 8 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index fd58ef9..e86faa1 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,11 @@
Wed Mar 2 11:57:03 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
+ * som.[ch]: Do not include libhppa.h in som.c, instead include
+ it in som.h.
+
+ * elf32-hppa.[ch]: Do not include libhppa.h in elf32-hppa.c, instead
+ include it in elf32-hppa.h.
+
* som.c (log2): Return -1 on error rather than aborting.
(setup_sections): Bubble up an error from log2.
diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c
index 151a44b..6486565 100644
--- a/bfd/elf32-hppa.c
+++ b/bfd/elf32-hppa.c
@@ -40,7 +40,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
November 19, 1992. */
#include "elf32-hppa.h"
-#include "libhppa.h"
#include "aout/aout64.h"
#include "hppa_stubs.h"
diff --git a/bfd/elf32-hppa.h b/bfd/elf32-hppa.h
index eb8c8bd..af264c0 100644
--- a/bfd/elf32-hppa.h
+++ b/bfd/elf32-hppa.h
@@ -32,6 +32,7 @@
#define _ELF32_HPPA_H
#include "libelf.h"
+#include "libhppa.h"
/* ELF/HPPA relocation types */
diff --git a/bfd/som.c b/bfd/som.c
index 66c68e9..daeb9f9 100644
--- a/bfd/som.c
+++ b/bfd/som.c
@@ -27,7 +27,6 @@
#include "libbfd.h"
#include "som.h"
-#include "libhppa.h"
#include <stdio.h>
#include <sys/types.h>
diff --git a/bfd/som.h b/bfd/som.h
index 0055480..977e055 100644
--- a/bfd/som.h
+++ b/bfd/som.h
@@ -24,6 +24,7 @@
#define _SOM_H
#include "../bfd/sysdep.h"
+#include "libhppa.h"
#include <a.out.h>
#include <lst.h>