OSDN Git Service
Alan Modra [Sat, 11 Oct 2003 12:34:31 +0000 (12:34 +0000)]
* corefile.c (core_create_function_syms): Don't refer directly to
_cooked_size and vma; Use bfd_section_size and bfd_get_section_vma.
Alan Modra [Sat, 11 Oct 2003 12:33:50 +0000 (12:33 +0000)]
Oops. missed a line.
Alan Modra [Sat, 11 Oct 2003 12:32:18 +0000 (12:32 +0000)]
* section.c (bfd_get_section_size_before_reloc): Ignore reloc_done.
* bfd-in2.h: Regenerate.
Hans-Peter Nilsson [Sat, 11 Oct 2003 09:18:58 +0000 (09:18 +0000)]
* ld-scripts/defined3.d, ld-scripts/defined3.t: New test.
* ld-scripts/defined.exp: Run defined3.
Hans-Peter Nilsson [Sat, 11 Oct 2003 09:16:20 +0000 (09:16 +0000)]
* ld.texinfo (Builtin Functions) <DEFINED>: Say that only symbols
defined before the statement using DEFINED yield 1.
* ldexp.c (fold_name) <case DEFINED>: In lang_first_phase_enum,
call lang_track_definedness on symbol. In subsequent phases, use
lang_symbol_definition_iteration and lang_statement_iteration to
check whether the symbol was defined before the current statement.
(exp_fold_tree) <case etree_assign et al>: Call
lang_update_definedness before updating symbol type when setting
symbol.
* ldlang.c (lang_definedness_table): New variable.
(lang_definedness_newfunc, lang_track_definedness)
(lang_symbol_definition_iteration, lang_update_definedness): New
functions.
(lang_init): Initialize lang_definedness_table and
lang_statement_iteration.
(lang_finish): Destroy bfd_hash_table_free.
(lang_size_sections): Increment lang_statement_iteration.
(lang_do_assignments_1): New function with former
lang_do_assignments contents. Change recursive calls to call this
function.
(lang_do_assignments): Evacuate contents. Increment
lang_statement_iteration, then just call lang_do_assignments_1.
* ldlang.h (struct lang_definedness_hash_entry)
(lang_statement_iteration, lang_track_definedness)
(lang_symbol_definition_iteration, lang_update_definedness):
Declare.
Alan Modra [Sat, 11 Oct 2003 00:00:19 +0000 (00:00 +0000)]
daily update
Michael Snyder [Fri, 10 Oct 2003 22:13:49 +0000 (22:13 +0000)]
2003-06-03 Michael Snyder <msnyder@redhat.com>
and Bernd Schmidt <bernds@redhat.com>
and Alexandre Oliva <aoliva@redhat.com>
* disassemble.c (disassembler): Add support for h8300sx.
Dave Brolley [Fri, 10 Oct 2003 19:31:18 +0000 (19:31 +0000)]
2003-10-10 Dave Brolley <brolley@redhat.com>
* gas/frv/allinsn.s: Use preoperly aligned registers.
* gas/frv/allinsn.d: Update expected results.
Dave Brolley [Fri, 10 Oct 2003 19:30:02 +0000 (19:30 +0000)]
2003-10-10 Dave Brolley <brolley@redhat.com>
* frv-asm.c,frv-desc.c,frv-opc.c: Regenerated.
Dave Brolley [Fri, 10 Oct 2003 19:29:38 +0000 (19:29 +0000)]
2003-10-10 Dave Brolley <brolley@redhat.com>
* frv.cpu (dnpmop): New p-macro.
(GRdoublek): Use dnpmop.
(CPRdoublek, FRdoublei, FRdoublej, FRdoublek): Ditto.
(store-double-r-r): Use (.sym regtype doublek).
(r-store-double): Ditto.
(store-double-r-r-u): Ditto.
(conditional-store-double): Ditto.
(conditional-store-double-u): Ditto.
(store-double-r-simm): Ditto.
(fmovs): Assign to UNIT FMALL.
H.J. Lu [Fri, 10 Oct 2003 15:29:50 +0000 (15:29 +0000)]
2003-10-10 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* doc/Makefile.in: Likewise.
H.J. Lu [Fri, 10 Oct 2003 01:36:36 +0000 (01:36 +0000)]
2003-10-09 H.J. Lu <hongjiu.lu@intel.com>
* scripttempl/elf.sc (__executable_start): Provide.
Alan Modra [Fri, 10 Oct 2003 00:00:19 +0000 (00:00 +0000)]
daily update
H.J. Lu [Thu, 9 Oct 2003 18:15:59 +0000 (18:15 +0000)]
2003-10-09 H.J. Lu <hongjiu.lu@intel.com>
* cofflink.c: Include "safe-ctype.h".
(coff_link_add_symbols): Use ISDIGIT instead of isdigit.
Daniel Jacobowitz [Thu, 9 Oct 2003 14:06:07 +0000 (14:06 +0000)]
* emulparams/armelf.sh: Define NO_SMALL_DATA.
* emulparams/armelf_linux.sh, emulparams/armelf_oabi.sh,
emulparams/armnto.sh: Likewise.
Alan Modra [Thu, 9 Oct 2003 00:00:19 +0000 (00:00 +0000)]
daily update
Alexandre Oliva [Wed, 8 Oct 2003 22:17:35 +0000 (22:17 +0000)]
* ldlang.c (lang_size_sections_1): Use IGNORE_SECTION to tell
whether to skip test for no memory region.
DJ Delorie [Wed, 8 Oct 2003 21:29:04 +0000 (21:29 +0000)]
2003-10-05 Mohan Embar <gnustuff@thisiscool.com>
* configure.in: Allow explicit specification of CFLAGS_FOR_BUILD.
* configure: Rebuilt
* Makefile.tpl: Use CFLAGS_FOR_BUILD computed by configure
* Makefile.in: Rebuilt
Nathanael Nerode [Wed, 8 Oct 2003 21:26:42 +0000 (21:26 +0000)]
Move ChangeLog entries for config/ subdir into config/ChangeLog, where
they belong. Thanks to Kelley Cook <kcook34@ford.com>.
Dave Brolley [Wed, 8 Oct 2003 18:26:01 +0000 (18:26 +0000)]
2003-10-08 Dave Brolley <brolley@redhat.com>
* frv-desc.[ch], frv-opc.[ch]: Regenerated.
Dave Brolley [Wed, 8 Oct 2003 18:13:38 +0000 (18:13 +0000)]
2003-10-06 Dave Brolley <brolley@redhat.com>
* binutils-all/objdump.exp (cpu_expected): Add fr550.
Dave Brolley [Wed, 8 Oct 2003 18:12:53 +0000 (18:12 +0000)]
2003-10-06 Dave Brolley <brolley@redhat.com>
* frv.h (EF_FRV_CPU_FR550): New macro.
Dave Brolley [Wed, 8 Oct 2003 18:11:55 +0000 (18:11 +0000)]
2003-10-08 Dave Brolley <brolley@redhat.com>
* config/tc-frv.c (fr550_check_insn_acc_range): New function.
(fr550_check_acc_range): New function.
(md_assemble): Call fr550_check_acc_range.
Chris Demetriou [Wed, 8 Oct 2003 18:01:10 +0000 (18:01 +0000)]
2003-10-08 Chris Demetriou <cgd@broadcom.com>
* lib/gas-defs.exp (gas_run): Always log the command being run.
(gas_start): Likewise.
(regexp_diff): Make error reporting about non-existent files
consistent.
Dave Brolley [Wed, 8 Oct 2003 17:57:59 +0000 (17:57 +0000)]
2003-10-08 Dave Brolley <brolley@redhat.com>
On behalf of Michael Snyder <msnyder@redhat.com>
* archures.c: Add FRV fr550 machine.
* cpu-frv.c: Ditto.
* elf32-frv.c: Ditto.
* bfd-in2.h: Regenerate.
Dave Brolley [Wed, 8 Oct 2003 17:53:40 +0000 (17:53 +0000)]
2003-10-06 Dave Brolley <brolley@redhat.com>
* frv.cpu, frv.opc: Add support for fr550.
Thiemo Seufer [Wed, 8 Oct 2003 17:36:19 +0000 (17:36 +0000)]
* elfxx-mips.c (STUB_MOVE,STUB_LI16): Fix stub code
for non-SGI N64 ABI. Improve code consitency.
Nick Clifton [Wed, 8 Oct 2003 14:37:20 +0000 (14:37 +0000)]
* as.c (use_gnu_debug_info_extensions) : New variable.
(parse_args) : Accept new --gstabs+ option, and set `use_gnu_debug_info_extensions'.
(show_usage) : Document --gstabs+ option.
* as.h (use_gnu_debug_info_extensions) : New extern declaration.
* stabs.c (stabs_generate_asm_file) : If `use_gnu_debug_info_extensions' is set
add the compilation directory to the stabs debug info.
* doc/as.texinfo : Document --gstabs+ option.
* NEWS: Mention new feature.
Nick Clifton [Wed, 8 Oct 2003 13:52:33 +0000 (13:52 +0000)]
lexsup.c (parse_args: OPTION_CALL_SHARED): Revise comment describing defaults.
Change default to report unresolved symbols in object files as well.
Nick Clifton [Wed, 8 Oct 2003 13:50:23 +0000 (13:50 +0000)]
Include bfd_elf64_sparc_vec if BFD64 is enabled.
Hans-Peter Nilsson [Wed, 8 Oct 2003 12:40:26 +0000 (12:40 +0000)]
* ldexp.c (fold_name) <case DEFINED>: Set section of result to
abs_output_section.
Hans-Peter Nilsson [Wed, 8 Oct 2003 12:35:18 +0000 (12:35 +0000)]
* ld-scripts/defined2.d, ld-scripts/defined2.t: New test.
* ld-scripts/defined.exp: Run defined2.
Alan Modra [Wed, 8 Oct 2003 00:00:17 +0000 (00:00 +0000)]
daily update
Bob Wilson [Tue, 7 Oct 2003 23:30:20 +0000 (23:30 +0000)]
* emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS,
OTHER_READWRITE_SECTIONS, OTHER_SECTIONS): Set section addresses to
zero for relocatable links.
Alexandre Oliva [Tue, 7 Oct 2003 19:17:23 +0000 (19:17 +0000)]
* elf32-frv.c (elf32_frv_howto_table): Set R_FRV_LABEL16's
rightshift to 2.
Dave Anglin [Tue, 7 Oct 2003 17:30:02 +0000 (17:30 +0000)]
* configure.host (HOSTING_LIBS): Define for hppa*-*-linux*.
* ld-elfvsb/elfvsb.exp: xfail non-pic shared library tests for
non 64-bit hppa*-*-linux* targets.
* ld-elfvsb/main.c (main_visibility_check): Cast value returned by
visibility_funptr () to a function pointer.
* ld-shared/shared.exp: xfail shared (non PIC), shared (non PIC, load
offset), and shared (PIC main, non PIC so) tests for non 64-bit
hppa*-*-linux* targets.
Nathan Sidwell [Tue, 7 Oct 2003 08:53:42 +0000 (08:53 +0000)]
bfd/Changelog:
* libbfd-in.h (_bfd_link_section_stabs): Add string offset
parameter.
* cofflink.c (coff_link_add_symbols): Deal with split stab
sections.
* elflink.h (elf_link_add_object_symbols): Deal with split stab
sections.
* stabs.c (_bfd_link_section_stabs): Add string offset parameter.
* libbfd.h: Regenerated.
ld/ChangeLog:
* ldwrite.c (unsplittable_name): New.
(clone_section): Strip existing numeric suffix. Only truncate names
for coff targets.
(split_sections): Use unsplittable_name.
binutils/ChangeLog:
* objdump.c (read_section_stabs): Just read one section, return
pointer to it. Add size parameter.
(print_section_stabs): Add string offset parameter. Adjust.
(struct stab_section_names): Add string offset member.
(find_stabs_sections): Correct check for split section suffix,
adjust read_section_stabs and print_section_stabs calls.
(dump_stabs_section): Clear string_offset, free string table.
Nathan Sidwell [Tue, 7 Oct 2003 08:49:11 +0000 (08:49 +0000)]
* coffcode.h (coff_set_alignment_hook): With PE_COFF reloc
overflow, set reloc start position to after the count
reloc. Subtract one from num relocs. Give error on 0xffff relocs
and no overflow.
* cofflink.c (_bfd_coff_final_link): Deal with PE_COFF reloc
overflow.
* peXXigen.c (_bfd_XXi_swap_scnhdr_out): Do overflow if >=
0xffff.
Alan Modra [Tue, 7 Oct 2003 00:00:18 +0000 (00:00 +0000)]
daily update
H.J. Lu [Mon, 6 Oct 2003 18:10:48 +0000 (18:10 +0000)]
2003-10-06 H.J. Lu <hongjiu.lu@intel.com>
* elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Pad the
last CIE/FDE if needed.
Nick Clifton [Mon, 6 Oct 2003 11:07:08 +0000 (11:07 +0000)]
lexsup.c (parse_args): Report unresolved symbols in shared libraries when
creating a dynamic executable. This is a restoration of the default behaviour
for previous versions of the linker.
Nick Clifton [Mon, 6 Oct 2003 11:01:36 +0000 (11:01 +0000)]
Change target of hppa-netbsd port
Nick Clifton [Mon, 6 Oct 2003 10:18:41 +0000 (10:18 +0000)]
Fix macro tests to ignore section symbols
Nick Clifton [Mon, 6 Oct 2003 09:12:39 +0000 (09:12 +0000)]
Add i386-knetbsd-gnu triplet.
Alan Modra [Mon, 6 Oct 2003 00:00:15 +0000 (00:00 +0000)]
daily update
Nick Clifton [Sun, 5 Oct 2003 08:58:01 +0000 (08:58 +0000)]
Revert -f change
Alan Modra [Sun, 5 Oct 2003 00:00:15 +0000 (00:00 +0000)]
daily update
Christian Groessler [Sat, 4 Oct 2003 21:11:47 +0000 (21:11 +0000)]
2003-10-04 Christian Groessler <chris@groessler.org>
* gas/z8k/calr-backf.s: New file.
* gas/z8k/calr-forwf.s: New file.
* gas/z8k/calr.d: New file.
* gas/z8k/calr.s: New file.
* gas/z8k/djnz-backf.s: New file.
* gas/z8k/djnz-backf2.s: New file.
* gas/z8k/djnz.d: New file.
* gas/z8k/djnz.s: New file.
* gas/z8k/jr-back.d: New file.
* gas/z8k/jr-forw.d: New file.
* gas/z8k/jr-back.s: Fix displacement length. Add some more jumps
for jr-back.d.
* gas/z8k/jr-backf.s: Fix displacement length.
* gas/z8k/jr-forw.s: Fix displacement length. Add some more jumps
for jr-forw.d.
* gas/z8k/jr-forwf.s: Fix displacement length.
* gas/z8k/z8k.exp: Run new tests.
Christian Groessler [Sat, 4 Oct 2003 21:11:05 +0000 (21:11 +0000)]
2003-10-04 Christian Groessler <chris@groessler.org>
* tc-z8k.c (newfix): Tell fix_new_exp about pc relativeness.
(md_apply_fix3): Fix R_JR, R_DISP7, and R_CALLR cases.
(md_pcrel_from): This function now gets called. Supply return
value.
Christian Groessler [Sat, 4 Oct 2003 21:09:29 +0000 (21:09 +0000)]
2003-10-04 Christian Groessler <chris@groessler.org>
* coff-z8k.c (extra_case): Fix displacement length check for R_JR
and R_CALLR.
Stephane Carrez [Sat, 4 Oct 2003 21:02:53 +0000 (21:02 +0000)]
* elf32-m68hc1x.c: Update to ISO C90; replace PTR with void*.
* elf32-m68hc11.c: Likewise.
* elf32-m68hc12.c: Likewise.
* elf32-m68hc1x.h: Likewise.
Stephane Carrez [Sat, 4 Oct 2003 20:07:24 +0000 (20:07 +0000)]
* elf32-m68hc1x.c (_bfd_m68hc11_elf_merge_private_bfd_data): Fix merge
of flags between HC12 and HCS12.
Nick Clifton [Sat, 4 Oct 2003 12:40:12 +0000 (12:40 +0000)]
Convert to ISO C90
Nick Clifton [Sat, 4 Oct 2003 12:07:27 +0000 (12:07 +0000)]
(std_shortopts): Remove 'f'.
(std_longopts): Add 'f'.
Doing this prevents -f<foo> being acecpted as an alias for -f
Nick Clifton [Sat, 4 Oct 2003 11:06:31 +0000 (11:06 +0000)]
(obj_coff_section [BEF_ASSEMBLER]): Make 'r' mean readonly data.
Nick Clifton [Sat, 4 Oct 2003 10:19:26 +0000 (10:19 +0000)]
Set SEC_EXCLUDE flag on sections which become empty after merging.
H.J. Lu [Sat, 4 Oct 2003 04:54:47 +0000 (04:54 +0000)]
2003-10-03 H.J. Lu <hongjiu.lu@intel.com>
* ltconfig (sys_lib_search_path_spec): Fix a typo for HPUX.
Alan Modra [Sat, 4 Oct 2003 00:00:14 +0000 (00:00 +0000)]
daily update
Alan Modra [Fri, 3 Oct 2003 00:00:13 +0000 (00:00 +0000)]
daily update
Daniel Jacobowitz [Thu, 2 Oct 2003 19:07:17 +0000 (19:07 +0000)]
* strerror.c: Revert last change. Declare static sys_nerr
and sys_errlist using different names.
Christopher Faylor [Thu, 2 Oct 2003 14:13:10 +0000 (14:13 +0000)]
* resrc.c (define_icon): Fix storage of color attributes 'planes' and 'bit
count' in icon groups.
Nick Clifton [Thu, 2 Oct 2003 11:18:13 +0000 (11:18 +0000)]
Correct sym def order & pick right sym for .idata$7 reloc.
H.J. Lu [Thu, 2 Oct 2003 06:25:28 +0000 (06:25 +0000)]
2003-10-01 Phil Edwards <pme@gcc.gnu.org>
* config-ml.in: Use ac_configure_args directly instead of
ml_arguments. Only set ml_norecursion if --no[-]recursion is
actually seen.
2003-10-01 Eric Botcazou <ebotcazou@libertysurf.fr>
* config-ml.in: Propagate INSTALL variables.
Alan Modra [Thu, 2 Oct 2003 00:00:12 +0000 (00:00 +0000)]
daily update
Daniel Jacobowitz [Wed, 1 Oct 2003 23:11:45 +0000 (23:11 +0000)]
* strerror.c: Don't provide or reference sys_errlist if
strerror is available.
Thiemo Seufer [Wed, 1 Oct 2003 18:57:16 +0000 (18:57 +0000)]
* config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro):
Unbreak overflow checks.
H.J. Lu [Wed, 1 Oct 2003 17:12:11 +0000 (17:12 +0000)]
2003-10-01 H.J. Lu <hongjiu.lu@intel.com>
* configure.in: Check if $MAKEINFO is missing.
* configure: Regenerated.
Chris Demetriou [Wed, 1 Oct 2003 06:09:31 +0000 (06:09 +0000)]
2003-10-01 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c (s_cpreturn): Correct errors in comment.
Thiemo Seufer [Wed, 1 Oct 2003 02:07:48 +0000 (02:07 +0000)]
* config/tc-mips.c (macro_build_ldst_constoffset): Fix sign extension
tests.
(load_register): Likewise.
(macro): Likewise.
* gas/mips/ldstla-32-shared.d: New file.
* gas/mips/ldstla-32.d: New file.
* gas/mips/ldstla-32.s: New file.
* gas/mips/ldstla-n32-shared.d: New file.
* gas/mips/ldstla-n32.d: New file.
* gas/mips/ldstla-n32.s: New file.
* gas/mips/ldstla-n64-shared.d: New file.
* gas/mips/ldstla-n64.d: New file.
* gas/mips/ldstla-n64.s: New file.
* gas/mips/mips.exp: Add ld-st-la tests.
Bob Wilson [Wed, 1 Oct 2003 00:40:22 +0000 (00:40 +0000)]
* xtensa-dis.c (fetch_data): Remove numBytes parameter.
(print_insn_xtensa): Fix call to fetch_data.
Alan Modra [Wed, 1 Oct 2003 00:00:12 +0000 (00:00 +0000)]
daily update
Jakub Jelinek [Tue, 30 Sep 2003 21:18:46 +0000 (21:18 +0000)]
* elfxx-ia64.c (ia64_howto_table): Fix size of R_IA64_TPREL64[LM]SB,
R_IA64_DTPREL{32,64}[LM]SB and R_IA64_DTPMOD64[LM]SB.
Chris Demetriou [Tue, 30 Sep 2003 21:02:08 +0000 (21:02 +0000)]
[ gas/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c (mips_ip): Capitalize first word of
existing condition code warning, and add condition code
warnings for .ps instructions, and for bc1any[24][tf].
[ gas/testsuite/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* lib/gas-defs.exp (run_dump_test): If stderr file is specified
and there was no stderr output, compare anyway (i.e., cause a
test failure).
* gas/mips/mips64-mips3d.s: Add some new instructions to test warnings.
* gas/mips/mips64-mips3d.l: New file.
* gas/mips/mips64-mips3d.d: Use mips64-mips3d.l, and update for
changes to mips64-mips3d.s.
* gas/mips/mips64-mips3d-incl.d: Likewise.
* gas/mips/set-arch.l: New file.
* gas/mips/set-arch.d: Specify set-arch.l as stderr output to check.
* gas/mips/mips5.l: Make error messages match source.
H.J. Lu [Tue, 30 Sep 2003 19:50:40 +0000 (19:50 +0000)]
2003-09-30 H.J. Lu <hongjiu.lu@intel.com>
* ld-checks/checks.exp (section_check): Remove ia64-*-elf*.
H.J. Lu [Tue, 30 Sep 2003 19:12:53 +0000 (19:12 +0000)]
2003-09-30 H.J. Lu <hongjiu.lu@intel.com>
* ld-checks/checks.exp (section_check): Skip ia64-*-* instead
of ia64-*-linux*.
H.J. Lu [Tue, 30 Sep 2003 18:03:54 +0000 (18:03 +0000)]
2003-09-30 H.J. Lu <hongjiu.lu@intel.com>
* ld-ia64/ia64.exp: Remove -melf64_ia64.
* ld-ia64/tlsbin.dd: Remove -melf64_ia64. Match elf..-ia64-.*
instead of elf64-ia64-little.
* ld-ia64/tlsbin.rd: Likewise.
* ld-ia64/tlsbin.sd: Likewise.
* ld-ia64/tlsbin.td: Likewise.
* ld-ia64/tlsg.sd: Likewise.
* ld-ia64/tlspic.dd: Likewise.
* ld-ia64/tlspic.rd: Likewise.
* ld-ia64/tlspic.sd: Likewise.
* ld-ia64/tlspic.td: Likewise.
Chris Demetriou [Tue, 30 Sep 2003 16:47:02 +0000 (16:47 +0000)]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* NEWS: Mention support for MIPS64 Release 2.
Chris Demetriou [Tue, 30 Sep 2003 16:44:04 +0000 (16:44 +0000)]
[ binutils/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* NEWS: Add an indication of the cutoff for 2.14.
[ gas/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* NEWS: Add an indication of the cutoff for 2.14.
[ ld/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* NEWS: Add an indication of the cutoff for 2.14.
Chris Demetriou [Tue, 30 Sep 2003 16:17:15 +0000 (16:17 +0000)]
[ bfd/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* archures.c (bfd_mach_mipsisa64r2): New define.
* bfd-in2.h: Regenerate.
* aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_mipsisa64r2.
* cpu-mips.c (I_mipsisa64r2): New enum value.
(arch_info_struct): Add entry for I_mipsisa64r2.
* elfxx-mips.c (_bfd_elf_mips_mach)
(_bfd_mips_elf_print_private_bfd_data): Handle E_MIPS_ARCH_64R2.
(mips_set_isa_flags): Add bfd_mach_mipsisa64r2 case.
(mips_mach_extensions): Add entry for bfd_mach_mipsisa64r2.
[ binutils/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2.
[ gas/Changelog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* configure.in (mipsisa64r2, mipsisa64r2el, mipsisa64r2*): New CPUs.
* configure: Regenerate.
* config/tc-mips.c (imm2_expr): New variable.
(md_assemble, mips16_ip): Initialize imm2_expr.
(ISA_HAS_64BIT_REGS, ISA_HAS_DROR, ISA_HAS_ROR): Add ISA_MIPS64R2.
(macro_build): Handle +A, +B, +C, +E, +F, +G, and +H format operands.
(macro): Handle M_DEXT and M_DINS.
(validate_mips_insn): Handle +E, +F, +G, +H, and +I format operands.
(mips_ip): Likewise.
(OPTION_MIPS64R2): New define.
(md_longopts): New entry for -mips64r2 (OPTION_MIPS64R2).
OPTION_ASE_BASE): Increase to compensate for OPTION_MIPS64R2.
(md_parse_option): Handle OPTION_MIPS64R2.
(s_mipsset): Handle setting "mips64r2" ISA.
(mips_cpu_info_table): Add mips64r2.
(md_show_usage): Document -mips64r2 option.
* doc/as.texinfo: Docuemnt -mips64r2 option.
* doc/c-mips.texi: Likewise.
[ gas/testsuite/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* gas/mips/cp0-names-mips64r2.d: New file.
* gas/mips/cp0sel-names-mips64r2.d: New file.
* gas/mips/elf_arch_mips64r2.d: New file.
* gas/mips/hwr-names-mips64r2.d: New file.
* gas/mips/mips32r2-ill-fp64.l: New file.
* gas/mips/mips32r2-ill-fp64.s: New file.
* gas/mips/mips64r2-ill.l: New file.
* gas/mips/mips64r2-ill.s: New file.
* gas/mips/mips64r2.d: New file.
* gas/mips/mips64r2.s: New file.
* gas/mips/mips.exp: Define "mips64r2" arch, and run new tests.
[ include/elf/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* mips.h (E_MIPS_ARCH_64R2): New define.
[ include/opcode/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* mips.h: Document +E, +F, +G, +H, and +I operand types.
Update documentation of I, +B and +C operand types.
(INSN_ISA64R2, ISA_MIPS64R2, CPU_MIPS64R2): New defines.
(M_DEXT, M_DINS): New enum values.
[ ld/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* ldmain.c (get_emulation): Ignore "-mips64r2".
[ ld/testsuite/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* ld-mips-elf/mips-elf-flags.exp: Add tests for combinations
with MIPS64r2.
[ opcodes/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* mips-dis.c (mips_arch_choices): Add entry for "mips64r2"
(print_insn_args): Add handing for +E, +F, +G, and +H.
* mips-opc.c (I65): New define for MIPS64r2.
(mips_builtin_opcodes): Add "dext", "dextm", "dextu", "dins",
"dinsm", "dinsu", "drotl", "drotr", "drotr32", "drotrv", "dsbh",
and "dshd" for MIPS64r2. Adjust "dror", "dror32", and "drorv" to
be supported on MIPS64r2.
H.J. Lu [Tue, 30 Sep 2003 00:39:57 +0000 (00:39 +0000)]
2003-09-29 H.J. Lu <hongjiu.lu@intel.com>
* lib/ld-lib.exp (proc is_elf64): New.
* ld-scripts/phdrs.exp: Use is_elf_format and is_elf64.
H.J. Lu [Tue, 30 Sep 2003 00:15:54 +0000 (00:15 +0000)]
2003-09-29 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (dump_relocations): Support SHN_IA_64_ANSI_COMMON.
(get_symbol_index_type): Likewise.
testsuites/
2003-09-29 H.J. Lu <hongjiu.lu@intel.com>
* binutils-all/readelf.exp: Use is_elf_format.
* binutils-all/readelf.h: Support IA64/ILP32.
* binutils-all/readelf.s: Likewise.
* binutils-all/readelf.ss: Likewise.
* lib/utils-lib.exp (proc is_elf_format): Copy from ld
testsuite. Add ia64-*-hpux*.
Alan Modra [Tue, 30 Sep 2003 00:00:11 +0000 (00:00 +0000)]
daily update
H.J. Lu [Mon, 29 Sep 2003 23:25:08 +0000 (23:25 +0000)]
2003-09-29 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_hpux_backend_symbol_processing): New.
Handle SHN_IA_64_ANSI_COMMON.
(elf_backend_section_from_bfd_section): Defined.
Dave Brolley [Mon, 29 Sep 2003 20:16:53 +0000 (20:16 +0000)]
2003-09-29 Dave Brolley <brolley@redhat.com>
* gas/frv/allinsn.s (nldqi): Removed. Replaced with nop.
* gas/frv/allinsn.d (nldqi): Ditto.
Alan Modra [Mon, 29 Sep 2003 00:00:10 +0000 (00:00 +0000)]
daily update
Alan Modra [Sun, 28 Sep 2003 00:00:10 +0000 (00:00 +0000)]
daily update
Dave Anglin [Sat, 27 Sep 2003 18:19:29 +0000 (18:19 +0000)]
* config/tc-hppa.c (pa_ip): Check for invalid 64-bit conditions.
Alan Modra [Sat, 27 Sep 2003 00:00:09 +0000 (00:00 +0000)]
daily update
Jason Thorpe [Fri, 26 Sep 2003 23:02:34 +0000 (23:02 +0000)]
2003-09-26 Matt Thomas <matt@3am-software.com>
* config/tc-vax.c (md_shortopts): Fix a typo. Remove 'K'.
(OPTION_PIC): Define.
(md_longopts): Add "pic" option.
(md_parse_option): Change 'K' to OPTION_PIC.
H.J. Lu [Fri, 26 Sep 2003 03:54:09 +0000 (03:54 +0000)]
2003-09-25 H.J. Lu <hongjiu.lu@intel.com>
* gas/ia64/alias-ilp32.d: New file.
* gas/ia64/secname-ilp32.d: Likewise.
* gas/ia64/unwind-ilp32.d: Likewise.
* gas/ia64/dependency-1.d: Support ILP32.
* gas/ia64/dv-branch.d: Likewise.
* gas/ia64/dv-imply.d: Likewise.
* gas/ia64/dv-mutex.d: Likewise.
* gas/ia64/dv-safe.d: Likewise.
* gas/ia64/dv-srlz.d: Likewise.
* gas/ia64/global.d: Likewise.
* gas/ia64/ldxmov-1.d: Likewise.
* gas/ia64/ltoff22x-1.d:Likewise.
* gas/ia64/opc-a.d: Likewise.
* gas/ia64/opc-b.d: Likewise.
* gas/ia64/opc-f.d: Likewise.
* gas/ia64/opc-i.d: Likewise.
* gas/ia64/opc-m.d: Likewise.
* gas/ia64/opc-x.d: Likewise.
* gas/ia64/order.d: Likewise.
* gas/ia64/regs.d: Likewise.
* gas/ia64/tls.d: Likewise.
* gas/ia64/ia64.exp: Run "secname-ilp32", "unwind-ilp32" and
"alias-ilp32" for ia64-*-hpux*.
H.J. Lu [Thu, 25 Sep 2003 19:07:28 +0000 (19:07 +0000)]
2003-09-25 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (process_version_sections): Indent version names.
Daniel Jacobowitz [Thu, 25 Sep 2003 14:27:21 +0000 (14:27 +0000)]
* acx.m4 (AC_PROG_CPP_WERROR): New.
Daniel Jacobowitz [Thu, 25 Sep 2003 14:26:41 +0000 (14:26 +0000)]
* configure.in: Use AC_PROG_CPP_WERROR.
* configure: Regenerated.
Hans-Peter Nilsson [Thu, 25 Sep 2003 13:06:56 +0000 (13:06 +0000)]
* gas/cris/rd-pcrel2.d: Update for changes in section flag
defaults.
H.J. Lu [Thu, 25 Sep 2003 07:10:42 +0000 (07:10 +0000)]
2003-09-26 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (elf_link_read_relocs_from_section): Add an argument
of a pointer to section. Check bad symbol index.
(_bfd_elf_link_read_relocs): Modify calls to
elf_link_read_relocs_from_section.
Dave Brolley [Wed, 24 Sep 2003 19:10:48 +0000 (19:10 +0000)]
2003-09-24 Dave Brolley <brolley@redhat.com>
* frv-desc.c, frv-opc.c, frv-opc.h: Regenerated.
Dave Brolley [Wed, 24 Sep 2003 19:04:54 +0000 (19:04 +0000)]
2003-09-24 Dave Brolley <brolley@redhat.com>
* frv.cpu (u-commit): New modelling unit for fr500.
(mwtaccg): Use frv_ref_SI to reference ACC40Sk as an input operand.
(commit-r): Use u-commit model for fr500.
(commit): Ditto.
(conditional-float-binary-op): Take profiling data as an argument.
Update callers.
(ne-float-binary-op): Ditto.
DJ Delorie [Wed, 24 Sep 2003 02:27:57 +0000 (02:27 +0000)]
* sh.h (R_SH_SWITCH8, R_SH_GNU_VTINHERIT, R_SH_GNU_VTENTRY,
R_SH_LOOP_START,R_SH_LOOP_END): Move to "reserved" spaces.
(R_SH_DIR16, R_SH_DIR8, R_SH_DIR8UL, R_SH_DIR8UW, R_SH_DIR8U,
R_SH_DIR8SW, R_SH_DIR8S, R_SH_DIR4UL, R_SH_DIR4UW, R_SH_DIR4U,
R_SH_PSHA, R_SH_PSHL): New.
* elf32-sh.c (sh_elf_howto_table): R_SH_SWITCH8,
R_SH_GNU_VTINHERIT, R_SH_GNU_VTENTRY,
R_SH_LOOP_START,R_SH_LOOP_END moved to "reserved" spaces,
R_SH_DIR16, R_SH_DIR8, R_SH_DIR8UL, R_SH_DIR8UW, R_SH_DIR8U,
R_SH_DIR8SW, R_SH_DIR8S, R_SH_DIR4UL, R_SH_DIR4UW, R_SH_DIR4U,
R_SH_PSHA, R_SH_PSHL added.
(sh_reloc_map): Add R_SH_DIR16 and R_SH_DIR8.
(sh_elf_relocate_section): Support new relocs.
Bob Wilson [Tue, 23 Sep 2003 20:23:55 +0000 (20:23 +0000)]
* elf32-xtensa.c (elf_xtensa_relocate_section): Fix typo that clobbered
dynamic relocation offsets.
Alan Modra [Tue, 23 Sep 2003 03:59:25 +0000 (03:59 +0000)]
* simple.c (bfd_simple_get_relocated_section_contents): Free the
hash table using _bfd_generic_link_hash_table_free.