This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
gdb and binutils branch master updated. f4943d8253e8c9c539fd72d23e94a65f84c92d1a
- From: amodra at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 10 Dec 2014 12:48:03 -0000
- Subject: gdb and binutils branch master updated. f4943d8253e8c9c539fd72d23e94a65f84c92d1a
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via f4943d8253e8c9c539fd72d23e94a65f84c92d1a (commit)
from e00e81980c70659d0efe686b31a55db5faaa91f9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f4943d8253e8c9c539fd72d23e94a65f84c92d1a
commit f4943d8253e8c9c539fd72d23e94a65f84c92d1a
Author: Alan Modra <amodra@gmail.com>
Date: Wed Dec 10 21:44:34 2014 +1030
Don't always build coffgen.o
Removes a bunch of unused functions from libbfd when building ELF or
AOUT. Split off the bits we need externally when not building a COFF
target into coff-bfd.c and coff-bfd.h.
bfd/
* Makefile.am (BFD32_LIBS, BFD32_LIBS_CFILES): Remove dwarf2
and coffgen. Add coff-bfd. Sort.
(BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Add coffgen and dwarf2.
* bfd-in.h (bfd_coff_get_syment, bfd_coff_get_auxent): Delete.
(struct coff_comdat_info, bfd_coff_get_comdat_section): Delete.
* coffgen.c (coff_symbol_from): Move to coff-bfd.h as macro,
without unused param. Update uses.
(bfd_coff_get_comdat_section): Move to coff-bfd.h as macro.
(bfd_coff_get_syment, bfd_coff_get_auxent): Move to coff-bfd.c.
* libcoff-in.h: #include "coff-bfd.h".
(struct coff_section_tdata, coff_section_data): Move to coff-bfd.h.
(coff_symbol_from): Delete.
* coff-bfd.c: New file.
* coff-bfd.h: New file.
* coff-i386.c: Update coff_symbol_from occurrences.
* coff-i960.c: Likewise.
* coff-m68k.c: Likewise.
* coff-sh.c: Likewise.
* coff-x86_64.c: Likewise.
* coffcode.h: Likewise.
* pe-mips.c: Likewise.
* configure.ac (elf): Add dwarf2.lo.
(coffgen, coff, ecoff, xcoff): Define. Use when mapping bfd
target vectors to .o files. Add dwarf2 for mach-o targets.
Fix the sh target FIXME.
* po/SRC-POTFILES.in: Regenerate.
* Makefile.in: Regenerate.
* configure: Regenerate.
* bfd-in2.h: Regenerate.
* libcoff.h: Regenerate.
binutils/
* objdump.c: #include "coff-bfd.h".
ld/
* ldmisc.c: #include "coff-bfd.h"
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 33 +++++++
bfd/Makefile.am | 22 +++--
bfd/Makefile.in | 32 ++++---
bfd/bfd-in.h | 26 -----
bfd/bfd-in2.h | 26 -----
bfd/coff-bfd.c | 99 +++++++++++++++++++
bfd/coff-bfd.h | 86 +++++++++++++++++
bfd/coff-i386.c | 2 +-
bfd/coff-i960.c | 32 +++---
bfd/coff-m68k.c | 2 +-
bfd/coff-sh.c | 32 +++---
bfd/coff-x86_64.c | 2 +-
bfd/coffcode.h | 6 +-
bfd/coffgen.c | 114 ++--------------------
bfd/configure | 249 ++++++++++++++++++++++++------------------------
bfd/configure.ac | 249 ++++++++++++++++++++++++------------------------
bfd/libcoff-in.h | 33 +------
bfd/libcoff.h | 33 +------
bfd/pe-mips.c | 2 +-
bfd/po/SRC-POTFILES.in | 1 +
binutils/ChangeLog | 4 +
binutils/objdump.c | 1 +
ld/ChangeLog | 4 +
ld/ldmisc.c | 1 +
24 files changed, 557 insertions(+), 534 deletions(-)
create mode 100644 bfd/coff-bfd.c
create mode 100644 bfd/coff-bfd.h
hooks/post-receive
--
gdb and binutils