head 1.3; access; symbols pkgsrc-2026Q3:1.2.0.46 pkgsrc-2026Q3-base:1.2 pkgsrc-2026Q2:1.2.0.44 pkgsrc-2026Q2-base:1.2 pkgsrc-2026Q1:1.2.0.42 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.40 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.38 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.36 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.34 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.32 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.30 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.28 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.26 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.24 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.22 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.20 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.18 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.16 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.14 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.12 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.10 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.8 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.6 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.4 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.2 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.1.0.2 pkgsrc-2020Q4-base:1.1; locks; strict; comment @# @; 1.3 date 2026.10.12.09.10.09; author jperkin; state dead; branches; next 1.2; commitid GtHPje62iWdnraZG; 1.2 date 2021.01.27.15.21.21; author fcambus; state Exp; branches; next 1.1; commitid OOXpqZyHUrhqunFC; 1.1 date 2020.12.14.16.19.59; author fcambus; state Exp; branches; next ; commitid 6jUDHLqwTeAieJzC; desc @@ 1.3 log @binutils: Update to 2.47. Lots of pkgsrc changes to simplify and clean up the package. Tested on SmartOS (has been used to build the trunk packages for a number of weeks now), Darwin, and NetBSD. Changes since 2.41 below are for binutils only, not including gas and ld. Changes in 2.47: * The s390 32-bit target (s390-*) is deprecated and planned for removal in a future release, along with the elf32-s390 target format. configure emits an error for this target, which can be overridden using --enable-obsolete. Linux Kernel 6.19 removed s390 32-bit compatibility support. Glibc 2.43 and GCC 16.1 have deprecated s390 32-bit, both with the intent to remove it in a future release. The s390 64-bit target (s390x-*) remains supported. * The AArch64 disassembler now accepts a command line option of "-M annotate" which displays the symbol associated with undefined instructions, should there be one. * The x86 and x86_64 disassemblers now accept a command line option of "-M annotate-immediates" which displays the symbol associated with immediate values, should there be one. * Objdump and readelf now have a --debug-dir= option which can be used to tell them where to find separate debug info files. * Add --map-global-vars option to objdump which displays the location and type of global variables in object files. This feature was developed by Guillaume Vacherias . Changes in 2.46: * SFrame stack trace format now represents an undefined return address as an SFrame FRE without any offsets. libsframe provides a new API to test for RA undefined, which is used when dumping SFrame information (e.g. using objdump and readelf) to show such FREs as "RA undefined". * Add --got-contents option to readelf to display the contents of Global Offset Table (GOT) sections. * Internal changes to plugin support, and stricter target checking may result in some errors being exposed in user options passed to the various binutils. For example objcopy --target=TARGET now will only work if the input file is for TARGET whereas prior versions of objcopy accepted other target input files and produced a TARGET output. If you do in fact want the old behaviour the correct usage is objcopy --output-target=TARGET. * NaCl target support is removed. * New versioned release of libsframe: libsframe.so.3. This release introduces versioned symbols with version node name LIBSFRAME_3.0. * objdump and readelf now support displaying SFrame Version 3 information. The existing --sframe option can be used to display sections in the the new V3 format. Display of SFrame Version 2 information continues to be supported (NB: Emission and linking of SFrame Version 2 is discontinued). Changes in 2.45: * New versioned release of libsframe: libsframe.so.2. This release introduces versioned symbols with version node name LIBSFRAME_2.0. Some new symbols have been added to support the new flag SFRAME_F_FDE_FUNC_START_PCREL and retrieving flags from SFrame decoder and encoder objects: - Addition of sframe_decoder_get_flags, sframe_decoder_get_offsetof_fde_start_addr, sframe_encoder_get_flags, sframe_encoder_get_offsetof_fde_start_addr. This release also includes backward-incompatible ABI changes: - Removal of sframe_get_funcdesc_with_addr. - Change in the behavior of sframe_decoder_get_funcdesc_v2, sframe_encoder_add_funcdesc_v2 and sframe_encoder_write. * On s390 64-bit (s390x), gas, ld, objdump, and readelf now support generating and processing SFrame V2 stack trace information (.sframe). The assembler generates SFrame info from CFI directives with option "--gsframe". The linker generates SFrame info for the linker-generated .plt section and merges all .sframe sections. Both objdump and readelf dump SFrame info with option "--sframe[=]". * For SFrame stack trace format, the function start address in each SFrame FDE has a changed encoding: The 32-bit signed integer now holds the offset of the start PC of the associated function from the sfde_func_start_address field itself (instead of the earlier where it was the offset from the start of the SFrame section itself). All SFrame sections generated by gas and ld now default to this new encoding, setting the (new) SFRAME_F_FDE_FUNC_START_PCREL flag. Relocatable SFrame links are now fixed. * Readelf now recognizes RISC-V GNU_PROPERTY_RISCV_FEATURE_1_CFI_SS and GNU_PROPERTY_RISCV_FEATURE_1_CFI_LP_UNLABELED for zicfiss and zicfilp extensions. * For RISC-V dis-assembler, the definition of mapping symbol $x is changed, so the file needs to be rebuilt since 2.45 once used .option arch directives. * The LoongArch disassembler now properly accepts multiple disassembly options given by -M, such as "-M no-aliases,numeric". (Previously only the first option took effect.) Changes in 2.44: * Support for Nios II targets has been removed except in the readelf utility, as this architecture has been EOL'ed by Intel. * RISC-V disassembly now supports -M,max option like QEMU to dump instruction without checking architecture support as usual. * gprofng: Support for hardware event counters for Neoverse-N1, Ampere-1, and Appliedmicro processors. Changes in 2.43: * The MIPS port now supports microMIPS MT Application Specific Extension instructions for assembly and disassembly. * Readelf now displays RELR relocations in full detail. * Readelf now has a -j/--display-section option which takes the name or index of a section and displays its contents according to its type. The option can be used multiple times on the command line to display multiple sections. * Base register 0 is now printed as "0" instead of "%r0" in s390 disassembly. * When objdump or readelf are used to display the contents of a .eh_frame section they will now also display the contents of the .eh_frame_hdr section, if present. * Support for the Maverick co-processor (via -mfpu=maverick) on Arm has been removed. The CPU name ep9312 is still recognized, but treated as an alias for arm920t. * Support for the FPA co-procossor on Arm has been removed. In cases where a legacy CPU previously defaulted to using this instruction set extension, the assembler now defaults to no-FPU to avoid quietly misassembling legacy code. * gprofng: Improved the support for hardware event counters: - Re-designed and streamlined the implementation. - Defined a common set of events for ARM processors. - Added specific events for AMD ZEN3 / ZEN4, and Intel Ice Lake processors. Added a minimal support for RISC-V. Changes in 2.42: * The objdump program has a new command line option -Z/--decompress which changes the behaviour of the -s/--full-contents option, forcing it to decompress the contents of any compressed section before they are displayed. In addition when objdump is displaying sections headers (via the -h/--headers command line option) it will now display "COMPRESSED" in the Flags field of any compressed section. * The readelf program has a new command line option --extra-sym-info which extends the information displayed by the --symbols option. When enabled the display will include the name of the section referenced by a symbol's index field (st_shndx). In the future more information may also be displayed when this option is enabled. * objcopy --set-section-flags now supports "large" to set SHF_X86_64_LARGE for ELF x86-64 objects. * objdump --visualize-jumps is now supported on s390 architecture. * The s390 disassembly now optionally includes the instruction description as comment with the s390-specific disassembler option "insndesc": - For objdump it can be enabled with "objdump -M insndesc ...". - In gdb it can be enabled with "set disassembler-options insndesc". @ text @$NetBSD: patch-gold_testsuite_Makefile.in,v 1.2 2021/01/27 15:21:21 fcambus Exp $ Don't use hard-coded -ldl. --- gold/testsuite/Makefile.in.orig 2021-01-09 10:59:18.000000000 +0000 +++ gold/testsuite/Makefile.in @@@@ -2810,7 +2810,7 @@@@ TEST_STRIP = $(top_builddir)/../binutils TEST_AR = $(top_builddir)/../binutils/ar TEST_NM = $(top_builddir)/../binutils/nm-new TEST_AS = $(top_builddir)/../gas/as-new -@@PLUGINS_TRUE@@LIBDL = -ldl +@@PLUGINS_TRUE@@LIBDL = ${DL_LDFLAGS} @@THREADS_TRUE@@THREADFLAGS = @@PTHREAD_CFLAGS@@ @@THREADS_TRUE@@THREADLIBS = @@PTHREAD_LIBS@@ @@OMP_SUPPORT_TRUE@@TLS_TEST_C_CFLAGS = -fopenmp @ 1.2 log @binutils: update to 2.36. Changes in 2.36: * Update elfedit and readelf with LAM_U48 and LAM_U57 support. * Nm has a new command line option: --ifunc-chars=CHARS. This specifies a string of one or two characters. The first character is used as the type character when displaying global ifunc symbols. The second character, if present is used when displaying local ifunc symbols. In addition a new configure time option --enable-f-for-ifunc-symbols has been created, which if used will change nm's default characters for ifunc symbols from i (both local and global) to F (global) and f (local). * The ar tool's previously unused l modifier is now used for specifying dependencies of a static library. The arguments of this option (or --record-libdeps long form option) will be stored verbatim in the __.LIBDEP member of the archive, which the linker may read at link time. * Readelf can now display the contents of LTO symbol table sections when asked to do so via the --lto-syms command line option. * Readelf now accepts the -C command line option to enable the demangling of symbol names. In addition the --demangle=