Package: binutils-z80
Version: 2.20.1-1
Severity: grave
Tags: upstream
Justification: renders package unusable

There are quite a number of serious bugs in 2.20. The most imporant being:

- Incorrect section headers of a z80-coff section are produced, so that
z80-coff files faile to maintain the alignment specified in the assembly files.

- objdump incorrectly lables sections, reporting that data sections contain
"CODE" where "DATA "was expected.

- Most seriously, Indexed register offsets are incorrectly assembled as zero if
they reference an equ declaration that has yet to be made, producing incorrect
binaries.

Please upgrade to version 2.21.


Supporting info and binutils bugzilla link:

bfd/ChangeLog:
       * coff-z80.c (r_imm32): Fix copy-paste bug that caused z80-objdump to
issue warnings about stabs debugging symbols rather than to show them
       * coff-z80.c (z80coff_vec): Allow sections to be of type SEC_CODE or
SEC_DATA
ld/testsuite/ChangeLog:
        * ld-scripts/align.exp: Remove xfails for z80-*-coff

include/coff/ChangeLog:
        * z80.h: Store alignment requirement in section header, to allow ld to
preserve alignment. Some code was copied from ti.h.

src/gas/Changelog:
2009-10-25  Arnold Metselaar  <arnold.metsel...@planet.nl>
        * config/tc-z80.c (z80_start_line_hook): Fix parsing of 'equ' or 'defl'
in cases where the space between the keyword and the expression has been
scrubbed away.
        Do not check whether a symbol is redefined with 'equ' here; the
function equals takes an argument indicating whether redefinitions are allowed.
Only call LISTING_NEWLINE if needed, and then after the call to
bump_line_counters.

src/gas/testsuite/ChangeLog:
2009-10-25  Arnold Metselaar  <arnold.metsel...@planet.nl>
        * gas/z80/equ.d, gas/z80/equ.s: Added test of parsing equ  directives.
        * gas/z80/z80.exp: Run it.
        * gas/z80/redef.d: Expect little endian output only.

gas/ChangeLog:
        PR gas/12269
        * config/tc-z80.c (emit_mx, emit_ldxhl): Do not uses
symbol_get_value_expression on a symbol that may not yet have a value.
        * testsuite/gas/z80/atend.s: New file, test case for bug 12269,
provided by Chris Smith.
        * testsuite/gas/z80/atend.d: New file, expected results for atend.s.
        * testsuite/gas/z80/z80.exp: Run new test case.

See also:
        http://sourceware.org/bugzilla/show_bug.cgi?id=12269



-- System Information:
Debian Release: squeeze/sid
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages binutils-z80 depends on:
ii  libc6                   2.11.2-2         Embedded GNU C Library: Shared lib
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

binutils-z80 recommends no packages.

Versions of packages binutils-z80 suggests:
ii  binutils                      2.20.1-12  The GNU assembler, linker and bina

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to