binutils-gdb.git
19 years ago*** empty log message ***
gdbadmin [Thu, 18 Aug 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * NEWS (ms1-elf): New target.
Kevin Buettner [Wed, 17 Aug 2005 23:02:00 +0000 (23:02 +0000)]
* NEWS (ms1-elf): New target.

19 years ago* m68k-tdep.c (m68k_return_value): Properly return contents of
Mark Kettenis [Wed, 17 Aug 2005 18:34:17 +0000 (18:34 +0000)]
* m68k-tdep.c (m68k_return_value): Properly return contents of
structures passed in memory.

19 years agomerge from gcc
DJ Delorie [Wed, 17 Aug 2005 18:03:42 +0000 (18:03 +0000)]
merge from gcc

19 years ago2005-08-17 Christian Groessler <chris@groessler.org>
Christian Groessler [Wed, 17 Aug 2005 15:52:29 +0000 (15:52 +0000)]
2005-08-17  Christian Groessler  <chris@groessler.org>

* Makefile.tpl: (USUAL_CC_FOR_TARGET): Add missing trailing slash.
* Makefile.in: Regenerate.

19 years ago* infcmd.c (print_return_value): Move CHECK_TYPEDEF up. Deal with
Mark Kettenis [Wed, 17 Aug 2005 15:08:33 +0000 (15:08 +0000)]
* infcmd.c (print_return_value): Move CHECK_TYPEDEF up.  Deal with
RETURN_VALUE_ABI_PRESERVED_ADDRESS.

19 years agobfd/
H.J. Lu [Wed, 17 Aug 2005 14:28:01 +0000 (14:28 +0000)]
bfd/

2005-08-17  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/1179
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Use section lma
instead of vma.
(_bfd_dwarf2_find_line): Likewise.

binutils/

2005-08-17  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/1179
* objdump.c (disassemble_bytes): Don't adjust
adjust_section_vma.
(adjust_addresses): Don't adjust vma for debugging section.
Adjust lma only for relocatable files.
(dump_bfd): Tell adjust_addresses if it is a relocatable file.

19 years ago * lib/ld-lib.exp (default_ld_compile): Append $cc arguments after
Jakub Jelinek [Wed, 17 Aug 2005 13:36:00 +0000 (13:36 +0000)]
* lib/ld-lib.exp (default_ld_compile): Append $cc arguments after
$CFLAGS instead of prepending them.

19 years ago * elf64-mmix.c (mmix_elf_add_symbol_hook): Mark reg section
Alan Modra [Wed, 17 Aug 2005 13:29:55 +0000 (13:29 +0000)]
* elf64-mmix.c (mmix_elf_add_symbol_hook): Mark reg section
SEC_LINKER_CREATED.
(mmix_elf_final_link): Check that section hasn't already been
removed before removing.
* mmo.c (mmo_scan): Mark reg contents section SEC_LINKER_CREATED.
(mmo_canonicalize_symtab): Likewise for reg section.

19 years ago * ldgram.y (vers_defns): Don't lose pattern list before
Jakub Jelinek [Wed, 17 Aug 2005 10:08:30 +0000 (10:08 +0000)]
* ldgram.y (vers_defns): Don't lose pattern list before
extern NAME {}.  Handle global, local and extern symbol names.
ld/testsuite/
* ld-elfvers/vers.exp: Add a new test, vers30.
* ld-elfvers/vers30.c: New file.
* ld-elfvers/vers30.map: New file.
* ld-elfvers/vers30.ver: New file.
* ld-elfvers/vers30.dsym: New file.

19 years agobfd/
Alan Modra [Wed, 17 Aug 2005 10:04:33 +0000 (10:04 +0000)]
bfd/
* elf32-cris.c (elf_cris_adjust_gotplt_to_got): Move assert later.
* elfxx-mips.c (_bfd_mips_elf_hide_symbol): Cope with being called
without any got section.

ld/testsuite/
* ld-alpha/tlsbin.rd: Update.
* ld-alpha/tlsbinr.rd: Update.
* ld-cris/locref1.d: Update.
* ld-cris/locref2.d: Update.
* ld-i386/tlsbin.rd: Update.
* ld-ia64/tlsbin.rd: Update.
* ld-powerpc/tlsexe.r: Update.
* ld-powerpc/tlsexe32.r: Update.
* ld-powerpc/tlsexetoc.r: Update.
* ld-s390/tlsbin.rd: Update.
* ld-s390/tlsbin_64.rd: Update.
* ld-sparc/tlssunbin32.rd: Update.
* ld-sparc/tlssunbin64.rd: Update.
* ld-x86-64/tlsbin.rd: Update.

19 years agogas
Danny Smith [Wed, 17 Aug 2005 09:07:35 +0000 (09:07 +0000)]
gas
Add ChangeLog entry missed in last commit.

19 years agobfd
Danny Smith [Wed, 17 Aug 2005 08:58:01 +0000 (08:58 +0000)]
bfd
* cofflink.c (_bfd_coff_generic_relocate_section): Correct
comment.

gas
* config/obj-coff.c (obj_coff_weak): Set auxiliary record
of NT weak externals to IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY.

19 years ago* ppc-sysv-tdep.c (do_ppc_sysv_return_value): Fix the code that
Mark Kettenis [Wed, 17 Aug 2005 07:44:13 +0000 (07:44 +0000)]
* ppc-sysv-tdep.c (do_ppc_sysv_return_value): Fix the code that
deals with the broken GCC convention.

19 years ago * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
Kaz Kojima [Wed, 17 Aug 2005 05:13:13 +0000 (05:13 +0000)]
* emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
Don't increment rel_count of .cranges here.  Set rawsize of .cranges.

19 years ago2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
Kelley Cook [Wed, 17 Aug 2005 03:46:41 +0000 (03:46 +0000)]
2005-08-17  Kelley Cook  <kcook@gcc.gnu.org>

* strverscmp.c: Update FSF address.
* testsuite/Makefile.in: Likewise.
* testsuite/test-demangle.c: Likewise.
* testsuite/test-pexecute.c: Likewise.

19 years ago * elflink.c (_bfd_elf_define_linkage_sym): Don't call
Alan Modra [Wed, 17 Aug 2005 03:07:12 +0000 (03:07 +0000)]
* elflink.c (_bfd_elf_define_linkage_sym): Don't call
bfd_elf_link_record_dynamic_symbol.  Call elf_backend_hide_symbol.
(_bfd_elf_link_renumber_dynsyms): Formatting.
(struct elf_gc_sweep_symbol_info): New.
(elf_gc_sweep_symbol): Rewrite.
(elf_gc_sweep): Adjust params and elf_gc_sweep_symbol call.
Call _bfd_elf_link_renumber_dynsyms.
(bfd_elf_gc_sections): Adjust elf_gc_sweep call.

19 years agodaily update
Alan Modra [Wed, 17 Aug 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Wed, 17 Aug 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-08-16 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 16 Aug 2005 19:35:22 +0000 (19:35 +0000)]
2005-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* bucomm.h (stpcpy): Declare if HAVE_DECL_STPCPY isn't defined.

* configure.in (AC_GNU_SOURCE): Added.
(AC_CHECK_DECLS): Add stpcpy.
* configure: Regenerated.
* config.in: Likewise.

19 years ago* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Set condition
Mark Kettenis [Tue, 16 Aug 2005 17:12:35 +0000 (17:12 +0000)]
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Set condition
register appropriately for varargs functions.

19 years ago * ld-cris/dso-1.s: Add missing alignment directive.
Hans-Peter Nilsson [Tue, 16 Aug 2005 15:13:29 +0000 (15:13 +0000)]
* ld-cris/dso-1.s: Add missing alignment directive.
* ld-cris/libdso-10.d: Adjust accordingly.

19 years ago * elf64-ppc.c (ppc64_elf_edit_opd): Don't call dec_dynrel_count
Alan Modra [Tue, 16 Aug 2005 10:13:43 +0000 (10:13 +0000)]
* elf64-ppc.c (ppc64_elf_edit_opd): Don't call dec_dynrel_count
when relocatable.

19 years ago * unwind-ia64.c (UNW_DEC_SPILL_SPREL, UNW_DEC_SPILL_PSPREL,
Jakub Jelinek [Tue, 16 Aug 2005 09:25:22 +0000 (09:25 +0000)]
* unwind-ia64.c (UNW_DEC_SPILL_SPREL, UNW_DEC_SPILL_PSPREL,
UNW_DEC_RESTORE, UNW_DEC_SPILL_REG): Increase {,ab,t}regname
buffer sizes.

19 years ago * config/tc-ppc.c (ppc_set_cpu): Don't select 64-bit based on
Alan Modra [Tue, 16 Aug 2005 03:17:53 +0000 (03:17 +0000)]
* config/tc-ppc.c (ppc_set_cpu): Don't select 64-bit based on
default cpu.

19 years ago*** empty log message ***
gdbadmin [Tue, 16 Aug 2005 00:00:10 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Tue, 16 Aug 2005 00:00:09 +0000 (00:00 +0000)]
daily update

19 years ago * MAINTAINERS (ms1): New target ISA entry. List myself as
Kevin Buettner [Mon, 15 Aug 2005 22:23:59 +0000 (22:23 +0000)]
* MAINTAINERS (ms1): New target ISA entry.  List myself as
maintainer.

19 years agoContribute target dependent code for Morpho Technologies ms1 processor.
Kevin Buettner [Mon, 15 Aug 2005 21:46:38 +0000 (21:46 +0000)]
Contribute target dependent code for Morpho Technologies ms1 processor.

19 years ago* Makefile.in (m68kbsd-tdep.o): Ad missing space.
Mark Kettenis [Mon, 15 Aug 2005 21:19:20 +0000 (21:19 +0000)]
* Makefile.in (m68kbsd-tdep.o): Ad missing space.

19 years ago2005-08-15 Paul Brook <paul@codesourcery.com>
Paul Brook [Mon, 15 Aug 2005 19:19:55 +0000 (19:19 +0000)]
2005-08-15  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (do_t_mov_cmp): Fix encoding of i16-bit conditional
instructions.
(do_t_mvn_tst, do_t_neg, do_t_shift): Ditto.
gas/testsuite/
* gas/arm/thumb2_it.s: Add more instruction variants.
* gas/arm/thumb2_it.d: Ditto.

19 years ago * elf32-xtensa.c (ELF_MACHINE_CODE, ELF_MACHINE_ALT1): Swap values
Bob Wilson [Mon, 15 Aug 2005 18:17:12 +0000 (18:17 +0000)]
* elf32-xtensa.c (ELF_MACHINE_CODE, ELF_MACHINE_ALT1): Swap values
of EM_XTENSA and EM_XTENSA_OLD.

19 years ago * s390-tdep.c (op1_lgfi, op2_lgfi, op1_agfi, op2_agfi,
Ulrich Weigand [Mon, 15 Aug 2005 17:36:48 +0000 (17:36 +0000)]
* s390-tdep.c (op1_lgfi, op2_lgfi, op1_agfi, op2_agfi,
op1_afi, op2_afi, op1_algfi, op2_algfi, op1_alfi, op2_alfi,
op1_slgfi, op2_slgfi, op1_slfi, op2_slfi): New opcode enums.
(s390_analyze_prologue): Recognize new z9-109 instructions.

19 years agoAdjust for dynamic sym changes.
Alan Modra [Mon, 15 Aug 2005 15:39:48 +0000 (15:39 +0000)]
Adjust for dynamic sym changes.

19 years ago * elf-bfd.h (_bfd_elf_define_linkage_sym): Declare.
Alan Modra [Mon, 15 Aug 2005 15:39:08 +0000 (15:39 +0000)]
* elf-bfd.h (_bfd_elf_define_linkage_sym): Declare.
* elflink.c (_bfd_elf_define_linkage_sym): New function, extracted
from..
(_bfd_elf_create_got_section): ..here.
(_bfd_elf_link_create_dynamic_sections): Call it for _DYNAMIC.
(_bfd_elf_create_dynamic_sections): ..and _PROCEDURE_LINKAGE_TABLE_.
* elf-m10300.c (_bfd_mn10300_elf_create_got_section): Use
_bfd_elf_define_linkage_sym.
* elf32-frv.c (_frv_create_got_section): Likewise.
* elf64-alpha.c (elf64_alpha_create_dynamic_sections): Likewise.

19 years agogas/
Daniel Jacobowitz [Mon, 15 Aug 2005 15:37:15 +0000 (15:37 +0000)]
gas/
* config/tc-ppc.c (parse_cpu): Add -me300 support.
(md_show_usage): Likewise.
* doc/c-ppc.texi (PowerPC-Opts): Document it.
include/opcode/
* ppc.h (PPC_OPCODE_E300): Define.
opcodes/
* ppc-dis.c (powerpc_dialect): Handle e300.
(print_ppc_disassembler_options): Likewise.
* ppc-opc.c (PPCE300): Define.
(powerpc_opcodes): Mark icbt as available for the e300.
binutils/
* doc/binutils.texi (objdump): Document -M e300.

19 years ago2005-08-15 Paul Brook <paul@codesourcery.com>
Paul Brook [Mon, 15 Aug 2005 15:01:39 +0000 (15:01 +0000)]
2005-08-15  Paul Brook  <paul@codesourcery.com>

* elf32-arm.c (elf32_arm_howto_table_1): Make R_ARM_PLT32 the same as
R_ARM_PC24.

19 years ago * ld-elf/empty.s: Define "start".
Alan Modra [Mon, 15 Aug 2005 14:08:58 +0000 (14:08 +0000)]
* ld-elf/empty.s: Define "start".
* ld-elf/merge2.d: xfail arc-*-* and dlx-*-*.
* ld-scripts/empty-aligned.s: No .data section.
* ld-scripts/empty-aligned.t: Discard most sections.
* ld-scripts/empty-aligned.d: Adjust.

19 years agodaily update
Alan Modra [Mon, 15 Aug 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Mon, 15 Aug 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * readelf.c (slurp_hppa_unwind_table): Fix entry size on hppa64-hpux.
Dave Anglin [Sun, 14 Aug 2005 22:34:11 +0000 (22:34 +0000)]
* readelf.c (slurp_hppa_unwind_table): Fix entry size on hppa64-hpux.
Don't access table entries past the end of the table.

19 years ago * hppa-dis.c (print_insn_hppa): Don't print '%' before register names.
Dave Anglin [Sun, 14 Aug 2005 01:15:34 +0000 (01:15 +0000)]
* hppa-dis.c (print_insn_hppa): Don't print '%' before register names.
Use "rp" instead of "%r2" in "b,l" insns.

19 years ago PR ld/1135
Dave Anglin [Sun, 14 Aug 2005 01:01:32 +0000 (01:01 +0000)]
PR ld/1135
* elf64-hppa.c (elf64_hppa_special_sections): Add flag definitions for
.plt, .dlt, .sdata, .sbss and .tbss.

19 years ago*** empty log message ***
gdbadmin [Sun, 14 Aug 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sun, 14 Aug 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago * readelf.c (get_parisc_segment_type): Handle PT_PARISC_WEAKORDER.
Dave Anglin [Sat, 13 Aug 2005 23:59:43 +0000 (23:59 +0000)]
* readelf.c (get_parisc_segment_type): Handle PT_PARISC_WEAKORDER.
(get_parisc_section_type_name): Handle SHT_PARISC_DLKM.

19 years ago* solib-som.c (som_current_sos): Cast to 'gdb_byte *' where
Mark Kettenis [Sat, 13 Aug 2005 22:37:08 +0000 (22:37 +0000)]
* solib-som.c (som_current_sos): Cast to 'gdb_byte *' where
appropriate.

19 years ago* tramp-frame.h (struct tramp_frame): Allow for 16 instructions
Mark Kettenis [Sat, 13 Aug 2005 22:31:30 +0000 (22:31 +0000)]
* tramp-frame.h (struct tramp_frame): Allow for 16 instructions
instead of 8.
* m68kbsd-tdep.c: Include "frame.h", "trad-frame.h" and
"tramp-frame.h".
(m68kobsd_sigtramp_cache_init): New function.
(m68kbsd_aout_init_abi): Prepend m68kobsd_sigtramp unwinder.

19 years ago* inf-ptrace.c (inf_ptrace_him) [PT_GET_PROCESS_STATE]: Move
Mark Kettenis [Sat, 13 Aug 2005 22:23:35 +0000 (22:23 +0000)]
* inf-ptrace.c (inf_ptrace_him) [PT_GET_PROCESS_STATE]: Move
code...
(inf_ptrace_post_startup_inferior): ...here.  New function.
(inf_ptrace_attach) [PT_GET_PROCESS_STATE]: Move code...
(inf_ptrace_post_attach): ...here.
(inf_ptrace_target) [PT_GET_PROCESS_STATE]: Set
to_post_startup_inferior and to_post_attch.

19 years ago* sparc-tdep.c (sparc_breakpoint_from_pc): Constify break_insn.
Mark Kettenis [Sat, 13 Aug 2005 22:12:24 +0000 (22:12 +0000)]
* sparc-tdep.c (sparc_breakpoint_from_pc): Constify break_insn.

19 years ago* sparc-sol2-tdep.c (sparc_sol2_pc_in_sigtramp): Check for
Mark Kettenis [Sat, 13 Aug 2005 22:09:06 +0000 (22:09 +0000)]
* sparc-sol2-tdep.c (sparc_sol2_pc_in_sigtramp): Check for
"__sighndlr".

19 years ago* i386-linux-nat.c (fetch_register, store_register)
Mark Kettenis [Sat, 13 Aug 2005 22:03:46 +0000 (22:03 +0000)]
* i386-linux-nat.c (fetch_register, store_register)
(supply_gregset, fill_gregset): Remove redundant casts.

19 years ago*** empty log message ***
gdbadmin [Sat, 13 Aug 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sat, 13 Aug 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago * gas/testsuite/gas/s390/s390.exp: Reorganize gas testsuite for s390
Martin Schwidefsky [Fri, 12 Aug 2005 18:05:42 +0000 (18:05 +0000)]
* gas/testsuite/gas/s390/s390.exp: Reorganize gas testsuite for s390
and add tests for new cpu type z9-109.
* gas/testsuite/gas/s390/esa-g5.d: New.
* gas/testsuite/gas/s390/esa-g5.s: New.
* gas/testsuite/gas/s390/esa-operands.d: New.
* gas/testsuite/gas/s390/esa-operands.s: New.
* gas/testsuite/gas/s390/esa-reloc.d: New.
* gas/testsuite/gas/s390/esa-reloc.s: New.
* gas/testsuite/gas/s390/esa-z9-109.d: New.
* gas/testsuite/gas/s390/esa-z9-109.s: New.
* gas/testsuite/gas/s390/esa-z900.d: New.
* gas/testsuite/gas/s390/esa-z900.s: New.
* gas/testsuite/gas/s390/esa-z990.d: New.
* gas/testsuite/gas/s390/esa-z990.s: New.
* gas/testsuite/gas/s390/zarch-operands.d: New.
* gas/testsuite/gas/s390/zarch-operands.s: New.
* gas/testsuite/gas/s390/zarch-reloc.d: New.
* gas/testsuite/gas/s390/zarch-reloc.s: New.
* gas/testsuite/gas/s390/zarch-z9-109.d: New.
* gas/testsuite/gas/s390/zarch-z9-109.s: New.
* gas/testsuite/gas/s390/zarch-z900.d: New.
* gas/testsuite/gas/s390/zarch-z900.s: New.
* gas/testsuite/gas/s390/zarch-z990.d: New.
* gas/testsuite/gas/s390/zarch-z990.s: New.
* 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.
* gas/testsuite/gas/s390/operands.d: Delete.
* gas/testsuite/gas/s390/operands.s: Delete.
* gas/testsuite/gas/s390/operands64.d: Delete.
* gas/testsuite/gas/s390/operands64.s: Delete.
* gas/testsuite/gas/s390/reloc.d: Likewise.
* gas/testsuite/gas/s390/reloc.s: Likewise.
* gas/testsuite/gas/s390/reloc64.d: Likewise.
* gas/testsuite/gas/s390/reloc64.s: Likewise.

19 years ago * s390-dis.c (print_insn_s390): Print unsigned operands with %u.
Martin Schwidefsky [Fri, 12 Aug 2005 18:03:03 +0000 (18:03 +0000)]
* s390-dis.c (print_insn_s390): Print unsigned operands with %u.
* s390-mkopc.c (s390_opcode_cpu_val): Add support for cpu type z9-109.
(main): Likewise.
* s390-opc.c (I32_16, U32_16, M_16): Add defines 32 bit immediates
and 4 bit optional masks.
(INSTR_RIL_RI, INSTR_RIL_RU, INSTR_RRF_M0RR, INSTR_RSE_CCRD,
INSTR_RSY_CCRD, INSTR_SSF_RRDRD): Add new instruction formats.
(MASK_RIL_RI, MASK_RIL_RU, MASK_RRF_M0RR, MASK_RSE_CCRD,
MASK_RSY_CCRD, MASK_SSF_RRDRD): Likewise.
(s390_opformats): Likewise.
* s390-opc.txt: Add new instructions for cpu type z9-109.

19 years ago * s390.h (s390_opcode_cpu_val): Add enum for cpu type z9-109.
Martin Schwidefsky [Fri, 12 Aug 2005 18:02:38 +0000 (18:02 +0000)]
* s390.h (s390_opcode_cpu_val): Add enum for cpu type z9-109.

19 years ago * config/tc-s390.c (md_parse_option): Add cpu type z9-109.
Martin Schwidefsky [Fri, 12 Aug 2005 18:00:56 +0000 (18:00 +0000)]
* config/tc-s390.c (md_parse_option):  Add cpu type z9-109.
(md_gather_operands): Add support for optional operands.

19 years ago2005-08-12 Kris Warkentin <kewarken@qnx.com>
Kris Warkentin [Fri, 12 Aug 2005 17:28:57 +0000 (17:28 +0000)]
2005-08-12  Kris Warkentin  <kewarken@qnx.com>

    * i386-nto-tdep.c (i386nto_init_abi): Don't set gdbarch skip
      trampoline code hook.
    * nto-procfs.c (procfs_post_attach): Call solib_create_inferior_hook
      instead of  SOLIB_CREATE_INFERIOR_HOOK.
      (procfs_create_inferior): Ditto.
    * config/tm-nto.h: Don't define SKIP_TRAMPOLINE_CODE.

19 years agotoplevel:
Paolo Bonzini [Fri, 12 Aug 2005 14:22:33 +0000 (14:22 +0000)]
toplevel:
2005-08-12  Paolo Bonzini  <bonzini@gnu.org>

* configure.in: Replace NCN_STRICT_CHECK_TOOL with
NCN_STRICT_CHECK_TOOLS, and likewise for NCN_STRICT_CHECK_TARGET_TOOLS.
Look for alternate names of the target cc and c++

config:
2005-08-12  Paolo Bonzini  <bonzini@gnu.org>

* config/acx.m4 (NCN_CHECK_TARGET_TOOL, NCN_STRICT_CHECK_TOOL,
NCN_STRICT_CHECK_TARGET_TOOL): Remove.
(NCN_STRICT_CHECK_TOOLS, NCN_STRICT_CHECK_TARGET_TOOLS): New,

19 years ago2005-08-12 Dmitry Diky <diwil@spec.ru>
Dmitry Diky [Fri, 12 Aug 2005 11:54:23 +0000 (11:54 +0000)]
2005-08-12  Dmitry Diky <diwil@spec.ru>
* config/tc-msp430.c (msp430_enable_relax): New flag.
(msp430_enable_polys): Likewise.
(OPTION_RELAX): New option.
(OPTION_POLYMORPHS): Likewise.
(md_longopts): New long options.
(md_show_usage): Updated.
(md_parse_option): Add new options handler.
(msp430_operands): Add check if polymorph insns are enabled.
(msp430_force_relocation_local): New function.
(md_apply_fix): Now delete relocs according to new flags combination.
(msp430_relax_frag): Convert long branches to short branches only if
flag msp430_enable_relax is set.
* config/tc-msp430.h (TC_FORCE_RELOCATION_LOCAL): Defined.
(msp430_force_relocation_local): Likewise.
* doc/c-msp430.texi: Describe new options.

19 years ago2005-08-12 Dmitry Diky <diwil@spec.ru>
Dmitry Diky [Fri, 12 Aug 2005 11:45:26 +0000 (11:45 +0000)]
2005-08-12  Dmitry Diky  <diwil@spec.ru>

* elf32-msp430.c (msp430_elf_relax_delete_bytes): Adjust relocations
referenced by .section + DISPLACEMENT.

19 years ago * Makefile.am ($(srcdir)/make-gas.com): Remove target.
Ian Lance Taylor [Fri, 12 Aug 2005 06:20:43 +0000 (06:20 +0000)]
* Makefile.am ($(srcdir)/make-gas.com): Remove target.
(stamp-mk.com): Likewise.
(EXTRA_DIST): Remove make-gas.com from list.
(MOSTLYCLEANFILES): Remove stamp-mk.com from list.
* Makefile.in: Regenerate.

19 years ago * ld-cris/expdyn1.s (expobj): Set size here, at definition...
Hans-Peter Nilsson [Fri, 12 Aug 2005 00:23:48 +0000 (00:23 +0000)]
* ld-cris/expdyn1.s (expobj): Set size here, at definition...
* ld-cris/pv32.s: ...not here.
* ld-cris/expdyn1.d, ld-cris/libdso-12.d, ld-cris/locref1.d:
Adjust for expobj size being set at definition.

19 years ago*** empty log message ***
gdbadmin [Fri, 12 Aug 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Fri, 12 Aug 2005 00:00:08 +0000 (00:00 +0000)]
daily update

19 years ago * subsegs.c (subseg_change): Move declaration of seginfo to before
Hans-Peter Nilsson [Thu, 11 Aug 2005 16:22:08 +0000 (16:22 +0000)]
* subsegs.c (subseg_change): Move declaration of seginfo to before
first statement.

19 years ago * ld-cris/v32-ba-1.d: Regexpize to adjust for symbol change.
Hans-Peter Nilsson [Thu, 11 Aug 2005 15:59:11 +0000 (15:59 +0000)]
* ld-cris/v32-ba-1.d: Regexpize to adjust for symbol change.

19 years ago PR exp/1978
Andreas Schwab [Thu, 11 Aug 2005 13:45:40 +0000 (13:45 +0000)]
PR exp/1978
* valarith.c (value_binop): Fix result type for the shift
operators.

19 years ago2005-08-11 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 11 Aug 2005 13:14:29 +0000 (13:14 +0000)]
2005-08-11  H.J. Lu  <hongjiu.lu@intel.com>

* NEWS: Mention "-t/--section-details" and
"-N/--full-section-name".

* doc/binutils.texi: Document "-t/--section-details". Remove
"-N/--full-section-name".

* readelf.c (do_full_section_name): Renamed to ...
(do_section_details): This.
(option): Rename "-N/--full-section-name" to
"-t/--section-details".
(usage): Likewise.
(parse_args): Likewise.
(get_elf_section_flags): Support do_section_details.
(process_section_headers): Updated for do_section_details.

19 years agomissed from last commit
Alan Modra [Thu, 11 Aug 2005 01:34:12 +0000 (01:34 +0000)]
missed from last commit

19 years ago * README-vms: Delete.
Alan Modra [Thu, 11 Aug 2005 01:25:29 +0000 (01:25 +0000)]
* README-vms: Delete.
* config-gas.com: Delete.
* makefile.vms: Delete.
* vmsconf.sh: Delete.
* config/atof-tahoe.c: Delete.
* config/m88k-opcode.h: Delete.
* config/obj-bout.c: Delete.
* config/obj-bout.h: Delete.
* config/obj-hp300.c: Delete.
* config/obj-hp300.h: Delete.
* config/tc-a29k.c: Delete.
* config/tc-a29k.h: Delete.
* config/tc-h8500.c: Delete.
* config/tc-h8500.h: Delete.
* config/tc-m88k.c: Delete.
* config/tc-m88k.h: Delete.
* config/tc-tahoe.c: Delete.
* config/tc-tahoe.h: Delete.
* config/tc-tic80.c: Delete.
* config/tc-tic80.h: Delete.
* config/tc-w65.c: Delete.
* config/tc-w65.h: Delete.
* config/te-aux.h: Delete.
* config/te-delt88.h: Delete.
* config/te-delta.h: Delete.
* config/te-dpx2.h: Delete.
* config/te-hp300.h: Delete.
* config/te-ic960.h: Delete.
* config/vms-a-conf.h: Delete.
* doc/c-a29k.texi: Delete.
* doc/c-h8500.texi: Delete.
* doc/c-m88k.texi: Delete.
* README: Remove obsolete examples, and list of supported targets.
* Makefile.am: Remove a29k, h8500, m88k, tahoe, tic80, w65,
bout and hp300 support.
(DEP_FLAGS): Don't define BFD_ASSEMBLER.
* configure.in: Remove --enable-bfd-assembler, need_bfd,
primary_bfd_gas.
* configure.tgt: Remove a29k, h8300-coff, h8500-*, i960 non-elf,
m68k non bfd, m88k, or32-coff, tic80-*, vax non-bfd, w65k-*, *-nindy.
* as.c: Remove all non-BFD_ASSEMBLER code, support for above targets.
* as.h: Likewise.
* dw2gencfi.c: Likewise.
* dwarf2dbg.c: Likewise.
* ehopt.c: Likewise.
* input-file.c: Likewise.
* listing.c: Likewise.
* literal.c: Likewise.
* messages.c: Likewise.
* obj.h: Likewise.
* output-file.c: Likewise.
* read.c: Likewise.
* stabs.c: Likewise.
* struc-symbol.h: Likewise.
* subsegs.c: Likewise.
* subsegs.h: Likewise.
* symbols.c: Likewise.
* symbols.h: Likewise.
* tc.h: Likewise.
* write.c: Likewise.
* write.h: Likewise.
* config/aout_gnu.h: Likewise.
* config/obj-aout.c: Likewise.
* config/obj-aout.h: Likewise.
* config/obj-coff.c: Likewise.
* config/obj-coff.h: Likewise.
* config/obj-evax.h: Likewise.
* config/obj-ieee.h: Likewise.
* config/tc-arm.c: Likewise.
* config/tc-arm.h: Likewise.
* config/tc-avr.c: Likewise.
* config/tc-avr.h: Likewise.
* config/tc-crx.h: Likewise.
* config/tc-d10v.h: Likewise.
* config/tc-d30v.h: Likewise.
* config/tc-dlx.h: Likewise.
* config/tc-fr30.h: Likewise.
* config/tc-frv.h: Likewise.
* config/tc-h8300.c: Likewise.
* config/tc-h8300.h: Likewise.
* config/tc-hppa.h: Likewise.
* config/tc-i370.h: Likewise.
* config/tc-i386.c: Likewise.
* config/tc-i386.h: Likewise.
* config/tc-i860.h: Likewise.
* config/tc-i960.c: Likewise.
* config/tc-i960.h: Likewise.
* config/tc-ip2k.h: Likewise.
* config/tc-iq2000.h: Likewise.
* config/tc-m32c.h: Likewise.
* config/tc-m32r.h: Likewise.
* config/tc-m68hc11.h: Likewise.
* config/tc-m68k.c: Likewise.
* config/tc-m68k.h: Likewise.
* config/tc-maxq.c: Likewise.
* config/tc-maxq.h: Likewise.
* config/tc-mcore.c: Likewise.
* config/tc-mcore.h: Likewise.
* config/tc-mn10200.h: Likewise.
* config/tc-mn10300.c: Likewise.
* config/tc-mn10300.h: Likewise.
* config/tc-ms1.h: Likewise.
* config/tc-msp430.c: Likewise.
* config/tc-msp430.h: Likewise.
* config/tc-ns32k.c: Likewise.
* config/tc-ns32k.h: Likewise.
* config/tc-openrisc.h: Likewise.
* config/tc-or32.c: Likewise.
* config/tc-or32.h: Likewise.
* config/tc-ppc.c: Likewise.
* config/tc-ppc.h: Likewise.
* config/tc-s390.h: Likewise.
* config/tc-sh.c: Likewise.
* config/tc-sh.h: Likewise.
* config/tc-sparc.c: Likewise.
* config/tc-tic30.c: Likewise.
* config/tc-tic30.h: Likewise.
* config/tc-tic4x.c: Likewise.
* config/tc-tic4x.h: Likewise.
* config/tc-tic54x.c: Likewise.
* config/tc-tic54x.h: Likewise.
* config/tc-v850.h: Likewise.
* config/tc-vax.c: Likewise.
* config/tc-vax.h: Likewise.
* config/tc-xstormy16.h: Likewise.
* config/tc-xtensa.h: Likewise.
* config/tc-z8k.c: Likewise.
* config/tc-z8k.h: Likewise.
* config/vms-a-conf.h
* doc/Makefile.am: Likewise.
* doc/all.texi: Likewise.
* doc/as.texinfo: Likewise.
* doc/Makefile.in: Regenerate.
* Makefile.in: Regenerate.
* configure: Regenerate.
* config.in: Regenerate.
* po/POTFILES.in: Regenerate.

19 years ago * gas/all/gas.exp: Remove a29k and m88k support.
Alan Modra [Thu, 11 Aug 2005 01:21:22 +0000 (01:21 +0000)]
* gas/all/gas.exp: Remove a29k and m88k support.
* gas/m88k/*: Delete.
* gas/tic80/*: Delete.

19 years agodaily update
Alan Modra [Thu, 11 Aug 2005 00:00:09 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Thu, 11 Aug 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years agoFix linker error found when compiling glibc with a mismatched gcc.
Jim Wilson [Wed, 10 Aug 2005 23:33:39 +0000 (23:33 +0000)]
Fix linker error found when compiling glibc with a mismatched gcc.
* dwarf2.c (scan_unit_for_symbols, case DT_AT_location): Verify that
DW_OP_addr is only opcode in location before using it.

19 years agope-dll.c (pe_exe_fill_sections): Call lang_reset_memory_regions before
Nick Clifton [Wed, 10 Aug 2005 16:46:30 +0000 (16:46 +0000)]
pe-dll.c (pe_exe_fill_sections): Call lang_reset_memory_regions before
lang_size_sections.

19 years ago2005-08-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 10 Aug 2005 04:32:49 +0000 (04:32 +0000)]
2005-08-09  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_final_link): Reset gp.

19 years ago * hppa.h (SHT_PARISC_DLKM, SHF_PARISC_WEAKORDER, PT_PARISC_WEAKORDER):
Dave Anglin [Wed, 10 Aug 2005 02:51:52 +0000 (02:51 +0000)]
* hppa.h (SHT_PARISC_DLKM, SHF_PARISC_WEAKORDER, PT_PARISC_WEAKORDER):
New defines.

19 years agodaily update
Alan Modra [Wed, 10 Aug 2005 00:00:09 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Wed, 10 Aug 2005 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* sparc64obsd-tdep.c: Tweak comments.
Mark Kettenis [Tue, 9 Aug 2005 19:32:59 +0000 (19:32 +0000)]
* sparc64obsd-tdep.c: Tweak comments.
(sparc64obsd_sigreturn_offset): Add offset for new OpenBSD 3.8
signal trampoline.

19 years ago * lib/mi-support.exp (mi_gdb_load): Fix typo.
Corinna Vinschen [Tue, 9 Aug 2005 19:00:16 +0000 (19:00 +0000)]
* lib/mi-support.exp (mi_gdb_load): Fix typo.

19 years ago2005-08-09 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 9 Aug 2005 16:35:45 +0000 (16:35 +0000)]
2005-08-09  Andrew Cagney  <cagney@gnu.org>

* linux-nat.h (linux_proc_xfer_memory): Change type of "myaddr" a
"gdb_byte" pointer.
* linux-nat.c (linux_proc_xfer_memory): Update.
(get_signo): Cast signo to a "gdb_byte" pointer.
* i386-linux-nat.c (child_resume): Make "buf" a gdb_byte, delete
redundant casts.
(child_resume): Cast eflags to a "gdb_byte" pointer.

19 years agoPR 1070
Nick Clifton [Tue, 9 Aug 2005 15:47:46 +0000 (15:47 +0000)]
PR 1070
* macro.c (getstring): Do not treat round parentheses exactly the same as angle
brackets - the parentheses need to be preserved and passed on to the macro processing code.

19 years agoOops - omitted by accident from the previous msp430 patch
Nick Clifton [Tue, 9 Aug 2005 08:57:34 +0000 (08:57 +0000)]
Oops - omitted by accident from the previous msp430 patch

19 years ago(xcoff64_core_p): Constify return_value variable. Also, do not use core_hdr
Nick Clifton [Tue, 9 Aug 2005 08:56:36 +0000 (08:56 +0000)]
(xcoff64_core_p): Constify return_value variable.  Also, do not use core_hdr
macro as it evaluates to a cast of an lvalue which is no longer supported by
GCC 4.0.

19 years ago * emulparams/hppa64linux.sh (LARGE_SECTIONS): Remove .tbss.
Alan Modra [Tue, 9 Aug 2005 03:45:55 +0000 (03:45 +0000)]
* emulparams/hppa64linux.sh (LARGE_SECTIONS): Remove .tbss.

19 years agodaily update
Alan Modra [Tue, 9 Aug 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Tue, 9 Aug 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* tramp-frame.h (struct tramp_frame): Allow for 16 instructions
Mark Kettenis [Mon, 8 Aug 2005 20:59:19 +0000 (20:59 +0000)]
* tramp-frame.h (struct tramp_frame): Allow for 16 instructions
instead of 8.
* m68kbsd-tdep.c: Include "frame.h", "trad-frame.h" and
"tramp-frame.h".
(m68kobsd_sigtramp_cache_init): New function.
(m68kbsd_aout_init_abi): Prepend m68kobsd_sigtramp unwinder.

19 years agoAdd support for msp430x21xx variants
Nick Clifton [Mon, 8 Aug 2005 17:08:04 +0000 (17:08 +0000)]
Add support for msp430x21xx variants

19 years ago * ld-arm/mixed-app.sym: Expact _stack to be in the ABS section.
Richard Earnshaw [Mon, 8 Aug 2005 15:52:54 +0000 (15:52 +0000)]
* ld-arm/mixed-app.sym: Expact _stack to be in the ABS section.
* ld-arm/mixed-lib.sym: Likewise.
* tls-lib.d: Use a regexp for the address locations.
* tls-lib.r: Likewise.

19 years agoPR 1070
Nick Clifton [Mon, 8 Aug 2005 11:15:33 +0000 (11:15 +0000)]
PR 1070
* macro.c (getstring): Treat round parentheses in the same way as angle brackets.
(get_any_string): Likewise.

19 years agoPR 1147
Nick Clifton [Mon, 8 Aug 2005 11:06:16 +0000 (11:06 +0000)]
PR 1147
elf32-arm.c (bfd_elf32_close_and_cleanup): Define.
  (elf32_arm_close_and_cleanup): New function - walk over the sections in the
    bfd that is being closed removing them from the list of recorded sections.
  (unrecord_section_via_map_over_sections): New helper function.
  (record_section_with_arm_elf_section_data): Call bfd_malloc instead of
    bfd_alloc.  Remove unneeded abfd parameter.
  (elf32_arm_new_section_hook): Do not pass bfd to record_section_with_arm_elf_section_data.
elfxx-target.h (bfd_elfNN_close_and_cleanup): Only define if not already
  defined by the target.

19 years ago2005-08-08 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 8 Aug 2005 09:21:05 +0000 (09:21 +0000)]
2005-08-08  Paolo Bonzini  <bonzini@gnu.org>

* configure.in (CC_FOR_TARGET, CXX_FOR_TARGET, GCJ_FOR_TARGET,
GCC_FOR_TARGET, RAW_CXX_FOR_TARGET, GFORTRAN_FOR_TARGET): Find
them with NCN_STRICT_CHECK_TARGET_TOOL, like the other target
tools; remove code to manually set them.
(Target tools): Look in the environment for them.
* Makefile.tpl (CC_FOR_TARGET, CXX_FOR_TARGET, GCJ_FOR_TARGET,
GCC_FOR_TARGET, RAW_CXX_FOR_TARGET, GFORTRAN_FOR_TARGET): Redefine.
(AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): Look into gcc
build directory.
(CONFIGURED_CC_FOR_TARGET, CONFIGURED_CXX_FOR_TARGET,
CONFIGURED_GCJ_FOR_TARGET, CONFIGURED_GCC_FOR_TARGET,
CONFIGURED_GFORTRAN_FOR_TARGET, USUAL_CC_FOR_TARGET,
USUAL_CXX_FOR_TARGET, USUAL_GCJ_FOR_TARGET, USUAL_GCC_FOR_TARGET,
USUAL_RAW_CXX_FOR_TARGET, USUAL_GFORTRAN_FOR_TARGET): New.
(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE,
RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, RECURSE_FLAGS): Delete.
* configure: Regenerate.
* Makefile.in: Regenerate.

19 years ago2005-08-07 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 8 Aug 2005 03:05:44 +0000 (03:05 +0000)]
2005-08-07  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/1118
* as.c (parse_args): Handle -al=<FILE>.

19 years ago*** empty log message ***
gdbadmin [Mon, 8 Aug 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Mon, 8 Aug 2005 00:00:06 +0000 (00:00 +0000)]
daily update

19 years agoReviewed and approved by Nick Clifton <nickc@redhat.com>
Fred Fish [Sun, 7 Aug 2005 14:47:02 +0000 (14:47 +0000)]
Reviewed and approved by Nick Clifton  <nickc@redhat.com>

2005-08-05  Fred Fish  <fnf@specifix.com>
* dwarf2.c (read_rangelist): Use addr_size instead of offset_size
to determine how many bytes to read from each rangelist entry.