From 018dafca8a6af00b7d6c06de0db0c211811849d3 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Fri, 16 Jun 1995 22:08:26 +0000 Subject: [PATCH] * bfd-in.h (NT_subsystem, NT_stack_heap): Declare but don't define. * bfd-in2.h: Rebuilt. * bfd.c (NT_subsystem, NT_stack_heap): Define. --- bfd/ChangeLog | 7 +++++++ bfd/bfd-in2.h | 11 +++-------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index d1b2a25f6a..2426427130 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +Fri Jun 16 15:04:47 1995 Stan Shebs + + * bfd-in.h (NT_subsystem, NT_stack_heap): Declare but don't + define. + * bfd-in2.h: Rebuilt. + * bfd.c (NT_subsystem, NT_stack_heap): Define. + Fri Jun 16 00:07:25 1995 Jeff Law (law@snake.cs.utah.edu) * elf32-hppa.c (elf32_hppa_bfd_link_link_relocate): Use the right diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 11dcae8035..cbe8e8ebf1 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -482,6 +482,9 @@ typedef struct _bfd_link_stack_heap bfd_link_stack_heap; /* END OF PE STUFF */ +extern enum bfd_link_subsystem NT_subsystem; +extern bfd_link_stack_heap NT_stack_heap; + /* Cast from const char * to char * so that caller can assign to a char * without a warning. */ #define bfd_get_filename(abfd) ((char *) (abfd)->filename) @@ -614,14 +617,6 @@ extern boolean bfd_linux_size_dynamic_sections PARAMS ((bfd *, struct bfd_link_info *)); /* And more from the source. */ - -/* provide storage for subsystem, stack and heap data which may have been - passed in on the command line. Ld puts this data into a bfd_link_info - struct which ultimately gets passed in to the bfd. When it arrives, copy - it to the following struct so that the data will be available in coffcode.h - where it is needed. The typedef's used are defined in bfd.h */ -enum bfd_link_subsystem NT_subsystem; -bfd_link_stack_heap NT_stack_heap; void bfd_init PARAMS ((void));