OSDN Git Service
Jan Beulich [Tue, 15 Nov 2005 08:32:02 +0000 (08:32 +0000)]
binutils/testsuite/
2005-11-15 Jan Beulich <jbeulich@novell.com>
* config/default.exp (link_or_copy): New. Use it for setting
up assembler and linker for the compiler to use.
ld/testsuite/
2005-11-15 Jan Beulich <jbeulich@novell.com>
* ld-bootstrap/bootstrap.exp: Delete ld-partial.o and ld[123]*
after test.
* ld-elf/elf.exp: Delete preinit, init, and fini after test.
* ld-elf/sec64k.exp: Use macro and repeat in generated source
files. Delete object files after test.
Alan Modra [Mon, 14 Nov 2005 23:11:30 +0000 (23:11 +0000)]
* symbols.c (S_GET_VALUE): Remove non-BFD assembler recursion guard.
Alan Modra [Mon, 14 Nov 2005 23:00:04 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Mon, 14 Nov 2005 15:00:30 +0000 (15:00 +0000)]
* readelf.c (struct dump_list_entry, request_dump_byname)
(initialise_dumps_byname): New.
(parse_args): Call request_dump_byname.
(process_section_contents): Call initialise_dumps_byname.
* doc/binutils.texi (readelf): Mention -x NAME.
* NEWS: Likewise.
Thiemo Seufer [Mon, 14 Nov 2005 11:03:15 +0000 (11:03 +0000)]
* gas/testsuite/gas/mips/mips16e-jrc.d: Tighten file format
check, relax whitespace checking.
Jan Beulich [Mon, 14 Nov 2005 08:38:37 +0000 (08:38 +0000)]
gas/
2005-11-14 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (AR_FCR, AR_EFLAG, AR_CSD, AR_SSD, AR_CFLG,
AR_FSR, AR_FIR, AR_FDR, AR_CCV, AR_EC): Define.
(ar): Use AR_* instead of literals.
(CR_DCR, CR_ITM, CR_IVA, CR_PTA, CR_GPTA, CR_LID, CR_ITV,
CR_PMV, CR_CMCV): Define.
(cr): Use CR_* instead of literals.
Jan Beulich [Mon, 14 Nov 2005 08:37:12 +0000 (08:37 +0000)]
gas/
2005-11-14 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (md): Rename regsym to indregsym and move
it to the end of the structure.
(ar): Field regnum is unsigned.
(cr): Likewise:
(indirect_reg): Likewise.
(declare_register_set): Parameter regnum is unsigned.
(declare_register): Parameter numregs and base_regnum are
unsigned. So is the local loop variable.
(md_begin): Restrict scope of local variable regnum, which
also is unsigned. Replace loops with function calls where
possible. Re-order things so that register groups are kept
together. Remove all uses of regsym except for indirect
registers. Replace use of regsym by indregsym for indirect
registers.
(ia64_optimize_expr): Replace use of regsym by indregsym for
indirect registers, with appropriate bias.
Thiemo Seufer [Mon, 14 Nov 2005 02:25:39 +0000 (02:25 +0000)]
* mips.h: Assign 'm'/'M' codes to MIPS16e save/restore
instructions. Define MIPS16_ALL_ARGS and MIPS16_ALL_STATICS for
save/restore encoding of the args field.
* mips16-opc.c: Add MIPS16e save/restore opcodes.
* mips-dis.c (print_mips16_insn_arg): Handle printing of 'm'/'M'
codes for save/restore.
* config/tc-mips.c (mips16_ip): Add handling of 'm' and 'M' codes
for the MIPS16e save/restore instructions.
* gas/mips/mips.exp: Run new save/restore tests.
* gas/testsuite/gas/mips/mips16e-save.s: New test for generating
different styles of save/restore instructions.
* gas/testsuite/gas/mips/mips16e-save.d: New.
Alan Modra [Sun, 13 Nov 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 12 Nov 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Alan Modra [Fri, 11 Nov 2005 23:00:04 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Fri, 11 Nov 2005 21:45:22 +0000 (21:45 +0000)]
* Makefile.def: Remove gdb dependencies for gdbtk.
* Makefile.tpl (CONFIGURE_GDB_TK, INSTALL_GDB_TK): New variables.
(configure-gdb, install-gdb): New rules.
* configure.in: Set CONFIGURE_GDB_TK and INSTALL_GDB_TK.
* Makefile.in, configure: Regenerated.
Nick Clifton [Fri, 11 Nov 2005 11:06:34 +0000 (11:06 +0000)]
PR 1150
* readelf.c (get_mips_symbol_other): New function.
(get_symbol_other): New function.
(process_symbol_table): Call get_symbol_other() to get a description of the
st_other field if it contains more information than just the visibility.
* elfxx-mips.c (mips_elf_calculate_relocation): Ignore an undefined symbol if
it is optional.
(_bfd_mips_elf_merge_symbol_attribute): Make sure that the optional flag is
merged as well as the visibility.
* elfxx-mips.h (_bfd_mips_elf_merge_symbol_attribute): Prototype.
(elf_backend_merge_symbol_attribute): Define.
* mips.h (STO_OPTIONAL): Define.
(ELF_MIPS_IS_OPTIONAL): Define.
Jan Beulich [Fri, 11 Nov 2005 08:06:36 +0000 (08:06 +0000)]
gas/
2005-11-11 Jan Beulich <jbeulich@novell.com>
* doc/Makefile.am: Make asconfig.texi writeable before trying
to write to it.
* doc/Makefile.in: Refresh.
Hans-Peter Nilsson [Fri, 11 Nov 2005 00:29:14 +0000 (00:29 +0000)]
* ld-cris/noov.d: Restrict to cris-*-*elf*.
Alan Modra [Thu, 10 Nov 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Jan Beulich [Thu, 10 Nov 2005 16:06:28 +0000 (16:06 +0000)]
gas/
2005-11-10 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (intel_e11): Don't special-case segment
registers in brackets.
gas/testsuite/
2005-11-10 Jan Beulich <jbeulich@novell.com>
* gas/i386/intelbad.d: Add tests for ill registers in brackets.
* gas/i386/intelbad.l: Adjust.
Andreas Schwab [Thu, 10 Nov 2005 14:32:28 +0000 (14:32 +0000)]
* m68k-dis.c (print_insn_m68k): Only match FPU insns with
coprocessor ID 1.
Nick Clifton [Thu, 10 Nov 2005 09:41:14 +0000 (09:41 +0000)]
* config/tc-arm.c (BAD_ADDR_MODE): Define.
(arm_reg_parse_multi): Return NULL rather than FAIL.
(arm_reg_parse): Fix comment, the function returns FAIL rather than NULL if
it is unable to parse the register name.
(do_ldrex): Use BAD_ADDR_MODE.
Change error message for PC-relative addressing.
(do_strex): Likewise.
(do_t_ldrex): Use BAD_ADDR_MODE.
(do_t_strex): Likewise.
* gas/arm/archv6t2-bad.s: Add tests of badly composed ldrex and strex
instructions.
* gas/arm/archv6t2-bad.l: Add expected error messages.
* gas/arm/r15-bad.l: Adjust error messages for r15 usage in ldrex and strex
instructions.
Alan Modra [Wed, 9 Nov 2005 23:00:07 +0000 (23:00 +0000)]
daily update
Alan Modra [Tue, 8 Nov 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Nick Clifton [Tue, 8 Nov 2005 16:37:56 +0000 (16:37 +0000)]
* config/tc-sparc.c (isoctal): Fix thinko.
Nick Clifton [Tue, 8 Nov 2005 16:23:31 +0000 (16:23 +0000)]
* gas/all/cofftag.s: Convert numbers in .type directives to decimal.
* gas/all/gas.exp: enable cofftag-test for z80-*-coff.
Nick Clifton [Tue, 8 Nov 2005 16:16:47 +0000 (16:16 +0000)]
* m32c-desc.c: Regenerated.
Nick Clifton [Tue, 8 Nov 2005 15:48:26 +0000 (15:48 +0000)]
* expr.c (operand <case '$'>): Use DOLLAR_AMBIGU rather than flag_mri_m68k
as condition for parsing the '$' as a prefix.
* as.h (DOLLAR_AMBIGU): Define if needed.
Nathan Sidwell [Tue, 8 Nov 2005 11:17:03 +0000 (11:17 +0000)]
Document ms2 addition
Nathan Sidwell [Tue, 8 Nov 2005 11:15:13 +0000 (11:15 +0000)]
bfd:
Add ms2.
* archures.c (bfd_mach_ms2): Define.
* cpu-ms1.c (arch_info_struct): Add ms2 stanza.
* elf32-ms1.c (elf32_ms1_machine): Add ms2 case.
(ms1_elf_merge_private_bfd_data): Remove unused variables. Add
correct merging logic, with workaround.
(ms1_elf_print_private_bfd_data): Add ms2 case.
* reloc.c (BFD_RELOC_MS1_PCINSN8): Add ms2 specific reloc.
* libbfd.h: Regenerated.
* bfd-in2.h: Regenerated.
cpu:
Add ms2
* ms1.cpu (ms2, ms2bf): New architecture variant, cpu, machine and
model.
(f-uu8, f-uu1, f-imm16l, f-loopo, f-cb1sel, f-cb2sel, f-cb1incr,
f-cb2incr, f-rc3): New fields.
(LOOP): New instruction.
(JAL-HAZARD): New hazard.
(imm16o, loopsize, imm16l, rc3, cb1sel, cb2sel, cb1incr, cb2incr):
New operands.
(mul, muli, dbnz, iflush): Enable for ms2
(jal, reti): Has JAL-HAZARD.
(ldctxt, ldfb, stfb): Only ms1.
(fbcb): Only ms1,ms1-003.
(wfbinc, mefbinc, wfbincr, mwfbincr, fbcbincs, mfbcbincs,
fbcbincrs, mfbcbincrs): Enable for ms2.
(loop, loopu, dfbc, dwfb, fbwfb, dfbr): New ms2 insns.
* ms1.opc (parse_loopsize): New.
(parse_imm16): hi16/lo16 relocs are applicable to IMM16L.
(print_pcrel): New.
gas:
Add ms2.
* config/tc-ms1.c (ms1_mach_bitmask): Initialize to MS1.
(ms1_architectures): Add ms2.
(md_parse_option): Add ms2.
(md_show_usage): Add ms2.
(md_assemble): Add JAL_HAZARD detection logic.
(md_cgen_lookup_reloc): Add MS1_OPERAND_LOOPSIZE case.
* doc/c-ms1.texi: New.
* doc/all.texi: Add MS1.
* doc/Makefile.am (CPU_DOCS): Add c-ms1.texi.
* doc/Makefile.in: Rebuilt.
* doc/Makefile: Rebuilt.
gas/testsuite:
Add ms2.
* gas/ms1/allinsn.d: Adjust pcrel disassembly.
* gas/ms1/errors.exp: Fix target triplet.
* gas/ms1/ms1-16-003.d: Adjust pcrel disassembly.
* gas/ms1/ms1-16-003.s: Tweak label.
* gas/ms1/ms1.exp: Adjust target triplet. Add ms2 test.
* gas/ms1/ms2.d, gas/ms1/ms2.s: New.
* gas/ms1/relocs.d: Adjust expected machine name and pcrel
disassembly.
* gas/ms1/relocs.exp: Adjust target triplet.
include:
Add ms2.
* elf/ms1.h (EF_MS1_CPU_MS2): New.
opcodes:
Add ms2.
* ms1-asm.c, ms1-desc.c, ms1-desc.h, ms1-dis.c, ms1-ibld.c,
ms1-opc.c, ms1-opc.h: Regenerated.
Alan Modra [Mon, 7 Nov 2005 23:00:07 +0000 (23:00 +0000)]
daily update
Steve Ellcey [Mon, 7 Nov 2005 22:21:48 +0000 (22:21 +0000)]
* configure: Regenerate after modifying bfd/warning.m4.
Steve Ellcey [Mon, 7 Nov 2005 22:14:12 +0000 (22:14 +0000)]
* warning.m4 (AM_BINUTILS_WARNINGS): Default to empty string
if compiler is not GCC.
* configure: Regenerate
Steve Ellcey [Mon, 7 Nov 2005 21:55:14 +0000 (21:55 +0000)]
* configure.host (ia64-*-hpux*): Set _LARGEFILE64_SOURCE.
Dave Anglin [Mon, 7 Nov 2005 18:53:10 +0000 (18:53 +0000)]
PR gas/1804
* config/tc-hppa.c (md_apply_fix): Use number_to_chars_bigendian to
output constant data.
Mark Mitchell [Mon, 7 Nov 2005 18:07:12 +0000 (18:07 +0000)]
* doc/Makefile.am (asconfig.texi): Set top_srcdir.
* doc/Makefile.in: Regenerated.
* doc/as.texinfo: Document "@FILE".
Nick Clifton [Mon, 7 Nov 2005 17:57:00 +0000 (17:57 +0000)]
PR binutils/1568
* config/obj-coff.c (obj_coff_section): Set readonly flag with the 'x'
attribute. Remember the actions of the 'w' and 'n' attributes and do not
allow the 'x','s' or 'd' attributes to change them.
DJ Delorie [Mon, 7 Nov 2005 16:36:16 +0000 (16:36 +0000)]
merge from gcc
Jan Beulich [Mon, 7 Nov 2005 08:04:56 +0000 (08:04 +0000)]
gas/testsuite/
2005-11-07 Jan Beulich <jbeulich@novell.com>
* gas/all/redef2.[sd]: New.
* gas/all/gas.exp: Run new test.
* gas/elf/redef.d: New.
* gas/elf/elf.exp: Run new test.
Alan Modra [Mon, 7 Nov 2005 06:03:50 +0000 (06:03 +0000)]
* gas/i386/divide.s: Test line comment starting with '/'.
* gas/i386/divide.d: Pass --divide to gas.
* gas/i386/intelok.d: Likewise.
* gas/i386/i386.exp (divide): Run for all targets.
Alan Modra [Mon, 7 Nov 2005 06:01:18 +0000 (06:01 +0000)]
* config/tc-i386.h (tc_comment_chars): Define.
* config/tc-i386.c (line_comment_chars): Use '/' unconditionally.
(i386_comment_chars): Add.
(md_parse_options): Process OPTION_DIVIDE.
(md_show_usage): Describe --divide option.
* doc/c-i386.texi: Document --divide option.
Alan Modra [Mon, 7 Nov 2005 02:15:47 +0000 (02:15 +0000)]
* expr.c (op_encoding): Map '=' to O_SINGLE_EQ, if defined.
* config/tc-z80.h: Define O_SINGLE_EQ as O_eq.
Alan Modra [Mon, 7 Nov 2005 01:47:54 +0000 (01:47 +0000)]
* macro.c (buffer_and_nest): Skip labels regardless of
NO_PSEUDO_DOT and flag_m68k_mri.
Alan Modra [Mon, 7 Nov 2005 00:19:12 +0000 (00:19 +0000)]
* i386-dis.c (ckprefix): Handle rex on fwait. Don't print
ignored rex prefixes here.
(print_insn): Instead, handle them similarly to fwait followed
by non-fp insns.
Dave Anglin [Mon, 7 Nov 2005 00:08:35 +0000 (00:08 +0000)]
* elf/hppa.h (R_PARISC_DIR64WR, R_PARISC_DIR64DR): Remove relocs.
Alan Modra [Sun, 6 Nov 2005 23:12:36 +0000 (23:12 +0000)]
* ldmain.c (main): Add \n to error message.
Alan Modra [Sun, 6 Nov 2005 23:04:53 +0000 (23:04 +0000)]
* gas/z80/z80.exp: Added "suffix" test.
* gas/z80/suffix.s: New file.
* gas/z80/suffix.d: New file.
Alan Modra [Sun, 6 Nov 2005 23:04:10 +0000 (23:04 +0000)]
* expr.c (integer_constant): Match only 'B' as binary suffix if
NUMBERS_WITH_SUFFIX and LOCAL_LABELS_FB. Allow both 'b' and 'B'
otherwise.
Alan Modra [Sun, 6 Nov 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 5 Nov 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Alan Modra [Fri, 4 Nov 2005 23:00:07 +0000 (23:00 +0000)]
daily update
H.J. Lu [Fri, 4 Nov 2005 19:53:02 +0000 (19:53 +0000)]
2005-11-04 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/padlock.d: Support 64bit BFD.
Alexandre Oliva [Fri, 4 Nov 2005 19:45:25 +0000 (19:45 +0000)]
gas/ChangeLog:
* read.c (s_weakref): Do not permit redefinitions.
* symbols.c (colon): Do not permit redefinitions of equated
symbols.
gas/testsuite/ChangeLog:
* gas/all/gas.exp: Remove weakref xfail. Run weakref4.s.
* gas/all/weakref1.s: Move redefinition bits to...
* gas/all/weakref4.s: ... new file.
* gas/all/weakref1.d: Remove command moved to weakref1u. Adjust
remaining command for leading tabs. Regenerate.
* gas/all/weakref1l.d: Regenerate.
* gas/all/weakref1u.d: Likewise.
* gas/all/wealref1w.d: Likewise.
Alan Modra [Fri, 4 Nov 2005 13:26:53 +0000 (13:26 +0000)]
* ldlang.c (struct output_statement_hash_entry): Don't indirect to os.
(output_statement_newfunc): Rewrite.
(lang_output_section_find_1): Merge into..
(lang_output_section_find): ..here.
(lang_output_section_statement_lookup_1): Rewrite to handle
multiple sections with the same name.
(output_statement_table_init): Commonise error message.
(lang_init, open_output): Likewise.
Jan Beulich [Fri, 4 Nov 2005 13:25:59 +0000 (13:25 +0000)]
gas/testsuite/
2005-11-04 Jan Beulich <jbeulich@novell.com>
* gas/all/gas.exp: xfail weakref dump tests for all targets.
Alan Modra [Thu, 3 Nov 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Thu, 3 Nov 2005 16:06:11 +0000 (16:06 +0000)]
* configure.in: Check for fopen64.
* libbfd-in.h (real_fopen): New prototype.
* configure, config.in, libbfd.h: Regenerated.
* bfdio.c (real_fopen): New function.
* opncls.c (bfd_fopen, bfd_fill_in_gnu_debuglink_section): Use it.
* cache.c (bfd_open_file): Likewise.
Paul Brook [Thu, 3 Nov 2005 15:01:58 +0000 (15:01 +0000)]
2005-11-03 Paul Brook <paul@codesourcery.com>
* scripttempl/elf.sc: Add .init_array.* and .fini_array.*.
* scripttempl/armbpabi.sc: Make init/fini array consistent with
elf.sc.
* scripttempl/elf32sh-symbian.sc: Ditto.
* scripttempl/elfxtensa.sc: Ditto.
Thiemo Seufer [Thu, 3 Nov 2005 11:45:14 +0000 (11:45 +0000)]
* elfxx-mips.c (mips_elf_calculate_relocation): Handle only
forced local symbols here.
(mips_elf_create_dynamic_relocation): Likewise.
(_bfd_mips_elf_finish_dynamic_symbol): Fix typo in comment.
Alan Modra [Thu, 3 Nov 2005 02:54:10 +0000 (02:54 +0000)]
* ldlang.h (lang_output_section_statement_type): Rearrange. Remove
memspec. Make "processed" a bitfield.
(lang_data_statement_type, lang_reloc_statement_type): Rename
output_vma to output_offset.
* ldlang.c (lang_output_section_statement_lookup_1): Init
all_input_readonly. Don't init memspec.
(init_os): Remove incorrect comment.
(print_data_statement, print_reloc_statement): Adjust for
lang_data_statement_type and lang_reloc_statement_type change.
(lang_size_sections_1, lang_add_reloc): Likewise.
* ldwrite.c (build_link_order): Likewise.
Alan Modra [Thu, 3 Nov 2005 02:53:38 +0000 (02:53 +0000)]
* elf.c (elf_fake_sections): When calculating tbss size, just use
the last link_order.
(assign_file_positions_for_segments): Likewise.
* elflink.c (bfd_elf_final_link): Likewise.
(elf_reloc_link_order): Correct comment.
Alan Modra [Thu, 3 Nov 2005 02:52:51 +0000 (02:52 +0000)]
* bfdlink.h (struct bfd_link_order): Tweak comment.
Alan Modra [Wed, 2 Nov 2005 23:00:05 +0000 (23:00 +0000)]
daily update
H.J. Lu [Wed, 2 Nov 2005 16:58:31 +0000 (16:58 +0000)]
2005-11-02 H.J. Lu <hongjiu.lu@intel.com>
* iq2000-desc.c: Regenerated.
* iq2000-desc.h: Likewise.
* iq2000-dis.c: Likewise.
* iq2000-opc.c: Likewise.
Paul Brook [Wed, 2 Nov 2005 16:53:11 +0000 (16:53 +0000)]
2005-11-02 Paul Brook <paul@codesourcery.com>
* arm-dis.c (print_insn_thumb32): Word align blx target address.
Alan Modra [Tue, 1 Nov 2005 23:00:04 +0000 (23:00 +0000)]
daily update
Alan Modra [Tue, 1 Nov 2005 22:57:23 +0000 (22:57 +0000)]
PR ld/1775
* elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Add required
parentheses.
Thiemo Seufer [Tue, 1 Nov 2005 10:23:56 +0000 (10:23 +0000)]
PR gas/1299
* Makefile.am: Disable -Werror for the itbl-lex.o rule.
* Makefile.in: Regenerate.
Thiemo Seufer [Tue, 1 Nov 2005 01:59:28 +0000 (01:59 +0000)]
* config/tc-mips.c (md_parse_option): Fix typo in comment.
Alan Modra [Mon, 31 Oct 2005 23:00:05 +0000 (23:00 +0000)]
daily update
DJ Delorie [Mon, 31 Oct 2005 18:01:19 +0000 (18:01 +0000)]
merge from gcc
Alan Modra [Mon, 31 Oct 2005 06:10:33 +0000 (06:10 +0000)]
* arm-dis.c (print_insn): Warning fix.
Hans-Peter Nilsson [Mon, 31 Oct 2005 04:08:40 +0000 (04:08 +0000)]
PR ld/1501
* ld-mmix/bpo-10.d: Adjust for empty-section-removal.
Alan Modra [Sun, 30 Oct 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Mark Mitchell [Sun, 30 Oct 2005 18:08:52 +0000 (18:08 +0000)]
* as.c (show_usage): Document "@FILE".
* gprof.c (usage): Document "@FILE".
* lexsup.c (help): Document "@FILE".
H.J. Lu [Sun, 30 Oct 2005 17:40:28 +0000 (17:40 +0000)]
ld/
binutils/
opcodes/
2005-10-30 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.
* dep-in.sed: Replace " ./" with " ".
H.J. Lu [Sun, 30 Oct 2005 17:27:34 +0000 (17:27 +0000)]
2005-10-30 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (OBJ_FORMATS): Remove vms.
Run "make dep-am".
* Makefile.in: Regenerated.
* dep-in.sed: Replace " ./" with " ".
H.J. Lu [Sat, 29 Oct 2005 23:47:42 +0000 (23:47 +0000)]
2005-10-29 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.
* dep-in.sed: Replace " ./" with " ".
H.J. Lu [Sat, 29 Oct 2005 23:00:12 +0000 (23:00 +0000)]
2005-10-29 H.J. Lu <hongjiu.lu@intel.com>
* hpux-core.c: Include <machine/reg.h> only if HPUX_CORE is
define.
* osf-core.c: Include <sys/core.h> only if OSF_CORE is defined.
* sco5-core.c: Include <sys/paccess.h> and <sys/region.h> only
if SCO5_CORE is defined.
Alan Modra [Sat, 29 Oct 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Sat, 29 Oct 2005 21:16:20 +0000 (21:16 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
Hans-Peter Nilsson [Sat, 29 Oct 2005 10:54:08 +0000 (10:54 +0000)]
PR gas/1630
* gas/all/gas.exp <weakref1, weakref1g, weakref1l, weakref1u,
weakref1w>: Xfail for cris-*-* and mmix-*-*.
Alan Modra [Sat, 29 Oct 2005 00:00:05 +0000 (00:00 +0000)]
daily update
Dave Brolley [Fri, 28 Oct 2005 19:49:22 +0000 (19:49 +0000)]
2005-10-28 Dave Brolley <brolley@redhat.com>
* All CGEN-generated sources: Regenerate.
Contribute the following changes:
2005-09-19 Dave Brolley <brolley@redhat.com>
* disassemble.c (disassemble_init_for_target): Add 'break' to case for
bfd_arch_tic4x. Use cgen_bitset_create and cgen_bitset_set for
bfd_arch_m32c case.
2005-02-16 Dave Brolley <brolley@redhat.com>
* cgen-dis.in: Rename CGEN_ISA_MASK to CGEN_BITSET. Rename
cgen_isa_mask_* to cgen_bitset_*.
* cgen-opc.c: Likewise.
2003-11-28 Richard Sandiford <rsandifo@redhat.com>
* cgen-dis.in (print_insn_@arch@): Fix comparison with cached isas.
* *-dis.c: Regenerate.
2003-06-05 DJ Delorie <dj@redhat.com>
* cgen-dis.in (print_insn_@arch@): Copy prev_isas, don't assign
it, as it may point to a reused buffer. Set prev_isas when we
change cpus.
2002-12-13 Dave Brolley <brolley@redhat.com>
* cgen-opc.c (cgen_isa_mask_create): New support function for
CGEN_ISA_MASK.
(cgen_isa_mask_init): Ditto.
(cgen_isa_mask_clear): Ditto.
(cgen_isa_mask_add): Ditto.
(cgen_isa_mask_set): Ditto.
(cgen_isa_supported): Ditto.
(cgen_isa_mask_compare): Ditto.
(cgen_isa_mask_intersection): Ditto.
(cgen_isa_mask_copy): Ditto.
(cgen_isa_mask_combine): Ditto.
* cgen-dis.in (libiberty.h): #include it.
(isas): Renamed from 'isa' and now (CGEN_ISA_MASK *).
(print_insn_@arch@): Use CGEN_ISA_MASK and support functions.
* Makefile.am (CGENDEPS): Add utils-cgen.scm and attrs.scm.
* Makefile.in: Regenerated.
Dave Brolley [Fri, 28 Oct 2005 19:41:01 +0000 (19:41 +0000)]
2005-10-28 Dave Brolley <brolley@redhat.com>
Contribute the following changes:
2003-09-29 Dave Brolley <brolley@redhat.com>
* dis-asm.h (disassemble_info): insn_sets now (void *) to allow for
more exotic underlying types to be used.
Dave Brolley [Fri, 28 Oct 2005 19:38:59 +0000 (19:38 +0000)]
2005-10-28 Dave Brolley <brolley@redhat.com>
Contribute the following changes:
2005-02-16 Dave Brolley <brolley@redhat.com>
* cgen-bitset.h: Rename CGEN_ISA_MASK to CGEN_BITSET. Rename
cgen_isa_mask_* to cgen_bitset_*.
* cgen.h: Likewise.
Dave Brolley [Fri, 28 Oct 2005 19:37:14 +0000 (19:37 +0000)]
2005-10-28 Dave Brolley <brolley@redhat.com>
Contribute the following change:
2005-09-19 Dave Brolley <brolley@redhat.com>
* config/tc-m32c.c (default_isa): New static variable.
(m32c_isa): Now of type CGEN_BITSET.
(md_begin): Pass &m32c_isa to m32c_cgen_cpu_open.
Dave Brolley [Fri, 28 Oct 2005 19:33:06 +0000 (19:33 +0000)]
2005-10-28 Dave Brolley <brolley@redhat.com>
Contribute the following change:
2003-09-24 Dave Brolley <brolley@redhat.com>
* frv.opc: Use CGEN_ATTR_VALUE_ENUM_TYPE in place of
CGEN_ATTR_VALUE_TYPE.
* m32c.opc (m32c_cgen_insn_supported): Use CGEN_INSN_BITSET_ATTR_VALUE.
Use cgen_bitset_intersect_p.
Joel Brobecker [Fri, 28 Oct 2005 16:25:48 +0000 (16:25 +0000)]
From Eric Botcazou <botcazou@adacore.com>
* coffcode.h (coff_compute_section_file_positions): Fix small
error in preprocessor directives.
Joel Brobecker [Fri, 28 Oct 2005 16:24:35 +0000 (16:24 +0000)]
Mostly from Eric Botcazou <botcazou@adacore.com>
* rs6000-core.c: ANSIfy all function definitions.
Add missing function prototypes.
(ptr_to_uint): New type.
(rs6000coff_core_p): Use it as intermediate step in casts.
(rs6000coff_core_file_matches_executable_p): Likewise.
* xcoff-target.h (rs6000coff_core_p): Fix prototype.
(rs6000coff_core_file_matches_executable_p): Likewise.
H.J. Lu [Fri, 28 Oct 2005 13:50:57 +0000 (13:50 +0000)]
2005-10-28 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/1472
* aoutx.h (NAME (aout, machine_type)): Handle
bfd_mach_sparc_v8plus, bfd_mach_sparc_v8plusa,
bfd_mach_sparc_v8plusb, bfd_mach_sparc_v9, bfd_mach_sparc_v9a
and bfd_mach_sparc_v9b.
Paul Brook [Fri, 28 Oct 2005 00:50:03 +0000 (00:50 +0000)]
2005-10-28 Paul Brook <paul@codesourcery.com>
* config/tc-arm.c (aeabi_set_public_attributes): Use selected_cpu
instead of mcpu_cpu_opt.
Hans-Peter Nilsson [Fri, 28 Oct 2005 00:29:44 +0000 (00:29 +0000)]
PR ld/1567
* elf32-cris.c (cris_elf_howto_table) <R_CRIS_32>: Set
complain_on_overflow field to complain_overflow_dont.
Hans-Peter Nilsson [Fri, 28 Oct 2005 00:24:09 +0000 (00:24 +0000)]
PR ld/1567
* ld-cris/noov.s, ld-cris/noov.d: New test.
Alan Modra [Fri, 28 Oct 2005 00:00:07 +0000 (00:00 +0000)]
daily update
DJ Delorie [Thu, 27 Oct 2005 23:54:17 +0000 (23:54 +0000)]
* m32c.cpu (Imm-8-s4n, Imm-12-s4n): New.
(arith-jnz16-imm4-dst-defn, arith-jnz32-imm4-dst-defn,
arith-jnz-imm4-dst-mach, arith-jnz-imm4-dst): Keep track of which
imm operand is needed.
(adjnz, sbjnz): Pass the right operands.
(unary-insn-defn, unary16-defn, unary32-defn, unary-insn-mach,
unary-insn): Add -g variants for opcodes that need to support :G.
(not.BW:G, push.BW:G): Call it.
(stzx16-imm8-imm8-dsp8sb, stzx16-imm8-imm8-dsp8fb,
stzx16-imm8-imm8-abs16): Fix operand typos.
* m32c.opc (m32c_asm_hash): Support bnCND.
(parse_signed4n, print_signed4n): New.
* m32c-asm.c: Regenerate.
* m32c-desc.c: Regenerate.
* m32c-desc.h: Regenerate.
* m32c-dis.c: Regenerate.
* m32c-ibld.c: Regenerate.
* m32c-opc.c: Regenerate.
* m32c-opc.h: Regenerate.
Bob Wilson [Thu, 27 Oct 2005 22:16:31 +0000 (22:16 +0000)]
* config/tc-xtensa.c (find_vinsn_conflicts): Change error messages to
refer to "ports" instead of "queues".
(check_t1_t2_reads_and_writes): Pass correct interface values to
xtensa_interface_inout.
Jan Beulich [Thu, 27 Oct 2005 13:34:14 +0000 (13:34 +0000)]
gas/testsuite/
2005-10-27 Jan Beulich <jbeulich@novell.com>
* gas/i386/equ.d: Fix typo.
* gas/i386/equ.s: Don't globalize r.
Jan Beulich [Thu, 27 Oct 2005 07:40:07 +0000 (07:40 +0000)]
gas/
2005-10-27 Jan Beulich <jbeulich@novell.com>
* read.c (assign_symbol): Also consider equates already defined.
* symbols.c (symbol_clone): Also clone the underlying BFD symbol.
* config/obj-coff.h (obj_symbol_clone_hook): New.
(coff_obj_symbol_clone_hook): Declare.
* config/obj-coff.c (coff_obj_symbol_clone_hook): New.
gas/testsuite/
2005-10-27 Jan Beulich <jbeulich@novell.com>
* gas/all/gas.exp: Don't xfail equiv1 test anymore.
Alan Modra [Thu, 27 Oct 2005 05:31:16 +0000 (05:31 +0000)]
PR 973
* cache.c (enum cache_flag): New.
(close_one): Save file mtime.
(bfd_cache_lookup): Add flag arg, adjust all users.
(bfd_cache_lookup_worker): Likewise.
(cache_btell): Use CACHE_NO_OPEN and return abfd->where if file
not open.
(cache_bflush): Similarly, and return success of file not open.
(cache_bseek): Use CACHE_NO_SEEK if SEEK_SET or SEEK_END.
(cache_bstat): Use CACHE_NO_SEEK_ERROR.
Alan Modra [Thu, 27 Oct 2005 04:06:35 +0000 (04:06 +0000)]
* bfdwin.c (bfd_get_file_window): Seek into file in place of
using bfd_cache_lookup.
Alan Modra [Thu, 27 Oct 2005 03:36:57 +0000 (03:36 +0000)]
* cache.c (BFD_CACHE_MAX_OPEN): Make private to this file.
(bfd_last_cache, bfd_cache_lookup, bfd_cache_lookup_worker): Likewise.
* libbfd-in.h (bfd_cache_lookup_worker, bfd_last_cache): Delete.
* libbfd.h: Regenerate.
Alan Modra [Thu, 27 Oct 2005 03:35:30 +0000 (03:35 +0000)]
* hppabsd-core.c (hppabsd_core_core_file_p): Use bfd_stat, not fstat.
* sco5-core.c (sco5_core_file_p): Likewise.
* trad-core.c (trad_unix_core_file_p): Likewise.