• R/O
  • HTTP
  • SSH
  • HTTPS

Listed des commits

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


users/hjl/version
RSS
Révision l'heure Auteur
03f06e0 users/hjl/version 2015-01-07 05:11:42 H.J. Lu

Remove BFD_VERSION_DATE

5180cbb 2015-01-07 04:17:16 H.J. Lu

Put commit on a separate line

69ba429 2015-01-07 03:26:27 H.J. Lu

Get branch name from commit

975c221 2015-01-07 03:18:22 H.J. Lu

Add git commit info to BFD_VERSION_STRING

GNU ld (GNU Binutils) 2.25.51.20150106
from git://sourceware.org/git/binutils.git commit 85880250e591a51624d24db653aaace0c5ce5943 on users/hjl/version

8588025 2015-01-07 01:06:45 Nick Clifton

Fixes for memory access violations in the coffdump program.

PR binutils/17512
* coffdump.c (dump_coff_section): Check for a symbol being
available before printing its name.
(main): Check the return value from coff_grok.
* coffgrok.c: Reformat and tidy.
Add range checks to most functions.
(coff_grok): Return NULL if the input bfd is not in a COFF
format.
* coffgrok.h: Reformat and tidy.
(struct coff_section): Change the nrelocs field to unsigned.
* srconv.c (main): Check the return value from coff_grok.

* coff-i860.c (CALC_ADDEND): Always set an addend value.
* tekhex.c (getvalue): Add an end pointer parameter. Use it to
avoid reading off the end of the buffer.
(getsym): Likewise.
(first_phase): Likewise.
(pass_over): Pass an end pointer to the invoked function.

fce10a8 2015-01-07 00:09:54 Joel Brobecker

gdb/guile: Do not error when trying to create empty array.

This fixes a similar error as in the Python support code where
trying to create an empty array.

In guile/scm-type.c::tyscm_array_1, the funtion raises an exception
if N2 < N1:

if (n2 < n1)
{
gdbscm_out_of_range_error (func_name, SCM_ARG3,

But it should be doing so if N2 == N1 - 1, since that would simply
be an empty array, not an array with a negative length.

gdb/ChangeLog:

* guile/scm-type.c (tyscm_array_1): Do not raise out-of-range
error if N2 is equal to N1 - 1.

8503d6e 2015-01-07 00:07:12 Joel Brobecker

gdb/python: exception trying to create empty array

The following python command fails:

(gdb) python print gdb.lookup_type('char').array(1, 0)
Traceback (most recent call last):
File "<string>", line 1, in <module>
ValueError: Array length must not be negative
Error while executing Python code.

The above is trying to create an empty array, which is fairly command
in Ada.

gdb/ChangeLog:

* python/py-type.c (typy_array_1): Do not raise negative-length
exception if N2 is equal to N1 - 1.

gdb/testsuite/ChangeLog:

* gdb.python/py-type.exp: Add a couple test about empty
array creation, and negative-length array creation.

533d0af 2015-01-06 10:43:34 H.J. Lu

Return NULL on corrupt input

PR binutils/17512
* elf32-i386.c (elf_i386_get_plt_sym_val): Return NULL on corrupt
input.
* elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Likewise.

9c90714 2015-01-06 09:00:11 GDB Administrator

Automatic date update in version.in

896ca09 2015-01-06 08:13:50 Nick Clifton

More fixes for invalid memory accesses triggered by fuzzed binaries.

PR binutils/17512
* nm.c (print_symbol): Add 'is_synthetic' parameter. Use it to
help initialize the info.elfinfo field.
(print_size_symbols): Add 'synth_count' parameter. Use it to set
the is_synthetic parameter when calling print_symbol.
(print_symbols): Likewise.
(display_rel_file): Pass synth_count to printing function.
(display_archive): Break loop if the last archive displayed
matches the current archive.
* size.c (display_archive): Likewise.

* archive.c (do_slurp_bsd_armap): Make sure that the parsed sized
is at least big enough for the header to be read.
* elf32-i386.c (elf_i386_get_plt_sym_val): Skip unknown relocs.
* mach-o.c (bfd_mach_o_get_synthetic_symtab): Add range checks.
(bfd_mach_o_read_command): Prevetn duplicate error messages about
unrecognized commands.
* syms.c (_bfd_stab_section_find_nearest_line): Add range checks
when indexing into the string table.

82b1b41 2015-01-05 22:54:22 Nick Clifton

More fixes for invalid memory accesses triggered by fuzzed binaries.

PR binutils/17531
* dwarf.c (alloc_num_debug_info_entries): New variable.
(process_debug_info): Set it. Use it to avoid displaying
attributes for which there is no info.
(display_debug_abbrev): Check that the debug_info_entry index is
valid before using it.
(display_loc_list_dwo): Likewise.
(process_cu_tu_index): Add range check for an overlarge dw_sect
value.
(free_debug_memory): Reset alloc_num_debug_info_entries.
* readelf.c (slurp_ia64_unwind_table): Warn if the reloc could not
be indentified.
(dynamic_section_mips_val): Warn if the timestamp is invalid.
(print_mips_got_entry): Add a data_end parameter. Warn if a read
would go beyond the end of the data, and return an error value.
(process_mips_specific): Do not read options from beyond the end
of the section.
Correct code to display optional data at the end of an option.
Warn if there are too many GOT symbols.
Update calls to print_mips_got_entry, and handle error returns.

c1724c7 2015-01-05 18:41:48 Daniel Klauer

Corrects the description of the --kill-at option of dlltool.

PR binutils/17489
* doc/binutils.texi (dlltool): Correct description of --kill-at
option.

f8ed3ac 2015-01-05 09:00:12 GDB Administrator

Automatic date update in version.in

235acba 2015-01-04 09:00:14 GDB Administrator

Automatic date update in version.in

6b91c54 2015-01-04 07:54:45 Andrew Pinski

[GCC bug #63539]: libgo does not use the newly built objcopy when doing a combined build

2015-01-03 Andrew Pinski <apinski@cavium.com>

* Makefile.def (flags_to_pass): Pass OBJCOPY_FOR_TARGET also.
* Makefile.tpl (HOST_EXPORTS): Add OBJCOPY_FOR_TARGET.
(BASE_TARGET_EXPORTS): Add OBJCOPY.
(OBJCOPY_FOR_TARGET): New variable.
(EXTRA_TARGET_FLAGS): Add OBJCOPY.
* Makefile.in: Regenerate.
* configure.ac: Check for already installed target objcopy.
Also GCC_TARGET_TOOL on objcopy.
* configure: Regenerate.

e1e061e 2015-01-04 05:35:41 Doug Evans

fix spelling of anon-ns2.cc in earlier entry, and whitespace in same entry

4d29c0a 2015-01-04 05:01:29 Doug Evans

c-exp.y: misc cleanup, no code changes

gdb/ChangeLog:

* c-exp.y: Whitespace cleanup.
(classify_inner_name): Remove extra ;.

cc73dbc 2015-01-03 15:00:57 Doug Evans

gdb.cp/nsalias.exp: Fix output of external/declaration flags.

gdb/testsuite/ChangeLog:

* gdb.cp/nsalias.exp: Fix output of external/declaration flags.

2aeedae 2015-01-03 09:00:11 GDB Administrator

Automatic date update in version.in

eaa6a9a 2015-01-03 08:54:27 Maciej W. Rozycki

MIPS: Make the extracted stack offset signed in the prologue scanner

Make the extracted stack offset signed in the standard MIPS prologue
scanner, to simplify handling and make sure register offsets are correct
in all cases, especially where $fp equals the virtual frame pointer (old
GCC frames) and therefore offsets to save slots are negative.

* mips-tdep.c (mips32_scan_prologue): Make the extracted stack
offset signed.

0300bbc 2015-01-03 05:59:44 Doug Evans

gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.

gdb/testsuite/ChangeLog:

* gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.

02fe997 2015-01-03 04:49:14 Doug Evans

dwarf2read.c (setup_type_unit_groups): Remove outdated comment.

gdb/ChangeLog:

* dwarf2read.c (setup_type_unit_groups): Remove outdated comment.

e2ada9c 2015-01-03 04:02:31 Doug Evans

symtab.h (struct symbol): Fix typo in comment.

gdb/ChangeLog:

* symtab.h (struct symbol): Fix typo in comment.

2f5346c 2015-01-02 20:57:27 Alan Modra

Regenerate Makeile.in file for copyright update

6ba37ab 2015-01-02 18:40:57 Hans-Peter Nilsson

config.sub, config.guess: Update from upstream, to 2015-01-01 version.

4a68e3f 2015-01-02 09:00:16 GDB Administrator

Automatic date update in version.in

af759df 2015-01-02 07:21:43 Alan Modra

Correct printed year in copyright notices for gold.

efd321f 2015-01-01 23:38:15 Alan Modra

Correct printed year in copyright notices

b90efa5 2015-01-01 23:23:45 Alan Modra

ChangeLog rotatation and copyright year update

32d0add 2015-01-01 18:32:14 Joel Brobecker

Update year range in copyright notice of all files owned by the GDB project.

gdb/ChangeLog:

Update year range in copyright notice of all files.