From 4e64845ca5e5c23afd925cd780aa08884714cda9 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 2 Mar 1994 23:04:29 +0000 Subject: [PATCH] * 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. --- bfd/ChangeLog | 6 ++++++ bfd/elf32-hppa.c | 1 - bfd/elf32-hppa.h | 1 + bfd/som.c | 1 - bfd/som.h | 1 + 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 #include 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 #include -- 2.7.4