Date: Sat, 27 Jan 2018 16:33:36 +0000
This release contains numerous bug fixes, and also the
following new features:
In the assembler:
* Add support for location views in DWARF debug line information.
In the BFD linker:
* Add -z separate-code to generate separate code PT_LOAD segment.
* Add "-z undefs" command line option as the inverse of the "-z defs" option.
* Add -z globalaudit command line option to force audit libraries to be run
for every dynamic object loaded by an executable - provided that the loader
supports this functionality.
* Tighten linker script grammar around file name
specifiers to prevent the use of SORT_BY_ALIGNMENT and
SORT_BY_INIT_PRIORITY on filenames. These would
previously be accepted but had no effect.
* The EXCLUDE_FILE directive can now be placed within any
SORT_* directive within input section lists.
In the GOLD linker:
* Add support for .MIPS.options sections (MIPS only).
* Add support for compound relocations (MIPS only).
* Add --emit-stub-syms, --no-tls-optimize, --tls-get-addr-optimize
options (PowerPC only).
* Add -z text-unlikely-segment option.
* Add plugin support for adding new input files
(LDPT_REGISTER_NEW_INPUT_HOOK).
In the utilities:
* Add --debug-dump=links option to readelf and
--dwarf=links option to objdump which displays the
contents of any .gnu_debuglink or .gnu_debugaltlink
sections.
* Add a --debug-dump=follow-links option to readelf and a
--dwarf=follow-links option to objdump which causes indirect
links into separate debug info files to be followed when
dumping other DWARF sections.
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.
There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
----------------------------------
(From binutils/NEWS)
----------------------------------
Changes in 2.27:
* Add a configure option, --enable-64-bit-archive, to force use of a
64-bit format when creating an archive symbol index.
* Add --elf-stt-common= option to objcopy for ELF targets to control
whether to convert common symbols to the STT_COMMON type.
Changes in 2.26:
* Add option to objcopy to insert new symbols into a file:
--add-symbol <name>=[<section>:]<value>[,<flags>]
* Add support for the ARC EM/HS, and ARC600/700 architectures.
* Extend objcopy --compress-debug-sections option to support
--compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi] for ELF
targets.
* Add --update-section option to objcopy.
* Add --output-separator option to strings.
Changes in 2.25:
* Add --data option to strings to only print strings in loadable, initialized
data sections. Change the default behaviour to be --all, but add a new
configure time option of --disable-default-strings-all to restore the old
default behaviour.
* Add --include-all-whitespace to strings.
* Add --dump-section option to objcopy.
* Add support for the Andes NDS32.
Existing SHA1 digests verified, all found to be the same on the
machine holding the existing distfiles (morden). Existing SHA1
digests retained for now as an audit trail.
Remove libiberty work around
(upstream)
Bump Version 2.23.2 to 2.24
(From binutils-2.24/binutils/NEWS)
---------------------------
Changes in 2.24:
* Objcopy now supports wildcard characters in command line options that take
section names.
* Add support for Altera Nios II.
(From binutils-2.24/ChangeLog)
---------------------------
(cross_only): Remove target-libiberty.
patches/patch-aa
(was not to install libiberty) .. removed
patches/patch-ac
(was not to install-recursive under opcodes) .. removed
patches/patch-a[bdefghij]
Added comments (all are as 'Avoid installing info').
Makefile
Added installing libbfd.so libbfd.a bfd.h for simulavr.
Installs libiberty.a as avr/lib/libiberty.a
Installs ansidecl.h and symcat.h for simulavr
(upstream)
Bump Version 2.19.1 to 2.23.2
(From binutils-2.23.2/binutils/NEWS)
---------------------------
Changes in 2.23:
* Add support for the VLE extension to the PowerPC architecture.
* Add support for x64 Windows target of the delayed-load-library.
* Add support for the Renesas RL78 architecture.
Changes in 2.22:
* Add support for displaying the contents of .debug.macro sections.
* Add --preprocessor-arg option to windres to specify additional options
passed to preprocessor.
* Add --dwarf-start and --dwarf-end to readelf and objdump. These are used by
the new Emacs mode, see dwarf-mode.el.
* Add support for the Tilera TILEPro and TILE-Gx architectures.
changes in 2.21:
* Add --interleave-width option to objcopy to allowing copying a range of
bytes from the input to the output with the --interleave option.
* Add support for the TMS320C6000 (TI C6X) processor family.
* Readelf can now display ARM unwind tables (.ARM.exidx / .ARM.extab) using
the -u / --unwind option.
* Add --dyn-syms to readelf to dump dynamic symbol table.
* A new tool - elfedit - has been added to directly manipulate ELF format
binaries.
* Add to dlltool .def file feature of aliasing PE internal symbol name by
'== <ID>' option.
* Add a new command line option -a / --addresses to addr2line to display the
address before function name or source filename.
* Add a new command line option -p / --pretty-print to addr2line to have
a more human readable output.
* The hppa/som targets can now be compiled on any host.
Changes in 2.20:
* Add support for delay importing to dlltool. Use the --output-delaylib <file>
switch to create a delay-import library. The resulting app will load the dll
as soon as the first function is called. It will link to __delayLoadHelper2()
from the static delayimp library, which will import LoadLibraryA and
GetProcAddress from kernel32.
* Add a new command line option, --insn-width=WIDTH, to objdump to specify
number of bytes to be displayed on a single line when disassembling
instructions.
* Readelf can now display the relocated contents of a section as a sequence
of bytes via the --relocated-dump=<name|number> command line option.
* The gprof program has been given a new command line option:
--external-symbols-table=<filename> which reads in symbols from a specified
file.
* The plugin target has been added to bfd. It can load the same shared objects
used by gold and uses them to provide basic support for new file formats.
* The verilog memory hex dump file format is now supported as an output format
for objcopy.
* Add --file-alignment, --heap, --image-base, --section-alignment,
--stack and --subsystem command line options to objcopy, which will
set PE optional header.
* Option --dwarf/-W of objdump is now as flexible as readelf --debug-dump/-w.
* --as-needed now links in a dynamic library if it satisfies undefined
symbols in regular objects, or in other dynamic libraries. In the
latter case the library is not linked if it is found in a DT_NEEDED
entry of one of the libraries already linked.
* Added --prefix=PREFIX and --prefix-strip=LEVEL switches to objdump to
add absolute paths for -S.
* Add new option --use-nul-prefixed-import-tables to dlltool to allow fall-
back to old import table generation with null element prefix.
* Added --identify-strict switch to cause --identify <implib> to
report an error when the import library is associated with
multiple DLLs.
* Added --identify <implib> option to dlltool, which determines the
name of the DLL associated with the specified <implib>.
* Support for PowerPC booke64 instructions has been removed. The assembler no
longer accepts -mbooke32 or -mbooke64 and the disassembler no longer accepts
-Mbooke32 or -Mbooke64. Instead, -mbooke and -Mbooke should be used.
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
makeinfo if no native makeinfo executable exists. Honor TEXINFO_REQD
when determining whether the native makeinfo can be used.
* Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo.
* Get rid of all the "split" argument deduction for makeinfo since
the PLIST module already handles varying numbers of split info files
correctly.
NOTE: Platforms that have "makeinfo" in the base system should check
that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are
correct.
Use buildlink2.
Handle info files properly.
Remove leftovers from FreeBSD port Makefile.
Be careful about perl usage i.e. kill it.
XXX This package should install itself in a separate
directory hierarchy like other "cross" packages or marked
as conflicting with some other (like devel/binutils).
Atmel AVR series microcontrollers.
Provided by Karl Janmar <karlj@mdstud.chalmers.se> in PR 22139,
with several changes by myself. Original package from FreeBSD.