Debian Patches

Status for binutils-h8300-hms/2.16.1-14

Patch Description Author Forwarded Bugs Origin Last update
000-print-debian-version.patch Identify this version of binutils as being from Debian Chris Chimelis <chris@debian.org> not-needed 2005-05-06
006-better-file-error.patch Specify which filename is causing an error if the filename is a directory David Kimdon <dwhedon@gordian.com> not-needed debian 2001-09-19
012-check-ldrunpath-length.patch Only generate an RPATH entry if LD_RUN_PATH is not empty, for cases where -rpath isn't specified

Different patch upstream since 2.34.
Chris Chimelis <chris@debian.org> not-needed debian 2002-07-17
128-ln-s-makefiles.patch Use $(LN_S) instead of hardcoded ln for linking between /usr/bin and /usr/lib/h8300-hitachi-coff/bin Michael Tautschnig <mt@debian.org> not-needed 2006-11-04
129-gas-h8300.patch On 64bit archs unsigned != unsigned long Michael Tautschnig <mt@debian.org> not-needed 2006-11-23
130-coff-arm.patch Fix alignment error on ARM Michael Tautschnig <mt@debian.org> yes debian 2006-12-04
131-sprintf.patch Fixes incompatible use of sprintf as a strcat replacement Michael Tautschnig <mt@debian.org> not-needed 2009-01-06
132-texinfo-fixes.patch Updated to newer texinfo notation Michael Tautschnig <mt@debian.org> not-needed debian 2025-03-12
133-configure-signatures.patch Fix configure and build problem with newer GCC

Make sure main() return int. Also make sure required prototypes are
available, despite STDC_HEADERS not being defined for some reason.
Petter Reinholdtsen <pere@hungry.com> not-needed debian 2025-02-14
134-texinfo-fixes.patch Update notation to work with texinfo > 5 Petter Reinholdtsen <pere@debian.org> not-needed 2025-03-11
135-update-autotools.patch Update for autotools

Update for autoconf 2.71, automake 1.16.5, libtool 2.4.7 and gettext 0.21.

Took some inspiration from upstream change "Bump to autoconf 2.69 and automake
1.15.1": d0ac1c44885daf68f631befa37e3f3bad318fbbf.

Drop cygnus automake option and use no-dist, foreign, info-in-builddir and
no-texinfo.tex instead.

Add missing datarootdir in toplevel Makefile.in.

Replace LIBTOOL with LTCOMPILE.

Drop now unused install targets for libtools libraries (not complete, but not
used anyway: headers do not install, and --disable-libbfd-install ignored).

Remove included libtool.m4 and gettext.m4, remove corresponding hacks.

Configure aux dir and macro dir. Add corresponding ACLOCAL_AMFLAGS.

Use system gettext, do not use included intl directory.

Add AM_GNU_GETTEXT_VERSION to trigger autopoint running.

Use gettext provided Makefile.in.in. Add stub Makevars and Rules-info. Add
POTFILES.in. There is still a non-working part around BLD-POTFILES and
SRC-POTFILES, but not used anyway.

Drop now useless "install: install-info" rules which breaks installation of
other files.
Nicolas Schodet <nico@ni.fr.eu.org> not-needed 2025-03-22
136-ld-libdir.patch Install ld scripts in libdir Nicolas Schodet <nico@ni.fr.eu.org> not-needed 2025-03-19
137-abort-on-invalid-header.patch Abort on invalid header
Upstream has made a different change to validate input.
Michael Tautschnig <mt@debian.org> not-needed debian 2014-06-28
138-ldflags.patch Use compilation/linker flags from configure environment Nicolas Schodet <nico@ni.fr.eu.org> not-needed 2025-03-21
139-spacepad.patch Fix buffer overflow in archive writing

* libbfd-in.h (_bfd_ar_spacepad): New prototype.
* libbfd.h: Rebuilt.
* archive.c (_bfd_ar_spacepad): New function.
(_bfd_construct_extended_name_table, _bfd_write_archive_contents,
bsd_write_armap, _bfd_archive_bsd_update_armap_timestamp,
coff_write_armap): Use it.
(bfd_ar_hdr_from_filesystem): Likewise. Fix HP-UX large
uid/gid support.
* archive64.c (bfd_elf64_archive_write_armap): Use _bfd_ar_spacepad.
Jakub Jelinek <jakub@redhat.com> not-needed backport, commit:390c0e4288ca46982c7702ec420d277c021032f4
140-deterministic-output.patch Generate deterministic output
This takes some inspiration from recent binutils versions, namely the
BFD_DETERMINISTIC_OUTPUT flag, which is enabled by default on Debian for
regular binutils builds.

Only files used for h8300 are patched.

Also change COFF object file output from gas. This code is no longer
present in recent binutils.
Nicolas Schodet <nico@ni.fr.eu.org> not-needed 2025-03-28
141-libiberty-getwd.patch Fix getwd conflicting type Remove unneeded prototype getcwd and move getwd so that it's only declared if
needed.
not-needed debian https://gcc.gnu.org/legacy-ml/gcc-patches/2005-05/msg01513.html 2005-05-16

All known versions for source package 'binutils-h8300-hms'

Links