aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1995-06-16 22:08:26 +0000
committerStan Shebs <shebs@codesourcery.com>1995-06-16 22:08:26 +0000
commit018dafca8a6af00b7d6c06de0db0c211811849d3 (patch)
treeb42b6c38fce8169b0452e6d4c6fb48facc278792 /bfd/bfd-in2.h
parent379062d10f37bddfc4046b5603435d9bcb03be4c (diff)
downloadgdb-018dafca8a6af00b7d6c06de0db0c211811849d3.zip
gdb-018dafca8a6af00b7d6c06de0db0c211811849d3.tar.gz
gdb-018dafca8a6af00b7d6c06de0db0c211811849d3.tar.bz2
* 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.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 11dcae8..cbe8e8e 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));