Hans-Peter Nilsson [Fri, 28 Jan 2005 03:27:02 +0000 (03:27 +0000)]
* callback.h: Include "bfd.h".
(struct host_callback_struct): New member target_endian.
(cb_store_target_endian): Declare.
Hans-Peter Nilsson [Fri, 28 Jan 2005 01:50:18 +0000 (01:50 +0000)]
* cris.cpu (mstep): Add missing insn.
gdbadmin [Fri, 28 Jan 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 27 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Thu, 27 Jan 2005 21:48:27 +0000 (21:48 +0000)]
2005-01-27 Andrew Cagney <cagney@gnu.org>
* value.h (struct value): Change type of contents to bfd_byte.
(VALUE_CONTENTS_RAW): Simplify.
Christian Groessler [Thu, 27 Jan 2005 21:32:21 +0000 (21:32 +0000)]
forgot to include the change for "Make relative branches out of range
an error instead of a warning" from last commit
Christian Groessler [Thu, 27 Jan 2005 21:08:14 +0000 (21:08 +0000)]
* config/tc-z8k.c (INSERT): Remove, not used anywhere.
(md_apply_fix3): Make relative branches out of range an error
instead of a warning. Display correct line number for out of
range branches/calls/memory accesses.
Andrew Cagney [Thu, 27 Jan 2005 21:00:59 +0000 (21:00 +0000)]
2005-01-27 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (integer_to_address): Change buf parameter to a const
bfd_byte, make pure-multi-arch.
* gdbarch.h, gdbarch.c: Regenerate.
* mips-tdep.c (mips_integer_to_address): Update.
* value.c (value_as_address): Update.
Andrew Cagney [Thu, 27 Jan 2005 20:34:51 +0000 (20:34 +0000)]
2005-01-27 Andrew Cagney <cagney@gnu.org>
* cli/cli-dump.h (fopen_with_cleanup): Make "filename" const.
* cli/cli-dump.c (dump_binary_file, dump_bfd_file): Make string
parameters const, change buf to a const bfd_byte.
(fopen_with_cleanup, bfd_openw_with_cleanup): Make all string
parameters const.
Andrew Cagney [Thu, 27 Jan 2005 20:09:10 +0000 (20:09 +0000)]
2005-01-27 Andrew Cagney <cagney@gnu.org>
* symfile-mem.c (do_target_read_memory): New function.
(symbol_file_add_from_memory): Pass do_target_read_memory to
bfd_elf_bfd_from_remote_memory.
* corefile.c (write_memory): Update, make a copy of the read-only
buffer.
* target.c (target_read_memory): Update.
(target_write_memory): Update, make a copy of the read-only
buffer.
* gdbcore.h (write_memory): Change buffer type to bfd_byte, make
const.
* target.h (target_read_memory, target_write_memory): Change
buffer type to bfd_byte; for write_memory, make it const.
Andrew Cagney [Thu, 27 Jan 2005 16:45:09 +0000 (16:45 +0000)]
2005-01-27 Andrew Cagney <cagney@gnu.org>
* value.h: Indent using gdb_indent.sh.
Nathan Sidwell [Thu, 27 Jan 2005 16:33:47 +0000 (16:33 +0000)]
* dwarf2dbg.c (dwarf2_finish): Correct logic for determining when
to emit .debug_line and other debug sections.
* as.h (seg_not_empty_p): Declare.
* subsegs.c (seg_not_empty_p): New predicate.
Andrew Cagney [Thu, 27 Jan 2005 15:24:10 +0000 (15:24 +0000)]
2005-01-27 Andrew Cagney <cagney@gnu.org>
* gettext.m4: Don't use NONE as a default for CATOBJEXT.
Andrew Cagney [Thu, 27 Jan 2005 14:48:23 +0000 (14:48 +0000)]
2005-01-27 Andrew Cagney <cagney@gnu.org>
* gettext.m4: Don't use NONE as a default for CATOBJEXT.
Jan Beulich [Thu, 27 Jan 2005 09:12:51 +0000 (09:12 +0000)]
gas/
2005-01-27 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (emit_one_bundle): Change "?imbf??" to "?ibmfxx".
gas/testsuite/
2005-01-27 Jan Beulich <jbeulich@novell.com>
* gas/ia64/nop_x.[ds]: New.
* gas/ia64/ia64.exp: Run new test.
Jan Beulich [Thu, 27 Jan 2005 08:41:25 +0000 (08:41 +0000)]
gas/
2005-01-25 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (emit_one_bundle): Add late resolution of move
to/from application registers dynamic insns.
(md_assemble): Defer resolution of move to/from application registers
dynamic insns when they can be issued on either the I- or M-units.
gas/testsuite/
2005-01-25 Jan Beulich <jbeulich@novell.com>
* gas/ia64/dv-waw-err.l: Don't expect ar112 move warning to refer to
M-unit.
* gas/ia64/mov-ar.[ds]: New.
* gas/ia64/ia64.exp: Run new test.
gdbadmin [Thu, 27 Jan 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 26 Jan 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Wed, 26 Jan 2005 21:53:06 +0000 (21:53 +0000)]
2005-01-26 Andrew Cagney <cagney@gnu.org>
* rs6000-tdep.c: Include "reggroups.h".
(rs6000_gdbarch_init): Set register_reggroup_p.
(rs6000_register_reggroup_p): New function.
Orjan Friberg [Wed, 26 Jan 2005 12:32:39 +0000 (12:32 +0000)]
2005-01-26 Orjan Friberg <orjanf@axis.com>
* cris-tdep.c (enum cris_num_regs, enum cris_regnums)
(cris_sigtramp_frame_unwind_cache, cris_register_size): Update for
CRISv32.
(crisv32_single_step_through_delay, cris_can_use_hardware_watchpoint)
(cris_region_ok_for_watchpoint, cris_stopped_data_address)
(crisv32_cannot_fetch_register, crisv32_cannot_store_register)
(crisv32_register_type, cris_special_register_name)
(crisv32_register_name): New functions.
(cris_spec_reg_applicable): Recognize more versions.
(cris_register_name): Update with call to cris_special_register_name.
(find_cris_op): Filter out CRISv32 instructions. Tweaked comment and
warning when unable to find step target.
(CRISV10_ELF_NGREG, CRISV32_ELF_NGREG, crisv32_elf_gregset_t): Define.
(supply_gregset): Add struct gdbarch_tdep. Set pseudo-PC register for
CRISv32.
(fetch_core_registers): Update for CRISv32.
(cris_gdbarch_init): Set pc_regnum, register_type, num_regs,
register_name, cannot_store_register, cannot_fetch_register,
have_nonsteppable_watchpoint, single_step_through_delay for CRISv32.
Nick Roberts [Wed, 26 Jan 2005 09:56:18 +0000 (09:56 +0000)]
(interpreter_exec_cmd): Use condition,
e.reason < 0, to raise an error.
Nick Roberts [Wed, 26 Jan 2005 09:55:23 +0000 (09:55 +0000)]
*** empty log message ***
Mark Mitchell [Wed, 26 Jan 2005 06:10:45 +0000 (06:10 +0000)]
* elf32-arm.c (elf_backend_default_use_rela_p): Define to zero for
SymbianOS.
* emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS): Define, so
as to include .ARM.exidx$${Base,Limit}.
* ld/scripttempl/armbpabi.sc: Move .plt to end of text segment.
Define IMAGE$$ER_RO$${Base,Limit} and SHT$$INIT_ARRAY$${Base,Limit}.
Put .init_array, .fini_array, etc. into the read-only data
segment.
gdbadmin [Wed, 26 Jan 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 25 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Tue, 25 Jan 2005 22:43:45 +0000 (22:43 +0000)]
2005-01-25 Andrew Cagney <cagney@gnu.org>
* ppc-linux-tdep.c: Include "tramp-frame.h"
(struct ppc_linux_sigtramp_cache)
(ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register)
(ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer)
(ppc_linux_sigtramp_cache): Delete.
(ppc32_linux_sigaction_cache_init)
(ppc64_linux_sigaction_cache_init)
(ppc32_linux_sighandler_cache_init)
(ppc64_linux_sighandler_cache_init)
(ppc32_linux_sigaction_tramp_frame)
(ppc64_linux_sigaction_tramp_frame)
(ppc32_linux_sighandler_tramp_frame)
(ppc64_linux_sighandler_tramp_frame)
(ppc_linux_sigtramp_cache, ppc_linux_init_abi): Implement 32 and
64-bit, sigaction and siginfo tramp-frame unwinders.
Andrew Cagney [Tue, 25 Jan 2005 22:06:59 +0000 (22:06 +0000)]
2005-01-25 Andrew Cagney <cagney@gnu.org>
* ppc-linux-tdep.c (ppc_linux_init_abi): Always set
long_double_bit to 8.
Alexandre Oliva [Tue, 25 Jan 2005 20:22:41 +0000 (20:22 +0000)]
bfd/ChangeLog:
2004-12-10 Alexandre Oliva <aoliva@redhat.com>
* elf32-frv.c (elf32_frv_relocate_section): Force local binding
for TLSMOFF.
* reloc.c: Add R_FRV_TLSMOFF.
* elf32-frv.c (elf32_frv_howto_table): Likewise.
(frv_reloc_map, frv_reloc_type_lookup): Map it.
(elf32_frv_relocate_section): Handle it.
(elf32_frv_check_relocs): Likewise.
* libbfd.h, bfd-in2.h: Rebuilt.
2004-11-26 Alexandre Oliva <aoliva@redhat.com>
* elf32-frv.c (_frvfdpic_emit_got_relocs_plt_entries): Don't crash
when given an undefweak TLS symbol. Fix constant TLS PLT entries
such that they return the constant in gr9.
(_frvfdpic_relax_tls_entries): Don't crash for undefweak TLS
symbols.
(_frvfdpic_size_got_plt): Set _cooked_size of dynamic sections.
too, such that they shrink on relaxation.
(elf32_frvfdpic_finish_dynamic_sections): Check __ROFIXUP_END__ as
marking the position right past the _GLOBAL_OFFSET_TABLE_ value.
(_frvfdpic_assign_plt_entries): Shrink constant TLS PLT entries
if we can guarantee the use of 16-bit constants.
2004-11-10 Alexandre Oliva <aoliva@redhat.com>
Introduce TLS support for FR-V FDPIC.
* reloc.c: Add TLS relocations.
* elf32-frv.c (elf32_frv_howto_table): Add TLS relocations.
(elf32_frv_rel_tlsdesc_value_howto): New.
(elf32_frv_rel_tlsoff_howto): New.
(frv_reloc_map): Add new mappings.
(struct frvfdpic_elf_link_hash_table): Add pointer to summary
reloc information.
(frvfdpic_dynamic_got_plt_info): New.
(frvfdpic_plt_tls_ret_offset): New.
(ELF_DYNAMIC_INTERPRETER, DEFAULT_STACK_SIZE): Move earlier.
(struct _frvfdpic_dynamic_got_info): Likewise. Add TLS members.
(struct _frvfdpic_dynamic_got_plt_info): Likewise.
(FRVFDPIC_SYM_LOCAL): Regard symbols defined in the absolute
section as local.
(struct frvfdpic_relocs_info): Add TLS fields.
(frvfdpic_relocs_info_hash): Warning clean up.
(frvfdpic_relocs_info_find): Initialize tlsplt_entry.
(frvfdpic_pic_merge_early_relocs_info): Merge TLS fields.
(FRVFDPIC_TLS_BIAS): Define.
(tls_biased_base): New.
(_frvfdpic_emit_got_relocs_plt_entries): Deal with TLS
relocations.
(frv_reloc_type_lookup): Likewise.
(frvfdpic_info_to_howto_rel): Likewise.
(elf32_frv_relocate_section): Likewise.
(_frv_create_got_section): Create the PLT section here.
(elf32_frvfdpic_create_dynamic_sections): Not here.
(_frvfdpic_count_nontls_entries): Move out of...
(_frvfdpic_count_got_plt_entries): ... here.
(_frvfdpic_count_tls_entries): Likewise. Add TLS support.
(_frvfdpic_count_relocs_fixups): Likewise. Add relaxation
support.
(_frvfdpic_relax_tls_entries): New.
(_frvfdpic_compute_got_alloc_data): Add TLS support.
(_frvfdpic_get_tlsdesc_entry): New.
(_frvfdpic_assign_got_entries): Add TLS support.
(_frvfdpic_assign_plt_entries): Likewise.
(_frvfdpic_reset_got_plt_entries): New.
(_frvfdpic_size_got_plt): Move out of...
(elf32_frvfdpic_size_dynamic_sections): ... here.
(_frvfdpic_relax_got_plt_entries): New.
(elf32_frvfdpic_relax_section): New.
(elf32_frvfdpic_finish_dynamic_sections): Add TLS sanity check.
(elf32_frv_check_relocs): Add TLS support.
(bfd_elf32_bfd_relax_section): Define for FDPIC.
* libbfd.h, bfd-in2.h: Rebuilt.
cpu/ChangeLog:
2004-11-10 Alexandre Oliva <aoliva@redhat.com>
* frv.cpu: Add support for TLS annotations in loads and calll.
* frv.opc (parse_symbolic_address): New.
(parse_ldd_annotation): New.
(parse_call_annotation): New.
(parse_ld_annotation): New.
(parse_ulo16, parse_uslo16): Use parse_symbolic_address.
Introduce TLS relocations.
(parse_d12, parse_s12, parse_u12): Likewise.
(parse_uhi16): Likewise. Fix constant checking on 64-bit host.
(parse_call_label, print_at): New.
gas/ChangeLog:
* config/tc-frv.c (md_apply_fix3): Mark TLS symbols as such.
2004-12-10 Alexandre Oliva <aoliva@redhat.com>
* config/tc-frv.c (frv_pic_ptr): Add tlsmoff support.
2004-11-10 Alexandre Oliva <aoliva@redhat.com>
* cgen.c (gas_cgen_parse_operand): Handle
CGEN_PARSE_OPERAND_SYMBOLIC.
* config/tc-frv.c (md_cgen_lookup_reloc): Handle TLS relocations.
(frv_force_relocation): Likewise. Fix handling of PIC
relocations.
(md_apply_fix3): Likewise.
include/elf/ChangeLog:
2004-12-10 Alexandre Oliva <aoliva@redhat.com>
* frv.h: Add R_FRV_TLSMOFF.
2004-11-10 Alexandre Oliva <aoliva@redhat.com>
* frv.h: Add TLS relocations.
include/opcode/ChangeLog:
2004-11-10 Alexandre Oliva <aoliva@redhat.com>
* cgen.h (enum cgen_parse_operand_type): Add
CGEN_PARSE_OPERAND_SYMBOLIC.
ld/testsuite/ChangeLog:
* ld-frv/fdpic.exp: Add -mfdpic to ASFLAGS.
* ld-frv/tls.exp: Likewise.
2004-11-26 Alexandre Oliva <aoliva@redhat.com>
* ld-frv/tls-3.s: New.
* ld-frv/tls-static-3.d: New.
* ld-frv/tls-dynamic-3.d: New.
* ld-frv/tls-pie-3.d: New.
* ld-frv/tls-shared-3.d: New.
* ld-frv/tls-relax-static-3.d: New.
* ld-frv/tls-relax-dynamic-3.d: New.
* ld-frv/tls-relax-pie-3.d: New.
* ld-frv/tls-relax-shared-3.d: New.
* ld-frv/tls.exp: Run the new tests.
* ld-frv/tls-dynamic-2.d: Adjust for improved relaxation.
* ld-frv/tls-relax-dynamic-2.d: Likewise.
* ld-frv/tls-relax-initial-shared-2.d: Likewise.
2004-11-10 Alexandre Oliva <aoliva@redhat.com>
* ld-frv/tls-1-dep.s: New.
* ld-frv/tls-1-shared.lds: New.
* ld-frv/tls-1.s: New.
* ld-frv/tls-2.s: New.
* ld-frv/tls-dynamic-1.d: New.
* ld-frv/tls-dynamic-2.d: New.
* ld-frv/tls-initial-shared-2.d: New.
* ld-frv/tls-pie-1.d: New.
* ld-frv/tls-relax-dynamic-1.d: New.
* ld-frv/tls-relax-dynamic-2.d: New.
* ld-frv/tls-relax-initial-shared-2.d: New.
* ld-frv/tls-relax-pie-1.d: New.
* ld-frv/tls-relax-shared-1.d: New.
* ld-frv/tls-relax-shared-2.d: New.
* ld-frv/tls-relax-static-1.d: New.
* ld-frv/tls-shared-1-fail.d: New.
* ld-frv/tls-shared-1.d: New.
* ld-frv/tls-shared-2.d: New.
* ld-frv/tls-static-1.d: New.
* ld-frv/tls.exp: New.
* ld-frv/fdpic-pie-1.d: Adjust for 64-bit host.
* ld-frv/fdpic-pie-2.d: Likewise.
* ld-frv/fdpic-pie-6.d: Likewise.
* ld-frv/fdpic-pie-7.d: Likewise.
* ld-frv/fdpic-pie-8.d: Likewise.
* ld-frv/fdpic-shared-1.d: Likewise.
* ld-frv/fdpic-shared-2.d: Likewise.
* ld-frv/fdpic-shared-3.d: Likewise.
* ld-frv/fdpic-shared-4.d: Likewise.
* ld-frv/fdpic-shared-5.d: Likewise.
* ld-frv/fdpic-shared-6.d: Likewise.
* ld-frv/fdpic-shared-7.d: Likewise.
* ld-frv/fdpic-shared-8.d: Likewise.
* ld-frv/fdpic-shared-local-2.d: Likewise.
* ld-frv/fdpic-shared-local-8.d: Likewise.
* ld-frv/fdpic-static-1.d: Likewise.
* ld-frv/fdpic-static-2.d: Likewise.
* ld-frv/fdpic-static-6.d: Likewise.
* ld-frv/fdpic-static-7.d: Likewise.
* ld-frv/fdpic-static-8.d: Likewise.
opcodes/ChangeLog:
2004-11-10 Alexandre Oliva <aoliva@redhat.com>
* frv-asm.c: Rebuilt.
* frv-desc.c: Rebuilt.
* frv-desc.h: Rebuilt.
* frv-dis.c: Rebuilt.
* frv-ibld.c: Rebuilt.
* frv-opc.c: Rebuilt.
* frv-opc.h: Rebuilt.
Alan Modra [Tue, 25 Jan 2005 10:33:55 +0000 (10:33 +0000)]
bfd/
* elf.c (_bfd_elf_get_dynamic_reloc_upper_bound): Only include
loadable reloc sections.
(_bfd_elf_canonicalize_dynamic_reloc): Likewise.
(_bfd_elf_get_synthetic_symtab): Return 0 if no dynamic syms.
binutils/
* nm.c (display_rel_file): Read dynamic syms before calling
bfd_get_synthetic_symtab.
Alan Modra [Tue, 25 Jan 2005 01:40:04 +0000 (01:40 +0000)]
bfd/
* elflink.c (elf_link_add_object_symbols): Don't create link dynamic
sections immediately when linking shared libs. Instead, wait until
we know a lib is needed.
(_bfd_elf_link_create_dynstrtab): Extract from..
(_bfd_elf_link_create_dynamic_sections_): ..here.
(elf_add_dt_needed_tag): Call _bfd_elf_link_create_dynstrtab and
_bfd_elf_link_create_dynamic_sections. Add abfd param. Allow
for non-existent .dynamic.
(elf_link_output_extsym): Don't complain about undefined symbols
in as-needed dynamic libs that aren't actually linked.
ld/
* emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Formatting.
(gld${EMULATION_NAME}_after_open): Ignore needed libs if they were
only needed by an as-needed lib that didn't get linked.
gdbadmin [Tue, 25 Jan 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 24 Jan 2005 23:00:07 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Mon, 24 Jan 2005 22:00:59 +0000 (22:00 +0000)]
Index: ChangeLog
2005-01-24 Andrew Cagney <cagney@gnu.org>
* infrun.c (handle_inferior_event): Handle back-to-back and nested
signals where the step_resume_breakpoint may have already been
inserted.
Index: testsuite/ChangeLog
2005-01-24 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
Andrew Cagney [Mon, 24 Jan 2005 20:01:09 +0000 (20:01 +0000)]
2005-01-24 Andrew Cagney <cagney@gnu.org>
* gettext.m4: Only fall back to ../intl/ when it's present.
Nick Clifton [Mon, 24 Jan 2005 15:32:19 +0000 (15:32 +0000)]
sleb128.d: Do not assume an 8-bit byte.
quad.d: Likewise. Also allow for ports which order bytes within words in other
than simple big-endian or little-endian fashions.
gdbadmin [Mon, 24 Jan 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 23 Jan 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Joseph Myers [Sun, 23 Jan 2005 21:05:46 +0000 (21:05 +0000)]
* warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Don't do
anything for non-GCC compilers.
Mark Kettenis [Sun, 23 Jan 2005 19:43:23 +0000 (19:43 +0000)]
* NEWS: Mention new BSD user-level threads support.
Mark Kettenis [Sun, 23 Jan 2005 19:35:05 +0000 (19:35 +0000)]
* i386obsd-tdep.c: Update copyright year. Include
"bsd-uthread.h".
(i386obsd_uthread_reg_offset): New variable.
(I386OBSD_UTHREAD_ESP_OFFSET): New define.
(i386obsd_supply_uthread, i386obsd_collect_uthread): New
functions.
(i386obsd_init_abi): Set supply_uthread and collect_uthread.
* Makefile.in (i386obsd-tdep.o): Update dependencies.
* config/i386/obsd.mt (TDEPFILES): Add bsd-uthread.o.
Alan Modra [Sun, 23 Jan 2005 07:43:52 +0000 (07:43 +0000)]
* ld.texinfo (Output Section Keywords <CONSTRUCTORS>): Correct
__DTOR_LIST__ description.
Alan Modra [Sun, 23 Jan 2005 05:36:37 +0000 (05:36 +0000)]
* ld.texinfo (Location Counter <dot outside sections>): Document
effects of orphan section placement, and ". = ." workaround.
* Makefile.in: Regenerate.
Christopher Faylor [Sun, 23 Jan 2005 05:09:46 +0000 (05:09 +0000)]
* win32-nat.c: Update copyright year.
(child_init_thread_list): Set thread linked list point to NULL so that it won't
be reused after clearing.
gdbadmin [Sun, 23 Jan 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 22 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Richard Sandiford [Sat, 22 Jan 2005 18:13:16 +0000 (18:13 +0000)]
* emulparams/elf32bmip.sh (OTHER_GOT_SECTIONS): Add ". = .;".
* emulparams/elf32bmipn32-defs.sh (OTHER_GOT_SECTIONS): Likewise.
Mark Mitchell [Sat, 22 Jan 2005 01:50:35 +0000 (01:50 +0000)]
* emulparams/armelfb_linux_eabi.sh: New file.
gdbadmin [Sat, 22 Jan 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 21 Jan 2005 23:00:11 +0000 (23:00 +0000)]
daily update
Fred Fish [Fri, 21 Jan 2005 19:43:05 +0000 (19:43 +0000)]
2005-01-21 Fred Fish <fnf@specifixinc.com>
* mips-opc.c: Change INSN_ALIAS to INSN2_ALIAS.
Change INSN_WRITE_MDMX_ACC to INSN2_WRITE_MDMX_ACC.
Change INSN_READ_MDMX_ACC to INSN2_READ_MDMX_ACC.
* mips-dis.c: Ditto.
Fred Fish [Fri, 21 Jan 2005 19:42:08 +0000 (19:42 +0000)]
2005-01-21 Fred Fish <fnf@specifixinc.com>
* mips.h: Change INSN_ALIAS to INSN2_ALIAS.
Change INSN_WRITE_MDMX_ACC to INSN2_WRITE_MDMX_ACC.
Change INSN_READ_MDMX_ACC to INSN2_READ_MDMX_ACC.
Mark Kettenis [Fri, 21 Jan 2005 13:49:22 +0000 (13:49 +0000)]
* acconfig.h (HAVE_STRUCT_REG_R_FS, HAVE_STRUCT_R_GS): Remove
undefs.
* configure.ac: Use AC_CHECK_MEMBERS to check whether `struct
thread' has a td_pcb member and whether `struct reg' has r_fs and
r_gs members.
* configure, config.in: Regenerate.
Mark Kettenis [Fri, 21 Jan 2005 13:18:21 +0000 (13:18 +0000)]
* configure.ac: Remove ia64-*-aix* junk.
* configure: Regenerate.
Mark Kettenis [Fri, 21 Jan 2005 13:14:02 +0000 (13:14 +0000)]
* configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLS
and BFD_NEED_DECLARATION. Don't check if a declaration of strdup
is necessary.
* configure, config.in: Regenerate.
* utils.c: Adjust for usage of AC_CHECK_DECLS instead of
BFD_NEED_DECLARATION. Never provide a prototype for
caninicalize_file_name.
* gdb_string.h: Adjust for usage of AC_CHECK_DECLS instead of
BFD_NEED_DECLARATION.
Jakub Jelinek [Fri, 21 Jan 2005 12:04:25 +0000 (12:04 +0000)]
* ldgram.y (AS_NEEDED): New token.
(input_list): Handle AS_NEEDED ( input_list ).
* ldlex.l (AS_NEEDED): Add.
* ld.texinfo: Document AS_NEEDED ().
* NEWS: Mention AS_NEEDED ().
Mark Kettenis [Fri, 21 Jan 2005 11:53:23 +0000 (11:53 +0000)]
* configure.ac (targ_archs): Use standard autoconf check for
"struct stat.st_blocks" instead of rolling our own.
* configure: Regenerated.
* acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): Remove undef.
* config.in: Regenerated.
Mark Kettenis [Fri, 21 Jan 2005 11:50:26 +0000 (11:50 +0000)]
Remove stray newline.
Ben Elliston [Fri, 21 Jan 2005 05:54:38 +0000 (05:54 +0000)]
* as.h: Remove #if 0'd code.
* atof-generic.c (atof_generic): Likewise.
* ecoff.c (ecoff_directive_frame): Likewise.
* frags.h (FRAG_APPEND_1_CHAR): Likewise.
* itbl-ops.c (itbl_add_reg): Likewise.
* listing.c (calc_hex): Likewise.
* read.c (MASK_CHAR): Likewise.
* subsegs.c (subsegs_print_statistics): Likewise.
* symbols.c (indent): Likewise.
* write.c (write_relocs): Likewise.
(write_object_file): Likewise.
(relax_frag): Likewise.
Ben Elliston [Fri, 21 Jan 2005 05:40:24 +0000 (05:40 +0000)]
* dlltool.c (dump_iat): Remove unused function.
(gen_exp_file): Remove #if 0'd code.
(make_one_lib_file): Likewise.
* srconv.c: Remove #if 0'd code throughout.
* size.c (lprint_number): Remove.
(print_berkeley_format): Remove #if 0'd code.
* ar.c (do_quick_append): Remove declaration and definiton.
(main): Remove #if 0'd code.
* filemode.c (filemodestring): Remove #if 0'd function.
* sysdump.c (unit_info_list): Remove function.
(object_body_list): Likewise.
(program_structure): Likewise.
(debug_list): Likewise.
(module): Remove #if 0'd code.
Ben Elliston [Fri, 21 Jan 2005 04:15:59 +0000 (04:15 +0000)]
* ldlang.c (lang_reasonable_defaults): Remove.
(lang_process): Don't call lang_reasonable_defaults.
* ldexp.c (exp_assop): Remove #if 0'd code.
(exp_print_tree): Likewise.
* ldlang.c (lang_memory_region_lookup): Likewise.
(open_output): Likewise.
(lang_do_assignments_1): Likewise.
(lang_place_orphans): Likewise.
(lang_enter_output_section_statement): Likewise.
(lang_reasonable_defaults): Likewise.
* ldlang.h (struct lang_input_statement_struct): Likewise.
* mri.c (mri_draw_tree): Likewise.
(mri_load): Likewise.
* pe-dll.c (generate_reloc): Likewise.
(make_import_fixup_entry): Likewise.
(pe_as16): Likewise.
* emultempl/beos.em (set_pe_subsystem): Likewise.
* emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
* emultempl/pe.em: Likewise.
* emultempl/xtensaelf.em (xtensa_colocate_literals): Likewise.
Ben Elliston [Fri, 21 Jan 2005 03:27:53 +0000 (03:27 +0000)]
* aout-encap.c: Remove unused file.
Mark Mitchell [Fri, 21 Jan 2005 03:14:37 +0000 (03:14 +0000)]
* BRANCHES: Add binutils-2_15-branch.
gdbadmin [Fri, 21 Jan 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Thu, 20 Jan 2005 23:57:27 +0000 (23:57 +0000)]
* configure.ac: Modernize checks for `long long' and `long double'
support.
* configure: Regenerated.
* acconfig.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG)
(PRINT_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE): Remove undefs.
* config.in: Regenerated.
Ben Elliston [Thu, 20 Jan 2005 23:37:57 +0000 (23:37 +0000)]
* gmon.h, alpha.c, vax.c: Remove #if 0'd chunks.
Alan Modra [Thu, 20 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Thu, 20 Jan 2005 22:36:06 +0000 (22:36 +0000)]
* acconfig.h (HAVE_STRUCT_SAVE_STATE_T)
(HAVE_STRUCT_MEMBER_SS_WIDE): Remove undefs.
* configure.ac: Remove checks for HP-UX save_state structure.
* configure: Regenerated.
Mark Mitchell [Thu, 20 Jan 2005 21:59:05 +0000 (21:59 +0000)]
* MAINTAINERS: Document branch policy.
* BRANCHES: New file.
Mark Mitchell [Thu, 20 Jan 2005 19:37:49 +0000 (19:37 +0000)]
* Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o.
(earmelfb_linux_eabi.c): New target.
* Makefile.in: Regenerated.
* configure.tgt (arm*b-*-linux-gnueabi): New target.
* emulparams/armelfb_linux_eabi.sh: New file.
Nick Clifton [Thu, 20 Jan 2005 15:35:57 +0000 (15:35 +0000)]
(std_longopts): Add an entry for "--a" in order to prevent getopt_long_only()
from considering -a as an abbreviation for --alternate.
(parse_args): Fix the parsing of -a=<file>.
Alan Modra [Thu, 20 Jan 2005 07:47:49 +0000 (07:47 +0000)]
PR ld/676
* emultempl/hppaelf.em (hppaelf_create_output_section_statements):
Handle bfd_elf32_hppa_nbsd_vec.
Alan Modra [Thu, 20 Jan 2005 06:54:48 +0000 (06:54 +0000)]
* ppc-opc.c (powerpc_opcodes): Add optional 'l' arg to tlbiel.
Alan Modra [Thu, 20 Jan 2005 06:46:41 +0000 (06:46 +0000)]
PR gas/684
* read.c (s_incbin): Adjust default count for skip. Check validity
of count and skip rigorously.
gdbadmin [Thu, 20 Jan 2005 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***
Fred Fish [Wed, 19 Jan 2005 23:43:00 +0000 (23:43 +0000)]
Fix misspelling in previous checkin
Fred Fish [Wed, 19 Jan 2005 23:35:26 +0000 (23:35 +0000)]
2005-01-19 Fred Fish <fnf@specifixinc.com>
* NEWS: Make note of the new MIPS disassembly option "no-aliases".
* doc/binutils.texi (objdump): Document the "no-aliases"
disassembly option.
Fred Fish [Wed, 19 Jan 2005 23:33:33 +0000 (23:33 +0000)]
2005-01-19 Fred Fish <fnf@specifixinc.com>
* config/tc-mips.c (dummy_opcode): Add init for new struct member.
Fred Fish [Wed, 19 Jan 2005 23:31:15 +0000 (23:31 +0000)]
2005-01-19 Fred Fish <fnf@specifixinc.com>
* mips-dis.c (no_aliases): New disassembly option flag.
(set_default_mips_dis_options): Init no_aliases to zero.
(parse_mips_dis_option): Handle no-aliases option.
(print_insn_mips): Ignore table entries that are aliases
if no_aliases is set.
(print_insn_mips16): Ditto.
* mips-opc.c (mips_builtin_opcodes): Add initializer column for
new pinfo2 member and add INSN_ALIAS initializers as needed. Also
move WR_MACC and RD_MACC initializers from pinfo to pinfo2.
* mips16-opc.c (mips16_opcodes): Ditto.
Fred Fish [Wed, 19 Jan 2005 23:29:12 +0000 (23:29 +0000)]
2005-01-19 Fred Fish <fnf@specifixinc.com>
* mips.h (struct mips_opcode): Add new pinfo2 member.
(INSN_ALIAS): New define for opcode table entries that are
specific instances of another entry, such as 'move' for an 'or'
with a zero operand.
(INSN_READ_MDMX_ACC): Redefine from 0 to 0x2.
(INSN_WRITE_MDMX_ACC): Redefine from 0 to 0x4.
Alan Modra [Wed, 19 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Wed, 19 Jan 2005 22:54:56 +0000 (22:54 +0000)]
2005-01-19 Andrew Cagney <cagney@gnu.org>
* utils.c (quit): Simplify, call fatal.
* exceptions.c: Include "serial.h"
(print_flush): Mimic flush code found in utils.c:quit.
* Makefile.in: Update dependencies.
Jim Blandy [Wed, 19 Jan 2005 22:04:37 +0000 (22:04 +0000)]
* configure.tgt: Set build_rdi_share to "yes" on those targets
that use that debugging protocol.
Set build_nlm to yes to build NLM stub for Netware targets.
* configure.ac: If build_rdi_share is "yes", then configure the
rdi-share subdirectory.
If build_nlm is "yes", the configure the "nlm" subdirectory.
* configure: Regenerated.
Jim Blandy [Wed, 19 Jan 2005 21:27:50 +0000 (21:27 +0000)]
* rdi-share/configure, rdi-share/aclocal.m4: Regenerated using
autoconf 2.59 and automake 1.9.3.
Andrew Cagney [Wed, 19 Jan 2005 21:15:44 +0000 (21:15 +0000)]
2005-01-19 Andrew Cagney <cagney@gnu.org>
* exceptions.h (deprecated_throw_reason): Rename throw_reason.
* exceptions.c (deprecated_throw_reason): Rename throw_reason.
* utils.c (internal_verror, quit): Update.
* remote-sds.c (interrupt_query): Update.
* remote-mips.c (mips_error, mips_kill): Update.
* remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Update.
* remote.c (interrupt_query): Update.
* ocd.c (interrupt_query): Update.
* nto-procfs.c (interrupt_query): Update.
* monitor.c (monitor_interrupt_query): Update.
* breakpoint.c (break_command_1): Update.
Andrew Cagney [Wed, 19 Jan 2005 18:40:12 +0000 (18:40 +0000)]
2005-01-19 Andrew Cagney <cagney@gnu.org>
* gdb.stabs/Makefile.in (Makefile): Update dependencies -
configure.ac not configure.in.
Andrew Cagney [Wed, 19 Jan 2005 16:57:48 +0000 (16:57 +0000)]
2005-01-19 Andrew Cagney <cagney@gnu.org>
* gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
of powerpc*-*-*.
* gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
* gdb.base/list.exp (test_list_function)
(test_list_filename_and_function): Ditto.
* gdb.base/callfuncs.exp (do_function_calls): Ditto.
H.J. Lu [Wed, 19 Jan 2005 16:15:11 +0000 (16:15 +0000)]
2005-01-19 H.J. Lu <hongjiu.lu@intel.com>
PR 679
* elflink.c (_bfd_elf_dynamic_symbol_p): Only protected
non-function symbols are local.
(_bfd_elf_symbol_refs_local_p): Likewise.
Andrew Cagney [Wed, 19 Jan 2005 16:09:46 +0000 (16:09 +0000)]
2005-01-19 Andrew Cagney <cagney@gnu.org>
* infrun.c: (resume, proceed, wait_for_inferior)
(handle_inferior_event, stop_stepping)
(prepare_to_wait): Write debug output to gdb_stdlog.
Richard Sandiford [Wed, 19 Jan 2005 11:53:53 +0000 (11:53 +0000)]
* read.c (convert_to_bignum): New function, split out from...
(emit_expr): ...here. Handle the case where X_add_number is
positive and the input value is negative.
(output_big_sleb128): Fix setting of continuation bit. Check whether
the final byte needs to be sign-extended. Fix size-shrinking loop.
(emit_leb128_expr): When generating a signed leb128, see whether the
sign of an O_constant's X_add_number matches the sign of the input
value. Use a bignum if not.
Richard Sandiford [Wed, 19 Jan 2005 11:42:49 +0000 (11:42 +0000)]
* ldmain.h (ld_sysroot): Change type to a constant string.
* ldmain.c (ld_sysroot): Likewise.
(get_relative_sysroot, get_sysroot): New functions, adding command-line
support for changing the sysroot.
(main): Call the new functions.
* lexsup.c (OPTION_SYSROOT): New.
(ld_options): Add --sysroot.
(parse_args): Add a dummy handler for it.
* ld.texinfo (--sysroot): Document.
* NEWS: Mention the new --sysroot option.
Mark Kettenis [Wed, 19 Jan 2005 10:04:35 +0000 (10:04 +0000)]
* inf-ptrace.c (inf_ptrace_prepare_to_store)
(inf_ptrace_post_startup_inferior)
(inf_ptrace_acknowledge_created_inferior)
(inf_ptrace_insert_fork_catchpoint)
(inf_ptrace_remove_fork_catchpoint)
(inf_ptrace_insert_vfork_catchpoint):
(inf_ptrace_remove_vfork_catchpoint, inf_ptrace_follow_fork)
(inf_ptrace_insert_exec_catchpoint)
(inf_ptrace_remove_exec_catchpoint): Remove functions.
(inf_ptrace_reported_exec_events_per_exec_call): Tweak comment.
(inf_ptrace_target): Don't set to_prepare_to_store,
to_post_startup_inferior, to_acknowledge_created_inferior,
to_insert_fork_ctachpoint, to_remove_fork_catchpoint,
to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
to_follow_fork, to_insert_exec_catchpoint,
to_remove_exec_catchpoint.
Kelley Cook [Wed, 19 Jan 2005 00:34:56 +0000 (00:34 +0000)]
2005-01-17 Kelley Cook <kcook@gcc.gnu.org>
* install-sh, config.sub: Import from upstream.
Kelley Cook [Wed, 19 Jan 2005 00:33:04 +0000 (00:33 +0000)]
2005-01-13 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/18222
* Makefile.def: Pass CPPFLAGS_FOR_TARGET.
* Makefile.tpl: Define target CPPFLAGS on CPPFLAGS_FOR_TARGET.
* Makefile.in: Regenerate.
gdbadmin [Wed, 19 Jan 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 18 Jan 2005 23:00:07 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Tue, 18 Jan 2005 17:04:28 +0000 (17:04 +0000)]
2005-01-18 Andrew Cagney <cagney@gnu.org>
* target.h (struct target_ops): Change return type of
to_insert_fork_catchpoint, to_insert_vfork_catchpoint and
to_insert_exec_catchpoint to void.
(child_insert_fork_catchpoint, child_insert_vfork_catchpoint)
(child_insert_exec_catchpoint): Change return type to void.
* target.c (update_current_target): Update.
(debug_to_insert_fork_catchpoint)
(debug_to_insert_vfork_catchpoint)
(debug_to_insert_exec_catchpoint): Update.
* inf-child.c (inf_child_insert_fork_catchpoint)
(inf_child_insert_vfork_catchpoint)
(inf_child_insert_exec_catchpoint): Update.
* breakpoint.c (insert_catchpoint): Update, do not throw an error.
* linux-nat.c (child_insert_fork_catchpoint)
(child_insert_vfork_catchpoint)
(child_insert_exec_catchpoint): Update.
* inftarg.c (child_insert_fork_catchpoint)
(child_insert_vfork_catchpoint,)
(child_insert_exec_catchpoint): Update.
Andrew Cagney [Tue, 18 Jan 2005 16:15:39 +0000 (16:15 +0000)]
2005-01-18 Andrew Cagney <cagney@gnu.org>
* remote.c (remote_open_1): Use throw_exception.
Alan Modra [Tue, 18 Jan 2005 08:51:54 +0000 (08:51 +0000)]
bfd/
* bfd.c (bfd_link_just_syms): Add abfd param.
* bfd-in2.h: Regenerate.
ld/
* ldlang.c (section_already_linked): Adjust bfd_link_just_syms call.
(lang_place_orphans): Don't abort on just_syms_flag, instead call
bfd_link_just_syms.
gdbadmin [Tue, 18 Jan 2005 00:00:09 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 17 Jan 2005 23:00:08 +0000 (23:00 +0000)]
daily update