OSDN Git Service
DJ Delorie [Tue, 24 Dec 2002 03:43:44 +0000 (03:43 +0000)]
* coff64-rs6000.c (xcoff64_ppc_relocate_section): Fix logic reversal.
Alan Modra [Mon, 23 Dec 2002 23:00:03 +0000 (23:00 +0000)]
daily update
Nathanael Nerode [Mon, 23 Dec 2002 17:53:41 +0000 (17:53 +0000)]
2002-12-23 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl: Use shared multilib.out. Use move-if-change for it.
Convert (cd foo; make) to (cd foo && make). Clean up multilib.out.
* Makefile.in: Regenerate.
* configure.in: Remove unnecessary leftovers.
2002-12-22 Geoffrey Keating <geoffk@apple.com>
* config/mt-aix43: Delete.
2002-12-21 Geoffrey Keating <geoffk@apple.com>
* configure.in (extra_ranlibflags_for_target): New variable.
(*-*-darwin): Add -c to ranlib commands.
* configure (tooldir): Handle extra_ranlibflags_for_target.
Andreas Schwab [Mon, 23 Dec 2002 13:18:02 +0000 (13:18 +0000)]
* readelf.c (main): Reset dump request after each file.
Alan Modra [Mon, 23 Dec 2002 12:05:38 +0000 (12:05 +0000)]
* ldmain.c (main): Init "strip_discarded".
* lexsup.c (OPTION_STRIP_DISCARDED): Define.
(OPTION_NO_STRIP_DISCARDED): Define.
(ld_options): Add "strip-discarded" and "no-strip-discarded".
(parse_args): Handle them.
Alan Modra [Mon, 23 Dec 2002 11:53:59 +0000 (11:53 +0000)]
* elflink.h (elf_link_output_extsym): Heed strip_discarded.
Alan Modra [Mon, 23 Dec 2002 11:53:12 +0000 (11:53 +0000)]
* bfdlink.h (struct bfd_link_info): Add "strip_discarded".
Nick Clifton [Mon, 23 Dec 2002 10:45:03 +0000 (10:45 +0000)]
Change linker's default behaviour - it will now reject binary files whoes
architecture it does not recognise, unless it has explicitly told to accept
them.
Nick Clifton [Mon, 23 Dec 2002 10:37:38 +0000 (10:37 +0000)]
Add support for 'S' encoding to strings - display 8-bit characters.
Alan Modra [Sun, 22 Dec 2002 23:24:29 +0000 (23:24 +0000)]
* Makefile.in: Regenerate.
Alan Modra [Sun, 22 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 21 Dec 2002 23:00:03 +0000 (23:00 +0000)]
daily update
Chris Demetriou [Sat, 21 Dec 2002 02:50:46 +0000 (02:50 +0000)]
2002-12-20 Chris Demetriou <cgd@broadcom.com>
* lib/gas-defs.exp (run_dump_test): Add a new optional argument,
"extra_options".
Nick Clifton [Sat, 21 Dec 2002 02:21:00 +0000 (02:21 +0000)]
Disable WINCE workaround that subtracted 8 from pc relative relocations.
Alan Modra [Fri, 20 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Kazu Hirata [Fri, 20 Dec 2002 22:41:13 +0000 (22:41 +0000)]
* coff-h8300.c: Fix comment typos.
* coffcode.h: Likewise.
* cpu-cris.c: Likewise.
* elf32-vax.c: Likewise.
* genlink.h: Likewise.
* linker.c: Likewise.
* som.c: Likewise.
* tekhex.c: Likewise.
* vms-misc.c: Likewise.
Jeff Johnston [Fri, 20 Dec 2002 21:36:01 +0000 (21:36 +0000)]
2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Updated.
* COPYING.LIBGLOSS: Ditto.
DJ Delorie [Fri, 20 Dec 2002 21:14:20 +0000 (21:14 +0000)]
* config/tc-xstormy16.c (md_cgen_lookup_reloc): Support
BFD_RELOC_XSTORMY16_12.
DJ Delorie [Fri, 20 Dec 2002 21:14:04 +0000 (21:14 +0000)]
* gas/xstormy16/allinsn.sh: Add tests for 12-bit reloc.
* gas/xstormy16/allinsn.s: Likewise.
* gas/xstormy16/allinsn.d: Likewise.
DJ Delorie [Fri, 20 Dec 2002 21:13:42 +0000 (21:13 +0000)]
* xstormy16.h: Add XSTORMY16_12.
DJ Delorie [Fri, 20 Dec 2002 21:13:19 +0000 (21:13 +0000)]
* reloc.c: Add BFD_RELOC_XSTORMY16_12.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* elf32-xstormy16.c (xstormy16_elf_howto): Add R_XSTORMY16_12.
(xstormy16_reloc_map): Add R_XSTORMY16_12.
Doug Evans [Fri, 20 Dec 2002 04:54:30 +0000 (04:54 +0000)]
* cgen-asm.c (cgen_parse_keyword): Added underscore to symbol character
check to fix false keyword trigger with names such as <keyword>_foo.
Doug Evans [Fri, 20 Dec 2002 01:40:08 +0000 (01:40 +0000)]
* Makefile.am (CGEN_CPUS): New variable.
(run-cgen-all): New rule.
* Makefile.in: Regenerate.
Kazu Hirata [Fri, 20 Dec 2002 00:35:03 +0000 (00:35 +0000)]
* doc/bfdint.texi: Fix typos.
Alan Modra [Fri, 20 Dec 2002 00:09:54 +0000 (00:09 +0000)]
* acinclude.m4 (AM_INSTALL_LIBBFD): Do not rely on "test -o".
* configure.in (build-warnings): Likewise.
(Horrible hacks to build DLLs on Windows): Do not rely on "tail -1".
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
Alan Modra [Thu, 19 Dec 2002 23:11:19 +0000 (23:11 +0000)]
* ldmain.c (main): Re-order link_info initialization. Init all
fields.
Alan Modra [Thu, 19 Dec 2002 23:05:39 +0000 (23:05 +0000)]
* bfdlink.h (struct bfd_link_info): Replace bfd_boolean fields with
bit-fields. Rearrange to put all like types together.
Alan Modra [Thu, 19 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update
Alan Modra [Thu, 19 Dec 2002 22:42:38 +0000 (22:42 +0000)]
* README <building ar>: Don't use libibery's needed_list or
required_list, instead link libiberty/*.o.
Nathanael Nerode [Thu, 19 Dec 2002 20:27:11 +0000 (20:27 +0000)]
* Makefile.tpl: Revert HJL's change.
* Makefile.in: Regenerated.
* configure.in: Put build_prefix before $(BUILD_SUBDIR) here, and
always.
Nick Clifton [Thu, 19 Dec 2002 17:25:02 +0000 (17:25 +0000)]
Clarify and extend the documentation in the Machine Dependent, WIN32 section.
Kazu Hirata [Thu, 19 Dec 2002 14:39:30 +0000 (14:39 +0000)]
* doc/binutils.texi: Fix typos.
Andreas Schwab [Thu, 19 Dec 2002 11:05:14 +0000 (11:05 +0000)]
* Makefile.tpl, configure.in: Substitute libstdcxx_incdir.
* Makefile.in: Regenerate.
Alan Modra [Thu, 19 Dec 2002 05:47:45 +0000 (05:47 +0000)]
* doc/as.texinfo (Invoking): Typo fix.
* config/tc-tic54x.c (encode_operand): Comment typo fix.
Alan Modra [Thu, 19 Dec 2002 01:58:53 +0000 (01:58 +0000)]
* coff-h8300.c: Include libiberty.h.
(h8300_reloc16_extra_cases): Check the hash table creator before
referencing h8300 specific fields. Stash the hash table pointer
in a local var. Comment typo fixes.
(h8300_bfd_link_add_symbols): Likewise.
Kazu Hirata [Thu, 19 Dec 2002 01:11:31 +0000 (01:11 +0000)]
* doc/c-alpha.texi: Fix typos.
* doc/c-arm.texi: Likewise.
* doc/c-d10v.texi: Likewise.
* doc/c-i370.texi: Likewise.
* doc/c-i960.texi: Likewise.
* doc/c-ia64.texi: Likewise.
* doc/c-mmix.texi: Likewise.
* doc/c-ns32k.texi: Likewise.
* doc/c-pdp11.texi: Likewise.
* doc/c-pj.texi: Likewise.
* doc/c-sh64.texi: Likewise.
* doc/c-sparc.texi: Likewise.
* doc/c-tic54x.texi: Likewise.
* doc/c-v850.texi: Likewise.
* doc/c-vax.texi: Likewise.
* doc/internals.texi: Likewise.
H.J. Lu [Thu, 19 Dec 2002 00:50:33 +0000 (00:50 +0000)]
2002-12-18 H.J. Lu <hjl@gnu.org>
* Makefile.tpl: Add @build_prefix@ before $(BUILD_SUBDIR).
* Makefile.in: Regenerated.
* configure.in (build_prefix): New. Substitute.
Alan Modra [Wed, 18 Dec 2002 23:04:35 +0000 (23:04 +0000)]
daily update
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.
Chris Demetriou [Wed, 18 Dec 2002 21:11:30 +0000 (21:11 +0000)]
kill bogus line between the last 2 entries
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.
Nick Clifton [Wed, 18 Dec 2002 16:56:19 +0000 (16:56 +0000)]
Add win32 library search path.
Nick Clifton [Wed, 18 Dec 2002 16:25:02 +0000 (16:25 +0000)]
Add win32 machine depending section.
Nick Clifton [Wed, 18 Dec 2002 16:05:10 +0000 (16:05 +0000)]
Test the auto importing direct from a dll functionality.
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.
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.
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.
Alan Modra [Tue, 17 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update
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.
Nick Clifton [Tue, 17 Dec 2002 12:16:38 +0000 (12:16 +0000)]
Don't search for data import when auto-import is disabled.
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.
Nick Clifton [Tue, 17 Dec 2002 11:01:25 +0000 (11:01 +0000)]
Use LD_PATHMAX+1 to account for trailing '\0'.
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.
DJ Delorie [Tue, 17 Dec 2002 04:48:38 +0000 (04:48 +0000)]
* xstormy16-asm.c (parse_immediate16): Add prototype.
Hans-Peter Nilsson [Tue, 17 Dec 2002 04:31:04 +0000 (04:31 +0000)]
* configure.in (noconfigdirs) [mmix-*-*]: Disable libgloss and gdb.
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".
DJ Delorie [Tue, 17 Dec 2002 03:57:49 +0000 (03:57 +0000)]
* xstormy16-asm.c: Regenerate.
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.
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.
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.
Christopher Faylor [Tue, 17 Dec 2002 01:55:28 +0000 (01:55 +0000)]
* mh-cygwin: Don't build libtermcap if it doesn't exist.
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.
Alan Modra [Mon, 16 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update
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.
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
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.
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.
Alan Modra [Mon, 16 Dec 2002 09:57:03 +0000 (09:57 +0000)]
* hppa.h (completer_chars): #if 0 out.
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.
Alan Modra [Mon, 16 Dec 2002 09:54:12 +0000 (09:54 +0000)]
* ns32k-dis.c (print_insn_ns32k): Constify "d", remove register
keyword.
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.
Alan Modra [Sun, 15 Dec 2002 23:35:50 +0000 (23:35 +0000)]
daily update
Alan Modra [Sat, 14 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Dave Anglin [Sat, 14 Dec 2002 21:17:41 +0000 (21:17 +0000)]
* doc/binutils.texi: Add missing parenthesis.
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.
Alan Modra [Fri, 13 Dec 2002 23:00:06 +0000 (23:00 +0000)]
daily update
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.
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.
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.
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.
Alan Modra [Thu, 12 Dec 2002 23:12:34 +0000 (23:12 +0000)]
* config/e-criself.c: Fix typo in last change.
Alan Modra [Thu, 12 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update
Alan Modra [Thu, 12 Dec 2002 22:56:41 +0000 (22:56 +0000)]
* pj-opc.c (pj_opc_info): Add braces around union initializer.
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.
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.
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.
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.
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.
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.
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.
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".
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.
Alan Modra [Thu, 12 Dec 2002 22:21:04 +0000 (22:21 +0000)]
* config/tc-ip2k.c (md_assemble): Warning fix.
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.
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.
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.
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.
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.
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.
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.