diff options
author | Nick Clifton <nickc@redhat.com> | 2013-12-17 15:39:13 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-12-17 15:39:13 +0000 |
commit | 5879bb8fc592e4aea85bdc2a84381d89850e5770 (patch) | |
tree | d7498318229ecd048169baf66b782ab8d288a3f9 /bfd/configure.in | |
parent | 978f0babbe2ca9fa69a19065d41eb815890613f9 (diff) | |
download | gdb-5879bb8fc592e4aea85bdc2a84381d89850e5770.zip gdb-5879bb8fc592e4aea85bdc2a84381d89850e5770.tar.gz gdb-5879bb8fc592e4aea85bdc2a84381d89850e5770.tar.bz2 |
* peXXigen.c: Include wchar.h if available.
Include safe-ctype.h.
(HighBitSet, SetHighBit, WithoutHighBit): New macros.
(pe_print_resource_entries): Rename to
rsrc_print_resource_entries. Handle names that are not RVAs.
(pe_print_resource_directory): Rename to
rsrc_print_resource_directory.
(pe_print_rsrc): Rename to rsrc_print_section. Corrupt
computation of RVA bias.
(rsrc_count_entries): New function.
(rsrc_count_directory): New function.
(rsrc_parse_entry): New function.
(rsrc_parse_entries): New function.
(rsrc_parse_directory): New function.
(rsrc_write_string): New function.
(rsrc_compute_rva): New function.
(rsrc_write_leaf): New function.
(rsrc_write_entry): New function.
(rsrc_write_directory): New function.
(u16_mbtouc): New function.
(rsrc_cmp): New function.
(rsrc_print_name): New function.
(rsrc_resource_name): New function.
(rsrc_merge_string_entries): New function.
(rsrc_sort_entries): New function.
(rsrc_attach_chain): New function.
(rsrc_merge): New function.
(rsrc_process_section): New function - merges the contents of a
.rsrc section.
(_bfd_XXi_final_link_postscript): Call rsrc_process_section.
* configure.in (AC_CHECK_HEADERS): Add wchar.h
* config.in: Regenerate.
* configure: Regenerate.
Diffstat (limited to 'bfd/configure.in')
-rw-r--r-- | bfd/configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/configure.in b/bfd/configure.in index 0d41867..6a029f7 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -210,7 +210,7 @@ AC_SUBST(BFD_HOSTPTR_T) BFD_CC_FOR_BUILD -AC_CHECK_HEADERS(alloca.h stddef.h string.h strings.h stdlib.h time.h unistd.h) +AC_CHECK_HEADERS(alloca.h stddef.h string.h strings.h stdlib.h time.h unistd.h wchar.h) AC_CHECK_HEADERS(fcntl.h sys/file.h sys/time.h sys/stat.h sys/resource.h) GCC_HEADER_STDINT(bfd_stdint.h) AC_HEADER_TIME |