OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
20 years ago * m32r-dis.c: Regenerate.
Ben Elliston [Fri, 13 Feb 2004 03:21:49 +0000 (03:21 +0000)]
* m32r-dis.c: Regenerate.

20 years agodaily update
Alan Modra [Thu, 12 Feb 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago2004-02-11 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 11 Feb 2004 23:23:20 +0000 (23:23 +0000)]
2004-02-11  Andrew Cagney  <cagney@redhat.com>

* bfd-in.h: Update copyright.
(bfd_tell): Change return type to file_ptr.
* bfd-in2.h: Re-generate.
* cache.c: Update copyright.
(bfd_cache_lookup_worker): Use real_fseek, do not cast offset
parameter.
(close_one): Use real_ftell.
* bfdio.c: Update copyright.
(real_ftell, real_fseek): New functions.
(bfd_tell): Use real_fseek and real_ftell, change return type to
file_ptr.
(bfd_seek): Use real_ftell and real_fseek, change type of
file_position to a file_ptr.
* libbfd-in.h: Update copyright.
(real_ftell, real_fseek): Declare.
* libbfd.h: Re-generate.

20 years agodaily update
Alan Modra [Wed, 11 Feb 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago* config.in: Re-generate.
Andrew Cagney [Wed, 11 Feb 2004 22:05:35 +0000 (22:05 +0000)]
* config.in: Re-generate.

20 years ago2004-02-11 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 11 Feb 2004 22:01:00 +0000 (22:01 +0000)]
2004-02-11  Andrew Cagney  <cagney@redhat.com>

* configure.in (AC_CHECK_FUNCS): Check for ftello, ftello64,
fseeko and fseeko64.  Determine bfd_file_ptr.
* configure: Re-generate.

20 years ago* configure.in (powerpc-*-aix*): Add target-libada to noconfigdirs.
DJ Delorie [Wed, 11 Feb 2004 17:52:06 +0000 (17:52 +0000)]
* configure.in (powerpc-*-aix*): Add target-libada to noconfigdirs.
(rs6000-*-aix*): Same.
* configure: Regenerate.

20 years ago* configure.in (host): Add in missing $noconfigdirs to defines.
DJ Delorie [Wed, 11 Feb 2004 17:50:38 +0000 (17:50 +0000)]
* configure.in (host): Add in missing $noconfigdirs to defines.
* configure: Regenerate.

20 years agoPatch from Steve Ellcey for ia64-hpux.
Jim Wilson [Wed, 11 Feb 2004 01:35:14 +0000 (01:35 +0000)]
Patch from Steve Ellcey for ia64-hpux.
* config/tc-ia64.h (ia64_frob_symbol): New declaration.
(tc_frob_symbol): New macro definition.
* config/tc-ia64.c (ia64_frob_symbol): New routine.

20 years agodaily update
Alan Modra [Tue, 10 Feb 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago2004-02-10 Arnaud Charlet <charlet@act-europe.fr>,
DJ Delorie [Tue, 10 Feb 2004 17:57:02 +0000 (17:57 +0000)]
2004-02-10  Arnaud Charlet  <charlet@act-europe.fr>,
    Nathanael Nerode  <neroden@gcc.gnu.org>
PR ada/6637, PR ada/5911
Merge with libada-branch:
* configure.in, Makefile.tpl, Makefile.def: Add target-libada,
with appropriate dependencies. Add --enable-libada configure switch.
* configure, Makefile.in: Regenerate.

20 years agodaily update
Alan Modra [Mon, 9 Feb 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
Daniel Jacobowitz [Mon, 9 Feb 2004 18:06:20 +0000 (18:06 +0000)]
* emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
.note.gnu.arm.ident to after allocated sections.  Mark its
address as 0.

20 years ago * config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as
Daniel Jacobowitz [Mon, 9 Feb 2004 18:04:26 +0000 (18:04 +0000)]
* config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as
read-only.

20 years ago * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
Daniel Jacobowitz [Mon, 9 Feb 2004 17:54:25 +0000 (17:54 +0000)]
* emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
* emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
* emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
* emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
* emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.

20 years ago * gas/sh/basic.exp: Don't do sh4a tests for sh5.
Kaz Kojima [Mon, 9 Feb 2004 12:45:52 +0000 (12:45 +0000)]
* gas/sh/basic.exp: Don't do sh4a tests for sh5.

20 years agoAdd support for relaxing the 32bit ldc/stc instructions.
Nick Clifton [Mon, 9 Feb 2004 12:15:57 +0000 (12:15 +0000)]
Add support for relaxing the 32bit ldc/stc instructions.

20 years ago * read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...
Nathan Sidwell [Mon, 9 Feb 2004 12:12:42 +0000 (12:12 +0000)]
* read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...
(TC_CASE_SENSITIVE): ... this.
* read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE.
* doc/internals.texi (TC_CASE_SENSITIVE): Document.

20 years agoCatch GOT offsets for a symbol which have no associated GOT subsection.
Nick Clifton [Mon, 9 Feb 2004 10:30:13 +0000 (10:30 +0000)]
Catch GOT offsets for a symbol which have no associated GOT subsection.

20 years ago * bfd-elf.h (elf_backend_name_local_section_symbols): New hook.
Richard Sandiford [Mon, 9 Feb 2004 08:04:00 +0000 (08:04 +0000)]
* bfd-elf.h (elf_backend_name_local_section_symbols): New hook.
* elf.c (swap_out_syms): Use it to decide whether local section
symbols should be named.
* elfxx-target.h (elf_backend_name_local_section_symbols): New macro.
* elfxx-mips.h (_bfd_mips_elf_name_local_section_symbols): Declare.
(elf_backend_name_local_section_symbols): Define.
* elfxx-mips.c (_bfd_mips_elf_name_local_section_symbols): New.

20 years agodaily update
Alan Modra [Sun, 8 Feb 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years agodaily update
Alan Modra [Sat, 7 Feb 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years agoFix unwind abort while compiling glibc, reported by HJ.
Jim Wilson [Sat, 7 Feb 2004 02:41:20 +0000 (02:41 +0000)]
Fix unwind abort while compiling glibc, reported by HJ.
* config/tc-ia64.c (dot_endp): Delete call to output_endp.
(generate_unwind_image): Re-add it here.

20 years agodaily update
Alan Modra [Fri, 6 Feb 2004 23:00:04 +0000 (23:00 +0000)]
daily update

20 years ago.:
Nathan Sidwell [Fri, 6 Feb 2004 16:00:21 +0000 (16:00 +0000)]
.:
* dwarf2dbg.c (DWARF2_ADDR_SIZE): Remove trailing ';'
* read.h (SKIP_WHITESPACE): Turn into an expression.
* read.c (read_a_source_file): A pseudo is removed by having a
NULL handler.
testsuite:
* gas/macros/test2.s: Lowercase it.

20 years ago2004-02-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
DJ Delorie [Fri, 6 Feb 2004 00:50:48 +0000 (00:50 +0000)]
2004-02-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
* configure.in: Don't pass --with-stabs on IRIX 5 either.
* configure: Regenerate.

20 years agoFix region length calculations when regions end with .align padding.
Jim Wilson [Thu, 5 Feb 2004 23:50:21 +0000 (23:50 +0000)]
Fix region length calculations when regions end with .align padding.
* config/tc-ia64.c (output_endp): New.
(count_bits): Delete.
(ia64_flush_insns, process_one_record, optimize_unw_records): Handle
endp unwind records.
(fixup_unw_records): Handle endp unwind records.  Delete code for
shortening prologue regions not followed by a body record.
(dot_endp): Call add_unwind_entry to emit endp unwind record.
* config/tc-ia64.h (unw_record_type): Add endp.

20 years agodaily update
Alan Modra [Thu, 5 Feb 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years agoFix typo in previous delta
Nick Clifton [Thu, 5 Feb 2004 11:41:51 +0000 (11:41 +0000)]
Fix typo in previous delta

20 years agodaily update
Alan Modra [Wed, 4 Feb 2004 23:00:04 +0000 (23:00 +0000)]
daily update

20 years agoFix thinko checking for dlls in archives.
Nick Clifton [Wed, 4 Feb 2004 09:13:28 +0000 (09:13 +0000)]
Fix thinko checking for dlls in archives.

20 years agoFix testcase from David Mosberger.
Jim Wilson [Wed, 4 Feb 2004 04:40:24 +0000 (04:40 +0000)]
Fix testcase from David Mosberger.
* config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to
fill padding bytes with zeroes.
(emit_one_bundle): New locals last_ptr, end_ptr.  Rewrite code that
sets unwind_record slot_number and slot_frag fields.

20 years agodaily update
Alan Modra [Tue, 3 Feb 2004 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 3 Feb 2004 00:05:49 +0000 (00:05 +0000)]
2004-02-02  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Update Red Hat license to 2004.

20 years agodaily update
Alan Modra [Mon, 2 Feb 2004 23:00:06 +0000 (23:00 +0000)]
daily update

20 years agogas/
Maciej W. Rozycki [Mon, 2 Feb 2004 12:48:21 +0000 (12:48 +0000)]
gas/
* config/tc-mips.c (add_got_offset_hilo): New function.
(macro): Use load_register() and add_got_offset_hilo() to load
constants instead of hardcoding code sequences throughout.

gas/testsuite/
* gas/mips/div.d: Update to accomodate changes in macro
expansions.
gas/mips/elf-rel-got-n32.d: Likewise.
gas/mips/elf-rel-got-n64.d: Likewise.
gas/mips/elf-rel-xgot-n32.d: Likewise.
gas/mips/elf-rel-xgot-n64.d: Likewise.
gas/mips/la-svr4pic.d: Likewise.
gas/mips/la-xgot.d: Likewise.
gas/mips/lca-svr4pic.d: Likewise.
gas/mips/lca-xgot.d: Likewise.

20 years agodaily update
Alan Modra [Sun, 1 Feb 2004 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago * gas/sh/sh4a-fp.d: Fix opcode name fssra to fsrra.
Kaz Kojima [Sun, 1 Feb 2004 22:59:43 +0000 (22:59 +0000)]
* gas/sh/sh4a-fp.d: Fix opcode name fssra to fsrra.
* gas/sh/sh4a-fp.s: Likewise.
* gas/sh/err-sh4a-fp.s: Likewise.

20 years agodaily update
Alan Modra [Sat, 31 Jan 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago2004-01-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 30 Jan 2004 23:13:28 +0000 (23:13 +0000)]
2004-01-30  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_relax_brl): New function.
(elfNN_ia64_relax_section): Optimize brl to br during the relax
finalize pass.

20 years agodaily update
Alan Modra [Fri, 30 Jan 2004 23:00:35 +0000 (23:00 +0000)]
daily update

20 years ago* elf32-frv.c (elf32_frv_always_size_sections): Initialize pointer
Alexandre Oliva [Fri, 30 Jan 2004 21:11:37 +0000 (21:11 +0000)]
* elf32-frv.c (elf32_frv_always_size_sections): Initialize pointer
to bfd_link_hash_entry passed by reference to
_bfd_generic_link_add_one_symbol.

20 years agodaily update
Alan Modra [Thu, 29 Jan 2004 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago.
Roland McGrath [Thu, 29 Jan 2004 02:41:25 +0000 (02:41 +0000)]
.

20 years ago2004-01-28 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 29 Jan 2004 02:41:18 +0000 (02:41 +0000)]
2004-01-28  Roland McGrath  <roland@redhat.com>

* common.h (AT_SECURE): New macro.

20 years ago.
Roland McGrath [Thu, 29 Jan 2004 00:37:46 +0000 (00:37 +0000)]
.

20 years ago2004-01-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 29 Jan 2004 00:37:41 +0000 (00:37 +0000)]
2004-01-21  Roland McGrath  <roland@redhat.com>

* common.h (AT_SUN_UID, AT_SUN_RUID, AT_SUN_GID): New macros.
(AT_SUN_RGID, AT_SUN_LDELF, AT_SUN_LDSHDR, AT_SUN_LDNAME,
AT_SUN_LPAGESZ, AT_SUN_PLATFORM, AT_SUN_HWCAP, AT_SUN_IFLUSH,
AT_SUN_CPU, AT_SUN_EMUL_ENTRY, AT_SUN_EMUL_EXECFD,
AT_SUN_EXECNAME) AT_SUN_MMU, AT_SUN_LDDATA): Likewise.

20 years ago2004-01-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 29 Jan 2004 00:27:30 +0000 (00:27 +0000)]
2004-01-21  Roland McGrath  <roland@redhat.com>

* readelf.c (get_note_type): Match NT_AUXV.

20 years agodaily update
Alan Modra [Wed, 28 Jan 2004 23:00:07 +0000 (23:00 +0000)]
daily update

20 years ago2004-01-28 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 28 Jan 2004 23:00:02 +0000 (23:00 +0000)]
2004-01-28  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-ia64.c (emit_one_bundle): Add proper indentation.

20 years ago * genscripts.sh: Fix typo.
Alan Modra [Wed, 28 Jan 2004 13:42:26 +0000 (13:42 +0000)]
* genscripts.sh: Fix typo.

20 years ago * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
Alan Modra [Wed, 28 Jan 2004 13:31:30 +0000 (13:31 +0000)]
* genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.

20 years ago2004-01-27 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 28 Jan 2004 00:05:47 +0000 (00:05 +0000)]
2004-01-27  Michael Snyder  <msnyder@redhat.com>

        * sh-opc.h (sh_table): "fsrra", not "fssra".

20 years agodaily update
Alan Modra [Tue, 27 Jan 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years agodaily update
Alan Modra [Mon, 26 Jan 2004 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago2004-01-25 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 26 Jan 2004 20:32:08 +0000 (20:32 +0000)]
2004-01-25  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_relocate_section): Disallow imm
relocations against dynamic symbols.

20 years ago(EXTERN_FORCE_RELOC): Handle m68k-uclinux specially, like m68k-elf.
Nick Clifton [Mon, 26 Jan 2004 18:09:30 +0000 (18:09 +0000)]
(EXTERN_FORCE_RELOC): Handle m68k-uclinux specially, like m68k-elf.
(RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead of hard-coded test for
 TARGET_OS=elf.

20 years agomerge from gcc
DJ Delorie [Mon, 26 Jan 2004 12:52:10 +0000 (12:52 +0000)]
merge from gcc

20 years agodaily update
Alan Modra [Sun, 25 Jan 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago2004-01-24 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Sun, 25 Jan 2004 06:01:03 +0000 (06:01 +0000)]
2004-01-24  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (hilo_interlocks): Change definition
        so that MIPS32, MIPS64 and later ISAs are included, along with
        the already-included machines.  Update comments.

20 years ago2004-01-24 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Sun, 25 Jan 2004 03:01:42 +0000 (03:01 +0000)]
2004-01-24  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/relax-swap1.s: Add extra space at end, so the
        disassembly will consistently have "..." at its end.
        * gas/mips/relax-swap2.s: Likewise.
        * gas/mips/relax-swap1-mips2.d: Expect "..." at end of disassembly.

20 years agodaily update
Alan Modra [Sun, 25 Jan 2004 02:42:20 +0000 (02:42 +0000)]
daily update

20 years ago * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
Richard Sandiford [Sat, 24 Jan 2004 17:37:29 +0000 (17:37 +0000)]
* config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.

20 years ago * emulparams/elf64_ia64.sh: Put .rela.opd into
Jakub Jelinek [Sat, 24 Jan 2004 16:29:40 +0000 (16:29 +0000)]
* emulparams/elf64_ia64.sh: Put .rela.opd into
OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.

20 years ago* Makefile.def (target_modules) [libiberty]: Don't stage.
DJ Delorie [Sat, 24 Jan 2004 00:25:36 +0000 (00:25 +0000)]
* Makefile.def (target_modules) [libiberty]: Don't stage.
* Makefile.in: Rebuilt.

20 years agodaily update
Alan Modra [Fri, 23 Jan 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago2004-01-23 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 23 Jan 2004 22:05:44 +0000 (22:05 +0000)]
2004-01-23  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Update to include copyrights for new
        iconv code.

20 years ago * elf32-arm.h (elf32_arm_check_relocs): Revert part of 2004-01-13
Daniel Jacobowitz [Fri, 23 Jan 2004 16:51:48 +0000 (16:51 +0000)]
* elf32-arm.h (elf32_arm_check_relocs): Revert part of 2004-01-13
change.

20 years ago * ld-arm/arm-app-abs32.s, ld-arm/arm-app-abs32.r,
Daniel Jacobowitz [Fri, 23 Jan 2004 16:51:39 +0000 (16:51 +0000)]
* ld-arm/arm-app-abs32.s, ld-arm/arm-app-abs32.r,
ld-arm/arm-app-abs32.d: New files.
* ld-arm/arm-elf.exp: Add arm-app-abs32 testcase.

20 years ago * config/tc-arm.c (tc_gen_reloc): Improve error message for
Daniel Jacobowitz [Fri, 23 Jan 2004 16:29:34 +0000 (16:29 +0000)]
* config/tc-arm.c (tc_gen_reloc): Improve error message for
undefined local labels.

20 years ago * gas/arm/arm.exp: Add "undefined" test.
Daniel Jacobowitz [Fri, 23 Jan 2004 16:29:25 +0000 (16:29 +0000)]
* gas/arm/arm.exp: Add "undefined" test.
* gas/arm/undefined.s, gas/arm/undefined.l: New files.

20 years ago * config/tc-mips.c (load_address, macro): Update comments about
Richard Sandiford [Fri, 23 Jan 2004 13:11:00 +0000 (13:11 +0000)]
* config/tc-mips.c (load_address, macro): Update comments about
NewABI GP relaxation.

20 years ago * config/tc-mips.c (macro_build): Remove place and counter arguments.
Richard Sandiford [Fri, 23 Jan 2004 13:02:28 +0000 (13:02 +0000)]
* config/tc-mips.c (macro_build): Remove place and counter arguments.
(mips_build_lui, macro_build_ldst_constoffset): Likewise.
(mips16_macro_build, macro_build_jalr): Remove counter argument.
(set_at, load_register, load_address, move_register): Likewise.
(load_got_offset, add_got_offset): Likewise.
Update all calls and tidy accordingly.

20 years ago * gas/mips/macro-warn-[1234].[sdl]: New tests.
Richard Sandiford [Fri, 23 Jan 2004 13:01:07 +0000 (13:01 +0000)]
* gas/mips/macro-warn-[1234].[sdl]: New tests.
* gas/mips/macro-warn-[12]-n32.[dl]: New tests.
* gas/mips/mips.exp: Run them.

20 years ago * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
Richard Sandiford [Fri, 23 Jan 2004 13:00:18 +0000 (13:00 +0000)]
* config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
(RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
(RELAX_USE_SECOND): Bump to 0x10000.
(RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
(mips_macro_warning): New variable.
(md_assemble): Wrap macro expansion in macro_start() and macro_end().
(s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
(relax_close_frag): Set mips_macro_warning.first_frag.  Adjust use
of RELAX_ENCODE.
(append_insn): Update mips_macro_warning.sizes.
(macro_start, macro_warning, macro_end): New functions.
(macro_build): Don't emit warnings here.
(macro_build_lui, md_estimate_size_before_relax): ...or here.
(md_convert_frag): Check for cases where one macro alternative
needs a warning and the other doesn't.  Emit a warning if the
longer sequence was chosen.

20 years ago * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
Richard Sandiford [Fri, 23 Jan 2004 12:58:22 +0000 (12:58 +0000)]
* config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
* config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of
the first sequence, the size of the second sequence, and a flag
that says whether we should warn.
(RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete.
(RELAX_FIRST, RELAX_SECOND): New.
(mips_relax): New variable.
(relax_close_frag, relax_start, relax_switch, relax_end): New fns.
(append_insn): Remove "place" argument.  Use mips_relax.sequence
rather than "place" to check whether we're expanding the second
alternative of a relaxable macro.  Remove redundant check for
branch relaxation.  If generating a normal insn, and there
is not enough room in the current frag, call relax_close_frag()
to close it.  Update mips_relax.sizes[].  Emit fixups for the
second version of a relaxable macro.  Record the first relaxable
fixup in mips_relax.  Remove tc_gen_reloc workaround.
(macro_build): Remove all uses of "place".  Use mips_relax.sequence
in the same way as in append_insn.
(mips16_macro_build): Remove "place" argument.
(macro_build_lui): As for macro_build.  Don't drop the add_symbol
when generating the second version of a relaxable macro.
(load_got_offset, add_got_offset): New functions.
(load_address, macro): Use new relaxation machinery.  Remove
tc_gen_reloc workarounds.
(md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second
version of a relaxable macro is needed.  Return -RELAX_SECOND if the
first version is needed.
(tc_gen_reloc): Remove relaxation handling.
(md_convert_frag): Go through the fixups for a relaxable macro and
mark those that belong to the unneeded alternative as done.  If the
second alternative is needed, adjust the fixup addresses to account
for the deleted first alternative.

testsuite/
* gas/mips/elf-rel19.[sd]: New test.
* gas/mips/mips.exp: Run it.

20 years ago * frags.h (frag_room): Declare.
Richard Sandiford [Fri, 23 Jan 2004 12:52:20 +0000 (12:52 +0000)]
* frags.h (frag_room): Declare.
* frags.c (frag_room): New function.
* doc/internals.texi: Document it.

20 years agoTighten constaints on a few sparc instructions
Nick Clifton [Fri, 23 Jan 2004 12:08:24 +0000 (12:08 +0000)]
Tighten constaints on a few sparc instructions

20 years agodaily update
Alan Modra [Thu, 22 Jan 2004 23:00:06 +0000 (23:00 +0000)]
daily update

20 years agomerge from gcc
DJ Delorie [Thu, 22 Jan 2004 19:34:11 +0000 (19:34 +0000)]
merge from gcc

20 years ago * config/tc-mips.c (append_insn): Don't do r3900 interlock
Thiemo Seufer [Wed, 21 Jan 2004 23:25:38 +0000 (23:25 +0000)]
* config/tc-mips.c (append_insn): Don't do r3900 interlock
optimization for -mtune=r3900, as this will break on other CPUs.

20 years agodaily update
Alan Modra [Wed, 21 Jan 2004 23:00:07 +0000 (23:00 +0000)]
daily update

20 years agoStop indexed move byte instructions from being relaxed.
Nick Clifton [Wed, 21 Jan 2004 11:17:53 +0000 (11:17 +0000)]
Stop indexed move byte instructions from being relaxed.

20 years agodaily update
Alan Modra [Tue, 20 Jan 2004 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
Danny Smith [Tue, 20 Jan 2004 21:08:16 +0000 (21:08 +0000)]
* pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
* ld.texinfo (--omagic): Note that writable text section
does not conform to published PE-COFF specs.
(--enable-auto-import): Likewise.

20 years ago * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Don't remove
Danny Smith [Tue, 20 Jan 2004 21:04:19 +0000 (21:04 +0000)]
* peXXigen.c (_bfd_XXi_swap_scnhdr_out): Don't remove
IMAGE_SCN_MEM_WRITE flag from .text section if WP_TEXT
flag has been cleared.

20 years agoUpdate the copyright year
Nick Clifton [Tue, 20 Jan 2004 13:08:47 +0000 (13:08 +0000)]
Update the copyright year

20 years agodaily update
Alan Modra [Mon, 19 Jan 2004 23:00:04 +0000 (23:00 +0000)]
daily update

20 years ago* common.h (NT_OPENBSD_IDENT): Define.
Mark Kettenis [Mon, 19 Jan 2004 18:28:58 +0000 (18:28 +0000)]
* common.h (NT_OPENBSD_IDENT): Define.

20 years ago * coff-h8300.c: Add and adjust comments about relaxation.
Kazu Hirata [Mon, 19 Jan 2004 17:02:45 +0000 (17:02 +0000)]
* coff-h8300.c: Add and adjust comments about relaxation.
* elf32-h8300.c: Likewise.

20 years ago* config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
Jakub Jelinek [Sun, 18 Jan 2004 23:47:03 +0000 (23:47 +0000)]
* config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
precision operands.

20 years ago* sparc-opc.c (sparc_opcodes) <f[dsq]tox, fxto[dsq]>: Fix args.
Jakub Jelinek [Sun, 18 Jan 2004 23:46:32 +0000 (23:46 +0000)]
* sparc-opc.c (sparc_opcodes) <f[dsq]tox, fxto[dsq]>: Fix args.

20 years ago * ld-i386/tlsbin.dd: Adjust for changed sib printing.
Alan Modra [Sun, 18 Jan 2004 23:14:13 +0000 (23:14 +0000)]
* ld-i386/tlsbin.dd: Adjust for changed sib printing.

20 years ago * gas/i386/katmai.d: Adjust for changed sib printing.
Alan Modra [Sun, 18 Jan 2004 23:13:35 +0000 (23:13 +0000)]
* gas/i386/katmai.d: Adjust for changed sib printing.
* gas/i386/prescott.d: Likewise.
* gas/i386/sse2.d: Likewise.
* gas/i386/ssemmx2.d: Likewise.

20 years ago * i386-dis.c (OP_E): Print scale factor on intel mode sib when not
Alan Modra [Sun, 18 Jan 2004 23:12:47 +0000 (23:12 +0000)]
* i386-dis.c (OP_E): Print scale factor on intel mode sib when not
1.  Don't print scale factor on AT&T mode when index missing.

20 years agodaily update
Alan Modra [Sun, 18 Jan 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years agodaily update
Alan Modra [Sat, 17 Jan 2004 23:07:55 +0000 (23:07 +0000)]
daily update

20 years ago * coff-h8300.c: Fix comment typos.
Kazu Hirata [Fri, 16 Jan 2004 23:50:20 +0000 (23:50 +0000)]
* coff-h8300.c: Fix comment typos.
* elf32-h8300.c: Likewise.

20 years ago * coff-h8300.c: Add comments about relaxation.
Kazu Hirata [Fri, 16 Jan 2004 23:35:49 +0000 (23:35 +0000)]
* coff-h8300.c: Add comments about relaxation.
* elf32-h8300.c: Likewise.

20 years agodaily update
Alan Modra [Fri, 16 Jan 2004 23:00:06 +0000 (23:00 +0000)]
daily update