pkgsrc/cross/binutils/buildlink3.mk
kristerw c0cc169182 Update cross-binutils to 2.17.0.0.
Changes in 2.17:
* Add "-x NAME" to readelf in addition to "-x NUMBER".
* Add -i and -t switches to cxxfilt.  -i disables the display of implementation
  specific extra demangling information (if any) and -t disables the demangling
  of types.
* Add support for the "@<file>" syntax to the command lines of all tools, so
  that extra switches can be read from <file>.
* Add "-W/--dwarf" to objdump to display the contents of the DWARF
  debug sections.
* Add "-t/--section-details" to readelf to display section details.
  "-N/--full-section-name" is deprecated.
* powerpc-linux ld now supports a variant form of PLT and GOT for the security
  conscious.  This form will automatically be chosen when ld detects that all
  code in regular object files was generated by gcc -msecure-plt.  The old PLT
  and GOT may be forced by a new ld option, --bss-plt.
* Add "-i/--inlines" to addr2line to print enclosing scope information
  for inlined function chains, back to first non-inlined function.
* Add "-N/--full-section-name" to readelf to display full section name.
* Add "-M entry:<addr>" switch to objdump to specify a function entry address
  when disassembling VAX binaries.
* Add "--globalize-symbol <name>" and "--globalize-symbols <filename>" switches
  to objcopy to convert local symbols into global symbols.

Changes in 2.16:
* Add "-g/--section-groups" to readelf to display section groups.
* objcopy recognizes two new options --strip-unneeded-symbol and
  --strip-unneeded-symbols, namely for use together with the wildcard
  matching the original --strip-symbol/--strip-symbols provided, but
  retaining any symbols matching but needed by relocations.
* readelf can now display address ranges from .debug_range sections.  This
  happens automatically when a DW_AT_range attribute is encountered.  The
  command line switch --debug-dump=Ranges (or -wR) can also be used to display
  the contents of the .debug_range section.
* nm and objdump now have a switch "--special-syms" to enable the displaying of
  symbols which the target considers to be special.  By default these symbols
  are no longer displayed.  Currently the only special symbols are the Mapping
  symbols used by the ARM port to mark transitions between text and data and
  between ARM and THUMB code.
* dlltool has a switch "--ext-prefix-alias <prefix>" to generate additional
  import and export symbols with <preifx> prepended to them.
2006-08-24 19:53:44 +00:00

19 lines
661 B
Makefile

# $NetBSD: buildlink3.mk,v 1.6 2006/08/24 19:53:44 kristerw Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CROSS_BINUTILS_BUILDLINK3_MK:= ${CROSS_BINUTILS_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= cross-binutils
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncross-binutils}
BUILDLINK_PACKAGES+= cross-binutils
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}cross-binutils
.if !empty(CROSS_BINUTILS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.cross-binutils+= cross-binutils>=2.17.0.0
BUILDLINK_PKGSRCDIR.cross-binutils?= ../../cross/binutils
.endif # CROSS_BINUTILS_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}