pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/elftoolchain



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Mon Oct  1 12:36:35 UTC 2018

Modified Files:
        pkgsrc/devel/elftoolchain: Makefile PLIST distinfo
        pkgsrc/devel/elftoolchain/patches: patch-am patch-libelftc_Makefile
            patch-libelftc___libelftc.h
Removed Files:
        pkgsrc/devel/elftoolchain/patches: patch-aa patch-ab patch-ac patch-ad
            patch-ae patch-af patch-ag patch-ah patch-ai patch-aj patch-ak
            patch-al patch-an patch-ar_acpyacc_y patch-ar_ar.h patch-ar_util.c

Log Message:
Update to 0.7.1

Changelog:
Release Notes for Elftoolchain Software Version 0.7.1
=====================================================

About The Project
-----------------

The `Elftoolchain project`_ develops BSD-licensed implementations of
essential compilation tools and libraries for handling ELF based program
objects.

About The Release
-----------------

This is the first release on the v0.7 "stable" code line.

Since the prior v0.6.1 release, we have added support for a few more
machine architectures, improved our support of the DWARF4 debug format,
and have added experimental support for the Microsoft (TM) Portable
Executable format.  A number of bugs have been fixed, and the project's
documentation has been improved.  An implementation of a link editor
**ld** is in progress.

Libraries and Utilities
~~~~~~~~~~~~~~~~~~~~~~~

This release comprises the following libraries and utilities.

  =================       ==========================================
  **Name**                **Description**
  =================       ==========================================
  **ar**                  Archive manager.
  **addr2line**           Debug tool.
  **brandelf**            Manage the ELF brand on executables.
  **c++filt**             Translate encoded symbols.
  **elfcopy**             Copy and translate between object formats.
  **elfdump**             Diagnostic tool.
  **findtextrel**         Find undesired text relocations.
  **libdwarf**            DWARF access library.
  **libelf**              ELF access library.
  **mcs**                 Manage comment sections.
  **nm**                  List symbols in an ELF object.
  **ranlib**              Add archive symbol tables to an archive.
  **readelf**             Display ELF information.
  **size**                List object sizes.
  **strings**             Extract printable strings.
  **strip**               Discard information from ELF objects.
  =================       ==========================================

This release also contains the following software that is under
development:

  =================       ==========================================
  **Name**                **Description**
  =================       ==========================================
  **ld**                  Program linker.
  **libpe**               PE (Portable Executable) access library.
  =================       ==========================================

Documentation
~~~~~~~~~~~~~

Each public API and invocable utility has a reference manual entry.
We currently offer 355 manual entries, documented in 197 manual pages.

Additionally, this release contains the following documentation:

  =================       ==========================================
  **Name**                **Description**
  =================       ==========================================
  libelf-by-example       A tutorial introduction to **libelf**.
  =================       ==========================================

Test Suites
~~~~~~~~~~~

The release contains the following test suites:

  =================       ==========================================
  **Name**                **Description**
  =================       ==========================================
  ar                      Test the **ar** utility.
  elfcopy                 Test the **elfcopy** utility.
  elfdump                 Test the **elfdump** utility.
  libdwarf                Test the **libdwarf** library.
  libelf                  Test the **libelf** library.
  libelftc                Test the **libelftc** support library.
  nm                      Test the **nm** utility.
  =================       ==========================================

System Requirements
-------------------

This software is designed to run on Unix(TM)-like operating systems
such as the BSD-family of operating systems and GNU/Linux.

This release has been built and tested on the following operating
systems:

  ====================  ===========  ===========================
  **Operating System**  **Version**  **Supported Architectures**
  --------------------  -----------  ---------------------------
  FreeBSD_              10.2         amd64 & i386
  NetBSD_               7.0          i386
  Ubuntu_ GNU/Linux     14.04LTS     x86_64
  ====================  ===========  ===========================

Installation and Upgrades
=========================

Installation
------------

Instructions for building and installing this software from source are
described in the file "INSTALL".

Upgrading
---------

* Consumers of the libdwarf API should note that the `Dwarf_Off` type
  has changed to an unsigned type, so as to be compatible with other
  open-source libdwarf implementations.
* Three functions in the libdwarf API have been deprecated and two
  extension APIs have been added.

Release Information
===================

Changes in this release
-----------------------

Significant changes include:

* **addr2line**

  - Support the ``DW_AT_ranges`` debug attribute.
  - Improve DWARF4 compatibility.
  - **addr2line** supports new options ``-a``, ``-i``, ``-p``.
  - Compilation units lacking debug information are handled more robustly.
  - Memory leaks were fixed.

* **ar/ranlib**

  - The **ranlib** utility is now documented in its own manual page.
  - The handling of corrupt archives has been improved.
  - **ar** now supports a ``-U`` option that disables its
    deterministic (``-D``) mode.
  - **ar** no longer allows extraction of archive entries whose
    pathnames contain ``..``, or whose target directory would be
    altered by a symbolic link.

* **brandelf**

  - The documentation for **brandelf** has been improved.

* **elfcopy/strip/mcs**

  - **strip** no longer strips local debugging symbols when the ``-x``
    option is specified.
  - Compatibility with GNU binutils has been improved.
  - The **elfcopy** and **strip** utilities will now preserve hard
    links when modifying an object file.
  - Support for new functionality controlled by options
    ``--localize-hidden``, ``--extract-dwo`` and ``--strip-dwo`` has
    been added.
  - Bugs in the behavior of the ``-N`` and ``-X`` options were fixed.
  - Nameless global symbols are now handled correctly.
  - ``SHT_GROUP`` handling has been fixed in **elfcopy** and
    **strip**.
  - **elfcopy** now supports the conversion of ELF objects to PE images.

* **elfdump**

  - **elfdump** can now dump multiple GOT sections.
  - **elfdump** now understands the ``EM_AARCH64``, ``EM_IAMCU``,
    ``EM_PPC64``, and ``EM_RISCV`` machine types and the
    ``STT_SPARC_REGISTER`` section type.
  - Symbols with ``STB_GNU_UNIQUE`` are now supported.

* **findtextrel**

  - The manual pages were improved.

* **ld**

  - This utility is new in this release.  This utility is currently under
    development, and should be considered unstable.

* **libdwarf**
  - The line number program generated by **libdwarf** has been improved.
  - Support for the DWARF4 ``.debug_types`` section was added.
  - Parsing of DWARF4 line sections was fixed.
  - New APIs ``dwarf_attroffset()``,
    ``dwarf_get_cu_die_offset_given_cu_header_offset_b()``,
    ``dwarf_get_die_infotypes_flag()``,
    ``dwarf_get_section_max_offsets()``,
    ``dwarf_get_section_max_offsets_b()``, ``dwarf_highpc_b()``,
    ``dwarf_loclist_from_expr_b()``, ``dwarf_next_types_section()``,
    ``dwarf_offdie_b()``, and ``dwarf_siblingof_b()`` have been added.
    Of these, ``dwarf_attroffset()`` and ``dwarf_next_types_section()``
    are extensions to the SGI libdwarf API.
  - Support for operators ``DW_OP_GNU_addr_index``,
    ``DW_OP_GNU_const_index``, ``DW_OP_GNU_const_type``,
    ``DW_OP_GNU_convert``, ``DW_OP_GNU_deref_type``,
    ``DW_OP_GNU_encoded_addr``, ``DW_OP_GNU_entry_value``,
    ``DW_OP_GNU_implicit_pointer``, ``DW_OP_GNU_parameter_ref``,
    ``DW_OP_GNU_regval_type``, ``DW_OP_GNU_reinterpret``,
    ``DW_OP_GNU_uninit`` and ``DW_OP_push_object_address`` have been
    added.
  - APIs ``dwarf_get_cu_die_offset_given_cu_header_offset()``,
    ``dwarf_offdie()``, ``dwarf_siblingof()`` have been deprecated.
  - **libdwarf** now supports relocation for the ``aarch64``
    architecture.
  - **libdwarf** now handles architectures that use ".rel" relocations
    for debug data correctly.
  - The ``EM_IAMCU`` architecture is now recognized.
  - Documentation has been improved, memory leaks and other bugs have
    been fixed.

* **libelf**

  - Reference documentation has been improved.
  - Support building on the AARCH64 architecture has added.
  - Bug fixes have been applied.

* **libelf-by-example**

  - No changes since the prior release.

* **libelftc**

  - Support for the Portable Executable format has been added.
  - Overview documentation for this support library has been added.
  - New APIs ``elftc_string_table_from_section()``.
    ``elftc_string_table_image()``, ``elftc_string_table_insert()``,
    ``elftc_string_table_lookup()``, ``elftc_string_table_remove()``
    and ``elftc_string_table_to_string()`` have been added.
  - The demangling support functions now support IEEE floating point
    types, TLS special names and various GNU extensions.
  - Other bugs have fixed.

* **libpe**

  - This library is new in this release.  This library is currently
    under development, and should be considered unstable.

* **nm**

  - A new alias ``--extern-only`` for option ``-g`` is now supported.
  - Bugs have been fixed.

* **readelf**

  - The handling of objects with missing symbol names was improved.
  - **readelf** now supports dumping ``.debug_types`` sections.
  - The ``DW_AT_language``, ``DW_FORM_exprloc``,
    ``DW_FORM_flag_present``, ``DW_FORM_ref_sig8`` and
    ``DW_FORM_sec_offset`` types are now supported.
  - GNU DWARF operator extensions are now recognized by **readelf**.
  - **readelf** can now display architecture specific register names on
    some architectures.
  - **readelf** now handles AArch64 types and relocations and
    recognizes the ``RISC-V`` and ``IAMCU`` architectures.
  - Support has been added for printing binary notes for FreeBSD, Xen
    and Linux, and for printing core notes for FreeBSD and Linux.
  - Support for dumping symbols with the ``STB_GNU_UNIQUE`` binding
    has been added.
  - Support for dumping symbols with the ``STT_SPARC_REGISTER``
    register type has been added.

* **size**

  - The manual page for **size** has been improved.

* **strings**

  - The manual page for **strings** has been improved.

Outstanding Issues
------------------

There were no outstanding issues at the time of the release.

Known Limitations
-----------------

This release has the following limitations:

:Test coverage:
    Our test suites are being developed; test coverage is still
    partial.
:Performance and Memory Use:
    Our tools have not been fully analyzed for their memory use or for
    their performance characteristics.

Test Statistics
---------------

The test summary for this release is presented below:

 ========= ========== =============== ================ ===================
 **Suite** **Tests**  **FreeBSD**     **NetBSD**       **Ubuntu 10.04LTS**
           (32&64bit) (i386 & amd64)  (i386)           (x86_64)
 ========= ========== =============== ================ ===================
 ar        235 & 230  P:235 & 230     P:235            P:230
 elfcopy   160        P:160           P:160            P:160
 elfdump   155        P:155           P:155            P:155
 libdwarf  153        P:153           P:153            P:153
 libelf    1030       P:1026, U:4     P:1026, U:4      P:1026, U:4
 libelftc  16         P:16            P:16             P:16
 nm        183        P:183           P:183            P:183
 ========= ========== =============== ================ ===================

Key:

  :P:
      Test successes.
  :F:
      Test failures.
  :U:
      Unresolved tests.

Notes
~~~~~

More Information
================

The project's website is at http://elftoolchain.sourceforge.net/.

Developer Community
-------------------

The project's developers may be contacted using the mailing list:
``<elftoolchain-developers%lists.sourceforge.net@localhost>``.

Reporting Bugs
--------------

Please use our `bug tracker`_ for viewing existing bug reports and
for submitting new bug reports.

Copyright and License
=====================

This software is copyright its authors, and is distributed under the
`BSD License`_.

.. _BSD License: http://www.opensource.org/licenses/bsd-license.php
.. _`bug tracker`: https://sourceforge.net/p/elftoolchain/tickets/
.. _Elftoolchain project: http://elftoolchain.sourceforge.net/
.. _FreeBSD: http://www.freebsd.org/
.. _NetBSD:  http://www.netbsd.org/
.. _Ubuntu:  http://www.ubuntu.com/

.. Local Variables:
.. mode: rst
.. End:


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/elftoolchain/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/elftoolchain/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/elftoolchain/distinfo
cvs rdiff -u -r1.1.1.1 -r0 pkgsrc/devel/elftoolchain/patches/patch-aa \
    pkgsrc/devel/elftoolchain/patches/patch-ab \
    pkgsrc/devel/elftoolchain/patches/patch-ac \
    pkgsrc/devel/elftoolchain/patches/patch-ad \
    pkgsrc/devel/elftoolchain/patches/patch-ae \
    pkgsrc/devel/elftoolchain/patches/patch-af \
    pkgsrc/devel/elftoolchain/patches/patch-ag \
    pkgsrc/devel/elftoolchain/patches/patch-ah \
    pkgsrc/devel/elftoolchain/patches/patch-ai \
    pkgsrc/devel/elftoolchain/patches/patch-aj \
    pkgsrc/devel/elftoolchain/patches/patch-ak \
    pkgsrc/devel/elftoolchain/patches/patch-al \
    pkgsrc/devel/elftoolchain/patches/patch-an
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/devel/elftoolchain/patches/patch-am
cvs rdiff -u -r1.1 -r0 pkgsrc/devel/elftoolchain/patches/patch-ar_acpyacc_y \
    pkgsrc/devel/elftoolchain/patches/patch-ar_ar.h \
    pkgsrc/devel/elftoolchain/patches/patch-ar_util.c
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/devel/elftoolchain/patches/patch-libelftc_Makefile \
    pkgsrc/devel/elftoolchain/patches/patch-libelftc___libelftc.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/elftoolchain/Makefile
diff -u pkgsrc/devel/elftoolchain/Makefile:1.13 pkgsrc/devel/elftoolchain/Makefile:1.14
--- pkgsrc/devel/elftoolchain/Makefile:1.13     Wed May 31 22:14:43 2017
+++ pkgsrc/devel/elftoolchain/Makefile  Mon Oct  1 12:36:35 2018
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2017/05/31 22:14:43 agc Exp $
+# $NetBSD: Makefile,v 1.14 2018/10/01 12:36:35 ryoon Exp $
 
-DISTNAME=      elftoolchain-0.5.1
-PKGREVISION=   1
+DISTNAME=      elftoolchain-0.7.1
 CATEGORIES=    devel
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=elftoolchain/${DISTNAME}/}
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=elftoolchain/}
 EXTRACT_SUFX=  .tar.bz2
 
 MAINTAINER=    agc%NetBSD.org@localhost
@@ -21,13 +20,15 @@ USE_BSD_MAKEFILE=   yes
 USE_TOOLS+=            m4 lex
 MAKE_ENV+=             ${BSD_MAKE_ENV}
 MAKE_FLAGS+=           MKPROFILE=yes
+MAKE_FLAGS+=           INCSDIR=${PREFIX}/include
 
 .include "../../mk/compiler.mk"
 .if !empty(PKGSRC_COMPILER:Mgcc)
 CWARNFLAGS+=           -Wno-error=sign-conversion \
                        -Wno-error=conversion \
                        -Wno-error=unused-but-set-variable \
-                       -Wno-error=old-style-definition
+                       -Wno-error=old-style-definition \
+                       -Wno-error=shift-negative-value
 .elif !empty(PKGSRC_COMPILER:Mclang)
 CWARNFLAGS+=           -Wno-error=missing-noreturn \
                        -Wno-error=constant-logical-operand \
@@ -35,7 +36,7 @@ CWARNFLAGS+=          -Wno-error=missing-noretur
 .endif
 MAKE_FLAGS+=           CWARNFLAGS=${CWARNFLAGS:Q}
 
-INSTALLATION_DIRS=     bin lib
+INSTALLATION_DIRS=     bin include lib
 INSTALLATION_DIRS+=    ${PKGMANDIR}/man1 ${PKGMANDIR}/cat1 ${PKGMANDIR}/html1
 INSTALLATION_DIRS+=    ${PKGMANDIR}/man3 ${PKGMANDIR}/cat3 ${PKGMANDIR}/html3
 INSTALLATION_DIRS+=    ${PKGMANDIR}/man5 ${PKGMANDIR}/cat5 ${PKGMANDIR}/html5

Index: pkgsrc/devel/elftoolchain/PLIST
diff -u pkgsrc/devel/elftoolchain/PLIST:1.2 pkgsrc/devel/elftoolchain/PLIST:1.3
--- pkgsrc/devel/elftoolchain/PLIST:1.2 Sat Nov 26 15:50:27 2011
+++ pkgsrc/devel/elftoolchain/PLIST     Mon Oct  1 12:36:35 2018
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2011/11/26 15:50:27 dholland Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/10/01 12:36:35 ryoon Exp $
 bin/addr2line
 bin/ar
 bin/brandelf
@@ -6,6 +6,7 @@ bin/c++filt
 bin/elfcopy
 bin/elfdump
 bin/findtextrel
+bin/ld
 bin/mcs
 bin/nm
 bin/ranlib
@@ -13,6 +14,14 @@ bin/readelf
 bin/size
 bin/strings
 bin/strip
+include/dwarf.h
+include/elfdefinitions.h
+include/gelf.h
+include/libdwarf.h
+include/libelf.h
+include/libelftc.h
+include/libpe.h
+include/pe.h
 lib/libdwarf.a
 lib/libdwarf.so
 lib/libdwarf.so.3
@@ -31,336 +40,11 @@ lib/libelftc.so.1
 lib/libelftc.so.1.0
 lib/libelftc_p.a
 lib/libelftc_pic.a
-man/cat1/addr2line.0
-man/cat1/ar.0
-man/cat1/brandelf.0
-man/cat1/c++filt.0
-man/cat1/elfcopy.0
-man/cat1/elfdump.0
-man/cat1/findtextrel.0
-man/cat1/mcs.0
-man/cat1/nm.0
-man/cat1/ranlib.0
-man/cat1/readelf.0
-man/cat1/size.0
-man/cat1/strings.0
-man/cat1/strip.0
-man/cat3/dwarf_add_AT_comp_dir.0
-man/cat3/dwarf_add_AT_const_value_signedint.0
-man/cat3/dwarf_add_AT_const_value_string.0
-man/cat3/dwarf_add_AT_const_value_unsignedint.0
-man/cat3/dwarf_add_AT_dataref.0
-man/cat3/dwarf_add_AT_flag.0
-man/cat3/dwarf_add_AT_location_expr.0
-man/cat3/dwarf_add_AT_name.0
-man/cat3/dwarf_add_AT_producer.0
-man/cat3/dwarf_add_AT_ref_address.0
-man/cat3/dwarf_add_AT_reference.0
-man/cat3/dwarf_add_AT_signed_const.0
-man/cat3/dwarf_add_AT_string.0
-man/cat3/dwarf_add_AT_targ_address.0
-man/cat3/dwarf_add_AT_targ_address_b.0
-man/cat3/dwarf_add_AT_unsigned_const.0
-man/cat3/dwarf_add_arange.0
-man/cat3/dwarf_add_arange_b.0
-man/cat3/dwarf_add_die_to_debug.0
-man/cat3/dwarf_add_directory_decl.0
-man/cat3/dwarf_add_expr_addr.0
-man/cat3/dwarf_add_expr_addr_b.0
-man/cat3/dwarf_add_expr_gen.0
-man/cat3/dwarf_add_fde_inst.0
-man/cat3/dwarf_add_file_decl.0
-man/cat3/dwarf_add_frame_cie.0
-man/cat3/dwarf_add_frame_fde.0
-man/cat3/dwarf_add_frame_fde_b.0
-man/cat3/dwarf_add_funcname.0
-man/cat3/dwarf_add_line_entry.0
-man/cat3/dwarf_add_pubname.0
-man/cat3/dwarf_add_typename.0
-man/cat3/dwarf_add_varname.0
-man/cat3/dwarf_add_weakname.0
-man/cat3/dwarf_arrayorder.0
-man/cat3/dwarf_attr.0
-man/cat3/dwarf_attrlist.0
-man/cat3/dwarf_attrval_flag.0
-man/cat3/dwarf_attrval_signed.0
-man/cat3/dwarf_attrval_string.0
-man/cat3/dwarf_attrval_unsigned.0
-man/cat3/dwarf_bitoffset.0
-man/cat3/dwarf_bitsize.0
-man/cat3/dwarf_bytesize.0
-man/cat3/dwarf_child.0
-man/cat3/dwarf_dealloc.0
-man/cat3/dwarf_def_macro.0
-man/cat3/dwarf_die_CU_offset.0
-man/cat3/dwarf_die_CU_offset_range.0
-man/cat3/dwarf_die_abbrev_code.0
-man/cat3/dwarf_die_link.0
-man/cat3/dwarf_diename.0
-man/cat3/dwarf_dieoffset.0
-man/cat3/dwarf_elf_init.0
-man/cat3/dwarf_end_macro_file.0
-man/cat3/dwarf_errmsg.0
-man/cat3/dwarf_errno.0
-man/cat3/dwarf_expand_frame_instructions.0
-man/cat3/dwarf_expr_current_offset.0
-man/cat3/dwarf_expr_into_block.0
-man/cat3/dwarf_fde_cfa_offset.0
-man/cat3/dwarf_fde_cie_list_dealloc.0
-man/cat3/dwarf_find_macro_value_start.0
-man/cat3/dwarf_finish.0
-man/cat3/dwarf_formaddr.0
-man/cat3/dwarf_formblock.0
-man/cat3/dwarf_formexprloc.0
-man/cat3/dwarf_formflag.0
-man/cat3/dwarf_formref.0
-man/cat3/dwarf_formsdata.0
-man/cat3/dwarf_formsig8.0
-man/cat3/dwarf_formstring.0
-man/cat3/dwarf_formudata.0
-man/cat3/dwarf_func_cu_offset.0
-man/cat3/dwarf_func_die_offset.0
-man/cat3/dwarf_func_name_offsets.0
-man/cat3/dwarf_funcname.0
-man/cat3/dwarf_funcs_dealloc.0
-man/cat3/dwarf_get_ACCESS_name.0
-man/cat3/dwarf_get_ATE_name.0
-man/cat3/dwarf_get_AT_name.0
-man/cat3/dwarf_get_CC_name.0
-man/cat3/dwarf_get_CFA_name.0
-man/cat3/dwarf_get_CHILDREN_name.0
-man/cat3/dwarf_get_DSC_name.0
-man/cat3/dwarf_get_DS_name.0
-man/cat3/dwarf_get_EH_name.0
-man/cat3/dwarf_get_END_name.0
-man/cat3/dwarf_get_FORM_name.0
-man/cat3/dwarf_get_ID_name.0
-man/cat3/dwarf_get_INL_name.0
-man/cat3/dwarf_get_LANG_name.0
-man/cat3/dwarf_get_LNE_name.0
-man/cat3/dwarf_get_LNS_name.0
-man/cat3/dwarf_get_MACINFO_name.0
-man/cat3/dwarf_get_OP_name.0
-man/cat3/dwarf_get_ORD_name.0
-man/cat3/dwarf_get_TAG_name.0
-man/cat3/dwarf_get_VIRTUALITY_name.0
-man/cat3/dwarf_get_VIS_name.0
-man/cat3/dwarf_get_abbrev.0
-man/cat3/dwarf_get_abbrev_children_flag.0
-man/cat3/dwarf_get_abbrev_code.0
-man/cat3/dwarf_get_abbrev_entry.0
-man/cat3/dwarf_get_abbrev_tag.0
-man/cat3/dwarf_get_address_size.0
-man/cat3/dwarf_get_arange.0
-man/cat3/dwarf_get_arange_cu_header_offset.0
-man/cat3/dwarf_get_arange_info.0
-man/cat3/dwarf_get_aranges.0
-man/cat3/dwarf_get_cie_index.0
-man/cat3/dwarf_get_cie_info.0
-man/cat3/dwarf_get_cie_of_fde.0
-man/cat3/dwarf_get_cu_die_offset.0
-man/cat3/dwarf_get_cu_die_offset_given_cu_header_offset.0
-man/cat3/dwarf_get_elf.0
-man/cat3/dwarf_get_fde_at_pc.0
-man/cat3/dwarf_get_fde_info_for_all_regs.0
-man/cat3/dwarf_get_fde_info_for_all_regs3.0
-man/cat3/dwarf_get_fde_info_for_cfa_reg3.0
-man/cat3/dwarf_get_fde_info_for_reg.0
-man/cat3/dwarf_get_fde_info_for_reg3.0
-man/cat3/dwarf_get_fde_instr_bytes.0
-man/cat3/dwarf_get_fde_list.0
-man/cat3/dwarf_get_fde_list_eh.0
-man/cat3/dwarf_get_fde_n.0
-man/cat3/dwarf_get_fde_range.0
-man/cat3/dwarf_get_form_class.0
-man/cat3/dwarf_get_funcs.0
-man/cat3/dwarf_get_globals.0
-man/cat3/dwarf_get_loclist_entry.0
-man/cat3/dwarf_get_macro_details.0
-man/cat3/dwarf_get_pubtypes.0
-man/cat3/dwarf_get_ranges.0
-man/cat3/dwarf_get_ranges_a.0
-man/cat3/dwarf_get_relocation_info.0
-man/cat3/dwarf_get_relocation_info_count.0
-man/cat3/dwarf_get_section_bytes.0
-man/cat3/dwarf_get_str.0
-man/cat3/dwarf_get_types.0
-man/cat3/dwarf_get_vars.0
-man/cat3/dwarf_get_weaks.0
-man/cat3/dwarf_global_cu_offset.0
-man/cat3/dwarf_global_die_offset.0
-man/cat3/dwarf_global_formref.0
-man/cat3/dwarf_global_name_offsets.0
-man/cat3/dwarf_globals_dealloc.0
-man/cat3/dwarf_globname.0
-man/cat3/dwarf_hasattr.0
-man/cat3/dwarf_hasform.0
-man/cat3/dwarf_highpc.0
-man/cat3/dwarf_init.0
-man/cat3/dwarf_line_srcfileno.0
-man/cat3/dwarf_lineaddr.0
-man/cat3/dwarf_linebeginstatement.0
-man/cat3/dwarf_lineblock.0
-man/cat3/dwarf_lineendsequence.0
-man/cat3/dwarf_lineno.0
-man/cat3/dwarf_lineoff.0
-man/cat3/dwarf_linesrc.0
-man/cat3/dwarf_lne_end_sequence.0
-man/cat3/dwarf_lne_set_address.0
-man/cat3/dwarf_loclist.0
-man/cat3/dwarf_loclist_from_expr.0
-man/cat3/dwarf_loclist_from_expr_a.0
-man/cat3/dwarf_loclist_n.0
-man/cat3/dwarf_lowpc.0
-man/cat3/dwarf_new_die.0
-man/cat3/dwarf_new_expr.0
-man/cat3/dwarf_new_fde.0
-man/cat3/dwarf_next_cu_header.0
-man/cat3/dwarf_object_finish.0
-man/cat3/dwarf_object_init.0
-man/cat3/dwarf_offdie.0
-man/cat3/dwarf_producer_init.0
-man/cat3/dwarf_producer_init_b.0
-man/cat3/dwarf_producer_set_isa.0
-man/cat3/dwarf_pubtype_cu_offset.0
-man/cat3/dwarf_pubtype_die_offset.0
-man/cat3/dwarf_pubtype_name_offsets.0
-man/cat3/dwarf_pubtypename.0
-man/cat3/dwarf_pubtypes_dealloc.0
-man/cat3/dwarf_ranges_dealloc.0
-man/cat3/dwarf_reset_section_bytes.0
-man/cat3/dwarf_set_frame_cfa_value.0
-man/cat3/dwarf_set_frame_rule_initial_value.0
-man/cat3/dwarf_set_frame_rule_table_size.0
-man/cat3/dwarf_set_frame_same_value.0
-man/cat3/dwarf_set_frame_undefined_value.0
-man/cat3/dwarf_set_reloc_application.0
-man/cat3/dwarf_seterrarg.0
-man/cat3/dwarf_seterrhand.0
-man/cat3/dwarf_siblingof.0
-man/cat3/dwarf_srcfiles.0
-man/cat3/dwarf_srclang.0
-man/cat3/dwarf_srclines.0
-man/cat3/dwarf_srclines_dealloc.0
-man/cat3/dwarf_start_macro_file.0
-man/cat3/dwarf_tag.0
-man/cat3/dwarf_transform_to_disk_form.0
-man/cat3/dwarf_type_cu_offset.0
-man/cat3/dwarf_type_die_offset.0
-man/cat3/dwarf_type_name_offsets.0
-man/cat3/dwarf_typename.0
-man/cat3/dwarf_types_dealloc.0
-man/cat3/dwarf_undef_macro.0
-man/cat3/dwarf_var_cu_offset.0
-man/cat3/dwarf_var_die_offset.0
-man/cat3/dwarf_var_name_offsets.0
-man/cat3/dwarf_varname.0
-man/cat3/dwarf_vars_dealloc.0
-man/cat3/dwarf_vendor_ext.0
-man/cat3/dwarf_weak_cu_offset.0
-man/cat3/dwarf_weak_die_offset.0
-man/cat3/dwarf_weak_name_offsets.0
-man/cat3/dwarf_weakname.0
-man/cat3/dwarf_weaks_dealloc.0
-man/cat3/dwarf_whatattr.0
-man/cat3/dwarf_whatform.0
-man/cat3/dwarf_whatform_direct.0
-man/cat3/elf.0
-man/cat3/elf32_checksum.0
-man/cat3/elf32_fsize.0
-man/cat3/elf32_getehdr.0
-man/cat3/elf32_getphdr.0
-man/cat3/elf32_getshdr.0
-man/cat3/elf32_newehdr.0
-man/cat3/elf32_newphdr.0
-man/cat3/elf32_xlatetof.0
-man/cat3/elf32_xlatetom.0
-man/cat3/elf64_checksum.0
-man/cat3/elf64_fsize.0
-man/cat3/elf64_getehdr.0
-man/cat3/elf64_getphdr.0
-man/cat3/elf64_getshdr.0
-man/cat3/elf64_newehdr.0
-man/cat3/elf64_newphdr.0
-man/cat3/elf64_xlatetof.0
-man/cat3/elf64_xlatetom.0
-man/cat3/elf_begin.0
-man/cat3/elf_cntl.0
-man/cat3/elf_end.0
-man/cat3/elf_errmsg.0
-man/cat3/elf_errno.0
-man/cat3/elf_fill.0
-man/cat3/elf_flagarhdr.0
-man/cat3/elf_flagdata.0
-man/cat3/elf_flagehdr.0
-man/cat3/elf_flagelf.0
-man/cat3/elf_flagphdr.0
-man/cat3/elf_flagscn.0
-man/cat3/elf_flagshdr.0
-man/cat3/elf_getarhdr.0
-man/cat3/elf_getarsym.0
-man/cat3/elf_getbase.0
-man/cat3/elf_getdata.0
-man/cat3/elf_getident.0
-man/cat3/elf_getphdrnum.0
-man/cat3/elf_getphnum.0
-man/cat3/elf_getscn.0
-man/cat3/elf_getshdrnum.0
-man/cat3/elf_getshdrstrndx.0
-man/cat3/elf_getshnum.0
-man/cat3/elf_getshstrndx.0
-man/cat3/elf_hash.0
-man/cat3/elf_kind.0
-man/cat3/elf_memory.0
-man/cat3/elf_ndxscn.0
-man/cat3/elf_newdata.0
-man/cat3/elf_newscn.0
-man/cat3/elf_next.0
-man/cat3/elf_nextscn.0
-man/cat3/elf_rand.0
-man/cat3/elf_rawdata.0
-man/cat3/elf_rawfile.0
-man/cat3/elf_setshstrndx.0
-man/cat3/elf_strptr.0
-man/cat3/elf_update.0
-man/cat3/elf_version.0
-man/cat3/elftc_bfd_find_target.0
-man/cat3/elftc_bfd_target_byteorder.0
-man/cat3/elftc_bfd_target_class.0
-man/cat3/elftc_bfd_target_flavor.0
-man/cat3/elftc_demangle.0
-man/cat3/elftc_version.0
-man/cat3/gelf.0
-man/cat3/gelf_checksum.0
-man/cat3/gelf_fsize.0
-man/cat3/gelf_getcap.0
-man/cat3/gelf_getclass.0
-man/cat3/gelf_getdyn.0
-man/cat3/gelf_getehdr.0
-man/cat3/gelf_getmove.0
-man/cat3/gelf_getphdr.0
-man/cat3/gelf_getrel.0
-man/cat3/gelf_getrela.0
-man/cat3/gelf_getshdr.0
-man/cat3/gelf_getsym.0
-man/cat3/gelf_getsyminfo.0
-man/cat3/gelf_getsymshndx.0
-man/cat3/gelf_newehdr.0
-man/cat3/gelf_newphdr.0
-man/cat3/gelf_update_cap.0
-man/cat3/gelf_update_dyn.0
-man/cat3/gelf_update_ehdr.0
-man/cat3/gelf_update_move.0
-man/cat3/gelf_update_phdr.0
-man/cat3/gelf_update_rel.0
-man/cat3/gelf_update_rela.0
-man/cat3/gelf_update_shdr.0
-man/cat3/gelf_update_sym.0
-man/cat3/gelf_update_syminfo.0
-man/cat3/gelf_update_symshndx.0
-man/cat3/gelf_xlatetof.0
-man/cat3/gelf_xlatetom.0
-man/cat5/ar.0
+lib/libpe.a
+lib/libpe.so
+lib/libpe.so.1
+lib/libpe_p.a
+lib/libpe_pic.a
 man/man1/addr2line.1
 man/man1/ar.1
 man/man1/brandelf.1
@@ -368,6 +52,7 @@ man/man1/c++filt.1
 man/man1/elfcopy.1
 man/man1/elfdump.1
 man/man1/findtextrel.1
+man/man1/ld.1
 man/man1/mcs.1
 man/man1/nm.1
 man/man1/ranlib.1
@@ -375,6 +60,7 @@ man/man1/readelf.1
 man/man1/size.1
 man/man1/strings.1
 man/man1/strip.1
+man/man3/dwarf.3
 man/man3/dwarf_add_AT_comp_dir.3
 man/man3/dwarf_add_AT_const_value_signedint.3
 man/man3/dwarf_add_AT_const_value_string.3
@@ -412,6 +98,7 @@ man/man3/dwarf_add_weakname.3
 man/man3/dwarf_arrayorder.3
 man/man3/dwarf_attr.3
 man/man3/dwarf_attrlist.3
+man/man3/dwarf_attroffset.3
 man/man3/dwarf_attrval_flag.3
 man/man3/dwarf_attrval_signed.3
 man/man3/dwarf_attrval_string.3
@@ -490,6 +177,8 @@ man/man3/dwarf_get_cie_info.3
 man/man3/dwarf_get_cie_of_fde.3
 man/man3/dwarf_get_cu_die_offset.3
 man/man3/dwarf_get_cu_die_offset_given_cu_header_offset.3
+man/man3/dwarf_get_cu_die_offset_given_cu_header_offset_b.3
+man/man3/dwarf_get_die_infotypes_flag.3
 man/man3/dwarf_get_elf.3
 man/man3/dwarf_get_fde_at_pc.3
 man/man3/dwarf_get_fde_info_for_all_regs.3
@@ -513,6 +202,8 @@ man/man3/dwarf_get_ranges_a.3
 man/man3/dwarf_get_relocation_info.3
 man/man3/dwarf_get_relocation_info_count.3
 man/man3/dwarf_get_section_bytes.3
+man/man3/dwarf_get_section_max_offsets.3
+man/man3/dwarf_get_section_max_offsets_b.3
 man/man3/dwarf_get_str.3
 man/man3/dwarf_get_types.3
 man/man3/dwarf_get_vars.3
@@ -526,6 +217,7 @@ man/man3/dwarf_globname.3
 man/man3/dwarf_hasattr.3
 man/man3/dwarf_hasform.3
 man/man3/dwarf_highpc.3
+man/man3/dwarf_highpc_b.3
 man/man3/dwarf_init.3
 man/man3/dwarf_line_srcfileno.3
 man/man3/dwarf_lineaddr.3
@@ -540,15 +232,20 @@ man/man3/dwarf_lne_set_address.3
 man/man3/dwarf_loclist.3
 man/man3/dwarf_loclist_from_expr.3
 man/man3/dwarf_loclist_from_expr_a.3
+man/man3/dwarf_loclist_from_expr_b.3
 man/man3/dwarf_loclist_n.3
 man/man3/dwarf_lowpc.3
 man/man3/dwarf_new_die.3
 man/man3/dwarf_new_expr.3
 man/man3/dwarf_new_fde.3
 man/man3/dwarf_next_cu_header.3
+man/man3/dwarf_next_cu_header_b.3
+man/man3/dwarf_next_cu_header_c.3
+man/man3/dwarf_next_types_section.3
 man/man3/dwarf_object_finish.3
 man/man3/dwarf_object_init.3
 man/man3/dwarf_offdie.3
+man/man3/dwarf_offdie_b.3
 man/man3/dwarf_producer_init.3
 man/man3/dwarf_producer_init_b.3
 man/man3/dwarf_producer_set_isa.3
@@ -568,6 +265,7 @@ man/man3/dwarf_set_reloc_application.3
 man/man3/dwarf_seterrarg.3
 man/man3/dwarf_seterrhand.3
 man/man3/dwarf_siblingof.3
+man/man3/dwarf_siblingof_b.3
 man/man3/dwarf_srcfiles.3
 man/man3/dwarf_srclang.3
 man/man3/dwarf_srclines.3
@@ -647,6 +345,8 @@ man/man3/elf_newdata.3
 man/man3/elf_newscn.3
 man/man3/elf_next.3
 man/man3/elf_nextscn.3
+man/man3/elf_open.3
+man/man3/elf_openmemory.3
 man/man3/elf_rand.3
 man/man3/elf_rawdata.3
 man/man3/elf_rawfile.3
@@ -654,11 +354,20 @@ man/man3/elf_setshstrndx.3
 man/man3/elf_strptr.3
 man/man3/elf_update.3
 man/man3/elf_version.3
+man/man3/elftc.3
 man/man3/elftc_bfd_find_target.3
 man/man3/elftc_bfd_target_byteorder.3
 man/man3/elftc_bfd_target_class.3
 man/man3/elftc_bfd_target_flavor.3
+man/man3/elftc_copyfile.3
 man/man3/elftc_demangle.3
+man/man3/elftc_set_timestamps.3
+man/man3/elftc_string_table_create.3
+man/man3/elftc_string_table_destroy.3
+man/man3/elftc_string_table_from_section.3
+man/man3/elftc_string_table_image.3
+man/man3/elftc_string_table_insert.3
+man/man3/elftc_string_table_lookup.3
 man/man3/elftc_version.3
 man/man3/gelf.3
 man/man3/gelf_checksum.3
@@ -694,3 +403,6 @@ man/man5/ar.5
 @pkgdir man/html5
 @pkgdir man/html3
 @pkgdir man/html1
+@pkgdir man/cat5
+@pkgdir man/cat3
+@pkgdir man/cat1

Index: pkgsrc/devel/elftoolchain/distinfo
diff -u pkgsrc/devel/elftoolchain/distinfo:1.6 pkgsrc/devel/elftoolchain/distinfo:1.7
--- pkgsrc/devel/elftoolchain/distinfo:1.6      Wed May 31 22:14:43 2017
+++ pkgsrc/devel/elftoolchain/distinfo  Mon Oct  1 12:36:35 2018
@@ -1,27 +1,11 @@
-$NetBSD: distinfo,v 1.6 2017/05/31 22:14:43 agc Exp $
+$NetBSD: distinfo,v 1.7 2018/10/01 12:36:35 ryoon Exp $
 
-SHA1 (elftoolchain-0.5.1.tar.bz2) = 333cfce857ca220177d0a5d111d40afca1eea0c7
-RMD160 (elftoolchain-0.5.1.tar.bz2) = 4be0adf8349c764474810e23cfb022c655002d77
-SHA512 (elftoolchain-0.5.1.tar.bz2) = 4f682ee183c5b475fd50856254f547530c922a7fcdd150233f39628a712dd8b84e5c94663a51f1f5ce85c828c2758a35fd92bbf29332b2462a1618e43961aadf
-Size (elftoolchain-0.5.1.tar.bz2) = 5008332 bytes
-SHA1 (patch-aa) = e3588a6580ece7159b109e01730f144703aeda1d
-SHA1 (patch-ab) = 7ed42bdf24917a01e42580958d29078c7143168c
-SHA1 (patch-ac) = c681369aa0dd87a1b2fa5ede647f267a4c132e87
-SHA1 (patch-ad) = 22a254add215d7fa18b32e17e30c92d451c2cecd
-SHA1 (patch-ae) = 19f04351c82e4ab421582a2d5b2761308aeff53d
-SHA1 (patch-af) = 8de41e29969295b668deee22d6bbb761a586059a
-SHA1 (patch-ag) = adbf0b3ba6121bc9b3351cf2f79863a8bafc13d8
-SHA1 (patch-ah) = 1c1d31443566994f48d3b7e9ab2385bd4c07d55e
-SHA1 (patch-ai) = 37e8a01421c926b995f7a5cd32c77df7b18bd28f
-SHA1 (patch-aj) = 1656ff3c1a9dd9fe27af122d9cbe605092a40925
-SHA1 (patch-ak) = 699aeca92ce35f57988b6135c6b7f3a8f533825f
-SHA1 (patch-al) = 1ca5bb02b4bf8b4d0820747c3398d1f5f317c66c
-SHA1 (patch-am) = 286bd77aef36812b60fb29218368573b74ac892e
-SHA1 (patch-an) = 6de919bb0cf3f406c9b5addcf868c57d5d71403e
-SHA1 (patch-ar_acpyacc_y) = 462e9463ff66defe76759d4eb58d3b5d98c846b9
-SHA1 (patch-ar_ar.h) = bf6dc1ff7c50291b111c976f0ca6c87c71b4891a
-SHA1 (patch-ar_util.c) = 7a70d796516f0b0369dfa44b373dfff5e67dfb9e
+SHA1 (elftoolchain-0.7.1.tar.bz2) = fdab1804543e47887bd73f1177b723af21ab47ae
+RMD160 (elftoolchain-0.7.1.tar.bz2) = 9e341f86573d80dd2b390d79cf82f239ecd279ff
+SHA512 (elftoolchain-0.7.1.tar.bz2) = 8226c468b393f0d567167a9dd6b16d2a226227e4d05dab8f44550038da44dcbfb92749f8e1a4b130b893675337a6771e24a81f350f3f864b1b8b17402ed23b26
+Size (elftoolchain-0.7.1.tar.bz2) = 5361427 bytes
+SHA1 (patch-am) = 67678cb5e9ff5df7ebaa22e7bb1dc9538e1b3063
 SHA1 (patch-libdwarf_Makefile) = bea37cf65de237146dc51a71aed04581bc6c1d95
 SHA1 (patch-libelf_Makefile) = 29fdcead0e1d01ba2cf1d9e16e9d50bc041c9eec
-SHA1 (patch-libelftc_Makefile) = a91f55e598482123a04dd5e50e5d992a8d866036
-SHA1 (patch-libelftc___libelftc.h) = d2ee73ee21d56a241aec04c43073e3e0dd164d6d
+SHA1 (patch-libelftc_Makefile) = 64990e254ca3c55615cc3746fa948d7e0ca1fcb4
+SHA1 (patch-libelftc___libelftc.h) = db63ca28c25ccf92b9b15ffcaf016bf2bd3d291d

Index: pkgsrc/devel/elftoolchain/patches/patch-am
diff -u pkgsrc/devel/elftoolchain/patches/patch-am:1.1.1.1 pkgsrc/devel/elftoolchain/patches/patch-am:1.2
--- pkgsrc/devel/elftoolchain/patches/patch-am:1.1.1.1  Sun Nov 20 06:25:18 2011
+++ pkgsrc/devel/elftoolchain/patches/patch-am  Mon Oct  1 12:36:35 2018
@@ -1,31 +1,31 @@
-$NetBSD: patch-am,v 1.1.1.1 2011/11/20 06:25:18 agc Exp $
+$NetBSD: patch-am,v 1.2 2018/10/01 12:36:35 ryoon Exp $
 
 don't build tests for ordinary packaging
 
---- Makefile   2011/11/18 21:53:08     1.1
-+++ Makefile   2011/11/18 21:53:38
-@@ -26,9 +26,9 @@
+--- Makefile.orig      2016-02-07 11:39:17.000000000 +0000
++++ Makefile
+@@ -33,9 +33,9 @@ SUBDIR += size
  SUBDIR += strings
  
  # Build the test suites.
--.if exists(${.CURDIR}/test)
+-.if exists(${.CURDIR}/test) && defined(WITH_TESTS) && ${WITH_TESTS:tl} == "yes"
 -SUBDIR += test
 -.endif
-+#.if exists(${.CURDIR}/test)
++#.if exists(${.CURDIR}/test) && defined(WITH_TESTS) && ${WITH_TESTS:tl} == "yes"
 +#SUBDIR += test
 +#.endif
  
- # Build documentation at the end.
- .if exists(${.CURDIR}/documentation)
-@@ -42,7 +42,7 @@
+ # Build additional build tooling.
+ .if defined(WITH_BUILD_TOOLS) && ${WITH_BUILD_TOOLS:tl} == "yes"
+@@ -55,7 +55,7 @@ SUBDIR += documentation
  #
  
  # Run the test suites.
--.if exists(${.CURDIR}/test)
+-.if exists(${.CURDIR}/test) && defined(WITH_TESTS) && ${WITH_TESTS:tl} == "yes"
 -run-tests:    all .PHONY
 -      (cd ${.CURDIR}/test; ${MAKE} test)
 -.endif
-+#.if exists(${.CURDIR}/test)
++#.if exists(${.CURDIR}/test) && defined(WITH_TESTS) && ${WITH_TESTS:tl} == "yes"
 +#run-tests:   all .PHONY
 +#     (cd ${.CURDIR}/test; ${MAKE} test)
 +#.endif

Index: pkgsrc/devel/elftoolchain/patches/patch-libelftc_Makefile
diff -u pkgsrc/devel/elftoolchain/patches/patch-libelftc_Makefile:1.1 pkgsrc/devel/elftoolchain/patches/patch-libelftc_Makefile:1.2
--- pkgsrc/devel/elftoolchain/patches/patch-libelftc_Makefile:1.1       Sat Nov 26 15:50:27 2011
+++ pkgsrc/devel/elftoolchain/patches/patch-libelftc_Makefile   Mon Oct  1 12:36:35 2018
@@ -1,4 +1,4 @@
-$NetBSD: patch-libelftc_Makefile,v 1.1 2011/11/26 15:50:27 dholland Exp $
+$NetBSD: patch-libelftc_Makefile,v 1.2 2018/10/01 12:36:35 ryoon Exp $
 
 Add a minor version to libelftc.so; otherwise a bootstrapped build does
 "ln -sf libelftc.so.1 libelftc.so.1" and then install fails with ELOOP.
@@ -6,10 +6,10 @@ Add a minor version to libelftc.so; othe
 This is a bug in bootstrap-mk-files but I'm going to fix it in both
 places to avoid demanding rebootstrapping.
 
---- libelftc/Makefile~ 2011-11-26 15:18:44.000000000 +0000
+--- libelftc/Makefile.orig     2018-09-26 00:03:01.469445303 +0000
 +++ libelftc/Makefile
-@@ -17,6 +17,7 @@ INCS=        libelftc.h
- BRANCH=       0.5.1           # Change this on release branches.
+@@ -23,6 +23,7 @@ INCSDIR=     /usr/include
+ RELEASE=      0.7.1           # Change this on release branches.
  
  SHLIB_MAJOR=  1
 +SHLIB_MINOR=  0
Index: pkgsrc/devel/elftoolchain/patches/patch-libelftc___libelftc.h
diff -u pkgsrc/devel/elftoolchain/patches/patch-libelftc___libelftc.h:1.1 pkgsrc/devel/elftoolchain/patches/patch-libelftc___libelftc.h:1.2
--- pkgsrc/devel/elftoolchain/patches/patch-libelftc___libelftc.h:1.1   Wed May 31 22:14:43 2017
+++ pkgsrc/devel/elftoolchain/patches/patch-libelftc___libelftc.h       Mon Oct  1 12:36:35 2018
@@ -1,15 +1,15 @@
-$NetBSD: patch-libelftc___libelftc.h,v 1.1 2017/05/31 22:14:43 agc Exp $
+$NetBSD: patch-libelftc___libelftc.h,v 1.2 2018/10/01 12:36:35 ryoon Exp $
 
 avoid error - cast float value to size_t before using it
 
---- libelftc/_libelftc.h       2017/05/31 22:09:00     1.1
-+++ libelftc/_libelftc.h       2017/05/31 22:09:18
-@@ -55,7 +55,7 @@
+--- libelftc/_libelftc.h.orig  2015-03-27 17:13:41.000000000 +0000
++++ libelftc/_libelftc.h
+@@ -55,7 +55,7 @@ struct vector_str {
        char            **container;
  };
  
 -#define BUFFER_GROWFACTOR     1.618
-+#define BUFFER_GROWFACTOR     (size_t)1.618
- #define VECTOR_DEF_CAPACITY   8
- #define       ELFTC_ISDIGIT(C)        (isdigit((C) & 0xFF))
++#define BUFFER_GROWFACTOR     ((size_t)1.618)
  
+ #define       ELFTC_FAILURE           0
+ #define       ELFTC_ISDIGIT(C)        (isdigit((C) & 0xFF))



Home | Main Index | Thread Index | Old Index