OSDN Git Service

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

17 years ago binutils/testsuite/
Mark Shinwell [Tue, 8 May 2007 06:48:06 +0000 (06:48 +0000)]
binutils/testsuite/
* binutils-all/strip-3.d: Strip .ARM.attributes and .reginfo
sections.

17 years ago* elf32-frv.c (elf32_frv_relocate_section): Discard dynamic relocs
Alexandre Oliva [Tue, 8 May 2007 06:09:30 +0000 (06:09 +0000)]
* elf32-frv.c (elf32_frv_relocate_section): Discard dynamic relocs
for which _bfd_elf_section_offset returns -1.

17 years ago * elf32-spu.c (spu_elf_size_stubs): Use "void *" for psyms.
Alan Modra [Tue, 8 May 2007 02:29:27 +0000 (02:29 +0000)]
* elf32-spu.c (spu_elf_size_stubs): Use "void *" for psyms.
(mark_functions_via_relocs): Likewise.

17 years agomerge from gcc
DJ Delorie [Tue, 8 May 2007 01:29:33 +0000 (01:29 +0000)]
merge from gcc

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

17 years ago2007-05-07 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 7 May 2007 19:01:00 +0000 (19:01 +0000)]
2007-05-07  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (threebyte_0x38_uses_DATA_prefix): Correct entries
for some SSE4 instructions.
(threebyte_0x3a_uses_DATA_prefix): Likewise.

17 years ago * ld.h (args_type, ld_config_type): Reorder fields.
Alan Modra [Mon, 7 May 2007 15:04:53 +0000 (15:04 +0000)]
* ld.h (args_type, ld_config_type): Reorder fields.
* ldmain.c (main): Don't initialise a bunch of vars we know are
zero already.

17 years ago * elflink.c (bfd_elf_final_link): Correct reloc handling for
Alan Modra [Mon, 7 May 2007 14:47:28 +0000 (14:47 +0000)]
* elflink.c (bfd_elf_final_link): Correct reloc handling for
elf_backend_count_relocs.
(bfd_elf_discard_info): Print an error if we can't read syms.

17 years ago * elf32-spu.c (spu_elf_reloc_type_lookup): Return NULL on
Alan Modra [Mon, 7 May 2007 14:37:27 +0000 (14:37 +0000)]
* elf32-spu.c (spu_elf_reloc_type_lookup): Return NULL on
invalid reloc code.
(spu_elf_gc_mark_hook, spu_elf_section_processing): Delete functions.
(elf_backend_gc_mark_hook, elf_backend_section_processing): Don't
define.

17 years ago * elf.c (assign_file_positions_for_load_sections): Don't check
Alan Modra [Mon, 7 May 2007 01:05:46 +0000 (01:05 +0000)]
* elf.c (assign_file_positions_for_load_sections): Don't check
core segment.

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

17 years ago * cp-demangle.c (d_name): Detect local-source-name.
Geoffrey Keating [Sun, 6 May 2007 00:25:11 +0000 (00:25 +0000)]
* cp-demangle.c (d_name): Detect local-source-name.
(d_prefix): Likewise.
(d_unqualified_name): Implement local-source-name.

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

17 years ago gas/
Mark Shinwell [Sat, 5 May 2007 16:23:57 +0000 (16:23 +0000)]
gas/
* config/tc-arm.c (md_apply_fix): Generate more accurate
diagnostic when 8-bit immediate range is exceeded for
BFD_RELOC_ARM_OFFSET_IMM8.

17 years ago * multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for
Denis Chertykov [Sat, 5 May 2007 06:51:24 +0000 (06:51 +0000)]
* multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for
"--pmem-wrap-around".
(PARSE_AND_LIST_OPTIONS): Describe new value for "--pmem-wrap-around".

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

17 years ago2007-05-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 4 May 2007 21:53:02 +0000 (21:53 +0000)]
2007-05-04  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (elf_link_sort_relocs): Return if both .rela.dyn
and .rel.dyn aren't present.

17 years ago * gas/m68k/all.exp: Skip fmoveml on fido.
Kazu Hirata [Fri, 4 May 2007 15:45:21 +0000 (15:45 +0000)]
* gas/m68k/all.exp: Skip fmoveml on fido.

17 years ago* elflink.c (elf_link_sort_relocs): If both .rela.dyn and .rel.dyn sections
Nick Clifton [Fri, 4 May 2007 14:17:07 +0000 (14:17 +0000)]
* elflink.c (elf_link_sort_relocs): If both .rela.dyn and .rel.dyn sections
  are present examine the indirect sections in an attempt to compute the
  correct relocation size.  If there is any ambiguity, produce an error and
  refuse to sort.

17 years ago2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 4 May 2007 00:44:36 +0000 (00:44 +0000)]
2007-05-03  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/4460
* gas/i386/gotpc.s: Add a new test.
* gas/i386/reloc64.s: Likewise.

* gas/i386/gotpc.d: Updated.
* gas/i386/reloc64.d: Likewise.

17 years ago PR gas/4460
Alan Modra [Fri, 4 May 2007 00:02:47 +0000 (00:02 +0000)]
PR gas/4460
* config/tc-i386.c (lex_got): Don't replace the reloc token with
a space if we already have a space.

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.