aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in.h
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1995-08-31 23:33:37 +0000
committerSteve Chamberlain <sac@cygnus>1995-08-31 23:33:37 +0000
commit4e98461f60a9bcfdcf5c4c42409bef64b834f8e1 (patch)
tree3490409f8abd07bed6b85d43f9360a0f2b4b1be1 /bfd/bfd-in.h
parent0b4fc03b3789e0f55006222913364b7ba7bbd1b2 (diff)
downloadgdb-4e98461f60a9bcfdcf5c4c42409bef64b834f8e1.zip
gdb-4e98461f60a9bcfdcf5c4c42409bef64b834f8e1.tar.gz
gdb-4e98461f60a9bcfdcf5c4c42409bef64b834f8e1.tar.bz2
Thu Aug 31 16:00:53 1995 steve chamberlain <sac@slash.cygnus.com>
* Makefile.in: Update dependencies. * aout-target.h (MY_bfd_print_private_bfd_data): New. * bfd-in.h (PE STUFF): Deleted. * bfd.c (tdata->pe_obj_data): New. (bfd_print_private_bfd_data): New. * coff-i386.c, coff-arm.c (coff_*-rtype_to_howto): Get image base from new place. * libcoff.h, libbfd.h, bfd-in2.h: Rebuilt. * coffcode.h (pe_value): Delete (coff_mkobject, coff_mkobject_hook): Conditionally build. (coff_compute_section_file_positions): Look in new place. (add_data_entry, fill_pe_header_info): Deleted. (coff_write_object_contents): Remove PE stuff. (coff_bfd_print_private_bfd_data): New. * coffswap.h: Remove PE stuff. * elfxx-target.h (bfd_elfNN_bfd_print_private_bfd_data): New. * libbfd-in.h (_bfd_generic_bfd_print_private_bfd_data): New. * libcoff-in.h (pe_data_type): New. * libecoff.h (_bfd_ecoff_bfd_print_private_bfd_data): New. * targets.c (_bfd_print_private_bfd_data): New. * peicode.h: New file.
Diffstat (limited to 'bfd/bfd-in.h')
-rw-r--r--bfd/bfd-in.h52
1 files changed, 0 insertions, 52 deletions
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index f4caaab..694cd69 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -449,58 +449,6 @@ extern long bfd_tell PARAMS ((bfd *abfd));
extern int bfd_flush PARAMS ((bfd *abfd));
extern int bfd_stat PARAMS ((bfd *abfd, struct stat *));
-/* PE STUFF */
-/* Also define some types which are used within bfdlink.h for the
- bfd_link_info struct. These are not defined in bfdlink.h for a reason.
- When the link_info data is passed to bfd from ld, it is copied into
- extern variables defined in internal.h. The type class for these must
- be available to any thing that includes internal.h. When internal.h is
- included, it is always preceeded by an include on this file. If I leave the
- type definitions in bfdlink.h, then I must include that file when ever
- I include internal.h, and this is not always a good thing */
-
-/* These are the different types of subsystems to be used when linking for
- Windows NT. This information is passed in as an input parameter (default
- is console) and ultimately ends up in the optional header data */
-
-#define BFD_PE_NATIVE 1 /* image doesn't require a subsystem */
-#define BFD_PE_WINDOWS 2 /* image runs in the Windows GUI subsystem */
-#define BFD_PE_CONSOLE 3 /* image runs in the Windows CUI subsystem */
-#define BFD_PE_OS2 5 /* image runs in the OS/2 character subsystem */
-#define BFD_PE_POSIX 7 /* image runs in the posix character subsystem */
-
-/* The NT optional header file allows input of the stack and heap reserve
- and commit size. This data may be input on the command line and will
- end up in the optional header. Default sizes are provided. */
-
-typedef struct
-{
- boolean defined;
- bfd_vma value;
-} bfd_link_pe_info_dval ;
-
-typedef struct _bfd_link_pe_info
-{
- bfd_link_pe_info_dval dll;
- bfd_link_pe_info_dval file_alignment;
- bfd_link_pe_info_dval heap_commit;
- bfd_link_pe_info_dval heap_reserve;
- bfd_link_pe_info_dval image_base;
- bfd_link_pe_info_dval major_image_version;
- bfd_link_pe_info_dval major_os_version;
- bfd_link_pe_info_dval major_subsystem_version;
- bfd_link_pe_info_dval minor_image_version;
- bfd_link_pe_info_dval minor_os_version;
- bfd_link_pe_info_dval minor_subsystem_version;
- bfd_link_pe_info_dval section_alignment;
- bfd_link_pe_info_dval stack_commit;
- bfd_link_pe_info_dval stack_reserve;
- bfd_link_pe_info_dval subsystem;
-} bfd_link_pe_info;
-
-/* END OF PE STUFF */
-
-
/* Cast from const char * to char * so that caller can assign to
a char * without a warning. */