OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
21 years ago * Makefile.tpl: Rename [+target+] to [+make_target+].
Nathanael Nerode [Tue, 3 Jun 2003 16:36:52 +0000 (16:36 +0000)]
* Makefile.tpl: Rename [+target+] to [+make_target+].
* Makefile.def: Rename 'target' to 'make_target'.

21 years agoAdd pc-relative 32-bit reloc to v850 port. Fixes ld-elf/merge test failure.
Nick Clifton [Tue, 3 Jun 2003 16:24:06 +0000 (16:24 +0000)]
Add pc-relative 32-bit reloc to v850 port.  Fixes ld-elf/merge test failure.

21 years ago2003-06-03 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 3 Jun 2003 15:41:12 +0000 (15:41 +0000)]
2003-06-03  Andrew Cagney  <cagney@redhat.com>

Contributed by Red Hat.
* frv.cpu: New file.  Written by Dave Brolley, Catherine Moore,
and Eric Christopher.
* frv.opc: New file.  Written by Catherine Moore, and Dave
Brolley.
* simplify.inc: New file.  Written by Doug Evans.

21 years ago2003-06-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 3 Jun 2003 15:28:36 +0000 (15:28 +0000)]
2003-06-03  H.J. Lu <hongjiu.lu@intel.com>

* ld-elfcomm/elfcomm.exp: Mark tests untested if compiler is
not available.

21 years ago * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
Kaz Kojima [Tue, 3 Jun 2003 04:51:49 +0000 (04:51 +0000)]
* emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
* emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize.

21 years ago * elf32-sh.c (sh_elf_size_dynamic_sections): Create .interp section
Kaz Kojima [Tue, 3 Jun 2003 04:50:20 +0000 (04:50 +0000)]
* elf32-sh.c (sh_elf_size_dynamic_sections): Create .interp section
and DT_DEBUG dynamic tag even for position independent executables.
* elf64-sh64.c (sh64_elf64_size_dynamic_sections): Likewize.

21 years agoReformat.
H.J. Lu [Mon, 2 Jun 2003 23:11:43 +0000 (23:11 +0000)]
Reformat.

21 years ago * read.c (emit_expr): Set dot_value.
Alan Modra [Mon, 2 Jun 2003 22:48:59 +0000 (22:48 +0000)]
* read.c (emit_expr): Set dot_value.
* dw2gencfi.c (output_fde): Remove pcrel reloc hack.

21 years ago * config.bfd: Move obsolete entries out of the range of the
Daniel Jacobowitz [Mon, 2 Jun 2003 19:25:51 +0000 (19:25 +0000)]
* config.bfd: Move obsolete entries out of the range of the
targmatch sed script.

21 years ago * config.bfd (mips*-dec-bsd*, mips*-*-pe*): Mark as obsolete.
Daniel Jacobowitz [Mon, 2 Jun 2003 18:59:49 +0000 (18:59 +0000)]
* config.bfd (mips*-dec-bsd*, mips*-*-pe*): Mark as obsolete.

21 years ago * macro.c (sub_actual): Don't lose string if it turns out that
Alan Modra [Mon, 2 Jun 2003 15:03:20 +0000 (15:03 +0000)]
* macro.c (sub_actual): Don't lose string if it turns out that
&string wasn't an arg.

21 years ago* objcopy.c (redefine_list_append): Add an argument that
Jason Thorpe [Mon, 2 Jun 2003 14:45:13 +0000 (14:45 +0000)]
* objcopy.c (redefine_list_append): Add an argument that
indicates the context from which this function is being
called.  Change all callers.
(copy_options): Add a new option, --redefine-syms.
(copy_usage): Document new option.
(copy_main): Handle the --redefine-syms option.
* doc/binutils.text (objcopy): Document new option.

21 years agoAdd new test for cygwin target: building an executable with an export table.
Nick Clifton [Mon, 2 Jun 2003 09:11:01 +0000 (09:11 +0000)]
Add new test for cygwin target: building an executable with an export table.

21 years agoScan table pe_dll->exports, which is sorted alphabetically, instead of
Nick Clifton [Mon, 2 Jun 2003 08:43:37 +0000 (08:43 +0000)]
Scan table pe_dll->exports, which is sorted alphabetically, instead of
exported_symbols, which is sorted by ordinal.

21 years agodaily update
Alan Modra [Mon, 2 Jun 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years agodaily update
Alan Modra [Sun, 1 Jun 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago * dw2gencfi.c (output_fde): Use fix_new to emit pc-relative reloc.
Richard Henderson [Sat, 31 May 2003 19:36:45 +0000 (19:36 +0000)]
    * dw2gencfi.c (output_fde): Use fix_new to emit pc-relative reloc.
        (cfi_finish): Set flag_traditional_format around .eh_frame data.

        * gas/alpha/elf-reloc-8.d: Correct .eh_frame relocs.
        * gas/cfi/cfi-alpha-2.d: New.
        * gas/cfi/cfi-alpha-2.s: New.
        * gas/cfi/cfi.exp: Run it.

21 years ago * readelf.c (byte_get_signed): New.
Richard Henderson [Sat, 31 May 2003 19:29:19 +0000 (19:29 +0000)]
    * readelf.c (byte_get_signed): New.
        (get_encoded_value): New.
        (display_debug_frames): Use it.  Always pre-process opcodes.

21 years ago * elf32-ppc.c (allocate_dynrelocs): Use single slot for first 8192
Jakub Jelinek [Sat, 31 May 2003 07:55:10 +0000 (07:55 +0000)]
* elf32-ppc.c (allocate_dynrelocs): Use single slot for first 8192
plt entries, not just 8191.

21 years agodaily update
Alan Modra [Sat, 31 May 2003 00:57:55 +0000 (00:57 +0000)]
daily update

21 years ago * elfxx-mips.c (_bfd_mips_elf_discard_info): Correct loop index.
Daniel Jacobowitz [Fri, 30 May 2003 19:13:36 +0000 (19:13 +0000)]
* elfxx-mips.c (_bfd_mips_elf_discard_info): Correct loop index.
Reported by Ken Faiczak <kfaiczak@SANDVINE.com>.

21 years agobfd/
Jakub Jelinek [Fri, 30 May 2003 15:50:12 +0000 (15:50 +0000)]
bfd/
* elflink.h (elf_link_add_object_symbols): Use !info->executable
instead of info->shared where appropriate.
(bfd_elfNN_size_dynamic_sections, elf_link_output_extsym): Likewise.
* elflink.c (_bfd_elf_create_got_section): Likewise.
(_bfd_elf_link_create_dynamic_sections): Likewise.
(_bfd_elf_link_assign_sym_version): Likewise.
* elf32-i386.c (elf_i386_size_dynamic_sections): Create .interp section
and DT_DEBUG dynamic tag even for position independent executables.
* elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise.
* elf32-s390.c (elf_s390_size_dynamic_sections: Likewise.
* elf64-ppc.c (ppc64_elf_size_dynamic_sections: Likewise.
* elf64-s390.c (elf_s390_size_dynamic_sections: Likewise.
* elf64-x86-64.c (elf64_x86_64_size_dynamic_sections: Likewise.
* elfxx-ia64.c (elfNN_ia64_size_dynamic_sections: Likewise.
* elf32-sparc.c (elf32_sparc_size_dynamic_sections: Likewise.
* elf64-alpha.c (elf64_alpha_size_dynamic_sections: Likewise.
* elf64-sparc.c (sparc64_elf_size_dynamic_sections: Likewise.
include/
* bfdlink.h (struct bfd_link_info): Add pie and executable
bits.
ld/
* lexsup.c (OPTION_PIE): Define.
(ld_options): Add -pie and --pic-executable options.
(parse_args): Handle OPTION_PIE.
* ldmain.c (main): Initialize link_info.pie and
link_info.executable.
* genscripts.sh: Generate PIE scripts.
* ld.texinfo: Document -pie and --pic-executable options.
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open):
(gld${EMULATION_NAME}_place_orphan): Likewise.
(gld${EMULATION_NAME}_get_script): Include PIE scripts.
* scripttempl/elf.sc: In PIE scripts set . the same way as in
shared scripts.
* emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes.
* emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise.
* emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
* emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
* emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise.
* emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
* emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
* emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
* emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise.
* emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
* emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise.

21 years agold/
H.J. Lu [Fri, 30 May 2003 13:23:25 +0000 (13:23 +0000)]
ld/

2003-05-30  H.J. Lu <hongjiu.lu@intel.com>

* genscripts.sh: Create tmpdir/libpath.exp.

ld/testsuite/

2003-05-30  H.J. Lu <hongjiu.lu@intel.com>

* config/default.exp: Load tmpdir/libpath.exp.
(gcc_ld_flag): Set from $libpath.

21 years ago(arm_elf_before_allocation): Replace ASSERT with a test for a NULL
Nick Clifton [Fri, 30 May 2003 08:19:30 +0000 (08:19 +0000)]
(arm_elf_before_allocation): Replace ASSERT with a test for a NULL
bfd_for_interworking.

21 years agoUpdate URL
Nick Clifton [Fri, 30 May 2003 07:30:26 +0000 (07:30 +0000)]
Update URL

21 years ago * config/tc-alpha.c (alpha_cur_ent_sym): Remove.
Richard Henderson [Fri, 30 May 2003 03:01:12 +0000 (03:01 +0000)]
    * config/tc-alpha.c (alpha_cur_ent_sym): Remove.
        (all_frame_data, plast_frame_data, cur_frame_data): New.
        (s_alpha_ent): Record data for dwarf2 cfi.
        (s_alpha_end, s_alpha_mask, s_alpha_frame, s_alpha_prologue): Likewise.[
        (alpha_elf_md_end): Emit dwarf2 cfi for ecoff unwind directives.
        * config/tc-alpha.h (md_end): New.
        (DWARF2_DEFAULT_RETURN_COLUMN): New.
        (DWARF2_CIE_DATA_ALIGNMENT): New.

        * gas/alpha/elf-reloc-8.d: Add .eh_frame relocs.
        * gas/cfi/cfi-alpha-1.d: New.
        * gas/cfi/cfi-alpha-1.s: New.
        * gas/cfi/cfi.exp: Run it.

21 years agodaily update
Alan Modra [Fri, 30 May 2003 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago * elf.c (elfcore_grok_nto_status): Only set lwpid for the active or
Alan Modra [Thu, 29 May 2003 23:50:04 +0000 (23:50 +0000)]
* elf.c (elfcore_grok_nto_status): Only set lwpid for the active or
signalled thread.
(elfcore_grok_nto_gregs): Only make .reg section for the active thread.

21 years agoAdd i386-*-freebsd* entry.
Nick Clifton [Thu, 29 May 2003 18:17:55 +0000 (18:17 +0000)]
Add i386-*-freebsd* entry.

21 years ago* configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS
Jason Thorpe [Thu, 29 May 2003 17:38:52 +0000 (17:38 +0000)]
* configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS
correctly for more recent versions of NetBSD.
(alpha*-*-netbsd*): Remove.
(i[3-7]86-*-netbsd*): Remove.

21 years agoChange Mitsubishi to Renesas
Nick Clifton [Thu, 29 May 2003 17:37:03 +0000 (17:37 +0000)]
Change Mitsubishi to Renesas

21 years agoReplace <ctype.h> with "safe-ctype.h"
Nick Clifton [Thu, 29 May 2003 15:05:41 +0000 (15:05 +0000)]
Replace <ctype.h> with "safe-ctype.h"

21 years agoImport patch to add FreeBSD support.
Nick Clifton [Thu, 29 May 2003 14:02:04 +0000 (14:02 +0000)]
Import patch to add FreeBSD support.

21 years ago * elfxx-mips.c: Don't force symbols local unconditionally.
Thiemo Seufer [Thu, 29 May 2003 02:28:32 +0000 (02:28 +0000)]
* elfxx-mips.c: Don't force symbols local unconditionally.

21 years ago* ld-elf/elf.exp: Use if_elf_format.
Jason Thorpe [Thu, 29 May 2003 00:16:46 +0000 (00:16 +0000)]
* ld-elf/elf.exp: Use if_elf_format.
* ld-elf/sec64k.exp: Likewise.
* ld-elfcomm/elfcomm.exp: Likewise.
* lib/ld-lib.exp (is_elf_format): Match hppa*64*-*-hpux*.

21 years agodaily update
Alan Modra [Thu, 29 May 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago2003-05-28 Alan Modra <amodra@bigpond.net.au>
H.J. Lu [Wed, 28 May 2003 20:27:51 +0000 (20:27 +0000)]
2003-05-28  Alan Modra  <amodra@bigpond.net.au>

* elf32-hppa.c (elf32_hppa_relocate_section): Delete bogus
undefined_symbol call.

21 years ago* Makefile.tpl: Make maybe-check-gcc .PHONY.
DJ Delorie [Wed, 28 May 2003 19:16:29 +0000 (19:16 +0000)]
* Makefile.tpl: Make maybe-check-gcc .PHONY.
* Makefile.in: Regenerate.

21 years ago2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 28 May 2003 17:51:42 +0000 (17:51 +0000)]
2003-05-28  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Add license info for newlib/libc/sys/linux/stdlib.

21 years ago * expr.c (make_expr_symbol): Fold FAKE_LABEL_NAME use into the
Richard Henderson [Tue, 27 May 2003 19:19:29 +0000 (19:19 +0000)]
    * expr.c (make_expr_symbol): Fold FAKE_LABEL_NAME use into the
        symbol_create call.
        (current_location): Use symbol_temp_new_now.
        * stabs.c (s_stab_generic): Use symbol_temp_new.
        * symbols.c (temp_label_name): Remove.
        (symbol_temp_new, symbol_temp_make): Use FAKE_LABEL_NAME.

21 years ago * dw2gencfi.c, dw2gencfi.h: Rewrite from scratch.
Richard Henderson [Tue, 27 May 2003 16:52:49 +0000 (16:52 +0000)]
    * dw2gencfi.c, dw2gencfi.h: Rewrite from scratch.
        * as.c (main): Always call cfi_finish.
        * config/tc-i386.c (x86_dwarf2_return_column): New.
        (x86_cie_data_alignment): New.
        (md_begin): Set them.
        (tc_x86_cfi_init): Remove.
        (tc_x86_regname_to_dw2regnum): Fix 32-bit register numbers;
        return int, not unsigned long; don't as_bad here.
        (tc_x86_frame_initial_instructions): Streamline; use
        updated api.
        * config/tc-i386.h (tc_cfi_init): Remove.
        (DWARF2_DEFAULT_RETURN_COLUMN): New.
        (DWARF2_CIE_DATA_ALIGNMENT): New.

        * gas/cfi/cfi-i386.d: Update for dw2gencfi rewrite.
        * gas/cfi/cfi-x86_64.d: Likewise.
        * gas/cfi/cfi-i386-2.d: New.
        * gas/cfi/cfi-i386-2.s: New.

21 years ago * symbols.c (temp_label_name): New.
Richard Henderson [Tue, 27 May 2003 16:00:04 +0000 (16:00 +0000)]
    * symbols.c (temp_label_name): New.
        (symbol_temp_new, symbol_temp_new_now, symbol_temp_make): New.
        (symbol_set_value_now): New.
        * symbols.h: Prototype them.
        * dwarf2dbg.c: Use them.
        (fake_label_name, symbol_new_now, set_symbol_value_now): Remove.

21 years ago * elfxx-mips.c (mips_elf_hash_sort_data): Fix formattting.
Richard Sandiford [Tue, 27 May 2003 08:04:12 +0000 (08:04 +0000)]
* elfxx-mips.c (mips_elf_hash_sort_data): Fix formattting.
(mips_elf_link_hash_table): Likewise.

21 years ago* emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to
Maciej W. Rozycki [Mon, 26 May 2003 11:56:26 +0000 (11:56 +0000)]
* emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to
trap on pointer crops.

21 years ago* ld-mips-elf/mips-elf.exp: Make all NetBSD targets match as elf.
Jason Thorpe [Sun, 25 May 2003 14:36:19 +0000 (14:36 +0000)]
* ld-mips-elf/mips-elf.exp: Make all NetBSD targets match as elf.

21 years ago2003-05-23 Jason Eckhardt <jle@rice.edu>
Jason Eckhardt [Sat, 24 May 2003 04:22:23 +0000 (04:22 +0000)]
2003-05-23  Jason Eckhardt  <jle@rice.edu>
gas:
        * config/tc-i860.c (target_xp): Declare variable.
        (OPTION_XP): Declare macro.
        (md_longopts): Add option -mxp.
        (md_parse_option): Set target_xp.
        (md_show_usage): Add -mxp usage.
        (i860_process_insn): Recognize XP registers bear, ccr, p0-p3.
        (md_assemble): Don't try expansions if XP_ONLY is set.
        * doc/c-i860.texi: Document -mxp option.

gas/testsuite:
        * gas/i860/xp.s: New file.
        * gas/i860/xp.d: New file.

include/opcode:
        * i860.h (expand_type): Add XP_ONLY.
        (scyc.b): New XP instruction.
        (ldio.l): Likewise.
        (ldio.s): Likewise.
        (ldio.b): Likewise.
        (ldint.l): Likewise.
        (ldint.s): Likewise.
        (ldint.b): Likewise.
        (stio.l): Likewise.
        (stio.s): Likewise.
        (stio.b): Likewise.
        (pfld.q): Likewise.

opcodes:
        * i860-dis.c (crnames): Add bear, ccr, p0, p1, p2, p3.
        (print_insn_i860): Grab 4 bits of the control register field
        instead of 3.

21 years ago2003-05-23 Eric Christopher <echristo@redhat.com>
Eric Christopher [Fri, 23 May 2003 22:26:20 +0000 (22:26 +0000)]
2003-05-23  Eric Christopher  <echristo@redhat.com>

        * config/tc-mips.c (macro_build_jalr): Warning patrol.

21 years ago* gas/i860/i860.exp: Don't call exit if the target isn't an i860.
Richard Earnshaw [Fri, 23 May 2003 11:03:35 +0000 (11:03 +0000)]
* gas/i860/i860.exp: Don't call exit if the target isn't an i860.

21 years agodaily update
Alan Modra [Fri, 23 May 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago * gas/mips/jal-newabi.s: New file, testcase for NewABI xgot jal macro.
Thiemo Seufer [Thu, 22 May 2003 12:13:43 +0000 (12:13 +0000)]
* gas/mips/jal-newabi.s: New file, testcase for NewABI xgot jal macro.
* gas/mips/jal-newabi.d: Likewise.
* gas/mips/mips.exp: Add new testcase.

21 years ago * elf64-mips.c (elf_mips_gnu_rel16_s2): Add internally used
Thiemo Seufer [Thu, 22 May 2003 09:27:52 +0000 (09:27 +0000)]
* elf64-mips.c (elf_mips_gnu_rel16_s2): Add internally used
R_MIPS_GNU_REL16_S2 support.
(bfd_elf64_bfd_reloc_type_lookup): Use it.
(mips_elf64_rtype_to_howto): Use it.
* elfn32-mips.c (elf_mips_gnu_rel16_s2): Add internally used
R_MIPS_GNU_REL16_S2 support.
(bfd_elf32_bfd_reloc_type_lookup): Use it.
(mips_elf_n32_rtype_to_howto): Use it.

21 years ago * config/tc-mips.c (append_insn): Use actual relocation size for new
Thiemo Seufer [Thu, 22 May 2003 09:19:33 +0000 (09:19 +0000)]
* config/tc-mips.c (append_insn): Use actual relocation size for new
fixp's. Don't relax overflow checking for partial_inplace relocations.
Use the actual relocation type in combined relocs, not just the type
of the first one.
(macro_build_jalr): Use actual relocation size for new fix.
(s_cpsetup, s_gpdword): Likewise.

21 years ago * config/tc-mips.c (macro): Don't use uninitialized tempreg.
Thiemo Seufer [Thu, 22 May 2003 09:15:12 +0000 (09:15 +0000)]
* config/tc-mips.c (macro): Don't use uninitialized tempreg.

21 years agoDo not producesection relative offsets for relocs that will not be based on the
Nick Clifton [Thu, 22 May 2003 08:57:32 +0000 (08:57 +0000)]
Do not producesection relative offsets for relocs that will not be based on the
section symbol.

21 years ago * som.h: Define PA_2_0 before including a.out.h
Dave Anglin [Thu, 22 May 2003 03:34:52 +0000 (03:34 +0000)]
* som.h: Define PA_2_0 before including a.out.h

21 years ago* configure.in: Use curly braces in the definition of tooldir.
DJ Delorie [Thu, 22 May 2003 02:47:53 +0000 (02:47 +0000)]
* configure.in: Use curly braces in the definition of tooldir.
* configure: Regenerate.

21 years ago* Makefile.tpl (configure-target-libiberty): Depend only on gcc, not
DJ Delorie [Thu, 22 May 2003 02:36:57 +0000 (02:36 +0000)]
* Makefile.tpl (configure-target-libiberty): Depend only on gcc, not
newlib or libgloss.
* Makefile.in: Regenerate.

21 years agodaily update
Alan Modra [Thu, 22 May 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago2003-05-07 Eric Christopher <echristo@redhat.com>
Eric Christopher [Wed, 21 May 2003 21:53:33 +0000 (21:53 +0000)]
2003-05-07  Eric Christopher  <echristo@redhat.com>
    Alexandre Oliva   <aoliva@redhat.com>

* elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Adjust
pic tests, change to warning.
(_bfd_mips_elf_final_link): Remove EF_MIPS_CPIC flag setting.

2003-05-07  Eric Christopher  <echristo@redhat.com>

        * config/tc-mips.c (mips_abicalls): New variable.
        (md_parse_option): Use.
        (s_option): Ditto.
        (s_abicalls): Ditto.
        (mips_elf_final_processing): Set EF_MIPS_PIC and
        EF_MIPS_CPIC dependent on above.

21 years ago* Makefile.tpl: Add missing empty maybe-check-gcc target.
DJ Delorie [Wed, 21 May 2003 21:08:20 +0000 (21:08 +0000)]
* Makefile.tpl: Add missing empty maybe-check-gcc target.
* Makefile.in: Regenerate.

21 years ago * config/tc-hppa.c (hppa_symbol_chars): Remove `,' and `!'.
Dave Anglin [Wed, 21 May 2003 19:40:54 +0000 (19:40 +0000)]
* config/tc-hppa.c (hppa_symbol_chars): Remove `,' and `!'.
* testsuite/gas/hppa/parse/parse.exp: Add "space.s".
* testsuite/gas/hppa/parse/space.s: New file to test spaces.

21 years agoCheck for a target triplet of shl-...-netbsdelf as well as shle-...-netbsdelf.
Nick Clifton [Wed, 21 May 2003 13:06:30 +0000 (13:06 +0000)]
Check for a target triplet of shl-...-netbsdelf as well as shle-...-netbsdelf.

21 years agoFix dst_mask for X_STORMY16_REL_12 reloc.
Nick Clifton [Wed, 21 May 2003 12:36:46 +0000 (12:36 +0000)]
Fix dst_mask for X_STORMY16_REL_12 reloc.

21 years agoMove .file and .loc pseudo ops into obj-elf.c
Nick Clifton [Wed, 21 May 2003 12:07:56 +0000 (12:07 +0000)]
Move .file and .loc pseudo ops into obj-elf.c

21 years agoFix dw3gencfi.c so that it will build on targets that do not define BFD_ASSEMBLER.
Nick Clifton [Wed, 21 May 2003 11:31:07 +0000 (11:31 +0000)]
Fix dw3gencfi.c so that it will build on targets that do not define BFD_ASSEMBLER.

21 years ago2003-05-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
Maciej W. Rozycki [Wed, 21 May 2003 09:48:07 +0000 (09:48 +0000)]
2003-05-20  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>

* configure.in: Use curly braces in the definition of tooldir.
* configure: Regenerate.

21 years agoUSe is_elf_hash_table() to check for the presence of an elf_link_hash_table
Nick Clifton [Wed, 21 May 2003 09:23:07 +0000 (09:23 +0000)]
USe is_elf_hash_table() to check for the presence of an elf_link_hash_table

21 years agoFix typo "ink" instead of "link"
Nick Clifton [Wed, 21 May 2003 09:09:37 +0000 (09:09 +0000)]
Fix typo "ink" instead of "link"

21 years ago2003-05-20 Jason Eckhardt <jle@rice.edu>
Jason Eckhardt [Wed, 21 May 2003 05:06:49 +0000 (05:06 +0000)]
2003-05-20  Jason Eckhardt  <jle@rice.edu>

        opcode/i860.h (flush): Set lower 3 bits properly and use 'L'
        for the immediate operand type instead of 'i'.

21 years ago2003-05-20 Jason Eckhardt <jle@rice.edu>
Jason Eckhardt [Wed, 21 May 2003 05:01:47 +0000 (05:01 +0000)]
2003-05-20  Jason Eckhardt  <jle@rice.edu>

        * gas/i860/branch.{s,d}: New files.
        * gas/i860/system.{s,d}: New files.

21 years ago2003-05-20 Jason Eckhardt <jle@rice.edu>
Jason Eckhardt [Wed, 21 May 2003 02:06:40 +0000 (02:06 +0000)]
2003-05-20  Jason Eckhardt  <jle@rice.edu>

        opcode/i860.h (fzchks): Both S and R bits must be set.
        (pfzchks): Likewise.
        (faddp): Likewise.
        (pfaddp): Likewise.
        (fix.ss): Remove (invalid instruction).
        (pfix.ss): Likewise.
        (ftrunc.ss): Likewise.
        (pftrunc.ss): Likewise.

21 years ago2003-05-20 Jason Eckhardt <jle@rice.edu>
Jason Eckhardt [Wed, 21 May 2003 01:42:40 +0000 (01:42 +0000)]
2003-05-20  Jason Eckhardt  <jle@rice.edu>

* gas/i860/bitwise.{s,d}: New files.
* gas/i860/bte.{s,d}: New files.
* gas/i860/fldst01.{s,d}: New files.
* gas/i860/fldst02.{s,d}: New files.
* gas/i860/fldst03.{s,d}: New files.
* gas/i860/fldst04.{s,d}: New files.
* gas/i860/fldst05.{s,d}: New files.
* gas/i860/fldst06.{s,d}: New files.
* gas/i860/fldst07.{s,d}: New files.
* gas/i860/fldst08.{s,d}: New files.
* gas/i860/float01.{s,d}: New files.
* gas/i860/float02.{s,d}: New files.
* gas/i860/float03.{s,d}: New files.
* gas/i860/float04.{s,d}: New files.
* gas/i860/form.{s,d}: New files.
* gas/i860/iarith.{s,d}: New files.
* gas/i860/ldst01.{s,d}: New files.
* gas/i860/ldst02.{s,d}: New files.
* gas/i860/ldst03.{s,d}: New files.
* gas/i860/ldst04.{s,d}: New files.
* gas/i860/ldst05.{s,d}: New files.
* gas/i860/ldst06.{s,d}: New files.
* gas/i860/pfam.{s,d}: New files.
* gas/i860/pfmam.{s,d}: New files.
* gas/i860/pfmsm.{s,d}: New files.
* gas/i860/pfsm.{s,d}: New files.
* gas/i860/regress01.{s,d}: New files.
* gas/i860/shift.{s,d}: New files.
* gas/i860/simd.{s,d}: New files.

21 years ago2003-05-20 Jason Eckhardt <jle@rice.edu>
Jason Eckhardt [Wed, 21 May 2003 01:28:55 +0000 (01:28 +0000)]
2003-05-20  Jason Eckhardt  <jle@rice.edu>

        * gas/i860: New directory.
        * gas/i860/i860.exp: New file.

21 years ago.
Roland McGrath [Wed, 21 May 2003 00:57:35 +0000 (00:57 +0000)]
.

21 years ago2003-05-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 21 May 2003 00:57:20 +0000 (00:57 +0000)]
2003-05-19  Roland McGrath  <roland@redhat.com>

* elf.c (bfd_elf_bfd_from_remote_memory): New function.
* bfd-in.h: Declare it.
* bfd-in2.h: Regenerated.
* elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): New function.
* elf-bfd.h (struct elf_backend_data): New function pointer member
elf_backend_bfd_from_remote_memory.
(_bfd_elf32_bfd_from_remote_memory, _bfd_elf64_bfd_from_remote_memory):
Declare them.
* elfxx-target.h (elf_backend_bfd_from_remote_memory): New macro.
(elfNN_bed): Add that to the initializer.

21 years ago2003-05-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 21 May 2003 00:56:05 +0000 (00:56 +0000)]
2003-05-19  Roland McGrath  <roland@redhat.com>

* elf.c (bfd_elf_bfd_from_remote_memory): New function.
* bfd-in.h: Declare it.
* elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): New function.
* elf-bfd.h (struct elf_backend_data): New function pointer member
elf_backend_bfd_from_remote_memory.
(_bfd_elf32_bfd_from_remote_memory, _bfd_elf64_bfd_from_remote_memory):
Declare them.
* elfxx-target.h (elf_backend_bfd_from_remote_memory): New macro.
(elfNN_bed): Add that to the initializer.

21 years ago2003-05-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 21 May 2003 00:56:00 +0000 (00:56 +0000)]
2003-05-19  Roland McGrath  <roland@redhat.com>

* elf.c (bfd_elf_bfd_from_remote_memory): New function.
* bfd-in.h: Declare it.
* elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): New function.
* elf-bfd.h (struct elf_backend_data): New function pointer member
elf_backend_bfd_from_remote_memory.
(_bfd_elf32_bfd_from_remote_memory, _bfd_elf64_bfd_from_remote_memory):
Declare them.
* elfxx-target.h (elf_backend_bfd_from_remote_memory): New macro.
(elfNN_bed): Add that to the initializer.
2003-05-15  Roland McGrath  <roland@redhat.com>

* elf.c (elfcore_grok_note): Grok NT_AUXV note, make ".auxv" section.

21 years ago2003-05-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 21 May 2003 00:55:15 +0000 (00:55 +0000)]
2003-05-15  Roland McGrath  <roland@redhat.com>

* common.h (NT_AUXV, AT_*): New macros.
* external.h (Elf32_External_Auxv, Elf64_External_Auxv): New types.
* internal.h (Elf_Internal_Auxv): New type.

21 years agodaily update
Alan Modra [Wed, 21 May 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago2003-05-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
Maciej W. Rozycki [Tue, 20 May 2003 21:09:44 +0000 (21:09 +0000)]
2003-05-20  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>

* configure.in: Use curly braces in the definition of tooldir.
* configure: Regenerate.

21 years ago2003-05-20 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Tue, 20 May 2003 14:37:46 +0000 (14:37 +0000)]
2003-05-20  Michal Ludvig  <mludvig@suse.cz>

* readelf.c (display_debug_frames): Print both registers
for DW_CFA_register.

21 years agobfd/
H.J. Lu [Tue, 20 May 2003 14:35:01 +0000 (14:35 +0000)]
bfd/

2003-05-20  Jakub Jelinek  <jakub@redhat.com>

* elflink.h (elf_link_output_extsym): Only issue error about !=
STV_DEFAULT symbols if they are bfd_link_hash_undefined.

2003-05-20  H.J. Lu <hongjiu.lu@intel.com>

* elflink.c (_bfd_elf_merge_symbol): Check ELF_LINK_DYNAMIC_DEF
when removing the old definition for symbols with non-default
visibility.

ld/testsuite/

2003-05-20  Jakub Jelinek  <jakub@redhat.com>

* ld-elfvsb/common.c: New file.
* ld-elfvsb/elfvsb.exp: Add common.

2003-05-20  H.J. Lu <hongjiu.lu@intel.com>

* ld-elfvsb/sh3.c: New file.
* ld-elfvsb/test.c: Likewise.

* ld-elfvsb/elfvsb.exp: Add new weak hidden symbol tests.

21 years ago2003-05-20 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Tue, 20 May 2003 14:31:44 +0000 (14:31 +0000)]
2003-05-20  Michal Ludvig  <mludvig@suse.cz>

* as.c (main): Remove tc_cfi_init().
* dw2gencfi.c (cfi_parse_arg): Allow regnames beginning
with '%'.
(cfi_pseudo_table): Add "cfi_register" entry.
(cfi_make_insn): Handle CFA_register.
(cfi_output_insn): Ditto.
(dot_cfi): Ditto.
(cfi_get_label): Add 'simple' modifier to .cfi_startproc.
(dot_cfi_endproc): Reuse already emitted CIEs.
* testsuite/gas/cfi/cfi-i386.d: New pattern.
* testsuite/gas/cfi/cfi-x86-64.d: Ditto.

21 years agoAdd support for .file and .loc
Nick Clifton [Tue, 20 May 2003 11:58:20 +0000 (11:58 +0000)]
Add support for .file and .loc

21 years ago * dw2gencfi.c (cfi_parse_arg): Only use tc_regname_to_dw2regnum if
Alan Modra [Tue, 20 May 2003 11:35:45 +0000 (11:35 +0000)]
* dw2gencfi.c (cfi_parse_arg): Only use tc_regname_to_dw2regnum if
defined.
(dot_cfi_endproc): Avoid C99 construct.

21 years agoRegenerate - forgot to commit with last commit
Andreas Jaeger [Tue, 20 May 2003 09:34:19 +0000 (09:34 +0000)]
Regenerate - forgot to commit with last commit

21 years ago * gas/cfi/cfi.exp: Testsuite for cfi machinery.
Alan Modra [Tue, 20 May 2003 08:01:19 +0000 (08:01 +0000)]
* gas/cfi/cfi.exp: Testsuite for cfi machinery.
* gas/cfi/cfi-x86_64.[sd]: Files for x86-64.
* gas/cfi/cfi-i386.[sd]: Files for i386.

21 years ago * dw2gencfi.c, dw2gencfi.h: New files.
Alan Modra [Tue, 20 May 2003 07:58:07 +0000 (07:58 +0000)]
* dw2gencfi.c, dw2gencfi.h: New files.
* config/tc-i386.c (tc_x86_cfi_init): New function.
* config/tc-i386.h (TARGET_USE_CFIPOP, tc_cfi_init): New defines.
* as.c (parse_args): Set verbose flag on --verbose.
(main): Call tc_cfi_init()/cfi_finish().
* as.h (verbose): New external variable.
* read.c (pobegin): Insert CFI pops to the list.
* symbols.c (local_symbol_make): Make symbol external.
* symbols.h (local_symbol_make): New prototype.
* Makefile.am: Add dw2gencfi.[ch] files.  Run "make dep-am".
* Makefile.in: Regenerate.
* doc/as.texinfo: Added node "CFI directives" with description of
all implemented .cfi_* directives.
* doc/Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

21 years ago* config.table: Accept i[345867]86 variant.
DJ Delorie [Tue, 20 May 2003 02:49:35 +0000 (02:49 +0000)]
* config.table: Accept i[345867]86 variant.

21 years ago2003-05-19 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Tue, 20 May 2003 01:05:39 +0000 (01:05 +0000)]
2003-05-19  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.in: Switch more things to use maybe dependencies.
* Makefile.tpl: Switch more things to use maybe dependencies.
Factor out common code from autogen IF statements.
* configure: Regenerate.
* Makefile.in: Regenerate.

21 years agodaily update
Alan Modra [Tue, 20 May 2003 00:00:37 +0000 (00:00 +0000)]
daily update

21 years ago * gas/mips/mips.exp: mips-*-linux-*, mipsel-*-linux-* use only 32-bit
Thiemo Seufer [Mon, 19 May 2003 19:22:25 +0000 (19:22 +0000)]
* gas/mips/mips.exp: mips-*-linux-*, mipsel-*-linux-* use only 32-bit
register width by default. Add them to addr32 and exclude offending
testcases.
* gas/mips/delay.s: Avoid odd floating point registers.
* gas/mips/delay.d: Likewise.
* gas/mips/nodelay.d: Likewise.
* gas/mips/mips4.s: Likewise.
* gas/mips/mips4.d: Likewise.
* gas/mips/mips5.s: Likewise.
* gas/mips/mips5.d: Likewise.
* gas/mips/vr5400.s: Likewise.
* gas/mips/vr5400.d: Likewise.
* gas/mips/vr5500.s: Likewise.
* gas/mips/vr5500.d: Likewise.
* gas/mips/elf_e_flags2.d: Allow different expansions of the move
macro.
* gas/mips/elf_e_flags3.d: Likewise.
* gas/mips/elf_e_flags4.d: Likewise.
* gas/mips/uld2-eb.d: Likewise.
* gas/mips/uld2-el.d: Likewise.

21 years ago* configure.in: Accept i[3456789]86 for machine type.
DJ Delorie [Mon, 19 May 2003 18:12:19 +0000 (18:12 +0000)]
* configure.in: Accept i[3456789]86 for machine type.
* configure: Regenerate.

21 years ago* acinclude.m4: Accept i[3456789]86 for machine type.
DJ Delorie [Mon, 19 May 2003 18:11:58 +0000 (18:11 +0000)]
* acinclude.m4: Accept i[3456789]86 for machine type.

21 years agoReverted faulty code
Svein Seldal [Sun, 18 May 2003 22:52:35 +0000 (22:52 +0000)]
Reverted faulty code

21 years agoForgot to check in changelog of config/tc-tic4x.h
Svein Seldal [Sun, 18 May 2003 22:25:42 +0000 (22:25 +0000)]
Forgot to check in changelog of config/tc-tic4x.h

21 years ago * config/tc-tic4x.c (md_assemble): Added support for one-line parallel insns.
Svein Seldal [Sun, 18 May 2003 22:23:15 +0000 (22:23 +0000)]
* config/tc-tic4x.c (md_assemble): Added support for one-line parallel insns.
(tic4x_start_line): Fixed scrub bug and added error for three-element
parallel insns.

21 years ago2003-05-18 Jason Eckhardt <jle@rice.edu>
Jason Eckhardt [Sun, 18 May 2003 21:24:33 +0000 (21:24 +0000)]
2003-05-18  Jason Eckhardt  <jle@rice.edu>
gas:
        * config/tc-i860.c (i860_process_insn): Initialize fc after
        each opcode mismatch.

include/opcode:
        * i860.h (form, pform): Add missing .dd suffix.

opcodes:
        * i860-dis.c (print_insn_i860): Instruction shrd has a dual bit,
        print it.

bfd:
        * elf32-i860.c (elf32_i860_relocate_highadj): Simplify calculation.

21 years ago<top level>
Nathanael Nerode [Sun, 18 May 2003 15:49:06 +0000 (15:49 +0000)]
<top level>
* configure.in: Switch more things to use maybe dependencies.
Rearrange a little.  Use GCC_TOPLEV_SUBDIRS.
* configure: Regenerate.
* Makefile.tpl: Switch more things to use maybe dependencies.
* Makefile.in: Regenerate.

<config>
* config/acx.m4: Introduce _GCC_TOPLEV_NONCANONICAL_BUILD,
_GCC_TOPLEV_NONCANOICAL_HOST, _GCC_TOPLEV_NONCANONICAL_TARGET,
GCC_TOPLEV_SUBDIRS.

21 years ago * elf32-m68k.c (elf_m68k_check_relocs): Cache reloc section in
Andreas Schwab [Sat, 17 May 2003 19:40:36 +0000 (19:40 +0000)]
* elf32-m68k.c (elf_m68k_check_relocs): Cache reloc section in
elf_section_data during processing of pc-relative and absolute
relocations.
(elf_m68k_relocate_section): Use the cached reloc section instead
of computing it again.  Fix handling of visibility.  Don't modify
addend when copying over a relocation into the output.