Add experimental support for --gc-sections with COFF and PE based targets.
[deliverable/binutils-gdb.git] / bfd / coffcode.h
index 8576c0ad3e04c0a8901c869266561346c3a382ee..62a410546ae070779cb78e8f188d8ca29bed9a2e 100644 (file)
@@ -1352,6 +1352,10 @@ CODE_FRAGMENT
 .  COFF_SYMBOL_PE_SECTION
 .};
 .
+.typedef asection * (*coff_gc_mark_hook_fn)
+.  (asection *, struct bfd_link_info *, struct internal_reloc *,
+.   struct coff_link_hash_entry *, struct internal_syment *);
+.
 Special entry points for gdb to swap in coff symbol table parts:
 .typedef struct
 .{
@@ -5993,7 +5997,7 @@ static bfd_coff_backend_data bigobj_swap_table =
 #endif
 
 #ifndef coff_bfd_gc_sections
-#define coff_bfd_gc_sections               bfd_generic_gc_sections
+#define coff_bfd_gc_sections               bfd_coff_gc_sections
 #endif
 
 #ifndef coff_bfd_lookup_section_flags
This page took 0.025262 seconds and 4 git commands to generate.