aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>