2017-01-30 13:07:36 +01:00
|
|
|
# $NetBSD: Makefile,v 1.28 2017/01/30 12:07:36 mef Exp $
|
2003-07-15 23:46:26 +02:00
|
|
|
|
2017-01-30 13:07:36 +01:00
|
|
|
DISTNAME= binutils-2.27
|
(pkgsrc)
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.
2013-08-07 04:41:30 +02:00
|
|
|
PKGNAME= ${DISTNAME:S/^/avr-/}
|
2003-07-15 23:46:26 +02:00
|
|
|
CATEGORIES= cross
|
2004-08-06 18:31:09 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=binutils/}
|
(pkgsrc)
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.
2013-08-07 04:41:30 +02:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2003-07-15 23:46:26 +02:00
|
|
|
|
2006-08-03 21:22:31 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2003-07-15 23:46:26 +02:00
|
|
|
COMMENT= GNU binutils for Atmel AVR 8-bit RISC microcontrollers
|
(pkgsrc)
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.
2013-08-07 04:41:30 +02:00
|
|
|
LICENSE= gnu-gpl-v3
|
2003-07-15 23:46:26 +02:00
|
|
|
|
2013-11-20 00:06:24 +01:00
|
|
|
# No need to use makeinfo - this package doesn't install the documentation.
|
|
|
|
USE_TOOLS+= gmake
|
(pkgsrc)
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.
2013-08-07 04:41:30 +02:00
|
|
|
USE_LIBTOOL= yes
|
2003-08-07 15:41:34 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2003-07-15 23:46:26 +02:00
|
|
|
USE_PKGLOCALEDIR= yes
|
2009-08-27 17:26:41 +02:00
|
|
|
USE_GNU_CONFIGURE_HOST= no
|
2014-10-30 22:41:57 +01:00
|
|
|
|
|
|
|
# follows to devel/binutils
|
|
|
|
# PR pkg/48504, ksh is sufficient for NetBSD 5.2 and NetBSD 6.1
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if !empty(MACHINE_PLATFORM:MNetBSD-[5-6].*-*) && \
|
|
|
|
empty(MACHINE_PLATFORM:MNetBSD-6.99.*-*)
|
|
|
|
USE_TOOLS+= ksh
|
2014-10-23 12:25:11 +02:00
|
|
|
CONFIG_SHELL= ksh
|
2014-10-30 22:41:57 +01:00
|
|
|
.endif
|
2003-08-07 15:41:34 +02:00
|
|
|
|
(pkgsrc)
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.
2013-08-07 04:41:30 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-werror --target=avr --disable-nls
|
|
|
|
|
|
|
|
AUTO_MKDIRS= yes
|
2003-08-07 15:41:34 +02:00
|
|
|
|
|
|
|
# Prevent the need to run texi2pod.pl and pod2man hence
|
|
|
|
# the need for perl as build dependency.
|
|
|
|
post-configure:
|
(pkgsrc)
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.
2013-08-07 04:41:30 +02:00
|
|
|
set -e; \
|
2003-08-07 15:41:34 +02:00
|
|
|
cd ${WRKSRC}; \
|
|
|
|
for f in ld/ldver.texi ld/ld.1 gas/doc/gasver.texi \
|
|
|
|
gas/doc/as.1; do \
|
|
|
|
${TOUCH} $${f}; \
|
|
|
|
done
|
2003-07-15 23:46:26 +02:00
|
|
|
|
(pkgsrc)
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.
2013-08-07 04:41:30 +02:00
|
|
|
# emulator/simulavr wants libbfd.so or libbfd.a and bfd.h
|
|
|
|
# --with-bfd=path location of AVR-binutils version of libbfd install
|
|
|
|
# where include/bfd.h and lib/libbfd.a are found (from binutils)
|
|
|
|
post-build:
|
|
|
|
set -e; \
|
|
|
|
(cd ${WRKSRC}/bfd; ${GMAKE} all libbfd.a);
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
# Emulator/simulvar needs library files
|
|
|
|
(cd ${WRKSRC}/bfd; \
|
|
|
|
${GMAKE} install-exec install-data; \
|
|
|
|
${LIBTOOL} --mode install ${INSTALL_DATA} libbfd.la ${DESTDIR}${PREFIX}/avr/lib; \
|
|
|
|
${INSTALL_DATA} bfd.h ${DESTDIR}${PREFIX}/avr/include; \
|
|
|
|
)
|
|
|
|
# emulator/simulavr wants following header files
|
|
|
|
(cd ${WRKSRC}/include; \
|
|
|
|
for f in ansidecl.h symcat.h; do \
|
|
|
|
${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/avr/include; \
|
|
|
|
done; \
|
|
|
|
)
|
2003-07-15 23:46:26 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|