diff options
author | Roland McGrath <roland@gnu.org> | 2003-05-21 00:56:05 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2003-05-21 00:56:05 +0000 |
commit | 8d6337feeb730bf1966ec96e9bef957b43fca744 (patch) | |
tree | d76427f73e20dba080ddc3292871477fd2580f34 /bfd/elfxx-target.h | |
parent | 3333a7c3394cdd592086c2358d52d3e4ae16b9f1 (diff) | |
download | gdb-8d6337feeb730bf1966ec96e9bef957b43fca744.zip gdb-8d6337feeb730bf1966ec96e9bef957b43fca744.tar.gz gdb-8d6337feeb730bf1966ec96e9bef957b43fca744.tar.bz2 |
2003-05-19 Roland McGrath <roland@redhat.com>
* elf.c (bfd_elf_bfd_from_remote_memory): New function.
* bfd-in.h: Declare it.
* elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): New function.
* elf-bfd.h (struct elf_backend_data): New function pointer member
elf_backend_bfd_from_remote_memory.
(_bfd_elf32_bfd_from_remote_memory, _bfd_elf64_bfd_from_remote_memory):
Declare them.
* elfxx-target.h (elf_backend_bfd_from_remote_memory): New macro.
(elfNN_bed): Add that to the initializer.
Diffstat (limited to 'bfd/elfxx-target.h')
-rw-r--r-- | bfd/elfxx-target.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/elfxx-target.h b/bfd/elfxx-target.h index 734d78b..58a96b1 100644 --- a/bfd/elfxx-target.h +++ b/bfd/elfxx-target.h @@ -338,6 +338,9 @@ #ifndef elf_backend_ecoff_debug_swap #define elf_backend_ecoff_debug_swap 0 #endif +#ifndef elf_backend_bfd_from_remote_memory +#define elf_backend_bfd_from_remote_memory _bfd_elfNN_bfd_from_remote_memory +#endif #ifndef elf_backend_got_header_size #define elf_backend_got_header_size 0 #endif @@ -490,6 +493,7 @@ static const struct elf_backend_data elfNN_bed = elf_backend_mips_irix_compat, elf_backend_mips_rtype_to_howto, elf_backend_ecoff_debug_swap, + elf_backend_bfd_from_remote_memory, ELF_MACHINE_ALT1, ELF_MACHINE_ALT2, &elf_backend_size_info, |