OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
21 years ago[ opcodes/ChangeLog ]
Chris Demetriou [Wed, 18 Dec 2002 22:52:48 +0000 (22:52 +0000)]
[ opcodes/ChangeLog ]
2002-12-18  Chris Demetriou  <cgd@broadcom.com>

* mips-opc.c (mips_builtin_opcodes): Remove one "ror" and two
"dror" entries, and reorder the remaining "dror" and "ror" entries.

[ gas/ChangeLog ]
2002-12-18  Chris Demetriou  <cgd@broadcom.com>

* config/tc-mips.c (macro): In M_DROL, M_DROR, M_ROL, and M_ROR,
use hardware rotate ops as appropriate.  In M_DROL_I, M_DROR_I,
M_ROL_I, and M_ROR_I, simplify code, clean up warnings, and
arrange not to issue warnings about use of AT when AT is not
actually used.

[ gas/testsuite/ChangeLog ]
2002-12-18  Chris Demetriou  <cgd@broadcom.com>

* gas/mips/rol.s: Add ".set noat" and some new instructions to test.
* gas/mips/rol64.s: Likewise.
* gas/mips/rol.l: New file.
* gas/mips/rol.d: Adjust to use rol.l and for rol.s changes.
* gas/mips/rol64.l: New file.
* gas/mips/rol64.d: Adjust to use rol64.l and for rol64.s changes.
* gas/mips/rol-hw.d: New file.
* gas/mips/rol-hw.l: New file.
* gas/mips/rol64-hw.d: New file.
* gas/mips/rol64-hw.l: New file.
* gas/mips/mips.exp: Run rol-hw and rol64-hw tests.

21 years agokill bogus line between the last 2 entries
Chris Demetriou [Wed, 18 Dec 2002 21:11:30 +0000 (21:11 +0000)]
kill bogus line between the last 2 entries

21 years ago * Makefile.tpl: Don't let real targets depend on phony targets.
Nathanael Nerode [Wed, 18 Dec 2002 18:35:31 +0000 (18:35 +0000)]
* Makefile.tpl: Don't let real targets depend on phony targets.
* Makefile.in: Regenerate.

21 years agoAdd win32 library search path.
Nick Clifton [Wed, 18 Dec 2002 16:56:19 +0000 (16:56 +0000)]
Add win32 library search path.

21 years agoAdd win32 machine depending section.
Nick Clifton [Wed, 18 Dec 2002 16:25:02 +0000 (16:25 +0000)]
Add win32 machine depending section.

21 years agoTest the auto importing direct from a dll functionality.
Nick Clifton [Wed, 18 Dec 2002 16:05:10 +0000 (16:05 +0000)]
Test the auto importing direct from a dll functionality.

21 years ago * bfd/reloc.c (struct reloc_howto_struct): Revise src_mask and
Alan Modra [Wed, 18 Dec 2002 13:47:03 +0000 (13:47 +0000)]
* bfd/reloc.c (struct reloc_howto_struct): Revise src_mask and
dst_mask comments.
* bfd-in2.h: Regenerate.

21 years ago * elf32-ppc.c (ppc_elf_relocate_section): Reorganize dynamic reloc
Alan Modra [Wed, 18 Dec 2002 13:16:35 +0000 (13:16 +0000)]
* elf32-ppc.c (ppc_elf_relocate_section): Reorganize dynamic reloc
code a little.  Comment on dynamic relocs against section symbols.

21 years ago2002-12-18 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 18 Dec 2002 05:23:49 +0000 (05:23 +0000)]
2002-12-18  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl (do-info): Depend on maybe-all-texinfo, not all-texinfo.
* Makefile.in: Regenerate.

21 years agodaily update
Alan Modra [Tue, 17 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago * Makefile.tpl (all-gcc): Use 'make quickstrap' if there was a
Jason Merrill [Tue, 17 Dec 2002 20:38:05 +0000 (20:38 +0000)]
    * Makefile.tpl (all-gcc): Use 'make quickstrap' if there was a
        previous 'make bootstrap'.
        * Makefile.in: Regenerate.

21 years agoDon't search for data import when auto-import is disabled.
Nick Clifton [Tue, 17 Dec 2002 12:16:38 +0000 (12:16 +0000)]
Don't search for data import when auto-import is disabled.

21 years agoDuplicate --keep-locals entry in order to prevent it being confused with -k.
Nick Clifton [Tue, 17 Dec 2002 12:02:41 +0000 (12:02 +0000)]
Duplicate --keep-locals entry in order to prevent it being confused with -k.

21 years agoUse LD_PATHMAX+1 to account for trailing '\0'.
Nick Clifton [Tue, 17 Dec 2002 11:01:25 +0000 (11:01 +0000)]
Use LD_PATHMAX+1 to account for trailing '\0'.

21 years agoDuplicate entry for --compact-implib so that it is not confused with -c.
Nick Clifton [Tue, 17 Dec 2002 10:03:52 +0000 (10:03 +0000)]
Duplicate entry for --compact-implib so that it is not confused with -c.

21 years ago* xstormy16-asm.c (parse_immediate16): Add prototype.
DJ Delorie [Tue, 17 Dec 2002 04:48:38 +0000 (04:48 +0000)]
* xstormy16-asm.c (parse_immediate16): Add prototype.

21 years ago * configure.in (noconfigdirs) [mmix-*-*]: Disable libgloss and gdb.
Hans-Peter Nilsson [Tue, 17 Dec 2002 04:31:04 +0000 (04:31 +0000)]
* configure.in (noconfigdirs) [mmix-*-*]: Disable libgloss and gdb.

21 years ago * configure.host (ia64-*-hpux*): Support 64 bit targets using
Alan Modra [Tue, 17 Dec 2002 04:17:21 +0000 (04:17 +0000)]
* configure.host (ia64-*-hpux*): Support 64 bit targets using
the HP compiler's "long long".

21 years ago* xstormy16-asm.c: Regenerate.
DJ Delorie [Tue, 17 Dec 2002 03:57:49 +0000 (03:57 +0000)]
* xstormy16-asm.c: Regenerate.

21 years ago* xstormy16.h (START_RELOC_NUMBERS) Add relocation numbers
DJ Delorie [Tue, 17 Dec 2002 03:57:00 +0000 (03:57 +0000)]
* xstormy16.h (START_RELOC_NUMBERS) Add relocation numbers
for R_XSTORMY16_LO16 and R_XSTORMY16_HI16.

21 years ago* config/tc-xstormy16.c (md_cgen_lookup_reloc): If a relocation
DJ Delorie [Tue, 17 Dec 2002 03:55:46 +0000 (03:55 +0000)]
* config/tc-xstormy16.c (md_cgen_lookup_reloc): If a relocation
has already been set up, use it.

21 years ago* elf32-xstormy16.c (xstormy16_elf_howto): Add R_XSTORMY16_LO16
DJ Delorie [Tue, 17 Dec 2002 03:54:15 +0000 (03:54 +0000)]
* elf32-xstormy16.c (xstormy16_elf_howto): Add R_XSTORMY16_LO16
and R_XSTORMY16_HI16) howto entries.
(xstormy16_reloc_map): Map R_XSTORMY16_{LO,HI}16 to BFD_RELOC_{LO,HI}16.
(xstormy16_info_to_howto_rela): Use R_XSTORMY16_GNU_VTINHERIT to
determine the start of the second reloc table.

21 years ago* mh-cygwin: Don't build libtermcap if it doesn't exist.
Christopher Faylor [Tue, 17 Dec 2002 01:55:28 +0000 (01:55 +0000)]
* mh-cygwin: Don't build libtermcap if it doesn't exist.

21 years ago * ChangeLog-9295: Fix a typo.
Kazu Hirata [Tue, 17 Dec 2002 01:13:56 +0000 (01:13 +0000)]
* ChangeLog-9295: Fix a typo.
* README: Likewise.
* config/tc-d10v.c: Fix a comment typo.
* config/tc-dlx.c: Likewise.
* config/tc-h8300.h: Likewise.
* config/tc-h8500.h: Likewise.
* config/tc-mips.c: Likewise.
* config/tc-s390.c: Likewise.
* config/tc-sh.h: Likewise.
* config/tc-tic80.h: Likewise.
* config/tc-w65.h: Likewise.
* config/tc-z8k.c: Likewise.
* config/tc-z8k.h: Likewise.
* testsuite/gas/h8300/cmpsi2.s: Likewise.

21 years agodaily update
Alan Modra [Mon, 16 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago2002-11-23 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 16 Dec 2002 19:58:06 +0000 (19:58 +0000)]
2002-11-23  H.J. Lu <hjl@gnu.org>

* accross.m4: New.

21 years agoAdd support to skip import libraries for performance reasons and instead
Nick Clifton [Mon, 16 Dec 2002 18:02:16 +0000 (18:02 +0000)]
Add support to skip import libraries for performance reasons and instead
use the direct auto-import of dll's

21 years agoFix the reading of the debugging information of Tru64/Alpha binaries that
Nick Clifton [Mon, 16 Dec 2002 16:25:06 +0000 (16:25 +0000)]
Fix the reading of the debugging information of Tru64/Alpha binaries that
are produced by recent Compaq compilers.

21 years ago * config/tc-d30v.c (check_range): Warning fixes, formatting.
Alan Modra [Mon, 16 Dec 2002 09:57:49 +0000 (09:57 +0000)]
* config/tc-d30v.c (check_range): Warning fixes, formatting.
Simplify sign extension.  Remove redundant unsigned < 0 test.
* config/tc-i960.c (md_ri_to_chars): Prototype.
* config/tc-mcore.c (md_pseudo_table): Fix typo.
(dump_literals): Init brarsym, and test later instead of isforce.

21 years ago * hppa.h (completer_chars): #if 0 out.
Alan Modra [Mon, 16 Dec 2002 09:57:03 +0000 (09:57 +0000)]
* hppa.h (completer_chars): #if 0 out.

21 years ago * config/tc-ns32k.c (encode_operand): Constify operandsP and suffixP.
Alan Modra [Mon, 16 Dec 2002 09:54:39 +0000 (09:54 +0000)]
* config/tc-ns32k.c (encode_operand): Constify operandsP and suffixP.
(parse): Constify line and lineptr.
(md_begin): Calculate endop here.

21 years ago * ns32k-dis.c (print_insn_ns32k): Constify "d", remove register
Alan Modra [Mon, 16 Dec 2002 09:54:12 +0000 (09:54 +0000)]
* ns32k-dis.c (print_insn_ns32k): Constify "d", remove register
keyword.

21 years ago * ns32k.h (struct ns32k_opcode): Constify "name", "operands" and
Alan Modra [Mon, 16 Dec 2002 09:53:48 +0000 (09:53 +0000)]
* ns32k.h (struct ns32k_opcode): Constify "name", "operands" and
"default_args".
(struct not_wot): Constify "args".
(struct not): Constify "name".
(numopcodes): Delete.
(endop): Delete.

21 years agodaily update
Alan Modra [Sun, 15 Dec 2002 23:35:50 +0000 (23:35 +0000)]
daily update

21 years agodaily update
Alan Modra [Sat, 14 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago * doc/binutils.texi: Add missing parenthesis.
Dave Anglin [Sat, 14 Dec 2002 21:17:41 +0000 (21:17 +0000)]
* doc/binutils.texi: Add missing parenthesis.

21 years ago * Makefile.tpl (check-gcc-c++): Renamed from check-c++. Don't run
Jason Merrill [Sat, 14 Dec 2002 08:35:49 +0000 (08:35 +0000)]
    * Makefile.tpl (check-gcc-c++): Renamed from check-c++.  Don't run
        library tests.
        (check-c++): Just depend on it and check-target-libstdc++-v3.
        * Makefile.in: Regenerate.

21 years agodaily update
Alan Modra [Fri, 13 Dec 2002 23:00:06 +0000 (23:00 +0000)]
daily update

21 years ago2002-12-13 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Fri, 13 Dec 2002 22:59:14 +0000 (22:59 +0000)]
2002-12-13  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.in, Makefile.tpl, Makefile.def: Remove tclX.
* Makefile.in: Regenerate.

21 years agoAdded --prefix-symbols <prefix> option to rename all symbols by adding the
Nick Clifton [Fri, 13 Dec 2002 13:19:44 +0000 (13:19 +0000)]
Added --prefix-symbols <prefix> option to rename all symbols by adding the
given prefix to the begining of the symbol name. This is useful to provide
name space seperation regardless of how the object file was created. Added
--prefix-sections <prefix> and --prefix-alloc-sections <prefix> options to
rename all sections (or all sections with the alloc flag set) by adding the
given prefix to the begining of the symbol name.

21 years ago2002-12-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 13 Dec 2002 00:36:42 +0000 (00:36 +0000)]
2002-12-12  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Update list of alternate Regent of California
        licenses and discuss official revoking of advertising clause.
        * COPYING.LIBGLOSS: Ditto.

21 years ago * config/obj-vms.c: Formatting. Include fnctl.h.
Alan Modra [Fri, 13 Dec 2002 00:01:47 +0000 (00:01 +0000)]
* config/obj-vms.c: Formatting.  Include fnctl.h.
(Create_VMS_Object_File): Fix creat call for sane unix systems.
(Object_Record_Offset): Make it a size_t.
(Flush_VMS_Object_Record_Buffer): Fix signed/unsigned warning.
(VMS_TBT_Routine_End <Size>): Make var unsigned long.
(VMS_Fix_Indirect_Reference <Offset>): Make arg addressT.
(synthesize_data_segment <data_size>): Remove ATTRIBUTE_UNUSED.
(vms_fixup_data_section <data_size>): Add here instead.
* config/e-criself.c: Fix typo in last change.

21 years ago * config/e-criself.c: Fix typo in last change.
Alan Modra [Thu, 12 Dec 2002 23:12:34 +0000 (23:12 +0000)]
* config/e-criself.c: Fix typo in last change.

21 years agodaily update
Alan Modra [Thu, 12 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago * pj-opc.c (pj_opc_info): Add braces around union initializer.
Alan Modra [Thu, 12 Dec 2002 22:56:41 +0000 (22:56 +0000)]
* pj-opc.c (pj_opc_info): Add braces around union initializer.

21 years ago * write.c (write_object_file): Fix signed/unsigned warning.
Alan Modra [Thu, 12 Dec 2002 22:46:47 +0000 (22:46 +0000)]
* write.c (write_object_file): Fix signed/unsigned warning.
* config/e-crisaout.c (crisaout_bfd_name): Prototype.
* config/e-criself.c (criself_bfd_name): Prototype.
* config/obj-aout.c (s_sect): Remove unused function.
* config/obj-bout.c (obj_bout_line <ignore>): Add ATTRIBUTE_UNUSED.
* config/obj-coff.c (coff_last_bf): Don't declare for OBJ_XCOFF.
(fixup_mdeps <h>): Add ATTRIBUTE_UNUSED.
* config/obj-ecoff.c (ecoff_frob_file <addr>): Likewise.
* config/obj-vms.c (setup_basic_type <spnt>): Likewise.
(VMS_RSYM_Parse <Current_Routine>): Likewise.
(vms_fixup_text_section <text_siz>): Likewise.
(synthesize_data_segment <data_size>): Likewise.
(vms_fixup_xtors_section <sect_no>): Likewise.
(structure_count): Don't use implicit int type.

21 years ago * config/tc-a29k.c (insert_sreg): Prototype.
Alan Modra [Thu, 12 Dec 2002 22:43:45 +0000 (22:43 +0000)]
* config/tc-a29k.c (insert_sreg): Prototype.
(define_some_regs): Prototype, make static.
(parse_operand): Likewise.
(md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
(md_show_usage <stream>): Likewise.
(md_section_align <segment>): Likewise.
(md_convert_frag <all args>): Likewise.
(md_estimate_size_before_relax <all args>): Likewise.
(md_apply_fix3): Don't cast valP pointer type.  Fix bogus >>='s.
* config/tc-arm.c (arm_validate_fix): Only for OBJ_COFF or OBJ_ELF.

21 years ago * config/tc-d30v.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
Alan Modra [Thu, 12 Dec 2002 22:41:25 +0000 (22:41 +0000)]
* config/tc-d30v.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
(md_undefined_symbol <name>): Likewise.
(md_convert_frag <all args>): Likewise.
(write_long <opcode>): Likewise.
(tc_gen_reloc <seg>): Likewise.
(md_estimate_size_before_relax <all args>): Likewise.
(md_apply_fix3 <seg>): Likewise.
(s_d30v_align <ignore>): Likewise.
(build_insn): Correct format string.
(md_apply_fix3): Likewise.

21 years ago * config/tc-fr30.c (md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
Alan Modra [Thu, 12 Dec 2002 22:39:40 +0000 (22:39 +0000)]
* config/tc-fr30.c (md_parse_option <c,arg>):  Add ATTRIBUTE_UNUSED.
(md_undefined_symbol <name>): Likewise.
(md_convert_frag <all args>): Likewise.
(md_cgen_lookup_reloc <insn>): Likewise.
(md_begin): Delete unused vars.
(md_assemble): Likewise.
(md_estimate_size_before_relax): Likewise.
(fr30_relax_frag): #if 0 out, seems unused.
(md_atof): Remove declaration of atof_ieee.
(restore_colon): Prototype.

21 years ago * config/tc-frv.c (frv_insert_vliw_insn): Prototype.
Alan Modra [Thu, 12 Dec 2002 22:37:47 +0000 (22:37 +0000)]
* config/tc-frv.c (frv_insert_vliw_insn): Prototype.
(frv_find_in_vliw): Likewise.
(frv_debug_tomcat): Likewise.
(frv_adjust_vliw_count): Likewise.
(frv_tomcat_shuffle): Likewise.
(frv_tomcat_analyze_vliw_chains): Likewise.  Correct args to
frv_find_in_vliw call.
(md_atof): Remove declaration of atof_ieee.

21 years ago * h8500-opc.h (h8500_table): Add missing initializers to quiet
Alan Modra [Thu, 12 Dec 2002 22:34:05 +0000 (22:34 +0000)]
* h8500-opc.h (h8500_table): Add missing initializers to quiet
warnings.

* config/tc-h8500.c (cons): Delete declaration.
(md_begin <opcode>): Constify.
(displacement_size, immediate_size, absolute_size): Remove.
(build_relaxable_instruction <operand>): Add ATTRIBUTE_UNUSED.
(tc_crawl_symbol_chain <headers>): Likewise.
(md_undefined_symbol <name>): Likewise.
(tc_headers_hook <headers>): Likewise.
(md_parse_option <c,arg>): Likewise.
(md_show_usage <stream>): Likewise.
(md_convert_frag <headers, seg>): Likewise.
(tc_coff_symbol_emit_hook <ignore>): Likewise.
(md_atof): Remove declaration of atof_ieee.
(tc_aout_fix_to_chars): Remove unused function.
(parse_reg): Prototype.
(parse_exp): Prototype.
(skip_colonthing): Prototype.  Use &&, not & in logical expressions.
(parse_reglist): Prototype.
(get_operand): Prototype.
(get_operands): Prototype.
(get_specific): Prototype.  Make "this_index" signed.
(check): Prototype, make static.
(insert): Prototype
(build_relaxable_instruction): Prototype, make static.
(build_bytes): Prototype.
(wordify_scb): Prototype.
* config/tc-h8500.h (start_label): Declare.
(tc_coff_sizemachdep): Declare.

21 years ago * config/tc-i370.c (i370_ebcdic <unused>): Add ATTRIBUTE_UNUSED.
Alan Modra [Thu, 12 Dec 2002 22:29:00 +0000 (22:29 +0000)]
* config/tc-i370.c (i370_ebcdic <unused>): Add ATTRIBUTE_UNUSED.
(i370_rmode <unused>): Likewise.
(i370_csect <unused>): Likewise.
(i370_dc <unused>): Likewise.
(i370_ds <unused>): Likewise.
(i370_elf_lcomm <unused>): Likewise.
(i370_ltorg <ignore>): Likewise.
(i370_using <ignore>): Likewise.
(i370_drop <ignore>): Likewise.
(i370_byte <ignore>): Likewise.
(i370_tc <ignore>): Likewise.
(md_estimate_size_before_relax <fragp, seg>): Likewise.
(md_convert_frag <all args>): Likewise.
(md_undefined_symbol <name>): Likewise.
(md_pcrel_from_section <sec>): Likewise.
(tc_gen_reloc <seg>): Likewise.
(i370_section_letter): #if 0 unused functions.
(i370_section_word, i370_section_type, i370_section_flags): Likewise.
(symbol_locate): Prototype.

21 years ago * config/tc-i860.c (md_atof): Remove declaration of atof_ieee.
Alan Modra [Thu, 12 Dec 2002 22:27:07 +0000 (22:27 +0000)]
* config/tc-i860.c (md_atof): Remove declaration of atof_ieee.
(md_number_to_disp, md_number_to_field): Remove.
(md_apply_fix3): Correct format string and cast "fup".

21 years ago * config/tc-i960.c (md_convert_frag): Add ATTRIBUTE_UNUSED to args.
Alan Modra [Thu, 12 Dec 2002 22:25:00 +0000 (22:25 +0000)]
* config/tc-i960.c (md_convert_frag): Add ATTRIBUTE_UNUSED to args.
(s_endian <ignore>): Likewise.
(md_undefined_symbol <name>): Likewise.
(tc_crawl_symbol_chain <headers>): Likewise.
(tc_set_bal_of_call): Likewise.
(tc_coff_symbol_emit_hook <symbolP>): Likewise.
(i960_handle_align <fragp>): Likewise.
(i960_validate_fix <this_segment_type>): Likewise
(tc_gen_reloc <section>): Likewise.
(tc_coff_symbol_emit_hook): Only define for OBJ_COFF.
(struct memS, struct regop): Forward declare.
(brcnt_emit, brlab_next, cobr_fmt, ctrl_fmt, emit, get_args,
get_cdisp, get_ispec, get_regnum, i_scan, mem_fmt, mema_to_memb,
parse_expr, parse_ldconst, parse_memop, parse_po, parse_regop,
reg_fmt, relax_cobr, s_leafproc, s_sysproc, shift_ok, syntax,
targ_has_sfr, targ_has_iclass, tc_bfd_fix2rtype): Prototype.
(md_chars_to_number, md_number_to_imm): Make static, prototype.
(md_number_to_field): Likewise.
(md_number_to_disp): Remove unused function.
(md_atof): Remove declaration of atof_ieee.
(md_apply_fix3): Correct md_number_to_imm call.

21 years ago * config/tc-ip2k.c (md_assemble): Warning fix.
Alan Modra [Thu, 12 Dec 2002 22:21:04 +0000 (22:21 +0000)]
* config/tc-ip2k.c (md_assemble): Warning fix.

21 years ago * config/tc-m32r.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
Alan Modra [Thu, 12 Dec 2002 22:18:10 +0000 (22:18 +0000)]
* config/tc-m32r.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
(fill_insn <ignore>): Likewise.
(debug_sym <ignore>): Likewise.
(md_undefined_symbol <name>): Likewise.
(m32r_scomm <ignore>): Likewise.
(md_convert_frag <abfd>): Likewise.
(md_cgen_lookup_reloc <insn>): Likewise.
(m32r_record_hi16 <seg>): Likewise.
(md_estimate_size_before_relax): #if 0 old_fr_fix.
(allow_m32rx): Prototype.
(first_writes_to_seconds_operands): Prototype.
(writes_to_pc): Prototype.
(can_make_parallel): Prototype.
(make_parallel): Prototype.
(target_make_parallel): Prototype.
(assemble_two_insns): Prototype.
(m32r_record_hi16): Prototype.
(md_atof): Remove declaration of atof_ieee.
* config/tc-m32r.h (m32r_fix_adjustable): Declare.
(m32r_force_relocation): Prototype.
(m32r_elf_section_change_hook): Prototype.

21 years ago * config/tc-m68k.c (tc_gen_reloc <section>): Add ATTRIBUTE_UNUSED.
Alan Modra [Thu, 12 Dec 2002 22:16:16 +0000 (22:16 +0000)]
* config/tc-m68k.c (tc_gen_reloc <section>): Add ATTRIBUTE_UNUSED.
(md_show_usage): Fix signed/unsigned warning.

21 years ago * config/tc-m88k.c (get_reg): Make reg_prefix param unsigned.
Alan Modra [Thu, 12 Dec 2002 22:14:13 +0000 (22:14 +0000)]
* config/tc-m88k.c (get_reg): Make reg_prefix param unsigned.
(calcop): Ditto for reg_prefix var.
(hexval): Add cast to fix signed/unsigned warning.
(md_number_to_disp): Delete unused function.
(md_number_to_field): Likewise.
(float_cons, cons, s_globl, s_space, s_set, s_lcomm): Remove decl.
(match_name): Prototype.
(get_bf2): Prototype.
(get_bf_offset_expression): Prototype.

21 years ago * config/tc-mcore.c (mcore_s_literals <ignore>): Add ATTRIBUTE_UNUSED.
Alan Modra [Thu, 12 Dec 2002 22:11:32 +0000 (22:11 +0000)]
* config/tc-mcore.c (mcore_s_literals <ignore>): Add ATTRIBUTE_UNUSED.
(md_undefined_symbol <ignore>): Likewise.
(md_create_short_jump <all args>): Likewise.
(md_create_long_jump <all args>): Likewise.
(md_convert_frag <abfd, sec>): Likewise.
(md_apply_fix3 <segment>): Likewise.
(md_section_align <segment>): Likewise.
(md_pcrel_from_section <sec>): Likewise.
(tc_gen_reloc <section>): Likewise.
(reg_m, reg_n, immediate): Delete unused vars.
(dump_literals): Fix signed/unsigned warning.
(enter_literal): Likewise.
(parse_imm): Likewise.  Also fix format string.
(parse_mem): Remove unused var.
(md_assemble <LS>): Abort on unexpected inst.
(md_atof): Remove declaration of atof_ieee.
(md_parse_option): Remove unused vars.
(md_apply_fix3): Fix format strings, cast args.
(tc_gen_reloc): Delete unused var.
* config/tc-mcore.h (tc_coff_sizemachdep): Declare.

21 years ago * config/tc-mn10200.c (md_parse_option <c, arg>): Add ATTRIBUTE_UNUSED.
Alan Modra [Thu, 12 Dec 2002 22:09:12 +0000 (22:09 +0000)]
* config/tc-mn10200.c (md_parse_option <c, arg>): Add ATTRIBUTE_UNUSED.
(md_undefined_symbol <name>): Likewise.
(md_convert_frag <abfd>): Likewise.
(tc_gen_reloc <seg>): Likewise.
(check_operand <insn>): Likewise.
(md_convert_frag): Fix format strings.
(tc_gen_reloc): Delete fx_addsy - fx_subsy code.

21 years ago * config/tc-openrisc.c (ignore_pseudo): Prototype.
Alan Modra [Thu, 12 Dec 2002 22:05:00 +0000 (22:05 +0000)]
* config/tc-openrisc.c (ignore_pseudo): Prototype.
(md_atof): Remove declaration of atof_ieee.
* config/tc-or32.c (parse_operand): Prototype non-BFD too.
(md_apply_fix3): Fix bogus >>='s.
(md_undefined_symbol): Delete unused var.

21 years ago* elf-m10300.c (elf32_mn10300_link_hash_newfunc): Reorder
Alexandre Oliva [Thu, 12 Dec 2002 21:54:32 +0000 (21:54 +0000)]
* elf-m10300.c (elf32_mn10300_link_hash_newfunc): Reorder
initializers to match struct declaration.

21 years ago * pj.h (pj_opc_info_t): Add union.
Alan Modra [Thu, 12 Dec 2002 21:52:06 +0000 (21:52 +0000)]
* pj.h (pj_opc_info_t): Add union.

* pj-dis.c (print_insn_pj): Adjust for pj_opc_info_t change.

* config/tc-pj.c (little, big, parse_exp_save_ilp): Prototype.
(c_to_r, ipush_code, fake_opcode, alias): Likewise.
(fake_opcode): Adjust for pj_opc_int_t change.
(md_begin): Likewise.
(md_assemble): Likewise.
(ipush_code): Correct parse_exp_save_ilp call.  Test pending_reloc
instead of non-existent third arg of parse_exp_save_ilp.
(md_parse_option): Correct "little" and "big" calls.

21 years ago * config/tc-sparc.c (s_register): Only declare #ifdef OBJ_ELF.
Alan Modra [Thu, 12 Dec 2002 21:37:36 +0000 (21:37 +0000)]
* config/tc-sparc.c (s_register): Only declare #ifdef OBJ_ELF.
(md_apply_fix3 <segment>): Add ATTRIBUTE_UNUSED.
(tc_gen_reloc <section>): Likewise.

21 years ago * config/tc-tic30.c: #include stdarg.h or varargs.h.
Alan Modra [Thu, 12 Dec 2002 21:34:53 +0000 (21:34 +0000)]
* config/tc-tic30.c: #include stdarg.h or varargs.h.
(debug): Rewrite using VA_* macros.
(md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED to args.
(md_convert_frag): Likewise.
(md_parse_option): Likewise.
(md_show_usage): Likewise.
(md_undefined_symbol): Likewise.
(tc_gen_reloc): Likewise.
(md_operand): Likewise.
(tc_aout_pre_write_hook): Delete.
(struct tic30_insn): Make "operands" unsigned.
(struct tic30_par_insn): Likewise.
(md_assemble): Likewise for "count", "i" and "numops".
(tic30_parallel_insn): Likewise for vars here.
(tic30_operand): Likewise.  Remove useless unsigned >= 0 comparison.
* config/tc-tic30.h (tc_aout_pre_write_hook): Define as empty.
* config/tc-tic80.c (obj_coff_section): Delete declaration.
(md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED on args.
(md_undefined_symbol): Likewise.
(md_parse_option): Likewise.
(md_convert_frag): Likewise.
(tc_coff_symbol_emit_hook): Likewise.
(md_atof): Remove declaration of atof_ieee.
(const_overflow): Warning fixes, tidy.
(get_operands): Delete unused vars.
(internal_error_a): Adjust format string to expect a long for arg.
(find_opcode): Warning fixes, simplify.
(build_insn): Cast internal_error_a arg.
(md_begin): Likewise.
(md_apply_fix3): Likewise.
(md_assemble): Delete unused var.
* config/tc-tic80.h (tc_coff_fix2rtype): Prototype.

21 years ago * config/tc-z8k.c (cons, obj_coff_section): Delete declarations.
Alan Modra [Thu, 12 Dec 2002 21:27:58 +0000 (21:27 +0000)]
* config/tc-z8k.c (cons, obj_coff_section): Delete declarations.
(whatreg, parse_reg, parse_exp): Make static, prototype.
(checkfor, regword, regaddr, get_ctrl_operand): Prototype.
(get_flags_operand, get_interrupt_operand, get_cc_operand): Likewise.
(get_operand, get_operands, get_specific, newfix): Likewise.
(apply_fix, build_bytes): Likewise.
(md_atof): Remove declaration of atof_ieee.
(tc_aout_fix_to_chars): Delete.
(md_begin): Constify "opcode".  Don't try to init opcode->idx.
Fix s_unseg call.
(md_parse_option): Fix s_segm and s_unseg calls.

* z8kgen.c: Include "libiberty.h".
(opt, args, toks): Fix initializer warnings.
(chewname): Make "name" a char **.  Return mnemonic trimmed of
operands.
(gas): Improve emitted "DO NOT EDIT" warning.  Format emitted
opcode_entry_type, and make "nicename" and "name" const.  Make
z8k_table const too.  Formatting.  Generate idx as gas needs it.
* z8k-opc.h: Regenerate.

21 years ago * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
Alan Modra [Thu, 12 Dec 2002 21:10:09 +0000 (21:10 +0000)]
* dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
dyn_string_append with dyn_string_append_cstr.

* emul_aix.c (ar_emul_aix_create): Remove unused function.

21 years agoComment typo fixes.
Alan Modra [Thu, 12 Dec 2002 10:26:01 +0000 (10:26 +0000)]
Comment typo fixes.

21 years ago * elf32-i386.c (elf_i386_finish_dynamic_sections): Add output_offset
Alan Modra [Thu, 12 Dec 2002 10:17:14 +0000 (10:17 +0000)]
* elf32-i386.c (elf_i386_finish_dynamic_sections): Add output_offset
to DT_JMPREL.  Use srelplt input section size for DT_PLTRELSZ and
DT_RELSZ adjustment, not output section.  Avoid writing tags when
unchanged.  Don't assume linker script is sane, adjust DT_REL too.
* elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Just use raw
size of srelplt for DT_PLTRELSZ.  Use srelplt input section size for
DT_RELASZ adjustment, not output section.  Avoid writing tags when
unchanged.  Adjust DT_RELA.
* elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Tweaks for better
formatting.  Avoid writing tags when unchanged.  Adjust DT_RELA.

21 years ago* Makefile.tpl (configure-target-rda): Depend on $(ALL_GCC_C).
Alexandre Oliva [Thu, 12 Dec 2002 07:04:28 +0000 (07:04 +0000)]
* Makefile.tpl (configure-target-rda): Depend on $(ALL_GCC_C).
* Makefile.in: Rebuilt.

21 years ago* elfxx-mips.c (mips_elf_calculate_relocation): Don't divide
Alexandre Oliva [Thu, 12 Dec 2002 04:42:06 +0000 (04:42 +0000)]
* elfxx-mips.c (mips_elf_calculate_relocation): Don't divide
addend by 4.

21 years ago* gas/mips/beq.d: Comment out branches to undefined symbols,
Alexandre Oliva [Thu, 12 Dec 2002 04:40:22 +0000 (04:40 +0000)]
* gas/mips/beq.d: Comment out branches to undefined symbols,
no longer supported.
* gas/mips/beq.s: Likewise.
* gas/mips/bge.d: Likewise.
* gas/mips/bge.s: Likewise.
* gas/mips/bgeu.d: Likewise.
* gas/mips/bgeu.s: Likewise.
* gas/mips/blt.d: Likewise.
* gas/mips/blt.s: Likewise.
* gas/mips/bltu.d: Likewise.
* gas/mips/bltu.s: Likewise.
* gas/mips/mips.exp: Change branch-misc-2 test to run_list_test.
* gas/mips/branch-misc-2.d: Removed.
* gas/mips/branch-misc-2.s: Added branches to undefined symbols.
* gas/mips/branch-misc-2.l: New.

21 years ago* tc-mips.c (RELAX_BRANCH_ENCODE): Remove reloc_s2 argument.
Alexandre Oliva [Thu, 12 Dec 2002 04:40:07 +0000 (04:40 +0000)]
* tc-mips.c (RELAX_BRANCH_ENCODE): Remove reloc_s2 argument.
Adjust callers.
(RELAX_BRANCH_RELOC_S2): Delete.
(append_insn): Use only BFD_RELOC_16_PCREL_S2 for branches.
Do not handle BFD_RELOC_16_PCREL.
(macro_build, mips_ip): Likewise.
(md_pcrel_from): Return 4 for undefined symbols regardless of
mips_pic.
(md_apply_fix3): Use only BFD_RELOC_16_PCREL_S2 for branches.
Don't dereference howto if no such relocation is available.
Do not apply hack for in-place zero addend in NEWABI.
(md_convert_frag): Use only BFD_RELOC_16_PCREL_S2 for branches.

21 years ago* ld-mips-elf/mips-elf.exp: Remove branch-misc-2 test.
Alexandre Oliva [Thu, 12 Dec 2002 04:39:44 +0000 (04:39 +0000)]
* ld-mips-elf/mips-elf.exp: Remove branch-misc-2 test.
* ld-mips-elf/branch-misc-2.d: Removed.

21 years agoAlan Modra <amodra@bigpond.net.au>
Alexandre Oliva [Thu, 12 Dec 2002 04:32:07 +0000 (04:32 +0000)]
Alan Modra  <amodra@bigpond.net.au>

21 years ago* config/tc-mn10300.c (set_arch_mach): Change argument type to
Alexandre Oliva [Thu, 12 Dec 2002 03:16:33 +0000 (03:16 +0000)]
* config/tc-mn10300.c (set_arch_mach): Change argument type to
avoid warnings.
(r_register_name, xr_register_name): Add prototype declarations.

21 years ago* elfxx-mips.c (struct mips_got_entry): New.
Alexandre Oliva [Thu, 12 Dec 2002 02:55:41 +0000 (02:55 +0000)]
* elfxx-mips.c (struct mips_got_entry): New.
(struct mips_got_info): Added got_entries field.
(mips_elf_got_entry_hash, mips_elf_got_entry_eq): New functions.
(mips_elf_local_got_index, mips_elf_got_page,
mips_elf_got16_entry): Re-implement in terms of new...
(mips_elf_create_local_got_entry): Rewrite to use got_entries.
Change return type.
(mips_elf_highest): Warning clean-up.
(mips_elf_create_got_section): Initialize got_entries.
(_bfd_mips_elf_check_relocs): Use got_entries to estimate
local got size.
(_bfd_mips_elf_size_dynamic_sections): Do not account for
GOT_PAGE entries, since we now reuse GOT16 entries.

21 years agodaily update
Alan Modra [Wed, 11 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago * configure: Fix bug put in by gremlins.
Nathanael Nerode [Wed, 11 Dec 2002 04:14:47 +0000 (04:14 +0000)]
* configure: Fix bug put in by gremlins.

21 years ago2002-12-10 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 11 Dec 2002 04:00:09 +0000 (04:00 +0000)]
2002-12-10  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Substitute more autoconfily.
* configure: Substitute more autoconfily.
* Makefile.in: Regenerate.

21 years agodaily update
Alan Modra [Tue, 10 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years agofix spelling typo
Nick Clifton [Tue, 10 Dec 2002 17:55:00 +0000 (17:55 +0000)]
fix spelling typo

21 years agoAdd support for displaying extension to DWARF2 used by Unified Parallel C
Nick Clifton [Tue, 10 Dec 2002 17:48:27 +0000 (17:48 +0000)]
Add support for displaying extension to DWARF2 used by Unified Parallel C
compiler.

21 years agoAllow an otherwise unrepresentable read-only section that lies after .text
Nick Clifton [Tue, 10 Dec 2002 16:15:27 +0000 (16:15 +0000)]
Allow an otherwise unrepresentable read-only section that lies after .text
and before .data to be written into the output file and included in a_text.

21 years ago* lib/ld-lib.exp (is_elf_format): Match NetBSD ELF targets.
Jason Thorpe [Tue, 10 Dec 2002 15:54:23 +0000 (15:54 +0000)]
* lib/ld-lib.exp (is_elf_format): Match NetBSD ELF targets.

21 years ago * emultempl/elf32.em (struct orphan_save): Add os_tail field.
Alan Modra [Tue, 10 Dec 2002 03:34:43 +0000 (03:34 +0000)]
* emultempl/elf32.em (struct orphan_save): Add os_tail field.
(gld${EMULATION_NAME}_place_orphan): Re-order output_section_statement
list too.

21 years ago2002-12-09 Aldy Hernandez <aldyh@redhat.com>
Aldy Hernandez [Tue, 10 Dec 2002 00:42:53 +0000 (00:42 +0000)]
2002-12-09  Aldy Hernandez  <aldyh@redhat.com>

* gas/ppc/booke.d: Fix msync and mbar to reflect reality.

* gas/ppc/e500.d: Fix m[tf]pmr to reflect reality.

21 years agodaily update
Alan Modra [Mon, 9 Dec 2002 23:46:37 +0000 (23:46 +0000)]
daily update

21 years agodaily update
Alan Modra [Sun, 8 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago* Makefile.tpl (all-sim): Depend on maybe-configure-gdb.
DJ Delorie [Sun, 8 Dec 2002 22:39:43 +0000 (22:39 +0000)]
* Makefile.tpl (all-sim): Depend on maybe-configure-gdb.
* Makefile.in (all-sim): Ditto.

21 years ago2002-12-08 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 8 Dec 2002 21:25:38 +0000 (21:25 +0000)]
2002-12-08  H.J. Lu <hjl@gnu.org>

* config/tc-ia64.c (md_apply_fix3): Remove the PCREL hack
copied from tc-i386.c.

21 years ago * gas/m68hc11/m68hc11.exp (gas_m68hc11_error): New function;
Stephane Carrez [Sun, 8 Dec 2002 21:23:42 +0000 (21:23 +0000)]
* gas/m68hc11/m68hc11.exp (gas_m68hc11_error): New function;
(gas_m68hc11_warning): New function.
(gas_m68hc11_message): New function.
(top): New tests for assembler errors.
(gas_m68hc11_opcode_list): New function.
(top): New tests for opcode list.

21 years ago * gas/m68hc11/bug-1825.s: Add some tests.
Stephane Carrez [Sun, 8 Dec 2002 21:08:07 +0000 (21:08 +0000)]
* gas/m68hc11/bug-1825.s: Add some tests.
* gas/m68hc11/bug-1825.d: Update.
* gas/m68hc11/opers12.d: Update.
* gas/m68hc11/opers12-dwarf2.d: Update.

21 years ago * m68hc11-dis.c (print_indexed_operand): Fix PC-relative address
Stephane Carrez [Sun, 8 Dec 2002 20:53:19 +0000 (20:53 +0000)]
* m68hc11-dis.c (print_indexed_operand): Fix PC-relative address
for 9 and 16-bit PC-relative addressing mode.

21 years ago * config/tc-m68hc11.c (STATE_INDEXED_PCREL): New relax code.
Stephane Carrez [Sun, 8 Dec 2002 20:47:21 +0000 (20:47 +0000)]
* config/tc-m68hc11.c (STATE_INDEXED_PCREL): New relax code.
(md_relax_table): Define specific relax for PC-rel offsets.
(build_indexed_byte): Use a STATE_INDEXED_PCREL relax code.
(m68hc11_relax_frag): Handle the new relax code.
(md_convert_frag): Likewise.
(md_estimate_size_before_relax): Likewise.

21 years ago * ldlang.h: Formatting.
Alan Modra [Sun, 8 Dec 2002 03:56:04 +0000 (03:56 +0000)]
* ldlang.h: Formatting.

21 years ago * subsegs.c (section_symbol): Use the symbol, not the section, name.
Alan Modra [Sun, 8 Dec 2002 03:47:57 +0000 (03:47 +0000)]
* subsegs.c (section_symbol): Use the symbol, not the section, name.

21 years ago * NEWS: Mention that bfd no longer declares a "boolean" type.
Alan Modra [Sun, 8 Dec 2002 03:38:03 +0000 (03:38 +0000)]
* NEWS: Mention that bfd no longer declares a "boolean" type.

21 years ago * bfd-in.h: Comment typo fix. Formatting.
Alan Modra [Sun, 8 Dec 2002 03:34:38 +0000 (03:34 +0000)]
* bfd-in.h: Comment typo fix.  Formatting.
* bfd-in2.h: Regenerate.
* coff64-rs6000.c (xcoff64_openr_next_archived_file): Warning fix.
* elf32-m68hc12.c (m68hc12_elf_set_mach_from_flags): Prototype.
* elf64-mmix.c (mmix_dump_bpo_gregs): Warning fix.

21 years agodaily update
Alan Modra [Sat, 7 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update