* solib-pa64.c: Only include <dlfcn.h>, <elf.h> and <elf_hp.h> if
PA_SOM_ONLY isn't defined.
This commit is contained in:
parent
17fe2d6e13
commit
d0ac9ef822
@ -1,5 +1,8 @@
|
||||
2004-12-18 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* solib-pa64.c: Only include <dlfcn.h>, <elf.h> and <elf_hp.h> if
|
||||
PA_SOM_ONLY isn't defined.
|
||||
|
||||
* somread.c: Include "solib-som.h".
|
||||
(som_symfile_init, som_new_init, som_symfile_read,
|
||||
som_symfile_finish, som_symtab_read, som_symfile_offsets): Remove
|
||||
|
@ -31,9 +31,6 @@
|
||||
same functionality in all their libraries! */
|
||||
|
||||
#include "defs.h"
|
||||
#include <dlfcn.h>
|
||||
#include <elf.h>
|
||||
#include <elf_hp.h>
|
||||
#include "symtab.h"
|
||||
#include "bfd.h"
|
||||
#include "symfile.h"
|
||||
@ -51,6 +48,11 @@
|
||||
/* If we are building for a SOM-only target, then we don't need this. */
|
||||
#ifndef PA_SOM_ONLY
|
||||
|
||||
/* FIXME: kettenis/20041213: These includes should be eliminated. */
|
||||
#include <dlfcn.h>
|
||||
#include <elf.h>
|
||||
#include <elf_hp.h>
|
||||
|
||||
struct lm_info {
|
||||
struct load_module_desc desc;
|
||||
CORE_ADDR desc_addr;
|
||||
|
Loading…
Reference in New Issue
Block a user