This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
gdb and binutils branch master updated. e5242d4bede9761e9847ca85f8477b4e275a6e22
- From: amodra at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 7 Nov 2014 10:14:55 -0000
- Subject: gdb and binutils branch master updated. e5242d4bede9761e9847ca85f8477b4e275a6e22
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 e5242d4bede9761e9847ca85f8477b4e275a6e22 (commit)
via 7c53fd1ca357a5f6d0dcb3fcc6d06a38de48cd09 (commit)
from 67be31e5aae5075a99068e752b138a0934bde83c (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=e5242d4bede9761e9847ca85f8477b4e275a6e22
commit e5242d4bede9761e9847ca85f8477b4e275a6e22
Author: Alan Modra <amodra@gmail.com>
Date: Fri Nov 7 20:29:43 2014 +1030
tekhex buffer management and symbol types
Dramatically reduces memory consumption and processing time for large
all-zero data segments. Allows multiple symbol types attached to a
given segment to survive objcopy.
* tekhex.c (CHUNK_SPAN): Define.
(struct data_struct <chunk_init>): Use one byte per span, update
all code accessing this field.
(find_chunk): Add create param, don't create new entry unless set.
(insert_byte): Don't save zeros.
(first_phase): Set section SEC_CODE or SEC_DATA flag depending
on symbol type. Create an alternate section if both types of
symbol are given. Attach type '2' and '6' symbols to absolute
section.
(move_section_contents): Fix caching of chunk. Don't create chunk
when reading, or for writing zeros.
(tekhex_set_section_contents): Don't create initial chunks.
(tekhex_write_object_contents): Use CHUNK_SPAN.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7c53fd1ca357a5f6d0dcb3fcc6d06a38de48cd09
commit 7c53fd1ca357a5f6d0dcb3fcc6d06a38de48cd09
Author: Alan Modra <amodra@gmail.com>
Date: Fri Nov 7 20:18:25 2014 +1030
aoutx.h tidy
Save a multiplication, and any concern that the buffer allocation
might be smaller than the amount read (as it could be if the header
size isn't a multiple of EXTERNAL_NLIST_SIZE).
* aoutx.h (aout_get_external_symbols): Tidy allocation of symbol buffer.
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 20 ++++++++++
bfd/aoutx.h | 24 +++++-------
bfd/tekhex.c | 108 +++++++++++++++++++++++++++++++++------------------------
3 files changed, 93 insertions(+), 59 deletions(-)
hooks/post-receive
--
gdb and binutils