Daniel Jacobowitz [Tue, 17 Oct 2006 15:52:53 +0000 (15:52 +0000)]
* gdb.threads/manythreads.c (thread_function, main): Don't cast
int to pointer or pointer to int.
* gdb.threads/manythreads.exp: Don't expect the string "LWP".
Mark Shinwell [Tue, 17 Oct 2006 15:46:21 +0000 (15:46 +0000)]
bfd/
* elf32-arm.c (elf32_arm_howto_table_1): Change offset for
R_THM_CALL to 25 and remove FIXME comment.
(using_thumb2): New function.
(elf32_arm_final_link_relocate): Cope with Thumb-2 BL encoding.
include/
* elf/arm.h: Define TAG_CPU_ARCH_* constants.
ld/testsuite/
* ld-arm/arm-elf.exp: Add thumb1-bl, thumb2-bl,
thumb2-bl-as-thumb1-bad and thumb2-bl-bad tests.
* ld-arm/thumb1-bl.d: New.
* ld-arm/thumb1-bl.s: New.
* ld-arm/thumb2-bl-as-thumb1-bad.d: New.
* ld-arm/thumb2-bl-as-thumb1-bad.s: New.
* ld-arm/thumb2-bl-bad.d: New.
* ld-arm/thumb2-bl-bad.s: New.
* ld-arm/thumb2-bl.d: New.
* ld-arm/thumb2-bl.s: New.
Daniel Jacobowitz [Tue, 17 Oct 2006 15:43:51 +0000 (15:43 +0000)]
* remote.c (remote_pid_to_str): Capitalize "Thread".
Mark Shinwell [Tue, 17 Oct 2006 14:49:51 +0000 (14:49 +0000)]
* elf32-arm.c (elf32_arm_final_link_relocate): Add cases
for R_ARM_ABS32_NOI and R_ARM_REL32_NOI.
(elf32_arm_gc_sweep_hook): Likewise.
(elf32_arm_check_relocs): Likewise.
(allocate_dynrelocs): Likewise.
H.J. Lu [Tue, 17 Oct 2006 14:06:02 +0000 (14:06 +0000)]
2006-10-17 H.J. Lu <hongjiu.lu@intel.com>
* configure: Regenerated.
Alan Modra [Tue, 17 Oct 2006 13:55:11 +0000 (13:55 +0000)]
* scripttempl/elf.sc (INTERP): Delete. Move definition to..
(INITIAL_READONLY_SECTIONS): ..here.
* emulparams/criself.sh (INITIAL_READONLY_SECTIONS): Include .interp.
* emulparams/elf32bmip.sh (INITIAL_READONLY_SECTIONS): Ditto.
* emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Ditto.
Alan Modra [Tue, 17 Oct 2006 13:41:49 +0000 (13:41 +0000)]
bfd/
* elf-bfd.h (struct elf_link_hash_table): Reorder. Add
text_index_section and data_index_section.
(struct elf_backend_data): Add elf_backend_init_index_section.
(_bfd_elf_init_1_index_section): Declare.
(_bfd_elf_init_2_index_sections): Declare.
* elfxx-target.h (elf_backend_init_index_section): Define.
(elfNN_bed): Init new field.
* elflink.c (_bfd_elf_link_omit_section_dynsym): Keep first tls
section and text_index_section plus data_index_section.
(_bfd_elf_link_renumber_dynsyms): Clear dynindx on omitted sections.
(_bfd_elf_init_1_index_section): New function.
(_bfd_elf_init_2_index_sections): New function.
(bfd_elf_size_dynsym_hash_dynstr): Call elf_backend_init_index_section.
(elf_link_input_bfd): When emitting relocs, use text_index_section
and data_index_section for removed sections.
* elf-m10300.c (elf_backend_omit_section_dynsym): Define.
* elf32-i386.c: Likewise.
* elf32-m32r.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-xstormy16.c: Likewise.
* elf32-xtensa.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-mmix.c: Likewise.
* elf64-sh64.c: Likewise.
* elfxx-ia64.c: Likewise.
* elf32-arm.c (elf32_arm_final_link_relocate): Use text_index_section
and data_index_section sym for relocs against sections with no dynamic
section sym.
(elf_backend_init_index_section): Define.
* elf32-cris.c: Similarly.
* elf32-hppa.c: Similarly.
* elf32-i370.c: Similarly.
* elf32-m68k.c: Similarly.
* elf32-mips.c: Similarly.
* elf32-ppc.c: Similarly.
* elf32-s390.c: Similarly.
* elf32-sparc.c: Similarly.
* elf32-vax.c: Similarly.
* elf64-mips.c: Similarly.
* elf64-ppc.c: Similarly.
* elf64-s390.c: Similarly.
* elf64-sparc.c: Similarly.
* elf64-x86-64.c: Similarly.
* elfn32-mips.c: Similarly.
* elfxx-mips.c: Similarly.
* elfxx-sparc.c: Similarly.
* linker.c (fix_syms): Base symbols in removed sections on
previous section in preference to using absolute section.
ld/
* ldlang.c (strip_excluded_output_sections): Do strip sections
that define syms, but don't ignore them.
* ld.texinfo (Output Section Discarding): Revise.
* emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call
finish_default.
ld/testsuite/
Update for section sym changes.
Martin Schwidefsky [Tue, 17 Oct 2006 13:15:01 +0000 (13:15 +0000)]
Really remove operands64.d, operands64.s, operands.d and operands.s as
stated in the ChangeLog 2005/08/12:
* gas/testsuite/gas/s390/opcode.d: Delete.
* gas/testsuite/gas/s390/opcode.s: Delete.
* gas/testsuite/gas/s390/opcode64.d: Delete.
* gas/testsuite/gas/s390/opcode64.s: Delete.
Bob Wilson [Tue, 17 Oct 2006 04:45:32 +0000 (04:45 +0000)]
* gprof.c (main): Fix option string for -C, -n and -N.
DJ Delorie [Tue, 17 Oct 2006 04:23:49 +0000 (04:23 +0000)]
2006-10-17 Brooks Moses <bmoses@stanford.edu>
* Makefile.def: Added pdf target handling.
* Makefile.tpl: Added pdf target handling.
* Makefile.in: Regenerated.
gdbadmin [Tue, 17 Oct 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 16 Oct 2006 23:59:13 +0000 (23:59 +0000)]
daily update
Richard Sandiford [Mon, 16 Oct 2006 21:34:25 +0000 (21:34 +0000)]
ld/
* Makefile.am (eelf64bmip.c): Depend on emulparams/elf64bmip-defs.sh.
(eelf64btsmip.c, eelf64ltsmip.c): Likewise.
* Makefile.in: Regenerate.
* emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Include
.reginfo rather than .MIPS.options.
* emulparams/elf64bmip-defs.sh: New file.
* emulparams/elf64bmip.sh: Include it.
(COMMONPAGESIZE): Delete.
* emulparams/elf64btsmip.sh: As for elf64bmip.sh.
ld/testsuite/
* ld-mips-elf/branch-misc-1.d: Set the start address to 0x20000000.
* ld-mips-elf/jalbal.d: Likewise 0x200000a0.
* ld-mips-elf/jaloverflow-2.d: Likewise 0x20000000.
* ld-mips-elf/reloc-3-n32.d: Likewise.
* ld-mips-elf/reloc-3.d: Likewise.
* ld-mips-elf/textrel-1.d: Don't require a specific file offset for
.dynamic.
H.J. Lu [Mon, 16 Oct 2006 21:24:00 +0000 (21:24 +0000)]
2006-10-16 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.exp: Indent "x86-64-nops-1".
Andreas Schwab [Mon, 16 Oct 2006 17:21:44 +0000 (17:21 +0000)]
* elfxx-ia64.c (addend_compare): Properly compute return value.
Bernd Schmidt [Mon, 16 Oct 2006 12:02:40 +0000 (12:02 +0000)]
* input-scrub.c (input_scrub_next_buffer): Use TC_EOL_IN_INSN
in addition to testing for '\n'.
(TC_EOL_IN_INSN): Provide a default definition if necessary.
Daniel Jacobowitz [Mon, 16 Oct 2006 03:08:37 +0000 (03:08 +0000)]
PR remote/2158
* remote.c (remote_write_bytes): Throttle packet alignment
for small packets.
gdbadmin [Mon, 16 Oct 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 15 Oct 2006 23:59:14 +0000 (23:59 +0000)]
daily update
Eli Zaretskii [Sun, 15 Oct 2006 21:36:00 +0000 (21:36 +0000)]
* gdb.texinfo (Signals, Set Breaks, Set Watchpoints): Document optional
arguments to `info signals' `handle', `info breakpoints', and
`info watchpoints'.
Eli Zaretskii [Sun, 15 Oct 2006 21:19:49 +0000 (21:19 +0000)]
* gdb.texinfo (Sample Session, Invocation, Quitting GDB)
(Command Syntax, Signals, Backtrace, Connecting)
(Remote configuration, Renesas Boards, Console I/O): Fix last
change: use Ctrl- instead of C-, except wrt Emacs.
(File-I/O Examples): Put Ctrl-c in @kbd.
(Cygwin Native, File-I/O Overview, The Ctrl-C message)
(Console I/O): Use @samp with Ctrl-.
Nick Roberts [Sun, 15 Oct 2006 19:38:45 +0000 (19:38 +0000)]
(thread_db_wait): Don't bother continuing if the wait result indicates the
program terminated with a signal (from gdb-6.3-ia64-sigill-
20051115.patch, a
patch for Fedora Core 5).
Nick Roberts [Sun, 15 Oct 2006 19:37:49 +0000 (19:37 +0000)]
*** empty log message ***
H.J. Lu [Sun, 15 Oct 2006 14:22:13 +0000 (14:22 +0000)]
2006-10-15 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3314
* elf.c (assign_file_positions_for_non_load_sections): Don't
page align empty SHF_ALLOC sections.
gdbadmin [Sun, 15 Oct 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 14 Oct 2006 23:59:18 +0000 (23:59 +0000)]
daily update
Eli Zaretskii [Sat, 14 Oct 2006 18:34:03 +0000 (18:34 +0000)]
* gdb.texinfo (Backtrace): Fix last change.
Nick Roberts [Sat, 14 Oct 2006 00:21:13 +0000 (00:21 +0000)]
(Backtrace): Order correctly and add other cases.
Nick Roberts [Sat, 14 Oct 2006 00:20:02 +0000 (00:20 +0000)]
*** empty log message ***
gdbadmin [Sat, 14 Oct 2006 00:00:09 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 13 Oct 2006 23:59:16 +0000 (23:59 +0000)]
daily update
Jakub Jelinek [Fri, 13 Oct 2006 21:03:40 +0000 (21:03 +0000)]
* elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_sections): Set
.plt sh_entsize to 0 if plt header size isn't multiple of
plt entry size or for 32-bit which adds a nop insn at the
end of the .plt section.
Nick Clifton [Fri, 13 Oct 2006 11:36:03 +0000 (11:36 +0000)]
* dwarf2dbg.c (out_debug_info): Use TC_DWARF2_EMIT_OFFSET to emit a disjoint DW_AT range.
Nick Clifton [Fri, 13 Oct 2006 09:43:29 +0000 (09:43 +0000)]
PR binutils/2876
* configure.in: Check for the mkstemp and mkdtemp functions.
* configure: Regenerate.
* config.in (HAVE_MKDTEMP): New potential define.
(MAKE_MKSTEMP): Likewise.
* bucomm.c (make_tempname): Use mkstemp if it is available.
* make_tempdir): New function: Create a temporary directory using mkdtemp, if
it is available.
* bucomm.h (make_tempdir): New prototype.
* objcopy.c (copy_archive): Use make_tempdir if it is available.
(strip_main): Produce an warning message if a temporary file could not be
(copy_main): Likewise.
* ar.c (write_archive): Likewise.
Nick Clifton [Fri, 13 Oct 2006 06:55:50 +0000 (06:55 +0000)]
* config/tc-score.c (md_show_usage): Print -KPIC option usage.
Joel Brobecker [Fri, 13 Oct 2006 02:40:47 +0000 (02:40 +0000)]
Add in one of the previous entries the fact that the change was to
fix PR symtab/2018.
gdbadmin [Fri, 13 Oct 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 12 Oct 2006 23:59:17 +0000 (23:59 +0000)]
daily update
Bob Wilson [Thu, 12 Oct 2006 21:56:19 +0000 (21:56 +0000)]
bfd/
* elf32-xtensa.c (elf_xtensa_action_discarded): New.
(elf_backend_action_discarded): Define.
ld/
* emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Check
for linkonce XCC exception tables (".e" and ".h").
Daniel Jacobowitz [Thu, 12 Oct 2006 19:03:22 +0000 (19:03 +0000)]
* gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
gdbadmin [Thu, 12 Oct 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 11 Oct 2006 23:59:20 +0000 (23:59 +0000)]
daily update
Bob Wilson [Wed, 11 Oct 2006 22:18:31 +0000 (22:18 +0000)]
* emulparams/elf32xtensa.sh (TEXT_PLT): Enable.
(OTHER_READONLY_SECTIONS): Add linkonce .xt_except_table sections.
(OTHER_READWRITE_SECTIONS): Add linkonce .xt_except_desc sections.
(OTHER_SDATA_SECTIONS): New.
* scripttempl/elfxtensa.sc: Import changes from elf.sc.
Bob Wilson [Wed, 11 Oct 2006 22:16:50 +0000 (22:16 +0000)]
* elf32-xtensa.c (elf_xtensa_relocate_section): Return after
unresolvable relocation error.
(elf_xtensa_finish_dynamic_symbol): Set value of undefined, weak
symbols to zero.
Jeff Johnston [Wed, 11 Oct 2006 19:30:34 +0000 (19:30 +0000)]
2006-10-11 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Updated.
* COPYING.LIBGLOSS: Ditto.
Daniel Jacobowitz [Wed, 11 Oct 2006 15:39:35 +0000 (15:39 +0000)]
* dwarf2read.c (dwarf_decode_lines): Call record_line upon
encountering a different subfile.
Jakub Jelinek [Wed, 11 Oct 2006 14:58:19 +0000 (14:58 +0000)]
* ldlang.c (lang_append_dynamic_list): When appending, add all elements
of the dynamic list rather than just the first entry.
Frederic Riss [Wed, 11 Oct 2006 10:50:07 +0000 (10:50 +0000)]
2006-10-11 Denis Pilat <denis.pilat@st.com>
* tui/tui-source.c (tui_set_source_content): handle source
files that contain non unix end-of-line.
DJ Delorie [Wed, 11 Oct 2006 00:29:35 +0000 (00:29 +0000)]
merge from gcc
gdbadmin [Wed, 11 Oct 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 10 Oct 2006 23:59:19 +0000 (23:59 +0000)]
daily update
Bob Wilson [Tue, 10 Oct 2006 20:57:37 +0000 (20:57 +0000)]
bfd/
* elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Add DT_DEBUG
for PIE executables.
ld/
* emulparams/elf32xtensa.sh (GENERATE_PIE_SCRIPT): Enable.
Bob Wilson [Tue, 10 Oct 2006 18:55:55 +0000 (18:55 +0000)]
* gdb.texinfo (Command Syntax, Connecting, Remote configuration,
Renesas Boards, ST2000, TUI Keys, TUI Single Key Mode, TUI Commands,
Emacs, Console I/O): Fix @key and @kbd usage.
Ian Lance Taylor [Tue, 10 Oct 2006 18:54:06 +0000 (18:54 +0000)]
Avoid multiple definition errors from linkonce sections.
Daniel Jacobowitz [Tue, 10 Oct 2006 14:23:11 +0000 (14:23 +0000)]
* ser-mingw.c (free_pipe_state, pipe_wait_handle): Update
for changes to pipe_select_thread.
(pipe_done_wait_handle): New.
(_initialize_ser_windows): Reference it.
Andreas Schwab [Tue, 10 Oct 2006 10:45:45 +0000 (10:45 +0000)]
* dwarf.c (display_debug_loc): Don't dereference loc_offsets when
there are no location lists.
(display_debug_ranges): Similar for range_lists.
Daniel Jacobowitz [Tue, 10 Oct 2006 03:17:53 +0000 (03:17 +0000)]
2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
Daniel Jacobowitz <dan@codesourcery.com>
* Makefile.in (expprint.o, parse.o, target.o): Update.
* dwarf2loc.c (dwarf_expr_tls_address): Move body to
target_translate_tls_address. Call it.
* eval.c (evaluate_subexp_standard): Handle UNOP_MEMVAL_TLS.
* expprint.c (print_subexp_standard): Likewise.
(op_name_standard, dump_subexp_body_standard): Likewise.
* expression.h (enum exp_opcode): Add UNOP_MEMVAL_TLS.
(union exp_element): Add objfile.
* parse.c (write_exp_elt_objfile): New function.
(msym_tls_symbol_type): New.
(write_exp_msymbol): Handle TLS.
(operator_length_standard): Handle UNOP_MEMVAL_TLS.
(build_parse): Initialize msym_tls_symbol_type.
* parser-defs.h (write_exp_elt_objfile): New prototype.
* target.c (target_translate_tls_address): New.
* target.h (target_translate_tls_address): Add prototype.
2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
gdbadmin [Tue, 10 Oct 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 9 Oct 2006 23:59:20 +0000 (23:59 +0000)]
daily update
Daniel Jacobowitz [Mon, 9 Oct 2006 20:16:10 +0000 (20:16 +0000)]
* solib.c (solib_open): Handle an empty solib_absolute_prefix like a
missing one.
Daniel Jacobowitz [Mon, 9 Oct 2006 19:58:07 +0000 (19:58 +0000)]
* solib.c (solib_read_symbols): Stop if the file was not found.
Daniel Jacobowitz [Mon, 9 Oct 2006 19:28:14 +0000 (19:28 +0000)]
2006-10-09 Paul Pluzhnikov <ppluzhnikov@charter.net>
PR c++/2116
* valops.c (find_overload_match): Check for a NULL name.
2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
PR c++/2116
* gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
gdbadmin [Mon, 9 Oct 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 8 Oct 2006 23:59:20 +0000 (23:59 +0000)]
daily update
Paul Brook [Sun, 8 Oct 2006 18:44:07 +0000 (18:44 +0000)]
2006-10-08 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (parse_big_immediate): 64-bit host fix.
(parse_operands): Use parse_big_immediate for OP_NILO.
(neon_cmode_for_logic_imm): Try smaller element sizes.
(neon_cmode_for_move_imm): Ditto.
(do_neon_logic): Handle .i64 pseudo-op.
gas/testsuite/
* testsuite/gas/arm/neon-cov.s: Test pseudo-instruction forms of
vmov, vmvn and logic immediate instructions.
* testsuite/gas/arm/neon-cov.d: ditto.
gdbadmin [Sun, 8 Oct 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 7 Oct 2006 23:59:22 +0000 (23:59 +0000)]
daily update
gdbadmin [Sat, 7 Oct 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 6 Oct 2006 23:59:23 +0000 (23:59 +0000)]
daily update
Joel Brobecker [Fri, 6 Oct 2006 20:48:42 +0000 (20:48 +0000)]
* gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
the corresponding bug has been fixed in GDB (PR/2018).
Joel Brobecker [Fri, 6 Oct 2006 20:42:02 +0000 (20:42 +0000)]
* dwarf2read.c (read_array_type): Set the type name if the name
attribute is present.
Ian Lance Taylor [Fri, 6 Oct 2006 20:40:16 +0000 (20:40 +0000)]
Lay out object file sections when we add the symbols to the symbol
table.
Mike Frysinger [Fri, 6 Oct 2006 20:10:37 +0000 (20:10 +0000)]
* genscripts.sh: Respect LIBPATH_SUFFIX when not using sysroot.
Joel Brobecker [Fri, 6 Oct 2006 18:17:56 +0000 (18:17 +0000)]
* gdb.base/subst.exp: New testcase.
Joel Brobecker [Fri, 6 Oct 2006 18:05:58 +0000 (18:05 +0000)]
* gdb.ada/array_return/pck.ads: Add copyright notice.
* gdb.ada/array_return/pck.adb: Likewise.
* gdb.ada/array_return/p.adb: Likewise.
* gdb.ada/exec_changed/first.adb: Likewise.
* gdb.ada/exec_changed/second.adb: Likewise.
Joel Brobecker [Fri, 6 Oct 2006 17:46:56 +0000 (17:46 +0000)]
* gdb.ada/watch_arg/watch.adb: New file.
* gdb.ada/watch_arg.exp: New testcase.
Joel Brobecker [Fri, 6 Oct 2006 02:01:34 +0000 (02:01 +0000)]
* blockframe.c (block_innermost_frame): Rewrite frame search logic.
gdbadmin [Fri, 6 Oct 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 5 Oct 2006 23:59:26 +0000 (23:59 +0000)]
daily update
Daniel Jacobowitz [Thu, 5 Oct 2006 19:42:31 +0000 (19:42 +0000)]
* Makefile.in (gdb_expat_h): New.
(xml_support_h): Add gdb_expat.h dependency.
(memory-map.o, xml-support.o): Likewise.
* gdb_expat.h: New file.
* xml-support.h: Include it.
* memory-map.c, xml-support.c: Likewise. Remove XML_STATUS_OK
definitions.
Daniel Jacobowitz [Thu, 5 Oct 2006 19:20:52 +0000 (19:20 +0000)]
* remote.c (get_remote_state_raw): Renamed from get_remote_state.
(get_remote_state): New function.
(init_remote_state, _initialize_remote): Use get_remote_state_raw.
Bob Wilson [Thu, 5 Oct 2006 01:06:13 +0000 (01:06 +0000)]
* emulparams/xtensa-config.sh: Delete file.
* emulparams/elf32xtensa.sh: Set MAXPAGESIZE here instead of including
xtensa-config.sh.
* Makefile.am (eelf32xtensa.c): Remove dependency on xtensa-config.sh.
* Makefile.in: Regenerate.
Fred Fish [Thu, 5 Oct 2006 01:04:23 +0000 (01:04 +0000)]
Reviewed and approved by Daniel Jacobowitz <drow@false.org>
2006-10-04 Fred Fish <fnf@specifix.com>
* vec.c: Include defs.h first. This pulls in config.h which can
affect other includes.
gdbadmin [Thu, 5 Oct 2006 00:00:39 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 4 Oct 2006 23:59:24 +0000 (23:59 +0000)]
daily update
Joel Brobecker [Wed, 4 Oct 2006 21:36:39 +0000 (21:36 +0000)]
* somread.c (som_symtab_read): Avoid using alloca for potentially
large buffers.
Daniel Jacobowitz [Wed, 4 Oct 2006 20:14:44 +0000 (20:14 +0000)]
* arch-utils.h (gdbarch_info_fill): Remove duplicate prototype.
H.J. Lu [Wed, 4 Oct 2006 11:50:43 +0000 (11:50 +0000)]
2006-10-04 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (debug_apply_rela_addends): Don't ignore relocation
against symbols without type.
gdbadmin [Wed, 4 Oct 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 3 Oct 2006 23:59:25 +0000 (23:59 +0000)]
daily update
Daniel Jacobowitz [Tue, 3 Oct 2006 15:54:01 +0000 (15:54 +0000)]
* memory-map.c (XML_STATUS_OK, XML_STATUS_ERROR): Provide default
definitions.
* xml-support.c (XML_STATUS_OK, XML_STATUS_ERROR): Likewise.
Jakub Jelinek [Tue, 3 Oct 2006 13:15:39 +0000 (13:15 +0000)]
* elf-bfd.h (struct eh_cie_fde): Add set_loc pointer.
* elf-eh-frame.c (skip_cfa_op): Fix handling of DW_CFA_advance_loc.
Handle DW_CFA_{remember,restore}_state, DW_CFA_GNU_window_save,
DW_CFA_val_{offset{,_sf},expression}.
(skip_non_nops): Record number of DW_CFA_set_loc ops.
(_bfd_elf_discard_section_eh_frame): Require skip_non_nops recognizes
all ops. If there are any DW_CFA_set_loc ops and they are pcrel
or going to be pcrel, compute set_loc array.
(_bfd_elf_eh_frame_section_offset): If make_relative, kill relocations
against DW_CFA_set_loc operands.
(_bfd_elf_write_section_eh_frame): Handle DW_CFA_set_loc adjusting.
* ld-elf/eh4.d: New test.
* ld-elf/eh4.s: New file.
* ld-elf/eh4a.s: New file.
Nick Clifton [Tue, 3 Oct 2006 10:06:26 +0000 (10:06 +0000)]
* pe-dll.c : Fix typo.
(autofilter_symbolprefixlist) : Remove __imp_.
(is_import) : New.
(auto-export) : Remove re-import check. Moved to callers.
(process_def_file) : Check is symbol is an import. Always underscore __imp_.
Only skip underscore on underscored targets.
(make_one) : Always underscore __imp_.
(pe_create_runtime_relocator_reference) : Only underscore _pei386_runtime_relocator on underscored targets.
(pe_process_import_defs) : Always underscore __imp_.
* pe.em (U) : New macro.
(set_pe_subsystem) : Remove underscore from _WinMainCRTStartup on wince subsystem case.
(pe_find_data_imports) : Use U on "_head_".
(gld_${EMULATION_NAME}_unrecognized_file) : Use U.
Alan Modra [Tue, 3 Oct 2006 00:24:33 +0000 (00:24 +0000)]
daily update
gdbadmin [Tue, 3 Oct 2006 00:00:38 +0000 (00:00 +0000)]
*** empty log message ***
Kazu Hirata [Mon, 2 Oct 2006 22:52:19 +0000 (22:52 +0000)]
* elflink.c (_bfd_elf_merge_symbol): Discard references to TLS
symbols from the --just-syms file.
Tom Tromey [Mon, 2 Oct 2006 18:03:18 +0000 (18:03 +0000)]
* tls.m4 (GCC_CHECK_TLS): Pass empty argument as "help arg" to
GCC_ENABLE.
Nick Clifton [Mon, 2 Oct 2006 17:10:56 +0000 (17:10 +0000)]
* ld-arm/use-thumb-lib.sym: Robustify, by ignoring symbols we're
not interested in and bucket number.
Nick Clifton [Mon, 2 Oct 2006 16:53:04 +0000 (16:53 +0000)]
* ld-fastcall/fastcall.exp: Add x86_64-pc-mingw64 as valid target.
* ld-pe/pe.exp: Likewise.
* lib/ld-lib.exp ( is_pecoff_format): Accept x86_64-pc-mingw64.
Vladimir Prus [Mon, 2 Oct 2006 16:38:26 +0000 (16:38 +0000)]
* gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
via string_to_regexp.
* gdb.mi/mi2-basics.exp: Likewise.