OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
17 years agodaily update
Alan Modra [Fri, 4 May 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago * filename_cmp.c: Replace include of ctype.h by include of
Joel Brobecker [Thu, 3 May 2007 23:40:11 +0000 (23:40 +0000)]
    * filename_cmp.c: Replace include of ctype.h by include of
        safe-ctype.h.
        (filename_cmp): Use TOLOWER instead of tolower for conversions
        that are locale-independent.
        * Makefile.in (filename_cmp.o): Add dependency on safe-ctype.h.

17 years agogas/
H.J. Lu [Thu, 3 May 2007 21:07:16 +0000 (21:07 +0000)]
gas/

2007-05-03  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (match_template): Don't explicitly check
suffix for crc32 in Intel mode.
(process_suffix): Issue an error for crc32 if the operand size
is ambiguous.

gas/testsuite/

2007-05-03  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/crc32-intel.d: Updated.
* gas/i386/crc32.d: Likewise.
* gas/i386/sse4_2.d: Likewise.
* gas/i386/x86-64-crc32-intel.d: Likewise.
* gas/i386/x86-64-crc32.d: Likewise.
* gas/i386/x86-64-sse4_2.d: Likewise.

* gas/i386/crc32.s: Remove crc32 instructions with ambiguous
operand size and suffix in crc32 instructions in Intel mode.
* gas/i386/x86-64-crc32.s: Likewise.

* gas/i386/sse4_2.s: Remove crc32 instructions with ambiguous
operand size.
* gas/i386/x86-64-sse4_2.s: Likewise.

* gas/i386/i386.exp: Run inval-crc32 and x86-64-inval-crc32.

* gas/i386/inval-crc32.l: New.
* gas/i386/inval-crc32.s: Likewise.
* gas/i386/x86-64-inval-crc32.l: Likewise.
* gas/i386/x86-64-inval-crc32.s: Likewise.

opcodes/

2007-05-03  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.

* i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
type for crc32.

17 years ago * scripttempl/elfxtensa.sc: Merge changes from elf.sc.
Bob Wilson [Thu, 3 May 2007 19:31:03 +0000 (19:31 +0000)]
* scripttempl/elfxtensa.sc: Merge changes from elf.sc.

17 years ago2007-05-03 Sandra Loosemore <sandra@codesourcery.com>
Sandra Loosemore [Thu, 3 May 2007 19:27:14 +0000 (19:27 +0000)]
2007-05-03  Sandra Loosemore  <sandra@codesourcery.com>

bfd/
* elf32-arm.c (allocate_dynrelocs): Fix typo in comment.

17 years agoPR gas/3041
Nick Clifton [Thu, 3 May 2007 15:55:38 +0000 (15:55 +0000)]
PR gas/3041
* gas/config/tc-m68k.c (relaxable_symbol): Do not relax weak symbols.
    (tc_gen_reloc): Adjust the addend of relocs against weak symbols.
     (md_apply_fix): Put zero values into the frags referencing weak symbols.
* bfd/aoutx.h (swap_std_reloc_out): Treat relocs against weak symbols in the same way as relocs against external symbols.

17 years ago * ld.texinfo (--no-warn-search-mismatch): Document.
Alan Modra [Thu, 3 May 2007 09:24:16 +0000 (09:24 +0000)]
* ld.texinfo (--no-warn-search-mismatch): Document.
* ldfile.c (ldfile_try_open_bfd): Don't warn about skipping
incompatible libraries if --no-warn-search-mismatch.
* ld.h (args_type): Add warn_search_mismatch.
* ldmain.c (main): Init it.
* lexsup.c (enum option_values): Add OPTION_NO_WARN_SEARCH_MISMATCH.
(ld_options): Add entry for --no-warn-search-mismatch.
(parse_args): Handle OPTION_NO_WARN_SEARCH_MISMATCH.

17 years ago * scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges.
Alan Modra [Thu, 3 May 2007 07:06:13 +0000 (07:06 +0000)]
* scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges.

17 years agodaily update
Alan Modra [Thu, 3 May 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years agoinclude/elf/
Alan Modra [Wed, 2 May 2007 13:44:37 +0000 (13:44 +0000)]
include/elf/
* internal.h (ELF_IS_SECTION_IN_SEGMENT): Check both file offset
and vma for appropriate sections.
bfd/
* elf.c (assign_file_positions_for_load_sections): Set sh_offset
here.  Set sh_type to SHT_NOBITS if we won't be allocating
file space.  Don't bump p_memsz for non-alloc sections.  Adjust
section-in-segment check.
(assign_file_positions_for_non_load_sections): Don't set sh_offset
here for sections that have already been handled above.

17 years agogas/
Alan Modra [Wed, 2 May 2007 11:24:17 +0000 (11:24 +0000)]
gas/
PR 4448
* config/tc-ppc.c (ppc_insert_operand): Don't increase min for
PPC_OPERAND_PLUS1.
include/opcode/
* ppc.h (PPC_OPERAND_PLUS1): Update comment.

17 years ago * binutils-all/objcopy.exp (copy_setup): Don't perror, use send_log.
Alan Modra [Wed, 2 May 2007 10:38:00 +0000 (10:38 +0000)]
* binutils-all/objcopy.exp (copy_setup): Don't perror, use send_log.
(copy_executable): Return early if test2 is blank.
Return unsupported rather than unresolved if we can't run
executables.  Do test1 if we can compile.

17 years agocommit the Robert's removal of "warning:"
Alan Modra [Wed, 2 May 2007 01:22:40 +0000 (01:22 +0000)]
commit the Robert's removal of "warning:"

17 years agodaily update
Alan Modra [Wed, 2 May 2007 00:00:38 +0000 (00:00 +0000)]
daily update

17 years ago * ldlang.c (lang_check): Error on architecture mismatch.
Alan Modra [Tue, 1 May 2007 13:35:34 +0000 (13:35 +0000)]
* ldlang.c (lang_check): Error on architecture mismatch.

17 years agogas/config/
H.J. Lu [Tue, 1 May 2007 12:59:24 +0000 (12:59 +0000)]
gas/config/

2007-05-01  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (match_template): Check suffix for crc32 in
Intel mdoe.
(process_suffix): Default the suffix of 8bit crc32 to
BYTE_MNEM_SUFFIX.
(check_byte_reg): Skip check for 8bit crc32.

gas/testsuite/

2007-05-01  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/crc32-intel.d: New file.
* gas/i386/crc32.d:Likewise.
* gas/i386/crc32.s:Likewise.
* gas/i386/x86-64-crc32-intel.d:Likewise.
* gas/i386/x86-64-crc32.d:Likewise.
* gas/i386/x86-64-crc32.s:Likewise.

* gas/i386/i386.exp: Run crc32, crc32-intel, x86-64-crc32
and x86-64-crc32-intel.

opcodes/

2007-05-01  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
check data size prefix in 16bit mode.

* i386-opc.c (i386_optab): Default crc32 to non-8bit and
support Intel mode.

17 years agodaily update
Alan Modra [Tue, 1 May 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years agobfd/
Alan Modra [Mon, 30 Apr 2007 14:06:40 +0000 (14:06 +0000)]
bfd/
* elf32-spu.c (struct spu_link_hash_table): Add stack_analysis
and emit_stack_syms bitfields.
(get_sym_h): Read all symbols if stack analysis will be done.
(spu_elf_create_sections): Add stack_analysis and emit_stack_syms
params, and stash in hash table.
(is_hint): Split off from..
(is_branch): ..here.  Adjust callers.
(spu_elf_size_stubs): Add stack_analysis param.  Arrange to read
and keep all syms.
(write_one_stub): Fix mem leak.
(find_function_stack_adjust): New function.
(sort_syms_syms, sort_syms_psecs): New vars.
(sort_syms): New function.
(struct call_info, struct function_info): New.
(struct spu_elf_stack_info): New.
(alloc_stack_info, maybe_insert_function, func_name): New functions.
(is_nop, insns_at_end, check_function_ranges): Likewise.
(find_function, insert_callee, mark_functions_via_relocs): Likewise.
(pasted_function, interesting_section, discover_functions): Likewise.
(mark_non_root, call_graph_traverse, build_call_tree): Likewise.
(sum_stack, spu_elf_stack_analysis, spu_elf_final_link): Likewise.
(bfd_elf32_bfd_final_link): Define.
* elf32-spu.h (struct _spu_elf_section_data): Add stack_info field.
(spu_elf_create_sections, spu_elf_size_stubs): Update prototypes.
include/
* bfdlink.h (struct bfd_link_info): Add "info" and "minfo".
ld/
* ldmain.c (link_callbacks): Init info and minfo fields.
* ldmisc.c (minfo): Do nothing if no map file.
* emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars.
(spu_after_open): Adjust spu_elf_create_sections call.
(spu_before_allocation): Likewise for spu_elf_size_stubs.
(OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define.
(PARSE_AND_LIST_LONGOPTS): Add new entries.
(PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
* gen-doc.texi: Add @set for SPU and other missing targets.
* ld.texinfo: Update man page selection to match gen-doc.texi.
Document SPU features.

17 years ago2007-04-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 30 Apr 2007 13:42:40 +0000 (13:42 +0000)]
2007-04-30  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (md_assemble): Use register_prefix in
error/warning message.
(check_byte_reg): Likewise.
(check_long_reg): Likewise.
(check_qword_reg): Likewise.
(check_word_reg): Likewise.
(process_operands): Likewise.

17 years agoSupport new FR-V SPRs
Mark Salter [Mon, 30 Apr 2007 13:21:52 +0000 (13:21 +0000)]
Support new FR-V SPRs

17 years agoopcodes/
Alan Modra [Mon, 30 Apr 2007 00:27:57 +0000 (00:27 +0000)]
opcodes/
PR 4436
* ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
gas/
PR 4436
* config/tc-ppc.c (ppc_insert_operand): Disable range check if
min > max.

17 years agodaily update
Alan Modra [Mon, 30 Apr 2007 00:00:07 +0000 (00:00 +0000)]
daily update

17 years agodaily update
Alan Modra [Sun, 29 Apr 2007 00:00:08 +0000 (00:00 +0000)]
daily update

17 years ago * elfxx-mips.c (mips_elf_create_dynamic_relocation): Don't access
Thiemo Seufer [Sat, 28 Apr 2007 22:31:45 +0000 (22:31 +0000)]
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Don't access
memory which we might not own.

17 years ago * config/tc-mips.c: Fix comment.
Thiemo Seufer [Sat, 28 Apr 2007 22:12:58 +0000 (22:12 +0000)]
* config/tc-mips.c: Fix comment.

17 years ago * ldcref.c (struct cref_hash_entry): Make "demangled" const.
Alan Modra [Sat, 28 Apr 2007 06:04:28 +0000 (06:04 +0000)]
* ldcref.c (struct cref_hash_entry): Make "demangled" const.
(cref_fill_array): Adjust for changed demangler.
* ldlang.c (lang_one_common): Likewise.

17 years ago * prdbg.c (tg_variable): Adjust for changed demangler.
Alan Modra [Sat, 28 Apr 2007 06:03:36 +0000 (06:03 +0000)]
* prdbg.c (tg_variable): Adjust for changed demangler.
(tg_start_function): Likewise.

17 years agodaily update
Alan Modra [Sat, 28 Apr 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago * elf32-xtensa.c (elf_xtensa_make_sym_local): Restore deleted function.
Bob Wilson [Fri, 27 Apr 2007 20:10:47 +0000 (20:10 +0000)]
* elf32-xtensa.c (elf_xtensa_make_sym_local): Restore deleted function.
(elf_xtensa_hide_symbol, elf_backend_hide_symbol): Likewise.
(elf_xtensa_allocate_dynrelocs): Use elf_xtensa_make_sym_local.

17 years ago * elf32-xtensa.c (xtensa_read_table_entries): Step through table
Bob Wilson [Fri, 27 Apr 2007 19:57:40 +0000 (19:57 +0000)]
* elf32-xtensa.c (xtensa_read_table_entries): Step through table
contents and relocs in parallel.

17 years ago2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 27 Apr 2007 19:47:30 +0000 (19:47 +0000)]
2007-04-27  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (modrm): Put reg before rm.

17 years ago * elf32-xtensa.c (relax_property_section): Remove extra irel increment.
Bob Wilson [Fri, 27 Apr 2007 18:28:22 +0000 (18:28 +0000)]
* elf32-xtensa.c (relax_property_section): Remove extra irel increment.

17 years ago * ld-m68k/plt1-isac.d: New.
Nathan Sidwell [Fri, 27 Apr 2007 16:24:18 +0000 (16:24 +0000)]
* ld-m68k/plt1-isac.d: New.
* ld-m68k/m68k.exp: Add it.

17 years agogas/testsuite/
H.J. Lu [Fri, 27 Apr 2007 04:22:02 +0000 (04:22 +0000)]
gas/testsuite/

2007-04-26  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4430
* gas/i386/amd.d: Updated.
* gas/i386/immed32.d: Likewise.
* gas/i386/intel.d: Likewise.
* gas/i386/intel16.d: Likewise.
* gas/i386/intelok.d: Likewise.
* gas/i386/jump16.d: Likewise.
* gas/i386/naked.d: Likewise.
* gas/i386/opcode-suffix.d: Likewise.
* gas/i386/opcode.d: Likewise.
* gas/i386/prescott.d: Likewise.
* gas/i386/ssemmx2.d: Likewise.
* gas/i386/tlsd.d: Likewise.
* gas/i386/tlspic.d: Likewise.
* gas/i386/x86-64-addr32.d: Likewise.
* gas/i386/x86-64-prescott.d: Likewise.
* gas/i386/x86-64-rip.d: Likewise.
* gas/i386/x86_64.d: Likewise.

ld/testsuite/

2007-04-26  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4430
* ld-i386/tlsbin.dd: Updated.
* ld-i386/tlsbindesc.dd: Likewise
* ld-i386/tlsdesc.dd: Likewise
* ld-i386/tlsgdesc.dd: Likewise
* ld-i386/tlsnopic.dd: Likewise
* ld-i386/tlspic.dd: Likewise
* ld-x86-64/tlsbin.dd: Likewise
* ld-x86-64/tlsbindesc.dd: Likewise
* ld-x86-64/tlsdesc.dd: Likewise
* ld-x86-64/tlsgdesc.dd: Likewise
* ld-x86-64/tlspic.dd: Likewise

opcodes/

2007-04-26  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4430
* i386-dis.c (print_displacement): New.
(OP_E): Call print_displacement instead of print_operand_value
to output displacement when either base or index exist.  Print
the explicit zero displacement in 16bit mode.

17 years agoWrite Mimi's name in ASCII.
Alan Modra [Fri, 27 Apr 2007 03:37:43 +0000 (03:37 +0000)]
Write Mimi's name in ASCII.

17 years ago * emulparams/elf32_sparc.sh: Update comments.
Alan Modra [Fri, 27 Apr 2007 00:09:31 +0000 (00:09 +0000)]
* emulparams/elf32_sparc.sh: Update comments.
* emulparams/elf32bmip.sh: Likewise.
* emulparams/elf32ppc.sh: Likewise.
* emulparams/vxworks.sh: Likewise.

17 years agodaily update
Alan Modra [Fri, 27 Apr 2007 00:00:08 +0000 (00:00 +0000)]
daily update

17 years agogas/testsuite/
H.J. Lu [Thu, 26 Apr 2007 18:15:47 +0000 (18:15 +0000)]
gas/testsuite/

2007-04-26  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4429
* gas/i386/i386.exp: Run "x86-64-addr32-intel" and
"x86-64-rip-intel".

* gas/i386/intelok.d: Updated.

* gas/i386/x86-64-addr32-intel.d: New file.
* gas/i386/x86-64-rip-intel.d: Likewise.

opcodes/

2007-04-26  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4429
* i386-dis.c (print_insn): Also swap the order of op_riprel
when swapping op_index.  Break when the RIP relative address
is printed.
(OP_E): Properly handle RIP relative addressing and print the
explicit zero displacement for Intel mode.

17 years ago * config/tc-avr.c (mcu_types): Add support for atmega8hva and
Denis Chertykov [Thu, 26 Apr 2007 17:18:23 +0000 (17:18 +0000)]
* config/tc-avr.c (mcu_types): Add support for atmega8hva and
atmega16hva devices. Move at90usb82 device to 'avr5' architecture.
* doc/c-avr.texi: Document new devices.

17 years agobfd/
Alan Modra [Thu, 26 Apr 2007 14:58:51 +0000 (14:58 +0000)]
bfd/
* sysdep.h: Include config.h first.
Many files: Include sysdep.h before bfd.h.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
binutils/
* bucumm.h: Split off host dependencies to..
* sysdep.h: ..here.
Many files: Include sysdep.h.  Remove duplicate headers and reorder.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
ld/
Many files: Include sysdep.h first.  Remove duplicate headers.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
opcodes/
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* ns32k-dis.c: Include sysdep.h first.

17 years agobfd/
Alan Modra [Thu, 26 Apr 2007 14:47:00 +0000 (14:47 +0000)]
bfd/
Many files: Include sysdep.h before bfd.h.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
binutils/
* bucumm.h: Split off host dependencies to..
* sysdep.h: ..here.
Many files: Include sysdep.h.  Remove duplicate headers and reorder.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
ld/
Many files: Include sysdep.h first.  Remove duplicate headers.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
opcodes/
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* ns32k-dis.c: Include sysdep.h first.

17 years agoRevert the value change of DT_ENCODING from 2003-01-17. Luckily (and
Jan Beulich [Thu, 26 Apr 2007 06:59:55 +0000 (06:59 +0000)]
Revert the value change of DT_ENCODING from 2003-01-17. Luckily (and
surprisingly) the value isn't really being used anywhere, henc no other
changes are needed.

include/elf/
2007-04-26  Jan Beulich  <jbeulich@novell.com>

* common.h (DT_ENCODING): Correct value (back to spec mandated
value).

17 years agomerge from gcc
DJ Delorie [Thu, 26 Apr 2007 03:13:46 +0000 (03:13 +0000)]
merge from gcc

17 years agodaily update
Alan Modra [Thu, 26 Apr 2007 00:00:08 +0000 (00:00 +0000)]
daily update

17 years ago * sysdep.h: Revert last change.
Alan Modra [Wed, 25 Apr 2007 06:32:13 +0000 (06:32 +0000)]
* sysdep.h: Revert last change.

17 years agodaily update
Alan Modra [Wed, 25 Apr 2007 00:00:07 +0000 (00:00 +0000)]
daily update

17 years ago2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
Martin Schwidefsky [Tue, 24 Apr 2007 14:49:47 +0000 (14:49 +0000)]
2007-04-24  Andreas Krebbel  <krebbel1@de.ibm.com>

* opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
opcode.
* opcodes/s390-opc.txt (pfpo, ectg, csst): New z9-ec instructions added.

2007-04-24  Andreas Krebbel  <krebbel1@de.ibm.com>

* gas/s390/zarch-z9-ec.d: Add pfpo, ectg and csst.
* gas/s390/zarch-z9-ec.s: Likewise.

17 years agoFix compile time warning (at -O3 with gcc 4.1.2)
Nick Clifton [Tue, 24 Apr 2007 13:21:32 +0000 (13:21 +0000)]
Fix compile time warning (at -O3 with gcc 4.1.2)

17 years agoFix compile time warnings (at -O3 with gcc 4.1.2)
Nick Clifton [Tue, 24 Apr 2007 13:05:46 +0000 (13:05 +0000)]
Fix compile time warnings (at -O3 with gcc 4.1.2)

17 years ago* srconv.c (walk_tree_type_1): Initialise dpt.dunno.
Nick Clifton [Tue, 24 Apr 2007 12:08:39 +0000 (12:08 +0000)]
* srconv.c (walk_tree_type_1): Initialise dpt.dunno.

17 years ago* objcopy.c (filter_symbols): Explicitly stripping a symbol used in relocations is...
Nick Clifton [Tue, 24 Apr 2007 10:56:58 +0000 (10:56 +0000)]
* objcopy.c (filter_symbols): Explicitly stripping a symbol used in relocations is an error.
  Retype 'keep' to bfd_boolean.
* binutils-all/objcopy.exp: Add test for stripping a symbol used in a relocation.
* binutils-all/needed-by-reloc.s: New file.

17 years ago * ld-linkonce/x.s: Use .gcc_except_table instead of .eh_frame
Alan Modra [Tue, 24 Apr 2007 04:29:03 +0000 (04:29 +0000)]
* ld-linkonce/x.s: Use .gcc_except_table instead of .eh_frame
to test that entry for deleted function is zeroed.  Add a
somewhat closer to normal .eh_frame to test that fde for
deleted function is removed.
* ld-linkonce/y.s: Likewise.
* ld-linkonce/zeroeh.ld: Place .gcc_except_table too.
* ld-linkonce/zeroehl32.d: Update.

17 years ago * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Warn if
Alan Modra [Tue, 24 Apr 2007 04:28:38 +0000 (04:28 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Warn if
eh_frame_hdr table won't be created.

17 years ago * cgen-types.h: Include bfd_stdint.h, not stdint.h.
Alan Modra [Tue, 24 Apr 2007 04:07:03 +0000 (04:07 +0000)]
* cgen-types.h: Include bfd_stdint.h, not stdint.h.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

17 years ago * Makefile.in: Regenerate.
Alan Modra [Tue, 24 Apr 2007 04:06:36 +0000 (04:06 +0000)]
* Makefile.in: Regenerate.

17 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Tue, 24 Apr 2007 04:06:14 +0000 (04:06 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

17 years ago * Makefile.in: Regenerate.
Alan Modra [Tue, 24 Apr 2007 04:05:48 +0000 (04:05 +0000)]
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.

17 years ago * acinclude.m4: Include config/stdint.m4.
Alan Modra [Tue, 24 Apr 2007 04:05:04 +0000 (04:05 +0000)]
* acinclude.m4: Include config/stdint.m4.
* configure.in: Invoke GCC_HEADER_STDINT.
* sysdep.h: Don't include ansidecl.h here.
* configure: Regenerate.
* config.in: Regenerate.
* Makefile.in: Regenerate.

17 years agodaily update
Alan Modra [Tue, 24 Apr 2007 00:00:07 +0000 (00:00 +0000)]
daily update

17 years ago* objcopy.c (reverse_bytes): New variable.
Nick Clifton [Mon, 23 Apr 2007 10:59:07 +0000 (10:59 +0000)]
* objcopy.c (reverse_bytes):  New variable.
  (command_line_switch, copy_main):  Add OPTION_REVERSE_ENDIAN.
  (copy_options, copy_usage):  Add "reverse-bytes" entry.
  (copy_section):  Reverse bytes within output sections.
* doc/binutils.texi:  Document new objcopy option.
* testsuite/binutils-all/objcopy.exp: Add test for --reverse-bytes.

17 years ago gas/testsuite/
Nathan Sidwell [Mon, 23 Apr 2007 07:51:33 +0000 (07:51 +0000)]
gas/testsuite/
* gas/m68k/br-isaa.s: New.
* gas/m68k/br-isaa.d: New.
* gas/m68k/br-isab.s: New.
* gas/m68k/br-isab.d: New.
* gas/m68k/br-isac.s: New.
* gas/m68k/br-isac.d: New.
* gas/m68k/all.exp: Adjust.

gas/
* config/tc-m68k.c (mcf54455_ctrl): New.
(HAVE_LONG_DISP, HAVE_LONG_CALL, HAVE_LONG_COND): New.
(m68k_archs): Add isac.
(m68k_cpus): Add 54455 family.
(m68k_ip): Split Bg into Bb, Bs, Bg.
(m68k_elf_final_processing): Add ISA_C.
* doc/c-m68k.texi (M680x0 Options): Add isac.

include/opcode/
* m68k.h (mcfisa_c): New.
(mcfusp, mcf_mask): Adjust.

bfd/
* archures.c (bfd_mach_mcf_isa_c, bfd_mach_mcf_isa_c_mac,
bfd_mach_mcf_isa_c_emac): New.
* elf32-m68k.c (ISAC_PLT_ENTRY_SIZE, elf_isac_plt0_entry,
elf_isac_plt_entry, elf_isac_plt_info): New.
(elf32_m68k_object_p): Add ISA_C.
(elf32_m68k_print_private_bfd_data): Print ISA_C.
(elf32_m68k_get_plt_info): Detect ISA_C.
* cpu-m68k.c (arch_info): Add ISAC.
(m68k_arch_features): Likewise,
(bfd_m68k_compatible): ISAs B & C are not compatible.

opcodes/
* m68k-opc.c: Mark mcfisa_c instructions.

17 years agodaily update
Alan Modra [Mon, 23 Apr 2007 00:00:07 +0000 (00:00 +0000)]
daily update

17 years ago * read.c (read_a_source_file): Skip multiple spaces to
Alan Modra [Sun, 22 Apr 2007 05:27:58 +0000 (05:27 +0000)]
* read.c (read_a_source_file): Skip multiple spaces to
cover hack in mmix md_start_line_hook which overwrites a
colon with a space.  Delete sermon and needless assertion.

17 years agodaily update
Alan Modra [Sun, 22 Apr 2007 00:00:08 +0000 (00:00 +0000)]
daily update

17 years ago * gas/arm/arch4t.d: Convert to unified syntax.
Richard Earnshaw [Sat, 21 Apr 2007 19:45:05 +0000 (19:45 +0000)]
* gas/arm/arch4t.d: Convert to unified syntax.
* gas/arm/archv6.d: Likewise.
* gas/arm/archv6t2.d: Likewise.
* gas/arm/arch3.d: Likewise.
* gas/arm/arch7dm.d: Likewise.
* gas/arm/arch7t.d: Likewise.
* gas/arm/archv1.d: Likewise.
* gas/arm/copro.d: Likewise.
* gas/arm/inst.d: Likewise.
* gas/arm/macro1.d: Likewise.
* gas/arm/tcompat.d: Likewise.
* gas/arm/wince_inst.d: Likewise.
* gas/arm/xscale.d: Likewise.

* gas/arm/thumb.d: White space cleanup.
* gas/arm/thumb2_relax.d: Likewise.
* gas/arm/thumb32.d: Likewise.

17 years ago * ld-arm/arm-app-abs32.d: Convert to unified syntax.
Richard Earnshaw [Sat, 21 Apr 2007 19:44:40 +0000 (19:44 +0000)]
* ld-arm/arm-app-abs32.d: Convert to unified syntax.
* ld-arm/arm-app.d: Likewise.
* ld-arm/arm-lib-plt32.d: Likewise.
* ld-arm/arm-lib.d: Likewise.
* ld-arm/arm-static-app.d: Likewise.
* ld-arm/armthumb-lib.d: Likewise.
* ld-arm/mixed-app-v5.d: Likewise.
* ld-arm/mixed-app.d: Likewise.
* ld-arm/mixed-lib.d: Likewise.

17 years ago * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
Richard Earnshaw [Sat, 21 Apr 2007 19:44:09 +0000 (19:44 +0000)]
* arm-dis.c (arm_opcodes): Disassemble to unified syntax.
(thumb_opcodes): Add missing white space in adr.
(arm_decode_shift): New parameter, print_shift.  Only decode the
shift parameter if set.  Adjust callers.
(print_insn_arm): Support for operand type q with no shift decode.

17 years ago * binutils-all/readelf.exp (regexp_diff): Delete.
Richard Earnshaw [Sat, 21 Apr 2007 19:01:20 +0000 (19:01 +0000)]
* binutils-all/readelf.exp (regexp_diff): Delete.

17 years ago * config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned.
Alan Modra [Sat, 21 Apr 2007 13:04:14 +0000 (13:04 +0000)]
* config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned.
(md_atof): Make number_of_chars unsigned.  Revert last change.
* config/tc-or32.c (md_apply_fix): Delete bogus assertions.
* config/tc-sh.c (sh_optimize_expr): Only define for OBJ_ELF.
* config/tc-sh.h (md_optimize_expr): Likewise.
* config/tc-sh64.c (shmedia_md_pcrel_from_section): Delete bogus
assertion.
* config/tc-xtensa.c (convert_frag_immed_finish_loop): Likewise.

17 years ago* config/atof-vax.c (md_atof): Fix comparison inside know().
Nick Clifton [Sat, 21 Apr 2007 12:50:49 +0000 (12:50 +0000)]
* config/atof-vax.c (md_atof): Fix comparison inside know().

17 years agoFix typo.
Nick Clifton [Sat, 21 Apr 2007 12:25:13 +0000 (12:25 +0000)]
Fix typo.

17 years ago* ecoff.c (_bfd_ecoff_write_armap): Initialise rehash.
Nick Clifton [Sat, 21 Apr 2007 07:49:29 +0000 (07:49 +0000)]
* ecoff.c (_bfd_ecoff_write_armap): Initialise rehash.
  (ecoff_link_add_archive_symbols): Likewise.
* coff-m68k.c (m68kcoff_common_addend_rtype_to_howto): Initialise relent.howto.
* ieee.c (parse_int): Initialise x.
  (must_parse_int): Initialise result.
  (ieee_slurp_external_symbols): Initialise value.

17 years agogas/
Alan Modra [Sat, 21 Apr 2007 06:54:57 +0000 (06:54 +0000)]
gas/
* expr.c (expr): Assert on rankarg, not rank which can be unsigned.
* read.c (read_a_source_file): Remove buffer_limit[-1] assertion.
Don't skip over NUL char.
(pseudo_set): Set X_op for registers to O_register.
* symbols.c (symbol_clone): Remove assertion that sym is defined.
(resolve_symbol_value): Resolve O_register symbols.
* config/tc-i386.c (parse_real_register): Don't use i386_float_regtab.
Instead find st(0) by hash lookup.
* config/tc-ppc.c (ppc_macro): Warning fix.
opcodes/
* i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
Move contents to..
(i386_regtab): ..here.
* i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.

17 years ago * as.h (ENABLE_CHECKING): Default define to 0.
Alan Modra [Sat, 21 Apr 2007 05:15:41 +0000 (05:15 +0000)]
* as.h (ENABLE_CHECKING): Default define to 0.
(know): Assert if ENABLE_CHECKING.
(struct relax_type): Remove superfluous declaration.
* configure.in (--enable-checking): New.
* configure: Regenerate.
* config.in: Regenerate.
* config/tc-ppc.c (ppc_setup_opcodes): Do checks when ENABLE_CHECKING.
Check for duplicate powerpc_operands entries.

17 years ago * ppc-opc.c (powerpc_operands): Delete duplicate entries.
Alan Modra [Sat, 21 Apr 2007 05:14:21 +0000 (05:14 +0000)]
* ppc-opc.c (powerpc_operands): Delete duplicate entries.
(BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
(VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
(powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.

17 years ago * config.bfd (spu-*-elf): Delete targ_selvecs.
Alan Modra [Sat, 21 Apr 2007 05:01:22 +0000 (05:01 +0000)]
* config.bfd (spu-*-elf): Delete targ_selvecs.

17 years agodaily update
Alan Modra [Sat, 21 Apr 2007 00:00:08 +0000 (00:00 +0000)]
daily update

17 years ago * config/tc-m68k.c (mcf5253_ctrl): New.
Nathan Sidwell [Fri, 20 Apr 2007 14:41:38 +0000 (14:41 +0000)]
* config/tc-m68k.c (mcf5253_ctrl): New.
(mcf52223_ctrl): New.
(m68k_cpus): Add 5253, 52221, 52223.

17 years ago gas/
Nathan Sidwell [Fri, 20 Apr 2007 14:09:00 +0000 (14:09 +0000)]
gas/
* config/m68k-parse.h (RAMBAR_ALT): New.
* config/tc-m68k.c (mcf5206_ctrl, mcf5307_ctrl): New.
(mcf_ctrl, mcf5208_ctrl, mcf5210a_ctrl, mcf5213_ctrl, mcf52235_ctrl,
mcf5225_ctrl, mcf5235_ctrl, mcf5271_ctrl, mcf5275_ctrl,
mcf5282_ctrl, mcf5329_ctrl, mcf5373_ctrl, mcfv4e_ctrl,
mcf5475_ctrl, mcf5485_ctrl): Add RAMBAR synonym for
RAMBAR1.
(mcf5272_ctrl): Add RAMBAR0, replace add RAMBAR with RAMBAR_ALT.
(m68k_cpus): Adjust 5206, 5206e & 5307 entries.
(m68k_ip) <Case J>: Detect when RAMBAR_ALT should be used.  Add it
to control register mapping.

gas/testsuite/
* gas/m68k/ctrl-1.d, gas/m68k/ctrl-1.s: New.
* gas/m68k/ctrl-2.d, gas/m68k/ctrl-2.s: New.
* gas/m68k/all.exp: Add them.

opcodes/
* m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
rambar1.

17 years ago* rclex.l: Allow underscores at the start of identifiers.
Nick Clifton [Fri, 20 Apr 2007 13:52:58 +0000 (13:52 +0000)]
* rclex.l: Allow underscores at the start of identifiers.

17 years ago * gas/ppc/range64.s: New.
Alan Modra [Fri, 20 Apr 2007 13:42:48 +0000 (13:42 +0000)]
* gas/ppc/range64.s: New.
* gas/ppc/range64.l: New.
* gas/ppc/range.s: New.
* gas/ppc/range.l: New.
* gas/ppc/ppc.exp (run_list_test): New.  Use to run new tests.

17 years ago * messages.c (as_internal_value_out_of_range): Fix typo in
Alan Modra [Fri, 20 Apr 2007 13:42:03 +0000 (13:42 +0000)]
* messages.c (as_internal_value_out_of_range): Fix typo in
error message.  Return after printing domain error.
* config/tc-ppc.c (ppc_insert_operand): Preserve low zero bits
in max when shifting right.

17 years agoChangelog entry for previous delta
Nick Clifton [Fri, 20 Apr 2007 13:05:18 +0000 (13:05 +0000)]
Changelog entry for previous delta

17 years agoRestore from version 1.1
Nick Clifton [Fri, 20 Apr 2007 12:57:02 +0000 (12:57 +0000)]
Restore from version 1.1

17 years agoinclude/opcode/
Alan Modra [Fri, 20 Apr 2007 12:25:15 +0000 (12:25 +0000)]
include/opcode/
* ppc.h (struct powerpc_operand): Replace "bits" with "bitm".
(num_powerpc_operands): Declare.
(PPC_OPERAND_SIGNED et al): Redefine as hex.
(PPC_OPERAND_PLUS1): Define.
opcodes/
* ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
change.
* ppc-opc.c (powerpc_operands): Replace bit count with bit mask
in all entries.  Add PPC_OPERAND_SIGNED to DE entry.  Remove
references to following deleted functions.
(insert_bd, extract_bd, insert_dq, extract_dq): Delete.
(insert_ds, extract_ds, insert_de, extract_de): Delete.
(insert_des, extract_des, insert_li, extract_li): Delete.
(insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
(insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
(num_powerpc_operands): New constant.
(XSPRG_MASK): Remove entire SPRG field.
(powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
gas/
* messages.c (as_internal_value_out_of_range): Extend to report
errors for values with invalid low bits set.
* config/tc-ppc.c (ppc_setup_opcodes): Check powerpc_operands bitm
fields.  Check that operands and opcode fields are disjoint.
(ppc_insert_operand): Check operands using mask rather than bit
count.   Check low bits too.  Handle PPC_OPERAND_PLUS1.  Adjust
insertion code.
(md_apply_fix): Adjust for struct powerpc_operand change.

17 years agoCorrect erroneous ChangeLog commit.
Mark Shinwell [Fri, 20 Apr 2007 12:15:41 +0000 (12:15 +0000)]
Correct erroneous ChangeLog commit.

17 years ago * Makefile.in: Adjust dependencies of m68klinux-tdep.c.
Mark Shinwell [Fri, 20 Apr 2007 12:13:51 +0000 (12:13 +0000)]
* Makefile.in: Adjust dependencies of m68klinux-tdep.c.
* m68klinux-tdep.c (m68k_uclinux_sigcontext_reg_offset): New.
(m68k_linux_sigcontext_reg_offset): Fix typo.
(target_is_uclinux): New.
(m68k_linux_inferior_created): New.
(m68k_linux_get_sigtramp_info):  Check for uClinux or
normal Linux.  Use m68k_uclinux_sigcontext_reg_offset for
uClinux.
(_initialize_m68k_linux_tdep): Register
m68k_linux_inferior_created.

17 years ago * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
Alan Modra [Fri, 20 Apr 2007 10:24:37 +0000 (10:24 +0000)]
* ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
(Z2_MASK): Define.
(powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.

17 years ago * arm-dis.c (print_insn): Only look for a mapping symbol in the section
Richard Earnshaw [Fri, 20 Apr 2007 00:00:21 +0000 (00:00 +0000)]
* arm-dis.c (print_insn): Only look for a mapping symbol in the section
being disassembled.

17 years agodaily update
Alan Modra [Fri, 20 Apr 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago * gas/arm/mapshort.s: Add a small .data section.
Richard Earnshaw [Thu, 19 Apr 2007 23:59:45 +0000 (23:59 +0000)]
* gas/arm/mapshort.s: Add a small .data section.
* gas/arm/mapshort-eabi.d: Check the data section doesn't confuse
disassembly.
* gas/arm/mapshort-elf.d: Likewise.

17 years ago * binutils-all/arm/thumb2-cond.s: Allow for tab expansion by the pty.
Richard Earnshaw [Thu, 19 Apr 2007 23:27:03 +0000 (23:27 +0000)]
* binutils-all/arm/thumb2-cond.s: Allow for tab expansion by the pty.
Rename the second test.

17 years agoCorrect SSE4.2 ChangeLog entry.
H.J. Lu [Thu, 19 Apr 2007 17:08:56 +0000 (17:08 +0000)]
Correct SSE4.2 ChangeLog entry.

17 years ago2007-04-19 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 19 Apr 2007 17:08:21 +0000 (17:08 +0000)]
2007-04-19  Paul Brook  <paul@codesourcery.com>

gas/testsuite/
* gas/arm/thumb1_unified.d: New test.
* gas/arm/thumb1_unified.s: New test.

gas/
* config/tc-arm.c (md_assemble): Only allow 16-bit instructions on
Thumb-1.  Add sanity check for bogus relaxations.

17 years ago2007-04-19 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 19 Apr 2007 17:05:12 +0000 (17:05 +0000)]
2007-04-19  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (insns): Allow rsb and rsbs on Thumb-1.

17 years ago* coffcode.h (coff_rtype_to_howto): Initialise genrel.howto.
Nick Clifton [Thu, 19 Apr 2007 13:36:41 +0000 (13:36 +0000)]
* coffcode.h (coff_rtype_to_howto): Initialise genrel.howto.

17 years agorevert hunk that belongs to a future patchset
Alan Modra [Thu, 19 Apr 2007 10:55:25 +0000 (10:55 +0000)]
revert hunk that belongs to a future patchset

17 years ago..
Alan Modra [Thu, 19 Apr 2007 10:52:48 +0000 (10:52 +0000)]
..

17 years agoduh
Alan Modra [Thu, 19 Apr 2007 10:52:36 +0000 (10:52 +0000)]
duh

17 years agomissed from last commit
Alan Modra [Thu, 19 Apr 2007 10:51:34 +0000 (10:51 +0000)]
missed from last commit