X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Flibcoff.h;h=540ddf94058ea156ccddc946bf958d506c240500;hb=aaffae57f3b2b2f3d353924934accffea527dc6e;hp=19b6d9c8e1ae1d0c9a50d30d707152c3bf09ab32;hpb=0cb112f7400187275da81a05a9ad0534f1430139;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/libcoff.h b/bfd/libcoff.h index 19b6d9c8e1..540ddf9405 100644 --- a/bfd/libcoff.h +++ b/bfd/libcoff.h @@ -3,7 +3,7 @@ Run "make headers" in your build bfd/ to regenerate. */ /* BFD COFF object file private structure. - Copyright 1990-2013 Free Software Foundation, Inc. + Copyright (C) 1990-2014 Free Software Foundation, Inc. Written by Cygnus Support. This file is part of BFD, the Binary File Descriptor library. @@ -57,7 +57,7 @@ typedef struct coff_tdata unsigned long raw_syment_count; /* These are only valid once writing has begun. */ - long int relocbase; + unsigned long int relocbase; /* These members communicate important constants about the symbol table to GDB's symbol-reading code. These `constants' unfortunately vary @@ -123,6 +123,14 @@ typedef struct pe_tdata bfd_boolean insert_timestamp; bfd_boolean (*in_reloc_p) (bfd *, reloc_howto_type *); flagword real_flags; + + /* Build-id info. */ + struct + { + bfd_boolean (*after_write_object_contents) (bfd *); + const char *style; + asection *sec; + } build_id; } pe_data_type; #define pe_data(bfd) ((bfd)->tdata.pe_obj_data) @@ -599,8 +607,6 @@ extern long _bfd_xcoff_canonicalize_dynamic_reloc (bfd *, arelent **, asymbol **); extern struct bfd_link_hash_table *_bfd_xcoff_bfd_link_hash_table_create (bfd *); -extern void _bfd_xcoff_bfd_link_hash_table_free - (struct bfd_link_hash_table *); extern bfd_boolean _bfd_xcoff_bfd_link_add_symbols (bfd *, struct bfd_link_info *); extern bfd_boolean _bfd_xcoff_bfd_final_link @@ -619,6 +625,7 @@ extern bfd_boolean ppc_allocate_toc_section extern bfd_boolean ppc_process_before_allocation (bfd *, struct bfd_link_info *); /* Extracted from coffcode.h. */ + typedef struct coff_ptr_struct { /* Remembers the offset from the first symbol in the file for @@ -736,6 +743,7 @@ typedef struct unsigned int _bfd_coff_default_section_alignment_power; bfd_boolean _bfd_coff_force_symnames_in_strings; unsigned int _bfd_coff_debug_string_prefix_length; + unsigned int _bfd_coff_max_nscns; void (*_bfd_coff_swap_filehdr_in) (bfd *, void *, void *); @@ -873,6 +881,9 @@ typedef struct ((coff_backend_info (abfd)->_bfd_coff_set_long_section_names) (abfd, enable)) #define bfd_coff_default_section_alignment_power(abfd) \ (coff_backend_info (abfd)->_bfd_coff_default_section_alignment_power) +#define bfd_coff_max_nscns(abfd) \ + (coff_backend_info (abfd)->_bfd_coff_max_nscns) + #define bfd_coff_swap_filehdr_in(abfd, i,o) \ ((coff_backend_info (abfd)->_bfd_coff_swap_filehdr_in) (abfd, i, o))