Object file converter
This utility can be used for converting object files between COFF/PE,
OMF, ELF and Mach-O formats for all 32-bit and 64-bit x86 platforms.
Can modify symbol names in object files. Can build, modify and
convert function libraries across platforms. Can dump object files
and executable files. Also includes a very good disassembler
supporting the SSE4, AVX, AVX2, AVX512, FMA3, FMA4, XOP and Knights
Corner instruction sets. Source code included (GPL).
This release is a bug-fix release, containing fixes for regressions in
GCC 4.9.1 and 4.9.0 relative to previous releases of GCC.
6 changes and 8 documentation fixes.
- to make pkglint clean, change directory organization, using BUILD_DIR= src etc.
- Add LICENSE= gnu-gpl-v2
- Use SUBST instead of ${SED} at do-install: target
- Newly installs example files
- (invocation without argument gives error as
Pass 1: Error: Cannot open file: 'test.m65'
but it is the same as prev. version and user should give input)
(upstream) Update 1.04 to 1.06
------------------------------
October 10, 2003
version 1.05 - added new directives .BANK, .SET 6, and .OPT LIST/NO LIST;
Preliminary support for .ATR disk images and the Atari++
emulator memory snapshots;
March 17, 2009
version 1.06 - allow negative offsets with .SET 6 directives; allow arithmentic
expressions in REPEAT blocks; Better detection of resized labels;
Fixed a buffer overflow problem; Added -l option to allow label output;
Compiling Windows executable with mingw
(pkgsrc)
- Instead of
"very evil hack to override CC, doing it via CONFIGURE_ENV doesn't work",
use CONFIGURE_ARGS
(upstream)
- Update 1.8.0 to 1.8.1
*** Changes in avr-libc-1.8.1:
* Bugs fixed:
[#31267] misleading header iom128rfa1.h
[#35197] sleep.h _BV defined as __BV in AT90S8515 section
[#35226] Online-documentation broken - [...]
[#35398] assert doesn't work unless stdlib.h is also included
[#35498] misspelled in <util/setbaud.h>
[#35539] stdlib.h does not provide EXIT_SUCCESS et al.
[#35948] iom32u4.h for ATmega32U4 incorrectly defines Timer 2
[#35971] attiny4313 (2313a) pin-change interrupts PCINT[0...2] vect etc
[#36053] Declaration of the register USIBR missing for ATtiny2313a/4313
[#36410] avr/boot.h: poisoned SPMCR for ATmega128
[#36454] string.h: Error for long long in C90
[#36581] avr-libc: pgmspace.h is not ANSI compliant
[#37103] ATtiny5/9/10/20/40 watchdog can't be enabled
[#37778] _MemoryBarrier() in cpufunc.h error on compile
[#38135] Install a dummy stdfix-avrlibc.h
[#38516] Missing TWI and UCSR1D definitions for ATmega16/32 U4
[#39049] Clock prescaler set and get are missing for TINY architecture
[#39783] CRC missing definitions and incorrect power macros for xmega D3
[#40003] Integer type promotion leads to inefficent code in wdt.h
[#40206] incorrect SP init in startup code for xmegas
[#40567] Invalid names in iotn13a.h (EEPE/EEMPE/BODS/BODSE)
[#40569] sleep_bod_disable does not work in attiny13a
[#40595] iotn2313a.h: wrong fuses definitions for High Fuse Byte
[#41006] iom328p.h: wrong fuse defaults
[#41519] wrong SPM_PAGESIZE definition in iotn[48]8.h
[#42024] build break regarding avrtiny10
[#42084] wrong LFUSE_DEFAULT in iotn84a.h
[#42085] HFUSE_DEFAULT not defined for iotn84.h
[#39779] PCIE0 and PCIE1 defined incorrectly for mega165a and mega165pa devices
[#38614] dtostrf - wrong behavior or wrong documentation
[#42957] missing SPMCSR defines in iom328p.h#
[#41690] Bit definitions for SPMCSR
[no-id] XXX_vect_num not consistent io90pwmx.h, iousbxx6_7.h
[no-id] Specialize clock_prescale_set/get for mega hvb devices
[no-id] Update register and bit definitions for tiny 13a/24a/44a/84a,
tiny167 and mega328p
* New devices supported:
- ATmega256RFR2, ATmega2564RFR2, ATmega128RFR2, ATmega1284RFR2,
ATmega64RFR2, ATmega644RFR2, AT90pwm161, ATA5272, ATA5505, ATA5790,
ATA5795, ATA6285, ATA6286, ATmega1284, ATmega128A, ATmega164PA,
ATmega165PA, ATmega168PA, ATmega3250PA, ATmega325PA, ATmega3290PA,
ATmega32A, ATmega48PA, ATmega64A, ATmega8A, ATtiny1634, ATtiny828,
ATxmega128A3U, ATxmega128A4U, ATxmega128B1, ATxmega128B3, ATxmega128C3,
ATxmega128D4, ATxmega16A4U, ATxmega16C4, ATxmega192A3U, ATxmega192C3,
ATxmega256A3BU, ATxmega256A3U, ATxmega256C3, ATxmega32A4U, ATxmega32C4,
ATxmega384C3, ATxmega384D3, ATxmega64A3U, ATxmega64A4U, ATxmega64B1,
ATxmega64B3, ATxmega64C3, ATxmega64D4
* Contributed Patches:
[#3729] Printf for integers speed up
[#7212] Add pgm_read_ptr() macros to pgmspace.h
[#7220] Add UBRR overload functionality to <util/setbaud.h>
[#7260] Addition to power.h
[#7485] CRC8-CCITT
[#7654] include/delay.h: delay_us >255us without decreasing resolution
[#7826] Add ATMega32u4 support to the led-blinking demo
[#7909] Adding __volatile__ to __asm__ within pgmspace header
[#7910] Add missing PCINT2_vect to iotn40.h and update all the
following vector numbers
[no-id] correction in xmega wdt_enable and wdt_disable added for xmega
[#8499] Device ata6289 should be of avr4 architecture
[no-id] Add RAMSTART, fix RAMSIZE, RAMEND and FLASHEND in device headers
[#8512] Rename tiny arch to avrtiny to sync with binutils
* Other changes:
- New macro _PROTECTED_WRITE(): write to Xmega IO registers that are
protected through the CCP mechanism
- Add support for scanf() conversion macros for 8-bit data types to
<inttypes.h>: SCNd8, SCNdLEAST8, SCNdFAST8, SCNi8, SCNiLEAST8,
SCNiFAST8, SCNo8, SCNoLEAST8, SCNoFAST8, SCNu8, SCNuLEAST8,
SCNuFAST8, SCNx8, SCNxLEAST8, SCNxFAST8
- Add time.h package, C standard functions such as mktime() and localtime,
along with 'ephemera' such as solar declination, time of sun rise and set.
- Introduce new configure option --with-debug-info=INFO, where INFO
can be either stabs, dwarf-2, or dwarf-4. By default, no debug
information will be generated.
- Add IO register debug symbols to crt*.o, so debuggers can see the
per-device defined IO registers (and __eeprom).
- A number of changes have been applied to make avr-libc more C++
aware.
----------------------------------------------------------------------
* Major changes compared to the previous version:
- Atmel EDBG protocol support added (JTAGICE3, XplainedPro, Atmel-ICE)
* New programmers supported:
- Atmel DFU, using FLIP protocol version 1 (AT90USB and ATmega*U* devices),
or version 2 (Xmega devices)
- Atmel-ICE (ARM/AVR), JTAG, PDI, debugWIRE, ISP modi
* Bugfixes
- bug #40055: AVRDUDE segfaults when writing eeprom
- bug #40085: Typo fix in fuses report (for 6.1-svn-20130917)
- bug #40782: Verify errors for object size > 16 k on x32e5 due
to typo in avrdude.conf
- bug #40817: Elf file support (possibly) not working on 6.0.1 windows build
- bug #40897: AT Mega2560 not correctly programmed with stk500(v1)
ISP (solution patch)
- bug #41357: OS X: Avrdude messes with the usb stack?
- bug #41402: dfu.c missing include <stdint.h>
- patch #7896: DFU FLIPv2 programming support
- patch #XXXX: xxx
* Internals:
- (Some) programmers can take a list of USB PIDs now.
Bump version 7.6 to 7.6.1
-------
GDB 7.6.1 provides the following fixes and improvements to GDB 7.6:
* PR tdep/15420 (Cannot debug threaded programs on newer versions
of x86-solaris - Solaris 10, Update 10 or later)
* PR remote/15455 (QTro remote packet broken)
* PR build/15476 (Build failure due to incomplete enum type in utils.h)
* PR server/15594 (tls support in 64x32 x86 gdbserver doesn't extend
address to 64 bit)
* PR server/15075 (dprintf inteferes with "next")
* PR server/15434 (dprintf uses a synchronous 'continue' even in
non-stop mode)
* PR tui/14880 (in split register layouts, up results in assertion
failure in value.c)
* PR c++/15519 (GDB 7.6 is 94x slower than GDB 7.5.1 using a certain
core file)
* PR gdb/15837 (GDB prints entry values for local variables)
* PR gdb/15415 (gdb resolves symbolic links when passing argv[0])
* PR cli/15603 (CTRL-C can no longer interrupt inferior)
* PR gdb/15604 (gdbserver socket leak 7.5 regression)
different from the PR (When submitting patch to pkgsrc with
adding more patches, submitter should do cvs add
patches/patch-hoge, before creating the pkgsrc patch, thanks).
I belive both simulavr and avr-libc will be packaged fine with this.
(upstream)
4.7.3 to 4.8.3 -- From grepping 'avr' from NEWS file:
--------------
On AVR, the configure option --with-avrlibc supported since GCC 4.7.2
is turned on per default for all non-RTEMS configurations. This option
arranges for a better integration of [3]AVR Libc with avr-gcc. For
technical details, see [4]PR54461. To turn off the option in non-RTEMS
configurations, use --with-avrlibc=no. If the compiler is configured
for RTEMS, the option is always turned off.
* Support has been added for the AVR-specific configure option
--with-avrlibc=yes in order to arrange for better integration of
[3]AVR-Libc. This configure option is supported in avr-gcc 4.7.2
and newer and will only take effect in non-RTEMS configurations. If
avr-gcc is configured for RTEMS, the option will be ignored which
is the same as specifying --with-avrlibc=no. See [4]PR54461 for
more technical details.
3. http://www.nongnu.org/avr-libc/
4. http://gcc.gnu.org/PR54461
#include <avr/io.h> /* Port Definitions from AVR-LibC */
* [297]14064 [avr-elf] -fdata-sections triggers ICE
* [302]16884 [avr-elf] [fweb related] bug while initializing
4.5.3 to 4.7.3
--------------
For the changes for 4.7, see following page.
http://gcc.gnu.org/gcc-4.7/changes.html
(Picking up AVR related topic from above info):
The AVR port's libgcc has been improved and its multilib
structure has been enhanced. As a result, all objects
contributing to an application must either be compiled with
GCC versions up to 4.6.x or with GCC versions 4.7.1 or
later. If the compiler is used with AVR Libc, you need a
version that supports the new layout, i.e. implements #35407.
The AVR port's -mshort-calls command-line option has been
deprecated. It will be removed in the GCC 4.8 release. See
-mrelax for a replacement.
The AVR port only references startup code that clears .bss and
the common section resp. initializes the .data and .rodata
section provided respective sections (or subsections thereof)
are not empty, see PR18145.
Applications that put all static storage objects into
non-standard sections and / or define all static storage
objects in assembler modules, must reference __do_clear_bss
resp. __do_copy_data by hand or undefine the symbol(s) by
means of -Wl,-u,__do_clear_bss resp. -Wl,-u,__do_copy_data.
Switch from Codesourcery to GNU FSF
(Upstream 2.23.2 to 2.24.0)
- binutils
* Objcopy now supports wildcard characters in command line options that take
section names.
* Add support for Altera Nios II.
- gas
* Add support for the Texas Instruments MSP430X processor.
* Add -gdwarf-sections command line option to enable per-code-section
generation of DWARF .debug_line sections.
* Add support for Altera Nios II.
* Add support for the Imagination Technologies Meta processor.
* Add support for the v850e3v5.
* Remove assembler support for MIPS ECOFF targets.
- ld
* Add LOG2CEIL() builtin function to the linker script language
* Add support for the Texas Instruments MSP430X processor.
* Add support for Altera Nios II.
* Add support for the V850E3V5 architecture.
* Add support for the Imagination Technologies Meta processor.
* --enable-new-dtags no longer generates old dtags in addition to new dtags.
* Remove linker support for MIPS ECOFF targets.
* Add ALIGN_WITH_INPUT to the linker script language to force the alignment of
an output section to use the maximum alignment of all its input sections.
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.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
BOSSA is a flash programming utility for Atmel's SAM family of flash-based ARM
microcontrollers. The motivation behind BOSSA is to create a simple,
easy-to-use, open source utility to replace Atmel's SAM-BA software.
- Bump version 5.11 to 6.0.1
(See cvs log for Makefile for changes).
(pkgsrc)
- Add patches/patch-fileio_c to avoid following problem:
fileio.c:957:3: warning: implicit declaration of function 'elf_getshdrstrndx'
----------------------------------------------------------------------
Version 6.0.1:
* Major changes compared to the previous version:
- Programmer types in configuration file are no longer keywords but
specified as string.
So you need to change 'type = XYZ;' to 'type = "XYZ";' in own
config files. (internal: The parser does not need to know all
programmer types now, new programmers will update only the table
in pgm_type.c.)
- The erase cycle counter (formerly options -y / -Y) has been
removed.
- Specifying a -U option without a memory type (short form of
option argument list) now defaults to "application" memory for
Xmega devices, and "flash" for everything else. This ensures
the Xmega bootloader is not accidentally touched.
- For programmers that support it, the default erase method is a
page erase now, rather than a chip erase (Xmega only).
- Keep track of input file contents
Memory segments are being tracked to remember whether they've
been actually read from a file. Only segments that came from a
file are being programmed into the device, or considered for
verification. This drastically improves handling speed for
sparse files (e.g. files that have a second bootloader segment),
and it ensures the device contents is actually compared for
everything mentioned in the file (even in case the file has
large 0xFF blocks).
- The -U option now accepts ELF files as input files, and extracts
the appropriate section contents that matches the requested memory
region. To enable this feature, the host system used for the
compilation must have a libelf around, including the respective
header files (i.e., package "libelf-devel" on many Linux systems).
- Programmers and parts lists
They are now sorted at output with '-c ?'/'-p ?'. (patch #7671:
Sorting programmers and parts lists for console output)
Programmers and parts lists in documentation generated from lists
mentioned above. (patch #7687: Autogenerating programmers and
parts lists for docs)
Output list of programmer types with '-c ?type', add list to
documentation
- Configuration files now accepts parent parts/programmers, parts
starting with '.' (eg. .xmega) are not included in output parts
list and can be used as abstract parents
(bug #34302: Feature request : device configuration with parent classes)
(patch #7688: Implement parent programmers feature)
- Additional config files which are read after default can be
specified on command line using '-C +filename'
(patch #7699 Read additional config files)
- "Safemode" can now be turned off by default from within a
configuration file (like ~/.avrduderc).
- The new option -l logfile allows to redirect diagnostic messages
to a logfile rather than stderr. Useful to record debugging
traces, in particular in environments which do not offer
shell-style redirection functionality for standard streams.
- When leaving debugWIRE mode, immediately retry with ISP rather
than bailing out completely.
- The USBasp programmer implementation now supports detailed traces
with -vvv, and device communication traces with -vvvv.
- The "verbose" terminal mode command allows to query or modify the
verbosity level.
* New devices supported:
- ATmega48P (patch #7629 add support for atmega48p)
- AT90PWM316 (bug #21797: AT90PWM316: New part description)
- ATxmega16D4, ATxmega32D4, ATxmega64D4, ATxmega128D4
- ATmega256RFR2, ATmega128RFR2, ATmega64RFR2, ATmega2564RFR2,
ATmega1284RFR2, ATmega644RFR2
- ATtiny1634
- ATxmega128A1U, ATxmega128A3U, ATxmega128A4U, ATxmega128B1,
ATxmega128B3, ATxmega128C3, ATxmega128D3, ATxmega16A4U,
ATxmega16C4, ATxmega192A3U, ATxmega192C3, ATxmega192D3,
ATxmega256A3BU, ATxmega256A3U, ATxmega256C3, ATxmega256D3,
ATxmega32A4U, ATxmega32C4, ATxmega384C3, ATxmega384D3,
ATxmega64A1U, ATxmega64A3U, ATxmega64A4U, ATxmega64B1,
ATxmega64B3, ATxmega64C3, ATxmega64D3
- ATtiny43U
- ATmega406
- ATxmega8E5, ATxmega16E5, ATxmega32E5
- ATtiny20, ATtiny40
* New programmers supported:
- linuxgpio
+ any (embedded) Linux system with 4 GPIOs available can be used
as a programmer with little or no additional hardware.
- avrftdi
+ o-link (patch #7672 adding support for O-Link (FTDI based
JTAG) as programmer)
+ 4232h (patch #7715 FT4232H support)
- TPI support
+ openmoko (bug #37977 Support for Openmoko Debug Board)
- usbasp
+ nibobee (previously specified as '-c usbasp -P nibobee)
+ usbasp-clone (same as usbasp but ignores vendor and product
string, checks only vid/pid)
- ftdi_syncbb (new type for synchronous bitbanging with ft232r/ft245r)
+ ft245r (FT245R Synchronous BitBang, miso = D1, sck = D0, mosi
= D2, reset = D4)
+ ft232r (FT232R Synchronous BitBang, miso = RxD, sck = RTS,
mosi = TxD, reset = DTR)
+ bwmega (BitWizard ftdi_atmega builtin programmer, miso = DSR,
sck = DCD, mosi = CTS, reset = RI)
+ arduino-ft232r (Arduino: FT232R connected to ISP, miso = CTS
X3(1), sck = DSR X3(2), mosi = DCD X3(3), reset = RI X3(4))
+ diecimila (alias for arduino-ft232r)
- pickit2
- Atmel JTAGICE3
- buspirate_bb (TPI programming using the BusPirate in bitbang mode)
* Bugfixes
- bug #34027: avrdude AT90S1200 Problem
- bug #34518: loading intel hex files > 64k using record-type 4
- patch #7667: Minor memory handling fixes
- patch #7680: Fixing timeout problem in ser_recv in ser_win32.c
- patch #7693: Fix config file atmel URLs (+ URLs in
avrdude.texi and avrpart.h)
- bug #21663: AT90PWM efuse incorrect, bug #30438: efuse bits
written as 0 on at90pwmxx parts
- bug #35261: avrftdi uses wrong interface in avrftdi_paged_(write|load)
- patch #7437 modifications to Bus Pirate module
- patch #7686 Updating buspirate ascii mode to current firmware,
use AUX as clock generator, and setting of serial receive
timeout
- bug #34768 Proposition: Change the name of the AVR32 devices
- patch #7718: Merge global data of avrftdi in a private data
structure
- bug #35208: avrdude 5.11 on freebsd 8.2-STABLE does not reset
Arduino Uno properly
- bug #34518: loading intel hex files > 64k using record-type 4
(Extended Linear Address Record)
- bug #34027: avrdude AT90S1200 Problem
- bug #30451: Accessing some Xmega memory sections gives not
supported error
- bug #28744: Can't load bootloader to xmega128a1
- bug #29019: pagel/bs2 warning when uploading using stk500 to xmega
- bug #30756: When setting SUT to 64ms on XMEGA, avrdude doesn't
read device signature
- bug #37265: wrong page sizes for XMega64xx in avrdude.conf
- bug #37942: Latest SVN can't program in dragon_jtag mode
- patch #7876 JTAGICE mkII fails to connect to attiny if debugwire
is enabled AND target has a very slow clock
- bug #39893: Verification failure with AVRISPmkII and Xmega
- bug #38713: Compilation of the documentation breaks with texinfo-5
- bug #38023: avrdude doesn't return an error code when attempting
to upload an invalid Intel HEX file
- bug #39794: warnings when building avrdude 6.0rc1 under CentOS 6.4
- bug #35800: Compilation error on certain systems if parport is disabled
- bug #38307: Can't write usersig of an xmega256a3
- bug #38580: Current svn head, xmega and fuses, all fuses tied to fuse0
- bug #39691: Buffer overrun when reading EEPROM byte with JTAGICE3
- bug #38951: AVR109 use byte offset instead of word offset
- patch #7769: Write flash fails for AVR910 programmers
- bug #38732: Support for ATtiny1634
- bug #36901: flashing Atmega32U4 EEPROM produces garbage on chip
- bug #28344: chip_erase_delay too short for ATmega324P, 644, 644P, and 1284P
- bug #34277: avrdude reads wrong byte order if using avr911 (aka butterfly)
- bug #35456: The progress bar for STK500V2 programmer is "wrong".
- patch #5708: avrdude should make 10 synchronization attempts instead of just one
- patch #7606: ATtiny43u support
- patch #7657: Add ATmega406 support for avrdude using DRAGON + JTAG
- bug #35474: Feature request: print fuse values in safemode output.
- patch #7710: usb_libusb: Check VID/PID before opening device
- [no-id]: Fix SCK period adjustment for STK500v2
- bug #40040: Support for ATtiny20 and ATtiny40
- bug #40055: AVRDUDE segfaults when writing eeprom
using the system/Pkgsrc zlib. At least on Ubuntu, the internal zlib fails to
get past configuration.
Use the standard Pkgsrc (or builtin) zlib instead.
Bump PKGREVISION to reflect the minor difference in build strategy.
http://mail-index.netbsd.org/pkgsrc-users/2013/11/16/msg018897.html
(1) Import nios2-binutils 2.23 (CodeSourcery derived) from wip.
(2) nios2-gcc41 now does not include nios2/Makefile.common,
and unnecessary buildlink3 line to kpathsea removed.
(3) Switch nios2/Makefile.common to provide above (1) package.
(4) Import nios2-gcc 4.7.3 (CodeSourcery derived) from wip,
including file (3) nios2/Makefile.common and DEPENDS (1) binutils.
(5) Switch all gcc's, nios2-gcc{3,41} to DEPENDS above (1) binutils.
(6) Delete nios2-binutils220 (2.20).
(1) nios2-gcc 3.4.6 renamed to nios2-gcc3
(2) nios2-binutils 2.20 renamed to nios2-bintuils220
(3) nios2-gcc41 4.1.2 is imported from wip
nios2/Makefile.common, used be for (1) and (2) are
now for (2) and (3).
nios2 (just a Makefile.common)
nios2-binutils (2.20)
Cross binutils for ALTERA FPGA Nios2 processor.
nios2-gcc
Cross gcc-3.4.6 for ALTERA FPGA Nios2 processor.
bfd_target_elf_flavour
instead only supports
bfd_target_aout_flavour
bfd_target_coff_flavour
bfd_target_ecoff_flavour.
To fix this, we need
+CONFIGURE_ENV+= gdb_cv_var_elf=yes
as found in native gdb setup (pkgsrc Makefile).
(2) Utilize curses instead of terminfo,
+CONFIGURE_ARGS+= --with-curses
+# to link -lcurses.7 => /usr/lib/libcurses.so.7
+# instead of terminfo
+.include "../../mk/curses.buildlink3.mk"
Remove. The patch was to remove unnecessary (unwanted)
man pages for the build directories including ${WRKSRC}
generated by doxygen.
Equivalent for-loop was gone in doc/api/Makefile.am now.
The logic is now in post-install: target in (pkgsrc) Makefile.
This removal was meant in previous commit and distinfo does not
include this removing patch. Sorry for left out patch itself.
Thanks dholland@ pointing out.
(pkgsrc)
patches/patch-a[abd]
Removed, seems the problems no longer exist
patches/patch-ac
Comment added.
patches/patch-bfd_bfd-in2_h
Added to build with clang
patches/patch-opcodes_configure
Added (revert to 7.5.1, Bad substitution)
(upstream)
GDB 7.6 Released (2013/04/26)
http://sourceware.org/ml/gdb-announce/2013/msg00000.html
---------------------------
GDB 7.6 brings new targets, features and improvements, including:
* New native configurations:
ARM AArch64 GNU/Linux aarch64*-*-linux-gnu
FreeBSD/powerpc powerpc*-*-freebsd
x86_64/Cygwin x86_64-*-cygwin*
Tilera TILE-Gx GNU/Linux tilegx*-*-linux-gnu
* New target configurations:
ARM AArch64 aarch64*-*-elf
ARM AArch64 GNU/Linux aarch64*-*-linux
Lynx 178 PowerPC powerpc-*-lynx*178
x86_64/Cygwin x86_64-*-cygwin*
Tilera TILE-Gx GNU/Linux tilegx*-*-linux
* New configure options: -enable-libmcheck/--disable-libmcheck
* Support for the "mini debuginfo" section, .gnu_debugdata
* The C++ ABI now defaults to the GNU v3 ABI. This has been the
default for GCC since November 2000.
* New command line option: -nh (disables auto-loading of ~/.gdbinit)
* Various GDB/MI changes
* Python scripting:
** Vectors can be created with gdb.Type.vector.
** Python's atexit.register now works in GDB.
** Types can be pretty-printed via a Python API.
** Python 3 is now supported (in addition to Python 2.4 or later)
** New class gdb.Architecture exposes GDB's internal representation
of architecture in the Python API.
** New method Frame.architecture returns the gdb.Architecture object
corresponding to the frame's architecture.
** New Python-based convenience functions ($_memeq, $_streq,
$_strlen and $_regex)
* The 'cd' command now defaults to using '~' (the home directory) if
not given an argument.
* New commands:
** catch signal
** maint info bfds
** python-interactive
** enable/disable type-printer
* New remote packets (QTBuffer:size, Qbtrace:bts, Qbtrace:off and
qXfer:btrace:read)
* New options:
** set/show print type methods (on|off)
** set/show print type typedefs (on|off)
** set/show filename-display basename|relative|absolute
** set/show trace-buffer-size
** set/show remote trace-buffer-size-packet auto|on|off
** set/show debug aarch64
** set/show debug coff-pe-read
** set/show debug mach-o
** set/show debug notification
* target record:
The "target record" command has been renamed to "target record-full",
and a new "target record-btrace" has been added. This new target
uses hardward support to record the control-flow of a process.
Execution replay is not supported, but this targets allows investigating
the program's recorded execution.
For a complete list and more details on each item, please see the
gdb/NEWS file.
---------------------------
GDB 7.5 released! (2012-08-17)
http://sourceware.org/ml/gdb-announce/2012/msg00004.html
GDB 7.4 released! (2012-01-24)
http://sourceware.org/ml/gdb-announce/2012/msg00001.html
GDB 7.4 released! (2011-07-26)
http://sourceware.org/ml/gdb-announce/2011/msg00001.html
Other older release date:
http://www.gnu.org/software/gdb/schedule/
(pkgsrc)
Makefile
mef now takes maintainership (ok by wennmach@)
patches/patch-doc_Makefile.in (added)
Adding PATH at installation time for OBJCOPY = avr-objcopy etc.
See comment on SUBST part in Makefile.
(upstream from NEWS file)
*** Changes in avr-libc-1.8.0:
* Bugs fixed:
[#17815] Configure does not honor --mandir option
[#23234] Alternate interrupt macro
[#24861] Interrupt documentation contains extra include
[#32103] Support for Target-Triplets
[#32419] Incorrect EEPROM size in header for ATxmega192A3
[#32650] Missing include in util/delay.h
[#32675] power_all_enable/disable does not affect timer1 on ATmega164P
[#32698] power.h has additional endif that will break the build
[#32773] stdiodemo source code is broken
[#32988] Internal compiler error: build_unary_op
[#33130] twitest.c source code is broken
[#33230] Sleep modes have incorrect names for ATtiny261/461/861
[#33238] Wrong _VECTORS_SIZE for mega8U2 et al
[#33858] in avr/power.h, clock_prescale_set() not defined for mega328
[#33920] ICR1 incorrectly defined for tiny167
[#34047] missing math.h include in delay.h
[#34514] misspelled in math.h
[#35020] stdint.h: signed types need explicit "signed"
[#35093] strlcat_P fails for some destinations
[no-id] New names for CLKSTA/CLKSEL0/1 for AT90USB82/162
system when power_all_disable() is used
[no-id] util/delay.h would not compile with -ffreestanding
* New devices supported:
* Contributed Patches:
[#7531] Bad name of bit in TCCR0A : WGM0 instead of CTC0 for ATtinyX61
[#7362] iom16a.h: USART vectors inconsistently named for ATmega16A
[#7226] ATMEGA8U2 Patches
* Other changes:
- The old prog_* typedefs are now deprecated, and are only included
if requested by the user. This request is expressed by declaring
the macro __PROG_TYPES_COMPAT__, either by a #define directive
before including <avr/pgmspace.h>, or by a -D compiler option.
- Optimized strlen_P, thanks to Jan Waclawek. Rename strlen_P to be
__strlen_P and add new strlen_P inline function in header file that
checks if value is a constant and known at compile time. If not,
then the new inline function calls __strlen_P as normal.
-----------------------------------------------
*** Changes in avr-libc-1.7.1:
* Bugs fixed: (7 line)
* New devices supported:
ATTiny84a
ATMega16HVB RevB
ATMega32HVB RevB
*** Changes in avr-libc-1.7.0:
* Bugs fixed: ( 138 line)
* Other changes:
- Added 'avr35' architecture.
- Function vfscanf() is rewriten.
- EEPROM functions are rewriten.
- Added support for XMEGA architectures.
- The Postscript documentation build has been removed in favour of
building only the PDF (and HTML and man page) versions.
- A sleeping BOD API was added to <avr/sleep.h>.
- The note about signbit() implementation is removed from documenatation.
- Signature API added in <avr/signature.h>.
- All functions are now placed in the .text.avr-libc section, and the
floating point functions are placed in the .text.avr-libc.fplib section.
- The port/pin assignments of the HD44780 LCD controller in the
stdiodemo example can now be distributed across more than a single
AVR port.
- Added support for avrtiny10 architecture, to support the ATtiny10 Family.
- Added new headerfile: <avr/cpufunc.h>; currently contains _NOP() and
_MemoryBarrier().
- The twidemo can now optionally address 24C32 and larger EEPROMs
that require 16-bit word addressing.
- Add a "memory barrier" to the cli() and sei() macros.
* New devices supported: (76)
* Optimized functions: (13)
* New functions: (30)
(pkgsrc)
Removing:
patches/patch-aa
(was not to install: install-subdir at libiberty)
patches/patch-ac
(was not to install tree-inline.o cppdefault.o for Mac OS X,
equivalent target does not have these files for now)
patches/patch-gcc_toplev.h
Upstream corrected the problem as:
-extern inline int
+static inline int
Adding:
patch-gcc_config_avr_driver-avr_c
To fix the problem like:
error: non-void function 'avr_device_to_arch' should return a value [-Wreturn-type]
patch-libiberty_Makefile.in
Not install libiberty.a
to avoid duplication (conflict) with other cross tool-chain (mef@).
(upstream)
For the changes from 4.4.1 to 4.5, see following page.
http://gcc.gnu.org/gcc-4.5/changes.html
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.
are replaced with .include "../../devel/readline/buildlink3.mk", and
USE_GNU_READLINE are removed,
* .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE
are replaced with .include "../../mk/readline.buildlink3.mk".
- Following tweak on Makefile:
PATH differs between clang and gcc, add trick by looking for path-by-path
to be adapted to environments. Proposed by dholland@ thanks.
Confirmed on following combinations so far.
NetBSD/amd64 6.1 gcc-4.5.3
NetBSD/amd64 6.99.21 clang version 3.2
NetBSD/i386 5.2 gcc-4.1.3
NetBSD/macppc 6.1 gcc-4.5.3
DragonFly/i386 3.4.2 gcc-4.7.2
* Update MASTER_SITES.
* Add LICENSE.
* Build with distfile's Makefile.
* Install our own do-install target (install target is not provided).
Changelog:
2.20.11 -- 07 April 2008
* Peter H. Froehlich <phf at acm dot org> took over as maintainer
from Andrew Davie, but both Andrew and Thomas Mathys still help.
* DASM moved to sourceforge.net, the new website for DASM is now
available at <http://dasm-dillon.sourceforge.net/>.
* Fixed (the obvious version of) the long-standing "-1 bug" that
made DASM reject sources with negative integer literals; there
may still be signed/unsigned problems in other areas; there is
certainly still a range checking error.
* Fixed the usage message to reflect that symbol table sorting is
controlled by -T and not by -t as the message claimed; also the
format of the usage message is now more GNU-like.
* The range of values for -T is now checked, you have to stick to
0 or 1, arbitrary numbers will not work anymore.
* Removed spurious output when running DASM. In general command
line tools should only make output when there's something to
report (a central Unix tenent). Sorry if you miss the messages,
just look at the usage information instead. :-)
* Added new -E# option to select format of error messages; -E0 is
the default MS style, -E1 is "classic" style from Matthew Dillon,
-E2 is GNU style from their coding standards.
2.20.10 -- 31 October 2004
* Thomas Mathys added support for the Fairchild F8 processor to
DASM. Thank you, Thomas!
* Support files for the Channel-F Video Entertainment System (VES)
added.
2.20.08 -- unreleased
* Documentation changed from Word documents back to text files.
2.20.07 -- 17 July 2003
* No user-visible changes.
2.20.05 -- unreleased
* Symbol table dump is now performed even if an error occurred.
* Symbol table dump now displays string symbols in string form.
2.20.04 -- 24 April 2003
* Command line options now allow "/" as prefix in addition to "-"
as before.
* Division by zero is now treated as an unrecoverable error.
* Error messages now contain more information about the error,
including the actual source code where possible.
* Output reworked. Typically, the -v option is now unnecessary as
more appropriate messages allow you to find errors better.
Compatibility with the -v option has been maintained, although
there may be a few minor changes.
* Branch out of range errors now list the distance to the branch.
* Undefined symbols are now always listed in a separate table. If
an unresolved symbol causes an error, the table is displayed
automatically at the end of assembly. (Note: It can be alright
to have a referenced but undefined symbol, for example when
IFCONST is used. In this case, the undefined table will only
be displayed if there is another undefined label, but it will
contain *all* unresolved symbols.)
* New command line option -T# where # is 0 or 1; 0 sorts symbol
table alphabetically (default), 1 sorts symbol table by address.
If available memory precludes sorting, the table is unsorted.
2.20.02 -- 24 April 2003
* John Saeger contributed support for all illegal 6502 opcodes.
Thank you, John! This fixes the LAX opcode as well.
2.20.01 -- 22 March 2003
* Andrew Davie <atari2600 at taswegian dot com> took up the DASM
project, starting from Olaf "Rhialto" Seibert's 2.12.04 version
with both Olaf's and Matthew Dillon's blessing.
* REPEAT now detects negative loop count (used to lock up).
* Errors are now in the format "file (line): Error: string" to
be compatible with MS VisualStudio.
* Support files for the Atari 2600 Video Computer System (VCS)
added.
* Support for illegal 6502/6507 opcodes NOP zp and LAZ (zp),y
added.
2.12.14 -- 19 August 1995
* Olaf "Rhialto" Seibert's release of DASM with many changes to
Matthew Dillon's 2.12 release.
Note that everything before 2.20.11 was *reconstructed* by Peter
Froehlich for the 2.20.11 release. Peter had no first-hand knowledge
of the early years but tried to be as accurate as possible, working
from multiple sources. Please feel free to submit any corrections you
may have regarding dates, features, and people.
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.
This is a provisional kludge to enable cross-compilation of packages
using libtool. It requires manual intervention: you must build it as
a target package, and then install the target package on the host
with `pkg_add -m ${TARGET_ARCH}'.
ok agc
COMMENT should not be longer than 70 characters.
COMMENT should not begin with 'A'.
COMMENT should not begin with 'An'.
COMMENT should not begin with 'a'.
COMMENT should not end with a period.
COMMENT should start with a capital letter.
pkglint warnings. Some files also got minor formatting, spelling, and style
corrections.
Upstream changes:
(only for release 2.13.3)
This version is a bugfix release against 2.13.2. It includes about 40 bug
and documentation fixes and some minor improvements:
* Fixed some macro issues (cc65).
* Static const local data goes into RODATA, not DATA (cc65).
* Fix error handling in .LEFT (ca65)
* Fixed problems with 80 column mode (C128 library).
* Fix problem when converting function to void pointer (cc65).
* Fix register info for several runtime functions. Result was invalid code
(cc65).
* Fix smbx and rmbx instructions (da65).
* Fix problem with .REPEAT (ca65).
* Fix an error in the runtime division routine (cc65).
* Fix problem with alignments >= 256 bytes (ca65).
* The LINE function mistakenly enabled the BASIC ROM (TGI driver for C64).
* Fix internal error caused by error recovery (or lack of) (cc65).
* Fix invalid handling of signed int types in some cases (cc65).
* Fix some issues with conio scrolling (C128 library).
* Fix and improve the code for compares (cc65).
* Fix some macro issues (ca65).
* Fixed/improved several error messages (all tools).
* Disallow __asm__ on global level (cc65).
* Remove final jump to RESTOR for all CBM platforms (cc65 libraries).
* Add missing export for CBM510 platform (cbm510 library).
* Fix problem with access to structs returned by functions (cc65).
* Fix an internal error in the code generator (cc65).
* Merge back POSIX directory routines for the Atari (atari library).
* Merge back Olivers C interrupt handling code (cc65 libraries).
* Several documentation changes.
* Several documentation fixes and improvements.
Although the claim that using the -Wno-unused-but-set-variable flag
breaks the build for older GCCs is unsubstantiated at this time, the
previous fix for gcc47 is removed in favor of deleting -Werror which
is exactly what the cross/binutils makefile does.
(1) update 5.10 to 5.11
(2) Trying to remove pkglint -Wall warning
(3) Update HOMEPAGE URL
----- ----- -----
AVRDUDE 5.11 relesed
(2011/8/27 By joerg_wunsch)
Finally, more than 1.5 years after the previous release,
AVRDUDE 5.11 is finally done. This is mostly a bugfix
release, but also includes a few enhancements. The two
most important enhancements are:
- TPI (i.e. ATtiny4/5/9/10) programming support for bitbang
programmers.
- FTDI MPSSE (FT2232 etc.) bitbang support.
----- ----- -----
Changes since 0.5.2:
2011-01-16 Weston Schmidt <weston_schmidt@alumni.purdue.edu>
* fedora/dfu-programmer.spec.in,
fedora/10-dfu-programmer.fdi, configure.ac, NEWS,
AUTHORS, src/arguments.c, src/arguments.h,
docs/dfu-programmer.1: Updated to the new 0.5.3 release.
2011-01-16 Weston Schmidt <weston_schmidt@alumni.purdue.edu>
* src/arguments.c, src/arguments.h,
fedora/10-dfu-programmer.fdi,
doc/dfu-programmer.1: Added support for at32uc3c chips.
2011-01-16 Weston Schmidt <weston_schmidt@alumni.purdue.edu>
* src/commands.c: Apply fix suggested by bug 3017901. Fix
an off by 1 error for the bootloader size.
2011-01-16 Weston Schmidt <weston_schmidt@alumni.purdue.edu>
* src/intel_hex.c: Apply fix suggested by bug 3016469. Fix
a sign extension problem during reading in the data to
flash.
2010-05-02 Weston Schmidt <weston_schmidt@alumni.purdue.edu>
* AUTHORS, src/commands.c: Removed confusing & useless code
that Darren Gibbs found.
2010-04-08 Weston Schmidt <weston_schmidt@alumni.purdue.edu>
* AUTHORS, src/arguments.c, src/arguments.h
doc/dfu-programmer.1: Added the patch Mitko sent
to enable at32uc3b1512 and at32uc3b0512 chips.
2010-02-15 Weston Schmidt <weston_schmidt@alumni.purdue.edu>
* config.h.in, configure.ac, AUTHORS, src/commands.c,
src/dfu.c, src/dfu-device.h, src/dfu.h, src/main.c:
Added the patch Torsten Rottmann sent to enable
libusb 1.0 support, plus I some changes to allow for
switching via a configure file flag.
2010-02-15 Weston Schmidt <weston_schmidt@alumni.purdue.edu>
* src/arguments.c, src/arguments.h, dfu-programmer.1,
AUTHORS: Added the patch Dave Fletcher sent to
enable atmega32u2 support.
2009-09-09 Weston Schmidt <weston_schmidt@alumni.purdue.edu>
* src/commands.c: Fix a bug due to the order of the
bootloader suppression and the lower boundary
verification. Additionally, fixed an off by 1 error
in the flash address verification.
MinGW, a contraction of "Minimalist GNU for Windows," is a port
of the GNU Compiler Collection (GCC), and GNU Binutils, for use
in the development of native Microsoft Windows applications.
pkgsrc changes:
Rework AVRISP mkII stall workaround.
summary of upstream changes since 5.8:
- Fix problem with loading intel hex rom files that exceed 0x10000 bytes.
- Fix FreeBSD default serial port name.
- jtagmkII.c: If entering JTAG mode fails with a bad JTAG ID message,
retry with external reset applied (in case the target is in sleep
mode or has asserted the JTD bit).
- Fix build for GNU/kFreeBSD.
is really a oddity of NetBSD's USB stack, but this seems to work too.
Also, hello nb2 and set LICENSE.
(This commit bumps most of the patch files only because of
pkgdiff timestamp formatting differences. Sigh.)
* Remove BUILD_DEPENDS on bison, it already in USE_TOOLS.
* Remove USE_BZIP2, not buildlink with bzip2, no effect.
* Remove custom do-* target, *_DIRS is sufficient to do so and use it instead.
* Remove MAKE_FLAGS="c c++", it was not used, and it result in missing "gcov"
after above modification.
* then, add user-destdir support, inspired by PR 42438.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
cc65 is a complete cross development package for 65(C)02 systems, including
a powerful macro assembler, a C compiler, linker, librarian and several
other tools.