• R/O
  • HTTP
  • SSH
  • HTTPS

sourceware: List of commits

Yet another clone of sourceware.org.


RSS
Rev. Time Author
d1725b8 2011-03-11 04:20:26 davek

[PATCH] Fix PE-COFF bug in orphan section alignment handling.

ld/ChangeLog:

2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>

* emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Preserve
alignment of input sections when creating orphan output sections
during relocatable link.
* emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.

488b54b 2011-03-11 04:06:04 amodra

* gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
TARGET_SYMBOL_FIELDS): Don't define.
* gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.

4dc4f62 2011-03-11 03:26:17 amodra

* elf64-ppc.c (ppc64_elf_relocate_section): Provide section/offset
for LO_DS error message and correct multiple.

00c409c 2011-03-11 03:11:12 amodra

* elf64-ppc.c (bfd_elf64_bfd_link_just_syms): Define.
(ppc64_elf_link_just_syms): New function.
(opd_entry_value): Don't assume big-endian host.
(get_r2off): New function.
(ppc_build_one_stub, ppc_size_one_stub): Use it here.

dc7f548 2011-03-11 01:32:02 brobecke

remove subdir_do recursive make command in gdbserver/Makefile.in

This fixes:

% [...]/gdbserver/configure
% make distclean
[...]
rm -f amd64-avx.c amd64-avx-linux.c
rm -f i386-mmx.c i386-mmx-linux.c
make[1]: Entering directory `/[...]'
make[1]: *** No rule to make target `subdir_do'. Stop.
make[1]: Leaving directory `[...]'
make: *** [distclean] Error 2

gdb/gdbserver/ChangeLog:

* Makefile.in (maintainer-clean realclean distclean): Remove
"make ... subdir_do" command.

00100c2 2011-03-10 19:31:32 ian

* dwarf_reader.cc (Sized_dwarf_line_info): Include all lines,
but mark earlier ones as non-canonical
(offset_to_iterator): Update search target and example
(do_addr2line): Return extra lines in a vector*
(format_file_lineno): Extract from do_addr2line
(one_addr2line): Add vector* out-param
* dwarf_reader.h (Offset_to_lineno_entry): New field recording
when a lineno entry appeared last for its instruction
(Dwarf_line_info): Add vector* out-param
* object.cc (Relocate_info): Pass NULL for the vector* out-param
* symtab.cc (Odr_violation_compare): Include the lineno in the
comparison again.
(linenos_from_loc): New. Combine the canonical line for an
address with its other lines.
(True_if_intersect): New. Helper functor to make
std::set_intersection a query.
(detect_odr_violations): Compare sets of lines instead of just
one line for each function. This became less deterministic, but
has fewer false positives.
* symtab.h: Declarations.
* testsuite/Makefile.am (odr_violation2.o): Compile with -O2 to
mix an optimized and non-optimized object in the same binary
(odr_violation2.so): Same.
* testsuite/Makefile.in: Regenerate from Makefile.am.
* testsuite/debug_msg.cc (main): Make OdrDerived classes.
* testsuite/debug_msg.sh: Update line numbers and add
assertions.
* testsuite/odr_violation1.cc: Use OdrDerived, in a
non-optimized context.
* testsuite/odr_violation2.cc: Make sure Ordering::operator()
isn't inlined, and use OdrDerived in an optimized context.
* testsuite/odr_header1.h: Defines OdrDerived, where
optimization will change the
first-instruction-in-the-destructor's file and line number.
* testsuite/odr_header2.h: Defines OdrBase.

0cd02c0 2011-03-10 19:10:19 ian

* fileread.cc (File_read::clear_views): Don't delete the whole
file view.

97b39c5 2011-03-10 18:52:09 msnyder

2011-03-09 Michael Snyder <msnyder@vmware.com>

* dwarf2dbg.c (out_file_list): Free malloced 'dir'.
(out_debug_info): Free malloced 'dirname' and 'comp_dir'.
(emit_fixed_inc_line_addr): Assign instead of conditional
in assert.

60d068e 2011-03-10 18:15:19 maxim2405

2011-03-09 Maxim Grigoriev <maxim2405@gmail.com>

* xtensa-tdep.c (xtensa_read_register: Add comment.
(xtensa_write_register): Likewise.
(xtensa_hextochar): Add comment and update to match coding conventions.
(xtensa_frame_cache, xtensa_return_value): Follow coding conventions.
(execute_l32e, execute_s32e, execute_code): Update comments.
(xtensa_exception_handler_t): Update to match coding conventions.
(xtensa_insn_kind): Likewise.

e05c61c 2011-03-10 18:00:02 gdbadmin

*** empty log message ***

80041c1 2011-03-10 17:00:05 amodra

daily update

e0a0e08 2011-03-10 16:48:05 cgf

* fhandler.cc (fhandler_base_overlapped::wait_overlapped): Handle
overlapped_fallback error condition like other error conditions. Set res
carefully and specifically for each condition rather than resorting to a
default.
(fhandler_base_overlapped::write_overlapped): Preserve errno in
overlapped_fallback condition. Correct write_overlapped_fallback to avoid
inappropriate looping.
(fhandler_base_overlapped::write_overlapped_fallback): Add some more comments.

94b6368 2011-03-10 14:31:48 msnyder

2011-03-09 Michael Snyder <msnyder@vmware.com>

* mi-cmd-disas.c (mi_cmd_disassemble): Fix memory leak.

3697975 2011-03-10 12:41:30 tromey

* gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
gdb_continue_to_end.

e674d84 2011-03-10 10:55:54 cgf

* fhandler.cc (fhandler_base_overlapped::write_overlapp): Oops! Accommodate
change in arguments to wait_overlapped.

14a2a0e 2011-03-10 10:54:50 kettenis

* gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
tabs.

2719420 2011-03-10 10:47:44 cgf

* errno.cc (errmap): Change mapping of NO_SYSTEM_RESOURCES to EFBIG.
* fhandler.cc (MAX_OVERLAPPED_WRITE_LEN): New constant.
(MIN_OVERLAPPED_WRITE_LEN): Ditto.
(fhandler_base_overlapped::close): Accommodate change in arguments to
wait_overlapped.
(fhandler_base_overlapped::setup_overlapped): Add __stdcall and regparm
modifiers.
(fhandler_base_overlapped::destroy_overlapped): Ditto.
(fhandler_base_overlapped::has_ongoing_io): Ditto.
(fhandler_base_overlapped::wait_overlapped): Modify to return an enum returning
various states. Accept nonblocking parameter.
(fhandler_base_overlapped::read_overlapped): Add __stdcall and regparm
modifiers. Rework to attempt to be smarter about reacting to states returned
by wait_overlapped.
(fhandler_base_overlapped::write_overlapped): Ditto. Add fallback option for
when wait_overlapped detects that smaller chunks must be written.
(fhandler_base_overlapped::write_overlapped_fallback): Ditto.
* fhandler.h (DEFAULT_PIPEBUFSIZE): Move definition here from pipe.cc.
(fhandler_base::has_ongoing_io): Define with __stdcall and regparm modifiers.
(fhandler_base_overlapped::wait_return): New enum.
(fhandler_base_overlapped::max_atomic_write): New variable.
(fhandler_base_overlapped:: wait_overlapped): Accommodate changes mentioned
above to arguments and modifiers.
(fhandler_base_overlapped::setup_overlapped): Ditto for modifiers.
(fhandler_base_overlapped::read_overlapped): Ditto.
(fhandler_base_overlapped::write_overlapped): Ditto.
(fhandler_base_overlapped::destroy_overlapped): Ditto.
(fhandler_base_overlapped::has_ongoing_io): Ditto.
(fhandler_base_overlapped::fhandler_base_overlapped): Zero max_atomic_write.
* fhandler_fifo.cc (fhandler_fifo::fhandler_fifo): Set max_atomic_write to the
size of the DEFAULT_PIPEBUFSIZE.
(fhandler_fifo::wait): Accommodate change in arguments to wait_overlapped.
* pipe.cc (fhandler_pipe::fhandler_pipe): Set max_atomic_write to the size of
the DEFAULT_PIPEBUFSIZE.
(fhandler_pipe::create_selectable): Allow minimum size of DEFAULT_PIPEBUFSIZE.
(DEFAULT_PIPEBUFSIZE): Delete here, move to fhandler.h.

ee0d1ab 2011-03-10 09:59:12 msnyder

2011-03-09 Michael Snyder <msnyder@vmware.com>

* gdbserver/tracepoint.c: Fix small comment typo.

db879d3 2011-03-10 09:01:34 palves

gdb/
* nto-tdep.c (nto_find_and_open_solib): Constify local `base'.

da65e57 2011-03-10 08:22:06 tromey

* thread.c (restore_selected_frame): Handle frame_level == -1.
(make_cleanup_restore_current_thread): Use
get_selected_frame_if_set.
* frame.h (get_selected_frame_if_set): Declare.
* frame.c (get_selected_frame_if_set): New function.

5bcd4aa 2011-03-10 08:17:04 tromey

* lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
parentheses.
(gdb_continue_to_end): Add "allow_extra" parameter. Use
$command.
* gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
argument to gdb_continue_to_end.
* gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
argument to gdb_continue_to_end.
* gdb.cp/annota3.exp: Fix regex.
* gdb.cp/annota2.exp: Fix regex.
* gdb.base/shlib-call.exp: Pass "allow_extra" argument to
gdb_continue_to_end.
* gdb.base/call-signal-resume.exp: Revert earlier patch.
* gdb.ada/tasks.exp: Pass "allow_extra" argument to
gdb_continue_to_end.

a5d513d 2011-03-10 06:48:53 palves

* cli/cli-cmds.c (shell_escape): Use lbasename.
* coffread.c (coff_start_symtab): Constify parameter.
(complete_symtab): Constify `name' parameter.
(coff_symtab_read): Constify `filestring' local.
(coff_getfilename): Constify return and `result' local.
Use lbasename.
* fbsd-nat.c (fbsd_make_corefile_notes): Use lbasename.
* linux-fork.c (info_checkpoints_command): Use lbasename.
* linux-nat.c (linux_nat_make_corefile_notes): Use lbasename.
* minsyms.c (lookup_minimal_symbol): Use lbasename.
* nto-tdep.c (nto_find_and_open_solib): Use lbasename.
* procfs.c (procfs_make_note_section): Use lbasename.
* tui/tui-io.c (printable_part): Constity return and parameter.
Use lbasename.
(print_filename): Constify parameters, and local `s'.
(tui_rl_display_match_list): Constify local `temp'.

c2577bd 2011-03-10 01:07:53 jkratoch

gdb/
Revert:
2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix DWARF-3+ DW_AT_accessibility default assumption.
* dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for
cu->header.version >= 3.

a40a61a 2011-03-10 00:24:05 qiyao

gdb/
2011-03-09 Yao Qi <yao@codesourcery.com>

* common/Makefile.in: Remove.
* common/configure: Remove.
* common/configure.ac: Remove.

b3b45cc 2011-03-10 00:10:36 qiyao

gdb/
2011-03-09 Yao Qi <yao@codesourcery.com>

Revert:
2011-02-11 Yao Qi <yao@codesourcery.com>

* common/Makefile.in: Add copyright header.

2011-02-11 Yao Qi <yao@codesourcery.com>

* Makefile.in: Remove signals.o from COMMON_OBS. Link
libcommon.a.
* configure.ac: Add common to sub dir.
* configure: Regenerate.

gdb/gdbserver/
2011-03-09 Yao Qi <yao@codesourcery.com>

Revert:
2011-03-04 Yao Qi <yao@codesourcery.com>

* Makefile.in: Remove GNU make feature --directory.

2011-03-05 Yao Qi <yao@codesourcery.com>

* Makefile.in (CLEANDIRS, REQUIRED_SUBDIRS): New variable.
(subdir_do): New make target. Copied from gdb/Makefile.
(maintainer-clean, realclean, distclean, clean): Call corresponding
make targets in common/Makefile.

2011-02-11 Yao Qi <yao@codesourcery.com>

* configure.ac: Call AC_PROG_RANLIB.
* Makefile.in: Remove signals.o from OBS. Link libcommon.a.
* configure: Regenerate.

181610d 2011-03-09 21:28:36 maxim2405

2011-03-08 Maxim Grigoriev <maxim2405@gmail.com>

* xtensa-tdep.c (call0_ret): New function.
(xtensa_skip_prologue): Speed up analysis.

5a1373a 2011-03-09 20:56:23 maxim2405

2011-03-08 Maxim Grigoriev <maxim2405@gmail.com>

* xtensa-tdep.c (xtensa_register_reggroup_p): Count in all registers
while executing MI command -data-list-changed-registers.

e2388d4 2011-03-09 20:25:10 maxim2405

2011-03-08 Maxim Grigoriev <maxim2405@gmail.com>

* xtensa-tdep.c (xtensa_read_register): New function.
(xtensa_write_register): New function.
(xtensa_find_register_by_name): New function.
(xtensa_windowed_frame_cache): Update comments in type description.
(xtensa_frame_cache): Likewise.
(xtensa_window_interrupt_insn): New function.
(xtensa_frame_cache): Add analysis for Xtensa Window Exception frames.
(xtensa_insn_kind): Add new instructions.
(rwx_special_register): New function.
(call0_classify_opcode): Add new instructions to the analysis.
(a0_saved, a7_saved, a11_saved): New variables.
(a0_was_saved, a7_was_saved, a11_was_saved): New variables.
(execute_l32e): New function.
(execute_s32e): New function.
(xtensa_exception_handler_t): New type.
(execute_code): New function.
(xtensa_window_interrupt_frame_cache): New function to conduct frame
analysis for Xtensa Window Exception handlers.

11a8a4e 2011-03-09 19:50:33 ian

PR gold/12525
* fileread.cc: #include <climits>.
(GOLD_IOV_MAX): Define.
(File_read::read_multiple): Limit number of entries by iov_max.
* fileread.h (class File_read): Always set max_readv_entries to
128.

efecee2 2011-03-09 18:55:07 maxim2405

2011-03-08 Maxim Grigoriev <maxim2405@gmail.com>

* xtensa-tdep.c (TX_PS): New.
(windowing_enabled): Update to count for Call0 ABI.
(xtensa_hextochar): New.
(xtensa_init_reggroups): Make algorithm generic.
(xtensa_frame_cache): Use TX_PS on Tiny Xtensa.

Show on old repository browser