platform/upstream/binutils.git
19 years ago * arm-linux-nat.c (store_register, store_regs): Handle
Daniel Jacobowitz [Tue, 29 Mar 2005 16:58:23 +0000 (16:58 +0000)]
* arm-linux-nat.c (store_register, store_regs): Handle
ARM_PS_REGNUM.

19 years ago * arm-linux-tdep.c (arm_linux_thumb_be_breakpoint)
Daniel Jacobowitz [Tue, 29 Mar 2005 16:57:30 +0000 (16:57 +0000)]
* arm-linux-tdep.c (arm_linux_thumb_be_breakpoint)
(arm_linux_thumb_le_breakpoint): New.  Update comments.
(arm_linux_init_abi): Set Thumb breakpoints also.

19 years ago * Makefile.in (arm-tdep.o): Update dependencies.
Daniel Jacobowitz [Tue, 29 Mar 2005 16:56:40 +0000 (16:56 +0000)]
* Makefile.in (arm-tdep.o): Update dependencies.
* arm-tdep.c: Include "objfiles.h" and "dwarf2-frame.h".
(arm_gdbarch_init): Register dwarf2_frame_sniffer.

19 years agobfd/
Daniel Jacobowitz [Tue, 29 Mar 2005 16:54:22 +0000 (16:54 +0000)]
bfd/
* bfd-in2.h, libbfd.h: Regenerated.
* reloc.c: Add ARM TLS relocations.
* elf32-arm.c (elf32_arm_howto_table): Add dynamic TLS
relocations.
(elf32_arm_tls_gd32_howto, elf32_arm_tls_ldo32_howto)
(elf32_arm_tls_ldm32_howto, elf32_arm_tls_le32_howto)
(elf32_arm_tls_ie32_howto): New.
(elf32_arm_howto_from_type): Support TLS relocations.
(elf32_arm_reloc_map): Likewise.
(elf32_arm_reloc_type_lookup): Likewise.
(TCB_SIZE): Define.
(struct elf32_arm_obj_tdata): New.
(elf32_arm_tdata, elf32_arm_local_got_tls_type): Define.
(elf32_arm_mkobject): New function.
(struct elf32_arm_relocs_copied): Add pc_count.
(elf32_arm_hash_entry, GOT_UNKNOWN, GOT_NORMAL, GOT_TLS_GD)
(GOT_TLS_IE): Define.
(struct elf32_arm_link_hash_table): Add tls_ldm_got.
(elf32_arm_link_hash_newfunc): Initialize tls_type.
(elf32_arm_copy_indirect_symbol): Copy pc_count and tls_type.
(elf32_arm_link_hash_table_create): Initialize tls_ldm_got.
(dtpoff_base, tpoff): New functions.
(elf32_arm_final_link_relocate): Handle TLS relocations.
(IS_ARM_TLS_RELOC): Define.
(elf32_arm_relocate_section): Warn about TLS mismatches.
(elf32_arm_gc_sweep_hook): Handle TLS relocations and pc_count.
(elf32_arm_check_relocs): Detect invalid symbol indexes.  Handle
TLS relocations and pc_count.
(elf32_arm_adjust_dynamic_symbol): Check non_got_ref.
(allocate_dynrelocs): Handle TLS.  Bind REL32 relocs to local
calls.
(elf32_arm_size_dynamic_sections): Handle TLS.
(elf32_arm_finish_dynamic_symbol): Likewise.
(bfd_elf32_mkobject): Define.
gas/
* config/tc-arm.c (arm_parse_reloc): Add TLS relocations.
(md_apply_fix3): Mark TLS symbols.
(tc_gen_reloc): Handle TLS relocations.
(arm_fix_adjustable): Ignore TLS relocations.
(s_arm_elf_cons): Support expressions after decorated symbols.
gas/testuite/
* gas/arm/tls.s, gas/arm/tls.d: New files.
* gas/arm/arm.exp: Run TLS test.
include/elf/
* arm.h: Add TLS relocations.
ld/testsuite/
* ld-arm/tls-lib.s, ld-arm/tls-lib.d, ld-arm/tls-lib.r,
ld-arm/tls-app.s, ld-arm/tls-app.d, ld-arm/tls-app.r: New files.
* ld-arm/arm-lib.ld, ld-arm/arm-dyn.ld: Increase data segment
alignment.
* ld-arm/arm-elf.exp: Run TLS tests.

19 years ago * elf32-arm.c (elf32_arm_check_relocs): Increment count for all
Daniel Jacobowitz [Tue, 29 Mar 2005 16:39:51 +0000 (16:39 +0000)]
* elf32-arm.c (elf32_arm_check_relocs): Increment count for all
relocation types.  Don't count relocations which will use a PLT.

19 years ago * gas/config/tc-arm.c (marked_pr_dependency): New bitmap, bit N
Julian Brown [Tue, 29 Mar 2005 16:29:09 +0000 (16:29 +0000)]
* gas/config/tc-arm.c (marked_pr_dependency): New bitmap, bit N
indicates whether personality routine index N has been output for this
section.
(mapping_state): tc_segment_info_data now struct not enum.
(arm_elf_change_section): Likewise, and marked_pr_dependency is now
handled on section change.
(create_unwind_entry): Previous code to output dependency removed.
(s_arm_unwind_fnend): Output dependency if it hasn't been done already
for this section.
* gas/config/tc-arm.h (TC_SEGMENT_INFO_TYPE): Redefined as struct
arm_segment_info_type.
(arm_segment_info_type): New struct.
* gas/testsuite/gas/arm/unwind.d: Update expected output.

19 years agoAdd VAX specific disassembler option -Mentry: to specify a function entry
Nick Clifton [Tue, 29 Mar 2005 16:13:48 +0000 (16:13 +0000)]
Add VAX specific disassembler option -Mentry: to specify a function entry
address, and add code to test this new option.

19 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_layout_sections_again):
Alan Modra [Tue, 29 Mar 2005 11:07:38 +0000 (11:07 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_layout_sections_again):
New function, extracted from static void gld${EMULATION_NAME}_finish.
(gld${EMULATION_NAME}_strip_empty_sections): Likewise.
(gld${EMULATION_NAME}_provide_init_fini_syms): Likewise.
* emultempl/ppc64elf.em: Revert last change.
(ppc_layout_sections_again): Use
gld${EMULATION_NAME}_layout_sections_again.
(ppc_finish): Don't call gld${EMULATION_NAME}_finish.  Instead call
gld${EMULATION_NAME}_strip_empty_sections and
gld${EMULATION_NAME}_provide_init_fini_syms.
* emultempl/hppaelf.em: Similarly.

19 years ago * elf.c (elfcore_grok_nto_status): Print tid as long.
Joel Brobecker [Tue, 29 Mar 2005 08:51:59 +0000 (08:51 +0000)]
    * elf.c (elfcore_grok_nto_status): Print tid as long.
        (elfcore_grok_nto_regs): Likewise.

19 years ago * irix-core.c: Remove some unnecessary prototypes.
Joel Brobecker [Tue, 29 Mar 2005 08:34:48 +0000 (08:34 +0000)]
    * irix-core.c: Remove some unnecessary prototypes.

19 years ago * emultempl/ppc64elf.em (need_laying_out): Delete. Remove all refs.
Alan Modra [Tue, 29 Mar 2005 06:52:22 +0000 (06:52 +0000)]
* emultempl/ppc64elf.em (need_laying_out): Delete.  Remove all refs.
(ppc_finish): Don't call bfd_elf_discard_info.
* emultempl/hppaelf.em: Similarly.

19 years ago2005-03-29 Anil Paranjpe <anilp1@kpitcummins.com>
Anil Paranjpe [Tue, 29 Mar 2005 06:23:59 +0000 (06:23 +0000)]
2005-03-29  Anil Paranjpe  <anilp1@kpitcummins.com>

       * MAINTAINERS: Add myself as H8300 maintainer.

19 years ago * irix-core.c: Convert to ISO C.
Joel Brobecker [Tue, 29 Mar 2005 04:48:45 +0000 (04:48 +0000)]
    * irix-core.c: Convert to ISO C.

19 years ago * irix-core.c (do_sections): Replace + by | in expression.
Joel Brobecker [Tue, 29 Mar 2005 04:19:34 +0000 (04:19 +0000)]
    * irix-core.c (do_sections): Replace + by | in expression.
        (irix_core_core_file_matches_executable_p): Add ATTRIBUTE_UNUSED
        to unused parameters to avoid a compiler warning.

19 years agolibiberty:
Ian Lance Taylor [Tue, 29 Mar 2005 02:15:24 +0000 (02:15 +0000)]
libiberty:
* pex-common.c: New file.
* pex-one.c: New file.
* pexecute.c: New file.
* pex-common.h: Include <stdio.h>.
(struct pex_obj): Define.
(struct pex_funcs): Define.
(pex_init_common): Declare.
* pex-unix.c: Rewrite.
* pex-win32.c: Rewrite.
* pex-djgpp.c: Rewrite.
* pex-msdos.c: Rewrite.
* testsuite/text-pexecute.c: New file.
* pexecute.txh: Rewrite.
* configure.ac: Check for wait3 and wait4.  Set CHECK to
really-check rather than check-cplus-dem.
* functions.texi: Rebuild.
* Makefile.in: Rebuild dependencies.
(CFILES): Add pexecute.c, pex-common.c, pex-one.c.
(REQUIRED_OFILES): Add pexecute.o, pex-common.o, pex-one.o.
* testsuite/Makefile.in (really-check): New target.
(check-pexecute, test-pexecute): New targets.
* configure: Rebuild.
include:
* libiberty.h: Include <stdio.h>.
(PEX_RECORD_TIMES, PEX_USE_PIPES, PEX_SAVE_TEMPS): Define.
(PEX_LAST, PEX_SEARCH, PEX_SUFFIX, PEX_STDERR_TO_STDOUT): Define.
(PEX_BINARY_INPUT, PEX_BINARY_OUTPUT): Define.
(pex_init, pex_run, pex_read_output): Declare.
(pex_get_status, pex_get_times, pex_free, pex_one): Declare.
(struct pex_time): Define.

19 years ago * libiberty.h (ffs): Declare, if necessary.
Mark Mitchell [Tue, 29 Mar 2005 01:12:11 +0000 (01:12 +0000)]
* libiberty.h (ffs): Declare, if necessary.

19 years ago * config/tc-xtensa.c (do_align_targets): Update comment.
Bob Wilson [Tue, 29 Mar 2005 00:26:00 +0000 (00:26 +0000)]
* config/tc-xtensa.c (do_align_targets): Update comment.
(xtensa_frob_label): Compute "freq" before possibly switching frags.
Insert a LOOP_END frag before every loop target, and do not overload
DESIRE_ALIGN_IF_TARGET frags with loop end information.
(xg_assemble_vliw_tokens): Use do_align_targets.
(xtensa_fix_target_frags): Remove code to convert a
DESIRE_ALIGN_IF_TARGET frag to a LOOP_END frag when there is a
negatable branch at the end of a loop.
(frag_can_negate_branch): Delete.

19 years ago*** empty log message ***
gdbadmin [Tue, 29 Mar 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Tue, 29 Mar 2005 00:00:05 +0000 (00:00 +0000)]
daily update

19 years agogas/
H.J. Lu [Mon, 28 Mar 2005 22:34:20 +0000 (22:34 +0000)]
gas/

2005-03-28  David Mosberger  <davidm@hpl.hp.com>
    H.J. Lu  <hongjiu.lu@intel.com>

PR 803
NEWS: Mention "-mtune=[itanium1|itanium2]".

* config/tc-ia64.c (md): Add tune.
(md_parse_option): Accepted "-mtune=[itanium1|itanium2]".
(md_show_usage): Add "-mtune=[itanium1|itanium2]".
(extra_goodness): Prefer M- and I-unit NOPs for itanium2. F and
B unit NOPs are discouraged for McKinley-derived cores.
(md_begin): Don't hardcode the "extra_goodness()" function in
the comment...
(ia64_init): Set md.tune to itanium2.

* doc/as.texinfo: Add -mtune=[itanium1|itanium2]".
* doc/c-ia64.texi: Likewise.

gas/testsuite/

2005-03-28  H.J. Lu  <hongjiu.lu@intel.com>

PR 803
* gas/ia64/dv-imply.d: Pass -mtune=itanium1 to as.
* gas/ia64/dv-mutex.d : Likewise.
* gas/ia64/dv-safe.d: Likewise.
* gas/ia64/dv-srlz.d.nop: Likewise.
* gas/ia64/ldxmov-1.d: Likewise.
* gas/ia64/opc-b.d: Likewise.
* gas/ia64/opc-f.d: Likewise.
* gas/ia64/opc-i.d: Likewise.
* gas/ia64/opc-m.d: Likewise.
* gas/ia64/operand-or.d: Likewise.
* gas/ia64/pcrel.d: Likewise.
* gas/ia64/pseudo.d: Likewise.
* gas/ia64/tls.d: Likewise.

ld/testsuite/

2005-03-28  H.J. Lu  <hongjiu.lu@intel.com>

PR 803
* ld-ia64/ia64.exp: Pass -mtune=itanium1 to as.

19 years ago * irix5-nat.c (supply_fpregset): Fix bug that caused the FSR
Joel Brobecker [Mon, 28 Mar 2005 22:31:55 +0000 (22:31 +0000)]
    * irix5-nat.c (supply_fpregset): Fix bug that caused the FSR
        register value to be incorrectly written in the regcache.
        (fill_fpregset): Fix bug that caused the FSR register value
        to be incorrectly read from the regcache.

19 years ago * remote-rdi.c (arm_rdi_insert_breakpoint): Don't call
Daniel Jacobowitz [Mon, 28 Mar 2005 19:51:10 +0000 (19:51 +0000)]
* remote-rdi.c (arm_rdi_insert_breakpoint): Don't call
arm_pc_is_thumb_dummy.

19 years agomerge from gcc
DJ Delorie [Mon, 28 Mar 2005 18:02:14 +0000 (18:02 +0000)]
merge from gcc

19 years agomerge from gcc
DJ Delorie [Mon, 28 Mar 2005 17:14:34 +0000 (17:14 +0000)]
merge from gcc

19 years ago* sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Handle
Mark Kettenis [Mon, 28 Mar 2005 15:29:37 +0000 (15:29 +0000)]
* sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Handle
StackGhost.

19 years ago* netbsd-core.c: Convert to ISO C. Fix formatting.
Mark Kettenis [Mon, 28 Mar 2005 14:18:55 +0000 (14:18 +0000)]
* netbsd-core.c: Convert to ISO C.  Fix formatting.

19 years ago* sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow):
Mark Kettenis [Mon, 28 Mar 2005 13:42:49 +0000 (13:42 +0000)]
* sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow):
Handle StackGhost in 64-bit code.
* sparc64-tdep.c (sparc64_frame_prev_register): Handle StackGhost.

19 years ago * objdump.c (disassemble_bytes): Remove cast.
Aaron W. LaFramboise [Mon, 28 Mar 2005 12:28:17 +0000 (12:28 +0000)]
* objdump.c (disassemble_bytes): Remove cast.

19 years agomerge from gcc
DJ Delorie [Mon, 28 Mar 2005 05:07:08 +0000 (05:07 +0000)]
merge from gcc

19 years agomerge from gcc
DJ Delorie [Mon, 28 Mar 2005 02:09:01 +0000 (02:09 +0000)]
merge from gcc

19 years ago*** empty log message ***
gdbadmin [Mon, 28 Mar 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years agoUpdate BFD_VERSION_DATE to 20050327 by hand.
H.J. Lu [Sun, 27 Mar 2005 18:57:08 +0000 (18:57 +0000)]
Update BFD_VERSION_DATE to 20050327 by hand.

19 years ago * config/obj-coff.c (coff_frob_symbol): When crashing because of a
Ian Lance Taylor [Sun, 27 Mar 2005 17:53:20 +0000 (17:53 +0000)]
* config/obj-coff.c (coff_frob_symbol): When crashing because of a
bad C_EFCN symbol, print its name.

19 years agomerge from gcc
DJ Delorie [Sun, 27 Mar 2005 05:28:42 +0000 (05:28 +0000)]
merge from gcc

19 years ago* win32-nat.c (handle_exception): Treat win32 routines which check for valid
Christopher Faylor [Sun, 27 Mar 2005 05:21:12 +0000 (05:21 +0000)]
* win32-nat.c (handle_exception): Treat win32 routines which check for valid
addresses as "special" and don't stop when a SEGV is detected.
(get_child_debug_event): Properly flag exception as unhandled.

19 years ago * gdb.base/bigcore.c (main): Add missing mode argument in open
Andreas Schwab [Sun, 27 Mar 2005 00:18:55 +0000 (00:18 +0000)]
* gdb.base/bigcore.c (main): Add missing mode argument in open
call.

19 years ago*** empty log message ***
gdbadmin [Sun, 27 Mar 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * cp-support.c (cp_class_name_from_physname): Rewrite.
Daniel Jacobowitz [Sat, 26 Mar 2005 21:56:46 +0000 (21:56 +0000)]
* cp-support.c (cp_class_name_from_physname): Rewrite.
(unqualified_name_from_comp): New function, broken out from
method_name_from_physname.  Correct handling for typed names
and templates.
(method_name_from_physname): Use unqualified_name_from_comp.
(cp_func_name, remove_params): Move earlier in the file.  Add
better comments.  Use the component tree to parse the name.
(_initialize_cp_support): Remove stray whitespace.

19 years ago* exec.c (bfdsec_to_vmap): Use strcmp instead of DEPRECATED_STREQ.
Mark Kettenis [Sat, 26 Mar 2005 16:50:45 +0000 (16:50 +0000)]
* exec.c (bfdsec_to_vmap): Use strcmp instead of DEPRECATED_STREQ.

19 years ago* inflow.h: Update copyright year. Remove #ifdef SHORT_PGRP code.
Mark Kettenis [Sat, 26 Mar 2005 16:32:57 +0000 (16:32 +0000)]
* inflow.h: Update copyright year.  Remove #ifdef SHORT_PGRP code.
Callapse HAVE_TERMIO and HAVE_SGTTY.

19 years ago* dwarf2-frame.c (execute_cfa_program): Implement
Mark Kettenis [Sat, 26 Mar 2005 15:20:42 +0000 (15:20 +0000)]
* dwarf2-frame.c (execute_cfa_program): Implement
DW_CFA_GNU_window_save.

19 years ago * config/tc-xtensa.c (use_longcalls): Delete.
Bob Wilson [Sat, 26 Mar 2005 00:21:01 +0000 (00:21 +0000)]
* config/tc-xtensa.c (use_longcalls): Delete.
(xg_symbolic_immeds_fit): Check for direct calls and return TRUE if
the use_longcalls flag is set.  Do this before checking the segment.
(xg_expand_assembly_insn): Rearrange to use new do_expand flag.  Never
expand direct calls at this point.
(xtensa_set_frag_assembly_state): Set use_longcalls flag.
(xtensa_find_unmarked_state_frags): Likewise.
(md_assemble): Do not disable longcalls by setting is_specific_opcode.
(xg_assemble_vliw_tokens): Switch frags when use_longcalls changes.
(convert_frag_immed): Remove unnecessary check of is_specific_opcode.
* config/tc-xtensa.h (xtensa_frag_type): Add use_longcalls flag.

19 years ago*** empty log message ***
gdbadmin [Sat, 26 Mar 2005 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* config/sparc/nbsd64.mh (NAT_FILE): Remove.
Mark Kettenis [Fri, 25 Mar 2005 22:28:53 +0000 (22:28 +0000)]
* config/sparc/nbsd64.mh (NAT_FILE): Remove.

19 years ago* config/i386/obsd64.mt (TDEPFILES): Add obsd-uthread.o.
Mark Kettenis [Fri, 25 Mar 2005 22:25:31 +0000 (22:25 +0000)]
* config/i386/obsd64.mt (TDEPFILES): Add obsd-uthread.o.

19 years ago * arm-tdep.c (target_is_thumb, caller_is_thumb)
Daniel Jacobowitz [Fri, 25 Mar 2005 21:28:05 +0000 (21:28 +0000)]
* arm-tdep.c (target_is_thumb, caller_is_thumb)
(arm_pc_is_thumb_dummy): Remove.
(arm_breakpoint_from_pc): Don't call arm_pc_is_thumb_dummy.

19 years agoFix memset thinkos.
Anthony Green [Fri, 25 Mar 2005 20:40:02 +0000 (20:40 +0000)]
Fix memset thinkos.

19 years ago * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
Daniel Jacobowitz [Fri, 25 Mar 2005 20:38:55 +0000 (20:38 +0000)]
* lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
downloads.
* config/gdbserver.exp (gdb_load): Likewise.

19 years ago * ser-base.c (ser_unix_write): Rename to ...
Mark Mitchell [Fri, 25 Mar 2005 20:06:36 +0000 (20:06 +0000)]
* ser-base.c (ser_unix_write): Rename to ...
(ser_base_write): ... this.
(ser_unix_nop_flush_output): Rename to ...
(ser_base_flush_output): ... this.
(ser_unix_flush_input): Rename to ...
(ser_base_flush_input): ... this.
(ser_unix_nop_send_break): Rename to ...
(ser_base_send_break): ... this.
(ser_unix_nop_drain_output): Rename to ...
(ser_base_drain_output): ... this.
(ser_unix_nop_raw): Rename to ...
(ser_base_raw): ... this.
(ser_unix_nop_get_tty_state): Rename to ...
(ser_base_set_tty_state): ... this.
(ser_unix_nop_noflush_set_tty_state): Rename to ...
(ser_base_noflush_set_tty_state): ... this.
(ser_unix_nop_print_tty_state): Rename to ...
(ser_base_print_tty_state): ... this.
(ser_unix_nop_setbaudrate): Rename to ...
(ser_base_setbaudrate): ... this.
(ser_unix_nop_setstopbits): Rename to ...
(ser_base_setstopbits): ... this.
(ser_unix_async): Rename to ...
(ser_base_async): ... this.
* ser-base.h (ser_unix_write): Rename to ...
(ser_base_write): ... this.
(ser_unix_nop_flush_output): Rename to ...
(ser_base_flush_output): ... this.
(ser_unix_flush_input): Rename to ...
(ser_base_flush_input): ... this.
(ser_unix_nop_send_break): Rename to ...
(ser_base_send_break): ... this.
(ser_unix_nop_drain_output): Rename to ...
(ser_base_drain_output): ... this.
(ser_unix_nop_raw): Rename to ...
(ser_base_raw): ... this.
(ser_unix_nop_get_tty_state): Rename to ...
(ser_base_set_tty_state): ... this.
(ser_unix_nop_noflush_set_tty_state): Rename to ...
(ser_base_noflush_set_tty_state): ... this.
(ser_unix_nop_print_tty_state): Rename to ...
(ser_base_print_tty_state): ... this.
(ser_unix_nop_setbaudrate): Rename to ...
(ser_base_setbaudrate): ... this.
(ser_unix_nop_setstopbits): Rename to ...
(ser_base_setstopbits): ... this.
(ser_unix_async): Rename to ...
(ser_base_async): ... this.
* ser-pipe.c (_initialize_ser_pipe): Update accordingly.
* ser-tcp.c (_initialize_ser_tcp): Likewise.
* ser-unix.c (hardwire_flush_input): Likewise.
(_initializer_ser_hardwire): Likewise.

19 years ago * Makefile.in (SFILES): Add ser-base.c.
Mark Mitchell [Fri, 25 Mar 2005 19:47:23 +0000 (19:47 +0000)]
* Makefile.in (SFILES): Add ser-base.c.
(ser_base_h): New variable.
(ser-base.o): New target.
(ser-pipe.o): Depend on $(ser_base_h).
(ser-tcp.o): Likewise.
(ser-unix.o): Likewise.  Do not depend on $(event_loop_h).
* configure.ac (SER_HARDWIRE): Include ser-base.o where
appropriate.
* ser-base.c: New file.
(push_event): Move from ser-unix.c.
(fd_event): Likewise.
(reschedule): Likewise.
(ser_unix_write): Likewise.
(ser_unix_nop_flush_output): Likewise.
(ser_unix_flush_input): Likewise.
(ser_unix_nop_send_break): Likewise.
(ser_unix_nop_drain_output): Likewise.
(ser_unix_nop_raw): Likewise.
(ser_unix_nop_get_tty_state): Likewise.
(ser_unix_nop_set_tty_state): Likewise.
(ser_unix_nop_noflush_set_tty_state): Likewise.
(ser_unix_nop_print_tty_state): Likewise.
(ser_unix_nop_setbaudrate): Likewise.
(ser_unix_nop_setstopbits): Likewise.
(ser_unix_async): Likewise.
* ser-base.h: New file.
* ser-pipe.c (ser-base.h): Include it.
* ser-tcp.c (ser-base.h): Likewise.
* ser-unix.h (ser_unix_nop_flush_output): Remove.
(ser_unix_flush_input): Likewise.
(ser_unix_nop_send_break): Likewise.
(ser_unix_nop_raw): Likewise.
(ser_unix_nop_get_tty_state): Likewise.
(ser_unix_nop_set_tty_state): Likewise.
(ser_unix_nop_print_tty_state): Likewise.
(ser_unix_nop_noflush_set_tty_state): Likewise.
(ser_unix_nop_setbaudrate): Likewise.
(ser_unix_nop_setstopbits): Likewise.
(ser_unix_nop_drain_output): Likewise.
(ser_unix_wait_for): Likewise.
(ser_unix_write): Likewise.
(ser_unix_async): Likewise.
* ser-unix.c (event-loop.h): Do not include it.
(push_event): Move to ser-base.c.
(fd_event): Likewise.
(reschedule): Likewise.
(ser_unix_write): Likewise.
(ser_unix_nop_flush_output): Likewise.
(ser_unix_flush_input): Likewise.
(ser_unix_nop_send_break): Likewise.
(ser_unix_nop_drain_output): Likewise.
(ser_unix_nop_raw): Likewise.
(ser_unix_nop_get_tty_state): Likewise.
(ser_unix_nop_set_tty_state): Likewise.
(ser_unix_nop_noflush_set_tty_state): Likewise.
(ser_unix_nop_print_tty_state): Likewise.
(ser_unix_nop_setbaudrate): Likewise.
(ser_unix_nop_setstopbits): Likewise.
(ser_unix_async): Likewise.
(ser_unix_wait_for): Make it static.
* configure: Regenerated.

19 years ago* dwarf2-frame.h: Update copyrigh year.
Mark Kettenis [Fri, 25 Mar 2005 16:51:40 +0000 (16:51 +0000)]
* dwarf2-frame.h: Update copyrigh year.
(enum dwarf2_frame_reg_rule): Add DWARF2_FRAME_REG_RA_OFFSET.
* dwarf2-frame.c: Update copyright year.
(struct dwarf2_frame_cache): Add member `retaddr_reg'.
(dwarf2_frame_cache): Deal with DWARF2_FRAME_REG_RA_OFFSET.
(dwarf2_frame_prev_register): Handle DWARF2_FRAME_REG_RA_OFFSET.

19 years agoUpdate mail address.
Thiemo Seufer [Fri, 25 Mar 2005 16:20:01 +0000 (16:20 +0000)]
Update mail address.

19 years ago * BRANCHES: Add binutils-csl-arm-2005q1-branch and
Daniel Jacobowitz [Fri, 25 Mar 2005 15:42:29 +0000 (15:42 +0000)]
* BRANCHES: Add binutils-csl-arm-2005q1-branch and
binutils-2_16-branch.

19 years ago* MAINTAINERS: Add myself as M88k maintainer.
Mark Kettenis [Fri, 25 Mar 2005 15:23:18 +0000 (15:23 +0000)]
* MAINTAINERS: Add myself as M88k maintainer.

19 years ago * config/tc-mmix.c, config/tc-mmix.h: Convert to ISO C90.
Hans-Peter Nilsson [Fri, 25 Mar 2005 11:50:53 +0000 (11:50 +0000)]
* config/tc-mmix.c, config/tc-mmix.h: Convert to ISO C90.

19 years ago2005-03-25 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Fri, 25 Mar 2005 09:02:30 +0000 (09:02 +0000)]
2005-03-25  Paolo Bonzini  <bonzini@gnu.org>

* configure.in (RPATH_ENVVAR): Set to DYLD_LIBRARY_PATH on Darwin.
* configure: Regenerate.

19 years agomerge from gcc
DJ Delorie [Fri, 25 Mar 2005 04:57:08 +0000 (04:57 +0000)]
merge from gcc

19 years agomerge from gcc
DJ Delorie [Fri, 25 Mar 2005 04:27:21 +0000 (04:27 +0000)]
merge from gcc

19 years ago * config/tc-cris.h: Convert to ISO C90.
Hans-Peter Nilsson [Fri, 25 Mar 2005 04:10:52 +0000 (04:10 +0000)]
* config/tc-cris.h: Convert to ISO C90.
* config/tc-cris.c: Ditto.
(md_estimate_size_before_relax): Remove obsolete comment for
parameter "segment_type".
(md_begin): Document reason for cast of hash_insert argument.
(md_atof): Correct type of parameter "type".

19 years ago*** empty log message ***
gdbadmin [Fri, 25 Mar 2005 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * config/default.exp: Do not load libpath.exp if it does not
Mark Mitchell [Thu, 24 Mar 2005 23:36:03 +0000 (23:36 +0000)]
* config/default.exp: Do not load libpath.exp if it does not
exist.
(CC): Provide fallback definition.
(CFLAGS): Likewise.
(CXX): Likewise.
(CXXFLAGS): Likewise.

19 years ago2005-03-24 Eric Christopher <echristo@redhat.com>
Eric Christopher [Thu, 24 Mar 2005 22:47:52 +0000 (22:47 +0000)]
2005-03-24  Eric Christopher  <echristo@redhat.com>

* elfxx-mips.c: Revert previous patch.

2005-03-24  Eric Christopher  <echristo@redhat.com>

* ld-mips-elf/rel32-n32.d: Revert changes.
* ld-mips-elf/rel32-o32.d: Ditto.
* ld-mips-elf/rel64.d: Ditto.

19 years ago * winduni.c (unicode_from_ascii): Don't declare variables
Danny Smith [Thu, 24 Mar 2005 21:26:21 +0000 (21:26 +0000)]
* winduni.c (unicode_from_ascii): Don't declare variables
's' and 'w' if _WIN32.  Use MultiByteToWideChar to set the unicode
string len.

19 years agoUpdated French translation
Nick Clifton [Thu, 24 Mar 2005 21:13:03 +0000 (21:13 +0000)]
Updated French translation

19 years ago(_bfd_target_vector): Only include the bfd_elf32_ia64_hpux_big_vec vector
Nick Clifton [Thu, 24 Mar 2005 21:02:19 +0000 (21:02 +0000)]
(_bfd_target_vector): Only include the bfd_elf32_ia64_hpux_big_vec vector
when building a 64-bit BFD with all targets enabled.

19 years agoConvert unmaintained files over to ISO-C90 and fix formatting.
Nick Clifton [Thu, 24 Mar 2005 20:40:28 +0000 (20:40 +0000)]
Convert unmaintained files over to ISO-C90 and fix formatting.

19 years agoAdd Dmitry Diky to maintainers list as msp430 maintainer
Dmitry Diky [Thu, 24 Mar 2005 18:04:38 +0000 (18:04 +0000)]
Add Dmitry Diky to maintainers list as msp430 maintainer

19 years ago(BFD32_BACKENDS): Delete elf32-ia64.lo.
Nick Clifton [Thu, 24 Mar 2005 09:26:27 +0000 (09:26 +0000)]
(BFD32_BACKENDS): Delete elf32-ia64.lo.
(BFD64_BACKENDS): Add elf32-ia64.lo.

19 years ago * cris/Makefile.in (stamp-v10fcpu, stamp-v32fcpu): Add kludge to
Hans-Peter Nilsson [Thu, 24 Mar 2005 06:12:42 +0000 (06:12 +0000)]
* cris/Makefile.in (stamp-v10fcpu, stamp-v32fcpu): Add kludge to
include cgen-ops.h in decodev10.c and decodev32.c.
* cris/sim-main.h: Don't include cgen-ops.h here.
* cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c,
cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c,
cris/decodev10.h, cris/decodev32.c, cris/decodev32.h,
cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c,
cris/semcrisv32f-switch.c: Regenerate.

19 years agobfd/ChangeLog:
Eric Christopher [Thu, 24 Mar 2005 01:30:47 +0000 (01:30 +0000)]
bfd/ChangeLog:

2005-03-23  Eric Christopher  <echristo@redhat.com>

* elfxx-mips.c (MIPS_ELF_READONLY_SECTION): New.
(mips_elf_calculate_relocation): Use. Define DF_TEXTREL
after emitting relocation.
(_bfd_mips_elf_adjust_dynamic_symbol): Ditto.
(_bfd_mips_elf_check_relocs): Remove code to set DF_TEXTREL
and readonly_reloc.

ld/testsuite/ChangeLog:

2005-03-23  Eric Christopher  <echristo@redhat.com>

* ld-mips-elf/textrel-1.s, ld-mips-elf/textrel-1.d: New
test.
* ld-mips-elf/mips-elf.exp: Call it.
* ld-mips-elf/rel32-n32.d: Update for DF_TEXTREL removal.
* ld-mips-elf/rel32-o32.d: Ditto.
* ld-mips-elf/rel64.d: Ditto.

19 years ago * cris/traps.c (cris_break_13_handler) <case
Hans-Peter Nilsson [Thu, 24 Mar 2005 01:14:09 +0000 (01:14 +0000)]
* cris/traps.c (cris_break_13_handler) <case
TARGET_SYS_rt_sigaction>: Rename sa_handler, sa_flags,
sa_restorer, sa_mask_low, sa_mask_high to target_sa_handler etc.

19 years ago * gas/cris/range-err-1.s: Adjust expected messages for hosts with
Hans-Peter Nilsson [Thu, 24 Mar 2005 00:01:14 +0000 (00:01 +0000)]
* gas/cris/range-err-1.s: Adjust expected messages for hosts with
64-bit longs.

19 years ago*** empty log message ***
gdbadmin [Thu, 24 Mar 2005 00:01:07 +0000 (00:01 +0000)]
*** empty log message ***

19 years ago2005-03-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 23 Mar 2005 19:21:16 +0000 (19:21 +0000)]
2005-03-23  H.J. Lu  <hongjiu.lu@intel.com>

* cris-dis.c (print_with_operands): Use ~31L for long instead
of ~31.

19 years ago2005-03-23 Martin Hunt <hunt@redhat.com>
Martin Hunt [Wed, 23 Mar 2005 19:17:42 +0000 (19:17 +0000)]
2005-03-23  Martin Hunt  <hunt@redhat.com>

        * configure.ac: Remove -fwritable-strings from CFLAGS.
        * configure: Regenerate.

19 years ago2005-03-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 23 Mar 2005 19:04:33 +0000 (19:04 +0000)]
2005-03-23  H.J. Lu  <hongjiu.lu@intel.com>

* ld-cris/expdyn5.d: Updated for alignment change in elf.sc.
* ld-cris/expdyn6.d: Likewise.
* ld-cris/expdyn7.d: Likewise.
* ld-cris/gotplt1.d: Likewise.
* ld-cris/gotplt2.d: Likewise.
* ld-cris/gotplt3.d: Likewise.
* ld-cris/libdso-10.d: Likewise.
* ld-cris/libdso-11.d: Likewise.
* ld-cris/libdso-12.d: Likewise.
* ld-cris/libdso-14.d: Likewise.
* ld-cris/libdso-2.d: Likewise.
* ld-cris/locref1.d: Likewise.
* ld-cris/locref2.d: Likewise.
* ld-cris/nodyn5.d: Likewise.
* ld-cris/pv32-1.d: Likewise.
* ld-cris/weakref2.d: Likewise.

19 years agoFrom common/ChangeLog:
Mark Kettenis [Wed, 23 Mar 2005 18:55:19 +0000 (18:55 +0000)]
From common/ChangeLog:

* aclocal.m4 Include ../../gettext.m4.
(CY_WITH_NLS, CY_GNU_GETTEXT, AM_PATH_PROG_WITH_TEST)
(AM_LC_MESSAGES): Remove.
* configure: Regenerate.

Regenerate all other configures.

19 years ago* config/tc-arm.c (arm_adjust_symtab): Fetch elf_sym's binding
Jim Blandy [Wed, 23 Mar 2005 15:49:02 +0000 (15:49 +0000)]
* config/tc-arm.c (arm_adjust_symtab): Fetch elf_sym's binding
attributes properly.

19 years agoAccept any C library to accompany a GNU Linux implementation, not just the GNU
Nick Clifton [Wed, 23 Mar 2005 15:35:50 +0000 (15:35 +0000)]
Accept any C library to accompany a GNU Linux implementation, not just the GNU
C library.

19 years agoUndo previous delta
Nick Clifton [Wed, 23 Mar 2005 14:49:45 +0000 (14:49 +0000)]
Undo previous delta

19 years ago(getopt): Allow full prototype when builind under FreeBSD.
Nick Clifton [Wed, 23 Mar 2005 14:46:13 +0000 (14:46 +0000)]
(getopt): Allow full prototype when builind under FreeBSD.

19 years agoConvert to ISO C90 formatting
Nick Clifton [Wed, 23 Mar 2005 11:18:14 +0000 (11:18 +0000)]
Convert to ISO C90 formatting

19 years agoUpdate French translation
Nick Clifton [Wed, 23 Mar 2005 09:44:07 +0000 (09:44 +0000)]
Update French translation

19 years agobfd/
H.J. Lu [Wed, 23 Mar 2005 04:14:46 +0000 (04:14 +0000)]
bfd/

2005-03-22  H.J. Lu  <hongjiu.lu@intel.com>

* bfd-in.h (_bfd_elf_provide_symbol): New.
* bfd-in2.h: Regenerated.

* elf32-ppc.c (set_linker_sym): Moved to elflink.c.
(ppc_elf_set_sdata_syms): Call _bfd_elf_provide_symbol instead
of set_linker_sym.

* elflink.c (_bfd_elf_provide_symbol): New. Moved and renamed
from elf32-ppc.c.

ld/

2005-03-22  H.J. Lu  <hongjiu.lu@intel.com>

* emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): New
(gld${EMULATION_NAME}_finish): Call
gld${EMULATION_NAME}_provide_bound_symbols to provide
__preinit_array_start, __preinit_array_end, __init_array_start,
__init_array_end, __fini_array_start and __fini_array_end.

* scripttempl/elf.sc: Don't provide __preinit_array_start,
__preinit_array_end, __init_array_start, __init_array_end,
__fini_array_start nor __fini_array_end.

19 years agomerge from gcc
DJ Delorie [Wed, 23 Mar 2005 00:01:17 +0000 (00:01 +0000)]
merge from gcc

19 years ago*** empty log message ***
gdbadmin [Wed, 23 Mar 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Tue, 22 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * hash.c (strtab_hash_newfunc): Fix typo in allocated size.
Hans-Peter Nilsson [Tue, 22 Mar 2005 21:52:52 +0000 (21:52 +0000)]
* hash.c (strtab_hash_newfunc): Fix typo in allocated size.

19 years ago * dwarf.h: Merge with GCC's dwarf.h.
Ben Elliston [Tue, 22 Mar 2005 19:51:31 +0000 (19:51 +0000)]
* dwarf.h: Merge with GCC's dwarf.h.

19 years agoinclude ChangeLog
Bob Wilson [Tue, 22 Mar 2005 19:31:28 +0000 (19:31 +0000)]
include ChangeLog
* xtensa-isa.h: Update a comment and whitespace.
bfd ChangeLog
* xtensa-isa.c (xtensa_opcode_lookup, xtensa_state_lookup,
xtensa_sysreg_lookup_name, xtensa_interface_lookup,
xtensa_funcUnit_lookup): Skip bsearch call if count is zero.
(xtensa_opcode_decode): Rearrange code.

19 years agoOops - fix typo in ISO-C90ifcation
Nick Clifton [Tue, 22 Mar 2005 18:43:09 +0000 (18:43 +0000)]
Oops - fix typo in ISO-C90ifcation

19 years agoOops - fix typos and finish of ISO-C90'fication of ieee.c
Nick Clifton [Tue, 22 Mar 2005 18:03:26 +0000 (18:03 +0000)]
Oops - fix typos and finish of ISO-C90'fication of ieee.c

19 years agoConvert to ISO C90 formatting.
Nick Clifton [Tue, 22 Mar 2005 16:14:43 +0000 (16:14 +0000)]
Convert to ISO C90 formatting.

19 years ago * elf32-arm.c (elf32_arm_final_link_relocate): Don't fail for
Daniel Jacobowitz [Tue, 22 Mar 2005 15:39:32 +0000 (15:39 +0000)]
* elf32-arm.c (elf32_arm_final_link_relocate): Don't fail for
unresolved symbols in R_ARM_NONE relocations.

19 years ago * elf32-arm.c (elf32_arm_final_link_relocate): Add
Daniel Jacobowitz [Tue, 22 Mar 2005 15:39:08 +0000 (15:39 +0000)]
* elf32-arm.c (elf32_arm_final_link_relocate): Add
UNRESOLVED_RELOC_P argument.  Set it appropriately.
(elf32_arm_relocate_section): Update call to
elf32_arm_final_link_relocate.  Don't clobber RELOCATION; use
unresolved_reloc instead.

19 years agobfd/
Alan Modra [Tue, 22 Mar 2005 14:49:16 +0000 (14:49 +0000)]
bfd/
* elflink.c (elf_link_add_object_symbols): Set SEC_EXCLUDE on
.gnu.warning.* sections.
ld/
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Set
SEC_EXCLUDE on .gnu.warning sections.

19 years agogas/testsuite/
Alan Modra [Tue, 22 Mar 2005 14:20:38 +0000 (14:20 +0000)]
gas/testsuite/
* gas/elf/section5.s: Don't start directives in first column.
ld/testsuite/
* ld-elf/tbss.s: Don't start directives in first column.
* ld-scripts/weak1.s: Likewise.
* ld-scripts/weak2.s: Likewise.
* ld-undefined/weak-undef.s: Likewise.
* ld-undefined/undefined.exp: Enable tests for hppa-elf.

19 years ago * elf32-ppc.c (elf_linker_section_pointers_t): Remove
Alan Modra [Tue, 22 Mar 2005 13:32:57 +0000 (13:32 +0000)]
* elf32-ppc.c (elf_linker_section_pointers_t): Remove
written_address_p.
(ppc_elf_create_linker_section): Don't try to reuse existing section.
(elf_create_pointer_linker_section): Delete info parm.  Don't make
h dynamic.  Don't set written_address_p.
(ppc_elf_check_relocs): Adjust ppc_elf_create_linker_section calls.
(bfd_put_ptr): Delete.
(elf_finish_pointer_linker_section): Remove output_bfd and info parms.
Always write section contents.  Assert global sym is def_regular.
Use offset bottom bit as a written flag.
(ppc_elf_relocate_section): Adjust elf_finish_pointer_linker_section
calls.

19 years agoAdd Daniel Jacobwitz to the blanket write privileges list.
Nick Clifton [Tue, 22 Mar 2005 07:49:42 +0000 (07:49 +0000)]
Add Daniel Jacobwitz to the blanket write privileges list.

19 years ago * elf32-ppc.c (ppc_elf_set_sdata_syms): New function, extracted from..
Alan Modra [Tue, 22 Mar 2005 03:23:51 +0000 (03:23 +0000)]
* elf32-ppc.c (ppc_elf_set_sdata_syms): New function, extracted from..
(ppc_elf_set_sdata_syms): ..here.  Expand comment.  Set .sbss start
and end syms.