From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2550 invoked by alias); 2 Jul 2017 20:23:11 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 2514 invoked by uid 9674); 2 Jul 2017 20:23:09 -0000 Date: Sun, 02 Jul 2017 20:23:00 -0000 Message-ID: <20170702202309.2463.qmail@sourceware.org> From: jkratoch@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] users/jkratoch/index: addons X-Git-Refname: refs/heads/users/jkratoch/index X-Git-Reftype: branch X-Git-Oldrev: 9e9e2bebb4e198c1e8ab70fa1abd8d91679eb295 X-Git-Newrev: 0ab3997bd3562bab242be7c838bcc329668b9d7b X-SW-Source: 2017-q3/txt/msg00002.txt.bz2 List-Id: The branch, users/jkratoch/index has been updated discards 9e9e2bebb4e198c1e8ab70fa1abd8d91679eb295 (commit) discards d0bbbf782b7f6b59659ae4c3f604a54dc0ad4225 (commit) discards 8cb3d56cdfb6a9a6d7488ce83b98781871e3bc23 (commit) discards 0c0bc5c2d282a9da9c0550a13070b01f17defc52 (commit) discards 0aec2cadcd390a01247a2901857522b3981ddc7f (commit) discards 3ea411627f2af02d42d0558b941388ec525593a3 (commit) discards b09b8eacd79aa18470e561a03ceabbb06f166143 (commit) discards 7e2a2c42cc2ac9329d59b7b02c8b9baffa94ae6a (commit) discards 6ec52fc4a70b6a211f5d6f566ead3dddedcc306a (commit) via 0ab3997bd3562bab242be7c838bcc329668b9d7b (commit) via 67e987ee12a543c155c4208a76f8d322a43143e1 (commit) via 02e90f681115b5f46b0f15d4e5088a17c21d6b9a (commit) via 49af96180520c2e219b610db791edb87dc199862 (commit) via 51a5a67ea989233d93f85e39e83c98779d50b0ad (commit) via 7c4939b2f271d2516e59d4b2e84b6ec3311515ec (commit) via 48dad9d3cbac234fc21f221c492125b2519c7e0f (commit) via 613643582c4f6145063fe1522d57bd01fe7bba02 (commit) via de837d77bca30483e8e926044fa497e3d49f7972 (commit) via c6eb149dfacbd7a5fc22d7cf7fa8df6bf1d6a637 (commit) via bae7501e87ab614115d9d3213b4dd18d96e604db (commit) via 25c5412713badef8cf779186174200ecd880b329 (commit) from 9e9e2bebb4e198c1e8ab70fa1abd8d91679eb295 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 0ab3997bd3562bab242be7c838bcc329668b9d7b Author: Jan Kratochvil Date: Sat Jul 1 17:24:41 2017 +0200 addons commit 67e987ee12a543c155c4208a76f8d322a43143e1 Author: Jan Kratochvil Date: Sat Jul 1 17:24:41 2017 +0200 bfd5 commit 02e90f681115b5f46b0f15d4e5088a17c21d6b9a Author: Jan Kratochvil Date: Sat Jul 1 17:24:41 2017 +0200 DWARF-5: .debug_names index consumer Hi, it is not regression-free against no-index but it is regression-free against .gdb_index. That is because .gdb_index is not regression-free against no-index. Some testcases needed to be updated as they were missing .debug_aranges. While that does not matter for no-index (as GDB builds the mapping internally during dwarf2_build_psymtabs_hard) and neither for .gdb_index (as GDB uses that internally built mapping which it stores into .gdb_index) it does matter for .debug_names as that simply assumes existing .debug_aranges from GCC. I tried some performance checking but the index handling speed is negligible compared to the CU expansion associated with it. .debug_names looked even as a bit faster to me than .gdb_index which rather surprised me but I did not investigate it more. Jan gdb/ChangeLog 2017-05-26 Jan Kratochvil * defs.h (elf_sym_fns_debug_names): New declaration. * dwarf2read.c (mapped_debug_names): New. (struct dwarf2_per_objfile): Add debug_names, debug_aranges and debug_names_table. (dwarf2_elf_names): Add debug_names and debug_aranges. (struct dwz_file): Add debug_names. (dwarf2_locate_sections): Add debug_names and debug_aranges. (locate_dwz_sections): Add debug_names. (create_signatured_type_table_from_debug_names) (create_addrmap_from_aranges): New. (dwarf2_read_index): Update function comment. (dwarf5_augmentation): New from write_debug_names. (read_debug_names_from_section, create_cus_from_debug_names_list) (create_cus_from_debug_names, dwarf2_read_debug_names): New. (dwarf5_djb_hash): Function renamed from DebugNamesNameTable::djb_hash. (dw2_debug_names_iterator): New. (read_indirect_string_at_offset): New declaration. (mapped_debug_names::namei_to_name) (dw2_debug_names_iterator::find_vec_in_debug_names) (dw2_debug_names_iterator::find_vec_in_debug_names) (dw2_debug_names_iterator::next, dw2_debug_names_lookup_symbol) (dw2_debug_names_dump, dw2_debug_names_expand_symtabs_for_function) (dw2_debug_names_expand_symtabs_matching, dwarf2_debug_names_functions): New. (dwarf2_initialize_objfile): Return also elf_sym_fns_debug_names. (dwarf2_free_objfile): Delete also debug_names_table; (debug_names::djb_hash): Rename it to dwarf5_djb_hash. (debug_names::build): Update djb_hash caller. (write_debug_names): Move out and rename augmentation to dwarf5_augmentation. * elfread.c (elf_sym_fns_debug_names): New. * psymtab.h (dwarf2_debug_names_functions): New declaration. * symfile.h (struct dwarf2_debug_sections): Add debug_names and debug_aranges. * xcoffread.c (dwarf2_xcoff_names): Add debug_names and debug_aranges. gdb/testsuite/ChangeLog 2017-05-26 Jan Kratochvil * gdb.base/maint.exp (check for .gdb_index): Check also for .debug_names. * gdb.dlang/watch-loc.c (.debug_aranges): New. * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise. * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used) (.gdb_index used after symbol reloading): Support also .debug_names. * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New. commit 49af96180520c2e219b610db791edb87dc199862 Author: Jan Kratochvil Date: Sat Jul 1 17:24:41 2017 +0200 Refactor: Move some generic code out of .gdb_index code Hi, just for the next patch. Jan gdb/ChangeLog 2017-05-26 Jan Kratochvil * dwarf2read.c (create_cu_from_index_list): New from ... (create_cus_from_index_list): ... this function, use it. (dw_expand_symtabs_matching_file_matcher) (dw2_expand_symtabs_matching_one): New from ... (dw2_expand_symtabs_matching): ... this function, use them. commit 51a5a67ea989233d93f85e39e83c98779d50b0ad Author: Jan Kratochvil Date: Sat Jul 1 17:24:40 2017 +0200 Code cleanup: dwarf2_initialize_objfile return value Hi, dwarf2_initialize_objfile was returning boolean whether it is psymtabs or .gdb_index while now it needs to return also whether it is .debug_names. Jan gdb/ChangeLog 2017-05-26 Jan Kratochvil * defs.h (elf_sym_fns_lazy_psyms, elf_sym_fns_gdb_index): Move here declarations from elfread.c. (dwarf2_initialize_objfile): Change return value. * elfread.c (elf_sym_fns_lazy_psyms, elf_sym_fns_gdb_index): Move these declarations to defs.h. (elf_symfile_read): Adjust dwarf2_initialize_objfile caller. * symfile.h (dwarf2_initialize_objfile): Change return type. commit 7c4939b2f271d2516e59d4b2e84b6ec3311515ec Author: Jan Kratochvil Date: Sat Jul 1 17:24:40 2017 +0200 DWARF-5: .debug_names index producer Hi, there are two FIXME lines I do not have a real answer for. Also I am not sure if the -dwarf-4 option for former .gdb_index should be named that way. And contrib/gdb-add-index.sh (incl. cc-with-tweaks.sh) has no commandline option for that -dwarf-4 GDB option. Jan gdb/ChangeLog 2017-05-26 Jan Kratochvil * contrib/gdb-add-index.sh (index): Rename to ... (index4): ... here. (index5, debugstr, debugstrmerge, debugstrerr): New variables. Support also .debug_names and .debug_str. * dwarf2read.c: Include cmath, locale, set, list. (INDEX_SUFFIX): Rename to ... (INDEX4_SUFFIX): ... here. (INDEX5_SUFFIX, DEBUG_STR_SUFFIX): New. (file_write, file_write, file_write): New. (data_buf::append_unsigned_leb128, data_buf::empty): New. (data_buf::file_write): Use ::file_write. (data_buf::operator const char *, debug_names, check_dwarf64_offsets): New. (psyms_seen_size, write_gdbindex): New from write_psymtabs_to_index code. (write_debug_names): New. (write_psymtabs_to_index): New parameter is_dwarf5. Support filename_str and out_file_str. Move code to write_gdbindex, possibly call write_debug_names. (save_gdb_index_command): New parameter -dwarf-4. (_initialize_dwarf2_read): Document the new parameter -dwarf-4. gdb/doc/ChangeLog 2017-05-26 Jan Kratochvil * gdb.texinfo (Index Files): Document .debug_names and -dwarf-4. (Index Section Format): Mention .debug_names. commit 48dad9d3cbac234fc21f221c492125b2519c7e0f Author: Jan Kratochvil Date: Sat Jul 1 17:24:40 2017 +0200 cc-with-tweaks.sh: Use gdb-add-index.sh Hi, currently contrib/cc-with-tweaks.sh is calling for its -i option objcopy itself instead of using contrib/gdb-add-index.sh which does the same. With DWARF-5 .debug_names the commands are more complicated (as now also .debug_str needs to be modified) and so I have decided to rather reuse contrib/gdb-add-index.sh instead of duplicating its code in contrib/cc-with-tweaks.sh. The problem is when no index is produced whether contrib/cc-with-tweaks.sh should fail or not. As originally contrib/cc-with-tweaks.sh was more quiet (=successful) than contrib/gdb-add-index.sh and so after this patch the testsuite runs with an index would "regress". I have tried to keep the behavior unchanged. Some cases still error with: Ada is not currently supported by the index But some cases (such as some trivial gdb.dwarf2/ testcases with no DWARF data to index) produce no index while the testcases still PASS now instead of: -PASS: gdb.arch/i386-bp_permanent.exp: stack pointer value matches +gdb compile failed, gdb-add-index.sh: No index was created for /quadgdb/testsuite.unix.-m64/outputs/gdb.arch/i386-bp_permanent/i386-bp_permanent +gdb-add-index.sh: [Was there no debuginfo? Was there already an index?] +UNTESTED: gdb.arch/i386-bp_permanent.exp: failed to compile Jan gdb/ChangeLog 2017-05-26 Jan Kratochvil * contrib/cc-with-tweaks.sh: Change interpreter to bash, incl. initial comment. (t, GDB_ADD_INDEX): New variables. <$want_index>: Call $GDB_ADD_INDEX. commit 613643582c4f6145063fe1522d57bd01fe7bba02 Author: Jan Kratochvil Date: Sun Jul 2 22:15:05 2017 +0200 DWARF-5: readelf: .debug_names Display DWARF-5 .debug_names (standardized .gdb_index). binutils/ChangeLog 2017-07-02 Jan Kratochvil * dwarf.c: Include assert.h. (MAX, MIN, get_IDX_name, display_debug_names): New. (debug_displays): Add .debug_names. * dwarf.h: (enum dwarf_section_display_enum): Add debug_names. * readelf.c (process_section_headers): Add ".debug_names". commit de837d77bca30483e8e926044fa497e3d49f7972 Author: Jan Kratochvil Date: Sun Jul 2 22:09:52 2017 +0200 Import include/+libiberty/ r249883 from upstream GCC. include/ChangeLog 2017-07-02 Jan Kratochvil * dwarf2.def (DW_IDX_compile_unit, DW_IDX_type_unit, DW_IDX_die_offset) (DW_IDX_parent, DW_IDX_type_hash, DW_IDX_lo_user, DW_IDX_hi_user) (DW_IDX_GNU_internal, DW_IDX_GNU_external): New. * dwarf2.h (DW_IDX, DW_IDX_DUP, DW_FIRST_IDX, DW_END_IDX): New. (enum dwarf_name_index_attribute): Remove. (get_DW_IDX_name): New declaration. libiberty/ChangeLog 2017-07-02 Jan Kratochvil * dwarfnames.c (DW_FIRST_IDX, DW_END_IDX, DW_IDX, DW_IDX_DUP): New. commit c6eb149dfacbd7a5fc22d7cf7fa8df6bf1d6a637 Author: GDB Administrator Date: Sun Jul 2 00:00:47 2017 +0000 Automatic date update in version.in commit bae7501e87ab614115d9d3213b4dd18d96e604db Author: Alan Modra Date: Sat Jul 1 21:58:10 2017 +0930 Use bfd_malloc_and_get_section It's nicer than xmalloc followed by bfd_get_section_contents, since xmalloc exits on failure and needs a check that its size_t arg doesn't lose high bits when converted from bfd_size_type. PR binutils/21665 * objdump.c (strtab): Make var a bfd_byte*. (disassemble_section): Don't limit malloc size. Instead, use bfd_malloc_and_get_section. (read_section_stabs): Use bfd_malloc_and_get_section. Return bfd_byte*. (find_stabs_section): Remove now unnecessary cast. * objcopy.c (copy_object): Use bfd_malloc_and_get_section. Free contents on error return. * nlmconv.c (copy_sections): Use bfd_malloc_and_get_section. commit 25c5412713badef8cf779186174200ecd880b329 Author: Eli Zaretskii Date: Sat Jul 1 18:45:57 2017 +0300 Setup .dir-locals.el to use C-style comments by default gdb/ChangeLog: 2017-07-01 Eli Zaretskii * .dir-locals.el: Automatically switch to C-style comments in versions of Emacs that support the feature. ----------------------------------------------------------------------- Summary of changes: bfd/version.h | 2 +- binutils/ChangeLog | 21 +++++++++++++++++++++ binutils/dwarf.c | 3 +++ binutils/nlmconv.c | 6 ++---- binutils/objcopy.c | 5 +++-- binutils/objdump.c | 44 +++++++------------------------------------- gdb/.dir-locals.el | 2 ++ gdb/ChangeLog | 5 +++++ gdb/dwarf2read.c | 4 ++-- include/ChangeLog | 9 +++++++++ include/dwarf2.def | 2 +- libiberty/ChangeLog | 4 ++++ 12 files changed, 60 insertions(+), 47 deletions(-) First 500 lines of diff: diff --git a/bfd/version.h b/bfd/version.h index 81d9ab3..e291e34 100644 --- a/bfd/version.h +++ b/bfd/version.h @@ -1,4 +1,4 @@ -#define BFD_VERSION_DATE 20170701 +#define BFD_VERSION_DATE 20170702 #define BFD_VERSION @bfd_version@ #define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@ #define REPORT_BUGS_TO @report_bugs_to@ diff --git a/binutils/ChangeLog b/binutils/ChangeLog index ff41d22..a7be3db 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,24 @@ +2017-07-02 Jan Kratochvil + + * dwarf.c: Include assert.h. + (MAX, MIN, get_IDX_name, display_debug_names): New. + (debug_displays): Add .debug_names. + * dwarf.h: (enum dwarf_section_display_enum): Add debug_names. + * readelf.c (process_section_headers): Add ".debug_names". + +2017-07-01 Alan Modra + + PR binutils/21665 + * objdump.c (strtab): Make var a bfd_byte*. + (disassemble_section): Don't limit malloc size. Instead, use + bfd_malloc_and_get_section. + (read_section_stabs): Use bfd_malloc_and_get_section. Return + bfd_byte*. + (find_stabs_section): Remove now unnecessary cast. + * objcopy.c (copy_object): Use bfd_malloc_and_get_section. Free + contents on error return. + * nlmconv.c (copy_sections): Use bfd_malloc_and_get_section. + 2017-06-30 Nick Clifton PR binutils/21665 diff --git a/binutils/dwarf.c b/binutils/dwarf.c index deb5979..70aa011 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -7703,6 +7703,9 @@ display_debug_names (struct dwarf_section *section, void *file) /* Get and check the version number. */ SAFE_BYTE_GET_AND_INC (dwarf_version, hdrptr, 2, unit_end); printf (_("Version %ld\n"), (long) dwarf_version); + + /* Prior versions did not exist, and future versions may not be + backwards compatible. */ if (dwarf_version != 5) { warn (_("Only DWARF version 5 .debug_names " diff --git a/binutils/nlmconv.c b/binutils/nlmconv.c index 4cc659f..7e1eaac 100644 --- a/binutils/nlmconv.c +++ b/binutils/nlmconv.c @@ -1224,7 +1224,7 @@ copy_sections (bfd *inbfd, asection *insec, void *data_ptr) const char *inname; asection *outsec; bfd_size_type size; - void *contents; + bfd_byte *contents; long reloc_size; bfd_byte buf[4]; bfd_size_type add; @@ -1240,9 +1240,7 @@ copy_sections (bfd *inbfd, asection *insec, void *data_ptr) contents = NULL; else { - contents = xmalloc (size); - if (! bfd_get_section_contents (inbfd, insec, contents, - (file_ptr) 0, size)) + if (!bfd_malloc_and_get_section (inbfd, insec, &contents)) bfd_fatal (bfd_get_filename (inbfd)); } diff --git a/binutils/objcopy.c b/binutils/objcopy.c index 4f48190..23a949d 100644 --- a/binutils/objcopy.c +++ b/binutils/objcopy.c @@ -2650,14 +2650,15 @@ copy_object (bfd *ibfd, bfd *obfd, const bfd_arch_info_type *input_arch) continue; } - bfd_byte * contents = xmalloc (size); - if (bfd_get_section_contents (ibfd, osec, contents, 0, size)) + bfd_byte *contents; + if (bfd_malloc_and_get_section (ibfd, osec, &contents)) { if (fwrite (contents, 1, size, f) != size) { non_fatal (_("error writing section contents to %s (error: %s)"), pdump->filename, strerror (errno)); + free (contents); return FALSE; } } diff --git a/binutils/objdump.c b/binutils/objdump.c index d70882e..3c5defa 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -181,7 +181,7 @@ static long dynsymcount = 0; static bfd_byte *stabs; static bfd_size_type stab_size; -static char *strtab; +static bfd_byte *strtab; static bfd_size_type stabstr_size; static bfd_boolean is_relocatable = FALSE; @@ -2178,32 +2178,7 @@ disassemble_section (bfd *abfd, asection *section, void *inf) } rel_ppend = rel_pp + rel_count; - /* PR 21665: Check for overlarge datasizes. - Note - we used to check for "datasize > bfd_get_file_size (abfd)" but - this fails when using compressed sections or compressed file formats - (eg MMO, tekhex). - - The call to xmalloc below will fail if too much memory is requested, - which will catch the problem in the normal use case. But if a memory - checker is in use, eg valgrind or sanitize, then an exception will - be still generated, so we try to catch the problem first. - - Unfortunately there is no simple way to determine how much memory can - be allocated by calling xmalloc. So instead we use a simple, arbitrary - limit of 2Gb. Hopefully this should be enough for most users. If - someone does start trying to disassemble sections larger then 2Gb in - size they will doubtless complain and we can increase the limit. */ -#define MAX_XMALLOC (1024 * 1024 * 1024 * 2UL) /* 2Gb */ - if (datasize > MAX_XMALLOC) - { - non_fatal (_("Reading section %s failed because it is too big (%#lx)"), - section->name, (unsigned long) datasize); - return; - } - - data = (bfd_byte *) xmalloc (datasize); - - if (!bfd_get_section_contents (abfd, section, data, 0, datasize)) + if (!bfd_malloc_and_get_section (abfd, section, &data)) { non_fatal (_("Reading section %s failed because: %s"), section->name, bfd_errmsg (bfd_get_error ())); @@ -2725,12 +2700,11 @@ dump_dwarf (bfd *abfd) /* Read ABFD's stabs section STABSECT_NAME, and return a pointer to it. Return NULL on failure. */ -static char * +static bfd_byte * read_section_stabs (bfd *abfd, const char *sect_name, bfd_size_type *size_ptr) { asection *stabsect; - bfd_size_type size; - char *contents; + bfd_byte *contents; stabsect = bfd_get_section_by_name (abfd, sect_name); if (stabsect == NULL) @@ -2739,10 +2713,7 @@ read_section_stabs (bfd *abfd, const char *sect_name, bfd_size_type *size_ptr) return FALSE; } - size = bfd_section_size (abfd, stabsect); - contents = (char *) xmalloc (size); - - if (! bfd_get_section_contents (abfd, stabsect, contents, 0, size)) + if (!bfd_malloc_and_get_section (abfd, stabsect, &contents)) { non_fatal (_("reading %s section of %s failed: %s"), sect_name, bfd_get_filename (abfd), @@ -2752,7 +2723,7 @@ read_section_stabs (bfd *abfd, const char *sect_name, bfd_size_type *size_ptr) return NULL; } - *size_ptr = size; + *size_ptr = bfd_section_size (abfd, stabsect); return contents; } @@ -2879,8 +2850,7 @@ find_stabs_section (bfd *abfd, asection *section, void *names) if (strtab) { - stabs = (bfd_byte *) read_section_stabs (abfd, section->name, - &stab_size); + stabs = read_section_stabs (abfd, section->name, &stab_size); if (stabs) print_section_stabs (abfd, section->name, &sought->string_offset); } diff --git a/gdb/.dir-locals.el b/gdb/.dir-locals.el index a2aa196..48325b1 100644 --- a/gdb/.dir-locals.el +++ b/gdb/.dir-locals.el @@ -26,4 +26,6 @@ (c-basic-offset . 2) (eval . (c-set-offset 'innamespace 0)) )) + (c++-mode . ((eval . (when (fboundp 'c-toggle-comment-style) + (c-toggle-comment-style 1))))) ) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7080256..32abd42 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2017-07-01 Eli Zaretskii + + * .dir-locals.el: Automatically switch to C-style comments in + versions of Emacs that support the feature. + 2017-06-30 Sergio Durigan Junior Pedro Alves diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 3dcb07a..e8a6e1e 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -5253,7 +5253,7 @@ dw2_debug_names_iterator::next () } per_cu = dw2_get_cutu (ull); break; - case DW_IDX_GNU_static: + case DW_IDX_GNU_internal: if (!map.augmentation_is_gdb) break; have_is_static = true; @@ -25081,7 +25081,7 @@ public: m_abbrev_table.append_unsigned_leb128 (DW_IDX_compile_unit); m_abbrev_table.append_unsigned_leb128 (DW_FORM_udata); m_abbrev_table.append_unsigned_leb128 (value.is_static - ? DW_IDX_GNU_static + ? DW_IDX_GNU_internal : DW_IDX_GNU_external); m_abbrev_table.append_unsigned_leb128 (DW_FORM_flag_present); diff --git a/include/ChangeLog b/include/ChangeLog index 9400f16..8b25ce7 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,12 @@ +2017-07-02 Jan Kratochvil + + * dwarf2.def (DW_IDX_compile_unit, DW_IDX_type_unit, DW_IDX_die_offset) + (DW_IDX_parent, DW_IDX_type_hash, DW_IDX_lo_user, DW_IDX_hi_user) + (DW_IDX_GNU_internal, DW_IDX_GNU_external): New. + * dwarf2.h (DW_IDX, DW_IDX_DUP, DW_FIRST_IDX, DW_END_IDX): New. + (enum dwarf_name_index_attribute): Remove. + (get_DW_IDX_name): New declaration. + 2017-06-30 Georg-Johann Lay PR gas/21683 diff --git a/include/dwarf2.def b/include/dwarf2.def index 1f0d50f..a91e943 100644 --- a/include/dwarf2.def +++ b/include/dwarf2.def @@ -791,6 +791,6 @@ DW_IDX (DW_IDX_parent, 4) DW_IDX (DW_IDX_type_hash, 5) DW_IDX_DUP (DW_IDX_lo_user, 0x2000) DW_IDX (DW_IDX_hi_user, 0x3fff) -DW_IDX (DW_IDX_GNU_static, 0x2000) +DW_IDX (DW_IDX_GNU_internal, 0x2000) DW_IDX (DW_IDX_GNU_external, 0x2001) DW_END_IDX diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index b3087fa..925b152 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,7 @@ +2017-07-02 Jan Kratochvil + + * dwarfnames.c (DW_FIRST_IDX, DW_END_IDX, DW_IDX, DW_IDX_DUP): New. + 2017-05-31 DJ Delorie * configure.ac (strnlen): Add to AC_CHECK_DECLS. hooks/post-receive -- Repository for Project Archer.