OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
20 years ago(md_apply_fix3): Handle the case where a .byte directive generates a
Nick Clifton [Sat, 20 Dec 2003 08:01:47 +0000 (08:01 +0000)]
(md_apply_fix3): Handle the case where a .byte directive generates a
pc-relative relocation.

20 years agodaily update
Alan Modra [Fri, 19 Dec 2003 23:00:35 +0000 (23:00 +0000)]
daily update

20 years agomerge from gcc
DJ Delorie [Fri, 19 Dec 2003 22:03:41 +0000 (22:03 +0000)]
merge from gcc

20 years agomerge from gcc
DJ Delorie [Fri, 19 Dec 2003 16:50:48 +0000 (16:50 +0000)]
merge from gcc

20 years agoFix calls to as_perror() so that the errno system message will be printed.
Nick Clifton [Fri, 19 Dec 2003 15:23:41 +0000 (15:23 +0000)]
Fix calls to as_perror() so that the errno system message will be printed.
Fix as_perror() so that errno is not corrupted.

20 years ago2003-12-19 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Fri, 19 Dec 2003 15:13:56 +0000 (15:13 +0000)]
2003-12-19  Nathanael Nerode  <neroden@gcc.gnu.org>

Port change over from GCC:
2003-11-20  Kelley Cook  <kcook@gcc.gnu.org>
* Makefile.tpl (BASE_FLAGS_TO_PASS): Pass along CONFIG_SHELL.
(configure-build-[+module+], configure-[+module+]): Likewise.
(configure-target-[+module+], configure-gcc, config.status): Likewise.
* Makefile.in: Regenerate.

20 years agooops - omitted from the previous checkin.
Nick Clifton [Fri, 19 Dec 2003 11:59:20 +0000 (11:59 +0000)]
oops - omitted from the previous checkin.

20 years agoAdd support for m32r-linux target, including a RELA ABI and PIC.
Nick Clifton [Fri, 19 Dec 2003 11:44:01 +0000 (11:44 +0000)]
Add support for m32r-linux target, including a RELA ABI and PIC.

20 years agoDo not mark .reloc sections as containing debug info.
Nick Clifton [Fri, 19 Dec 2003 10:01:59 +0000 (10:01 +0000)]
Do not mark .reloc sections as containing debug info.

20 years agomerge from gcc
DJ Delorie [Fri, 19 Dec 2003 04:04:44 +0000 (04:04 +0000)]
merge from gcc

20 years agodaily update
Alan Modra [Thu, 18 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago(input_file_open): Remove call to stat(). Add a check for getc() failing, and
Nick Clifton [Thu, 18 Dec 2003 18:03:08 +0000 (18:03 +0000)]
(input_file_open): Remove call to stat().  Add a check for getc() failing, and
catch the case where the failure is due to an attempt to read a directory.

20 years agoWhen scanning MS import libraries allow for the possible presence of static
Nick Clifton [Thu, 18 Dec 2003 14:56:44 +0000 (14:56 +0000)]
When scanning MS import libraries allow for the possible presence of static
objects.

20 years ago * ld-mips-elf/reloc-1[ab].s: New source files.
Richard Sandiford [Thu, 18 Dec 2003 10:25:12 +0000 (10:25 +0000)]
* ld-mips-elf/reloc-1[ab].s: New source files.
* ld-mips-elf/reloc-1-{n32,n64,rel}.d: New tests.
* ld-mips-elf/reloc-2[ab].s: New source files.
* ld-mips-elf/reloc-2.{d,ld}: New test.
* ld-mips-elf/reloc-3[ab].s: New source files.
* ld-mips-elf/reloc-3-{r,srec}.d: New tests.
* ld-mips-elf/mips-elf.exp: Run them.

20 years agobfd/
Richard Sandiford [Thu, 18 Dec 2003 10:23:10 +0000 (10:23 +0000)]
bfd/
* elf32-mips.c (elf_mips_howto_table_rel): Replace all uses of
mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc.  Use
_bfd_mips_elf_hi16_reloc for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16,
_bfd_mips_elf_lo16_reloc for R_MIPS_LO16 and R_MIPS_GNU_REL_LO16,
and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16.  Change rightshift
to 16 for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16.
(mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc)
(mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete.
(_bfd_mips_elf32_gprel16_reloc): Remove special case.
(mips_elf_gprel32_reloc, mips32_64bit_reloc): Likewise.

* elf64-mips.c (mips_elf64_howto_table_rel): Replace all uses of
mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc.  Use
_bfd_mips_elf_hi16_reloc for R_MIPS_HI16, _bfd_mips_elf_lo16_reloc
for R_MIPS_LO16 and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16.
Change R_MIPS_HI16's rightshift to 16.
(mips_elf64_howto_table_rela): Replace all uses of
mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc.
Use _bfd_mips_elf_generic_reloc for R_MIPS_GOT16 as well.
(mips_elf64_hi16_reloc, mips_elf64_got16_reloc): Delete.
(mips_elf64_shift6_reloc): Remove special case.  Use
_bfd_mips_elf_generic_reloc instead of returning bfd_reloc_continue.

* elfn32-mips.c (prev_reloc_section): Delete.
(prev_reloc_address, prev_reloc_addend): Delete.
(elf_mips_howto_table_rel, elf_mips_howto_table_rela): As for
elf64-mips.c
(GET_RELOC_ADDEND, SET_RELOC_ADDEND): Delete.
(mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc)
(mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete.
(mips_elf_gprel16_reloc): Delete use of GET_RELOC_ADDEND.
(mips_elf_literal_reloc, mips_elf_gprel32_reloc): Likewise.
(mips16_jump_reloc, mips16_gprel_reloc): Likewise.
(mips_elf_shift6_reloc): Likewise.  Delete use of SET_RELOC_ADDEND.

* elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp): Use
_bfd_relocate_contents to install an in-place addend.
(mips_hi16): New structure.
(mips_hi16_list): Moved from elf32-mips.c.
(_bfd_mips_elf_hi16_reloc, _bfd_mips_elf_got16_reloc): New functions.
(_bfd_mips_elf_lo16_reloc, _bfd_mips_elf_generic_reloc): New functions.
(mips_elf_calculate_relocation): Assume addend is unshifted.
(_bfd_mips_elf_relocate_section): Don't apply the howto rightshift
on top of the usual high-part shift.  Don't shift the addend right
before calling mips_elf_calculate_relocation.

* elfxx-mips.h (_bfd_mips_elf_hi16_reloc): Declare.
(_bfd_mips_elf_got16_reloc, _bfd_mips_elf_lo16_reloc): Declare.
(_bfd_mips_elf_generic_reloc): Declare.

gas/
* config/tc-mips.c (mips_need_elf_addend_fixup): Delete.
(md_apply_fix3): Remove bfd_install_relocation workarounds.
(tc_gen_reloc): Likewise. Factor handling of pc-relative relocations
and treat fx_addnumber as relative to the relocation address.

gas/testsuite/
* gas/mips/mips16-jalx.d: Use -mabi=o64.
* gas/mips/mips16.d: Likewise.
* gas/mips/elf-rel17.[sd]: New test.
* gas/mips/mips.exp: Run it.

20 years ago * config/tc-mips.c (s_change_section): When parsing the MIPS-specific
Richard Sandiford [Thu, 18 Dec 2003 10:18:17 +0000 (10:18 +0000)]
* config/tc-mips.c (s_change_section): When parsing the MIPS-specific
.section syntax, map SHT_MIPS_DWARF to SHT_PROGBITS.

20 years ago * config/tc-arm.c (arm_archs): Change "armv6" to "armv6j".
Mark Mitchell [Thu, 18 Dec 2003 05:45:13 +0000 (05:45 +0000)]
* config/tc-arm.c (arm_archs): Change "armv6" to "armv6j".
* doc/c-arm.texi (ARM Options): Likewise.

20 years agodaily update
Alan Modra [Wed, 17 Dec 2003 23:00:04 +0000 (23:00 +0000)]
daily update

20 years agoReplace --error-explicit-parallel-conflicts with --ignore-parallel-conflitcs.
Nick Clifton [Wed, 17 Dec 2003 09:41:07 +0000 (09:41 +0000)]
Replace --error-explicit-parallel-conflicts with --ignore-parallel-conflitcs.
Add test of parallel constraint checking.

20 years agodaily update
Alan Modra [Tue, 16 Dec 2003 23:00:04 +0000 (23:00 +0000)]
daily update

20 years agoFix typo.
Michael Snyder [Tue, 16 Dec 2003 21:49:41 +0000 (21:49 +0000)]
Fix typo.

20 years agoRemove -8 bias on PC-relative load instructions for arm-wince-pe target
Nick Clifton [Tue, 16 Dec 2003 17:44:36 +0000 (17:44 +0000)]
Remove -8 bias on PC-relative load instructions for arm-wince-pe target

20 years agoOnly skip one instance of each prefix character, if they are present.
Nick Clifton [Tue, 16 Dec 2003 11:10:42 +0000 (11:10 +0000)]
Only skip one instance of each prefix character, if they are present.

20 years agomerge from gcc
DJ Delorie [Tue, 16 Dec 2003 00:58:45 +0000 (00:58 +0000)]
merge from gcc

20 years agodaily update
Alan Modra [Mon, 15 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * gas/z8k/eidi.s: Add uppercase forms. Add forms with comma
Christian Groessler [Mon, 15 Dec 2003 22:03:20 +0000 (22:03 +0000)]
* gas/z8k/eidi.s: Add uppercase forms.  Add forms with comma
separated parameters.

20 years ago * config/tc-z8k.c (struct z8k_exp): Remove, not used anywhere.
Christian Groessler [Mon, 15 Dec 2003 22:02:42 +0000 (22:02 +0000)]
* config/tc-z8k.c (struct z8k_exp): Remove, not used anywhere.
(ctrl_table): Add "flags" keyword and some comments.
(flag_table): Convert to uppercase.
(get_flags_operand): Be case insensitive.
(get_interrupt_operand): Be case insensitive.  Support notation
where the inperrupt arguments are separated by commas.
(get_operands): Check whether get_flags_operand consumed all
arguments.  Return failure if get_ctrl_operand didn't recognize a
valid control register.
(get_specific): Add case CLASS_CTRL: Test for valid control
register for ldctlb opcode.
(build_bytes): Check for valid control registers.

20 years ago * z8k-dis.c (intr_names): Removed.
Christian Groessler [Mon, 15 Dec 2003 22:01:43 +0000 (22:01 +0000)]
* z8k-dis.c (intr_names): Removed.
(print_intr, print_flags): New functions.
(unparse_instr): Use new functions.

20 years agomerge from gcc
DJ Delorie [Mon, 15 Dec 2003 19:03:58 +0000 (19:03 +0000)]
merge from gcc

20 years agomerge from gcc
DJ Delorie [Mon, 15 Dec 2003 17:45:42 +0000 (17:45 +0000)]
merge from gcc

20 years agoAdd PIPE_O attribute to "pop" instruction.
Nick Clifton [Mon, 15 Dec 2003 12:19:13 +0000 (12:19 +0000)]
Add PIPE_O attribute to "pop" instruction.

20 years ago(obj_crawl_symbol_chain): Skip defined symbols which resolve to symbolic values.
Nick Clifton [Mon, 15 Dec 2003 12:02:38 +0000 (12:02 +0000)]
(obj_crawl_symbol_chain): Skip defined symbols which resolve to symbolic values.

20 years agoEnsure that correct flags are set on known PE section types.
Nick Clifton [Mon, 15 Dec 2003 11:50:11 +0000 (11:50 +0000)]
Ensure that correct flags are set on known PE section types.

20 years ago * arm-opc.h (arm_opcodes): Put V6 instructions before XScale
Mark Mitchell [Mon, 15 Dec 2003 05:01:41 +0000 (05:01 +0000)]
* arm-opc.h (arm_opcodes): Put V6 instructions before XScale
instructions.

20 years ago * gas/arm/thumbv6.s: Add nops.
Mark Mitchell [Mon, 15 Dec 2003 04:47:23 +0000 (04:47 +0000)]
* gas/arm/thumbv6.s: Add nops.
* gas/arm/thumbv6.d: Use -M force-thumb option to objdump.  Add nops.

20 years agodaily update
Alan Modra [Sun, 14 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * gas/mmix/basep-8.d: Update for lcomm symbol type change.
Alan Modra [Sat, 13 Dec 2003 23:32:25 +0000 (23:32 +0000)]
* gas/mmix/basep-8.d: Update for lcomm symbol type change.
* gas/mmix/basep-9.d: Likewise.

20 years agodaily update
Alan Modra [Sat, 13 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * mmix-opc.c (mmix_opcodes): Use GO_INSN_BYTE, PUSHGO_INSN_BYTE,
Hans-Peter Nilsson [Sat, 13 Dec 2003 14:56:24 +0000 (14:56 +0000)]
* mmix-opc.c (mmix_opcodes): Use GO_INSN_BYTE, PUSHGO_INSN_BYTE,
SETL_INSN_BYTE, INCH_INSN_BYTE, INCMH_INSN_BYTE, INCML_INSN_BYTE
and SWYM_INSN_BYTE instead of raw numbers.

20 years ago * config/obj-elf.c: Convert to C90, remove unneeded prototypes and
Alan Modra [Sat, 13 Dec 2003 12:57:40 +0000 (12:57 +0000)]
* config/obj-elf.c: Convert to C90, remove unneeded prototypes and
casts.  Formatting.
* config/obj-elf.h: Remove PARAMS.

20 years ago * read.c (s_lcomm_internal): Make global.
Alan Modra [Sat, 13 Dec 2003 08:59:24 +0000 (08:59 +0000)]
* read.c (s_lcomm_internal): Make global.
* read.h (s_lcomm_internal): Declare.
* config/obj-elf.c (elf_pseudo_table): Handle lcomm.
(obj_elf_lcomm): New function.

20 years ago * read.c: Remove unneeded prototypes.
Alan Modra [Sat, 13 Dec 2003 08:23:05 +0000 (08:23 +0000)]
* read.c: Remove unneeded prototypes.
(s_comm): Split out code to..
(s_comm_internal): ..here.  Tidy error returns.  Rearrange so that
"name" from input line may be used in more places.  Merge code
testing for valid size from elf_common.  Merge code from
s_lcomm_internal.  Call comm_parse_extra.
(bss_alloc): New function, split out of s_lcomm_internal and
elf_common.
(parse_align): Likewise.
(s_lcomm_internal): Rewrite.
(s_lcomm, s_lcomm_bytes): Use s_comm_internal.
* read.h (bss_alloc, parse_align, s_comm_internal): Declare.
* config/obj-elf.c (elf_common): Split out code to..
(elf_common_parse): ..here.  Remove code common to s_comm_internal,
parse_align and bss_alloc.  Rearrange and Tidy.
* config/tc-alpha.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Define.

20 years agodaily update
Alan Modra [Fri, 12 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years agoUpdated Romanian translation
Nick Clifton [Fri, 12 Dec 2003 20:42:51 +0000 (20:42 +0000)]
Updated Romanian translation

20 years ago * elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Check for
Alan Modra [Fri, 12 Dec 2003 14:11:58 +0000 (14:11 +0000)]
* elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Check for
NULL dyn_h.

20 years agodaily update
Alan Modra [Thu, 11 Dec 2003 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago(INCLUDE_SECTION_IN_SEGMENT): Skip PT_GNU_STACK segments.
Nick Clifton [Thu, 11 Dec 2003 18:10:19 +0000 (18:10 +0000)]
(INCLUDE_SECTION_IN_SEGMENT): Skip PT_GNU_STACK segments.

20 years agoAdd --only-keep-debug to the --help output.
Nick Clifton [Thu, 11 Dec 2003 13:22:51 +0000 (13:22 +0000)]
Add --only-keep-debug to the --help output.

20 years agodaily update
Alan Modra [Wed, 10 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years agoopcodes:
Zack Weinberg [Wed, 10 Dec 2003 22:12:50 +0000 (22:12 +0000)]
opcodes:
* ppc-opc.c (MO): Make optional.
(RAO, RSO, SHO): New optional forms of RA, RS, SH operands.
(tlbwe): Accept for both PPC403 and BOOKE.  Make all operands optional.
gas:
* tc-ppc.c (md_assemble): Rewrite comment about optional operands
to indicate that 'all or none' is also handled.  Pluralize a
word in another comment.
gas/testsuite:
* gas/ppc/booke.s: Add two more forms of the mbar instruction
and three forms of the tlbwe instruction.
* gas/ppc/booke.d: Update to match.

20 years ago * gas/arm/arm.exp: Add r15-bad.
Paul Brook [Wed, 10 Dec 2003 12:50:26 +0000 (12:50 +0000)]
* gas/arm/arm.exp: Add r15-bad.
* gas/arm/r15-bad.s: New file.
* gas/arm/r15-bad.l: New file.

20 years ago * config/tc-arm.c (FPU_MAVERICK): Define.
Paul Brook [Wed, 10 Dec 2003 12:11:26 +0000 (12:11 +0000)]
* config/tc-arm.c (FPU_MAVERICK): Define.
(FPU_ARCH_MAVERICK): Define.
(arm_float_abi): Define.
(mfloat_abi_opt): New variable.
(md_begin): Use them.
(arm_opts): Add msoft-float and mhard-float.
(arm_cpus): Use FPU_ARCH_MAVERICK.
(arm_fpus): Add maverick.
(arm_float_abis): Add.
(arm_parse_float_abi): New function.
(arm_long_options): Add mfloat-abi.
* doc/as.texinfo: Document -mfloat-abi=.
* doc/c-arm.text: Ditto. Menution -fpu=maverick.

20 years agoRemove redundant returns in void functions.
Ben Elliston [Wed, 10 Dec 2003 06:41:08 +0000 (06:41 +0000)]
Remove redundant returns in void functions.

20 years agodaily update
Alan Modra [Tue, 9 Dec 2003 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago * config/tc-arm.c (do_umaal): Fix typo.
Paul Brook [Tue, 9 Dec 2003 17:41:12 +0000 (17:41 +0000)]
* config/tc-arm.c (do_umaal): Fix typo.

20 years agodaily update
Alan Modra [Mon, 8 Dec 2003 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago2003-12-08 Thomas Fitzsimmons <fitzsim@redhat.com>
Thomas Fitzsimmons [Mon, 8 Dec 2003 21:19:41 +0000 (21:19 +0000)]
2003-12-08  Thomas Fitzsimmons  <fitzsim@redhat.com>

* configure.in (raw_libstdcxx_flags): Remove the leading space.
* configure: Regenerate.

20 years ago * elfxx-mips.h, elfxx-mips.c, cpu-mips.c: Convert prototypes.
Richard Sandiford [Mon, 8 Dec 2003 20:04:34 +0000 (20:04 +0000)]
* elfxx-mips.h, elfxx-mips.c, cpu-mips.c: Convert prototypes.
Remove casts that were only needed for K&R compatibility.

20 years ago * elf-bfd.h (struct elf_backend_data): Remove "bfd *" and add
Alan Modra [Mon, 8 Dec 2003 13:05:11 +0000 (13:05 +0000)]
* elf-bfd.h (struct elf_backend_data): Remove "bfd *" and add
"elflink_hash_entry *" param to elf_backend_link_output_symbol_hook.
Add "elflink_hash_entry *" param to elf_backend_output_arch_syms.
* elflink.h (elf_link_output_sym): Add "elflink_hash_entry *" param,
and pass to output_symbol_hook.
(elf_bfd_final_link): Adjust elf_link_output_sym calls.
(elf_link_output_extsym): Likewise.
(elf_link_input_bfd): Likewise.
* elf32-sh64.c (sh64_elf_link_output_symbol_hook): Adjust.
* elf32-v850.c (v850_elf_link_output_symbol_hook): Likewise.
* elf64-mmix.c (mmix_elf_link_output_symbol_hook): Likewise.
* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): Likewise.
* elfxx-mips.c (_bfd_mips_elf_link_output_symbol_hook): Likewise.
* elfxx-mips.h (_bfd_mips_elf_link_output_symbol_hook): Likewise.
* elf64-sparc.c (sparc64_elf_output_arch_syms): Likewise.
* elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Likewise.
Validate dynh->h against h.
* elf64-ppc.c (struct ppc_link_hash_entry): Add adjust_done bitfield.
(link_hash_newfunc): Init it.
(adjust_opd_syms): New function.
(ppc64_elf_edit_opd): Set adjust_done when global .opd sym adjusted.
Set opd.adjust for all .opd relocs.  Call adjust_opd_syms.
(ppc64_elf_tls_optimize): Adjust possible .opd sym values here.
(ppc64_elf_relocate_section): Also adjust syms not a multiple of 24.
(ppc64_elf_output_symbol_hook): New function.
(elf_backend_link_output_symbol_hook): Define.

20 years ago2003-12-07 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 8 Dec 2003 03:43:33 +0000 (03:43 +0000)]
2003-12-07  H.J. Lu  <hongjiu.lu@intel.com>

* ldlang.c (lang_vers_match): Pass "DMGL_PARAMS | DMGL_ANSI" to
cplus_demangle.

20 years ago * ldemul.c: Convert to ISO-C.
Kazu Hirata [Sun, 7 Dec 2003 23:52:44 +0000 (23:52 +0000)]
* ldemul.c: Convert to ISO-C.
* ldver.c: Likewise.

20 years agodaily update
Alan Modra [Sun, 7 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * ld-mips-elf/elf-rel-xgot-n32.d: Fix offset for "lw $5,dl1+34($5)".
Richard Sandiford [Sun, 7 Dec 2003 21:49:09 +0000 (21:49 +0000)]
* ld-mips-elf/elf-rel-xgot-n32.d: Fix offset for "lw $5,dl1+34($5)".
* ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.

20 years ago * elf32-mips.c, elfn32-mips.c, elf64-mips.c: Convert prototypes.
Richard Sandiford [Sun, 7 Dec 2003 21:24:28 +0000 (21:24 +0000)]
* elf32-mips.c, elfn32-mips.c, elf64-mips.c: Convert prototypes.
Remove casts that were only needed for K&R compatibility.

20 years ago * lexsup.c (is_num): Remove.
Kazu Hirata [Sun, 7 Dec 2003 00:08:41 +0000 (00:08 +0000)]
* lexsup.c (is_num): Remove.

20 years agodaily update
Alan Modra [Sat, 6 Dec 2003 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago * dwarf2dbg.c: Convert to ISO-C.
Kazu Hirata [Sat, 6 Dec 2003 16:16:51 +0000 (16:16 +0000)]
* dwarf2dbg.c: Convert to ISO-C.
* write.c: Likewise.
* write.h: Likewise.

20 years agogas/
Richard Sandiford [Sat, 6 Dec 2003 13:52:23 +0000 (13:52 +0000)]
gas/
* config/tc-mips.c (macro): Switch misordered call to frag_grow()
and setting of tc_fr_offset.

gas/testsuite/
* gas/mips/elf-rel16.[sd]: New test.
* gas/mips/mips.exp: Run it.
* gas/mips/elf-rel-xgot-n32.d: Fix addends for "lw $5,dl1+34($5)".
* gas/mips/elf-rel-xgot-n64.d: Likewise.

20 years agoFia x comment typo.
Kazu Hirata [Sat, 6 Dec 2003 10:02:06 +0000 (10:02 +0000)]
Fia x comment typo.

20 years ago * common.h (DT_HIOS): Correct value.
Alan Modra [Sat, 6 Dec 2003 05:32:21 +0000 (05:32 +0000)]
* common.h (DT_HIOS): Correct value.

20 years ago * gas/arm/arm.exp: Add archv6 and thumbv6.
Mark Mitchell [Sat, 6 Dec 2003 01:25:29 +0000 (01:25 +0000)]
* gas/arm/arm.exp: Add archv6 and thumbv6.
* gas/arm/archv6.d: New file.
* gas/arm/archv6.s: Likewise.
* gas/arm/thumbv6.d: Likewise.
* gas/arm/thumbv6.s: Likewise.

Add V6 support.
* config/tc-arm.c (ARM_EXT_V6): New macro.
(ARM_ARCH_V6): Likewise.
(SHIFT_IMMEDIATE): Likewise.
(SHIFT_LSL_OR_ASR_IMMEDIATE): Likewise.
(SHIFT_ASR_IMMEDIATE): Likewise.
(SHIFT_LSL_IMMMEDIATE): Likewise.
(do_cps): New function.
(do_cpsi): Likewise.
(do_ldrex): Likewise.
(do_pkhbt): Likewise.
(do_pkhtb): Likewise.
(do_qadd16): Likewise.
(do_rev): Likewise.
(do_rfe): Likewise.
(do_sxtah): Likewise.
(do_sxth): Likewise.
(do_setend): Likewise.
(do_smlad): Likewise.
(do_smlald): Likewise.
(do_smmul): Likewise.
(do_ssat): Likewise.
(do_usat): Likewise.
(do_srs): Likewise.
(do_ssat16): Likewise.
(do_usat16): Likewise.
(do_strex): Likewise.
(do_umaal): Likewise.
(do_cps_mode): Likewise.
(do_cps_flags): Likewise.
(do_endian_specifier): Likewise.
(do_pkh_core): Likewise.
(do_sat): Likewise.
(do_sat16): Likewise.
(insns): Add V6 instructions.
(do_t_cps): New function.
(do_t_cpy): Likewise.
(do_t_setend): Likewise.
(THUMB_CPY): New macro.
(tinsns): Add V6 instructions.
(decode_shift): Handle V6 restricted-shift options.
(thumb_mov_compare): Support CPY.
(arm_cores): Add arm1136js and arm1136jfs.
(arm_archs): Add armv6.
(arm_fpus): Add arm1136jfs.
* doc/c-arm.texi (ARM Options): Mention arm1136js, arm1136jfs, and
armv6 options.

* gas/arm/arm.exp: Add archv6 and thumbv6.
* gas/arm/archv6.d: New file.
* gas/arm/archv6.s: Likewise.
* gas/arm/thumbv6.d: Likewise.
* gas/arm/thumbv6.s: Likewise.

* arm-dis.c (print_arm_insn): Add 'W' macro.
* arm-opc.h (arm_opcodes): Add V6 instructions.
(thumb_opcodes): Likewise.

20 years ago * ChangeLog-9197: Fix comment typos.
Kazu Hirata [Sat, 6 Dec 2003 00:06:12 +0000 (00:06 +0000)]
* ChangeLog-9197: Fix comment typos.
* coffgrok.c: Likewise.
* filemode.c: Likewise.
* objcopy.c: Likewise.
* objdump.c: Likewise.
* prdbg.c: Likewise.
* stabs.c: Likewise.
* unwind-ia64.c: Likewise.

20 years ago * config/tc-z8k.c (parse_reg): Be case insensitive when checking
Christian Groessler [Fri, 5 Dec 2003 23:40:04 +0000 (23:40 +0000)]
* config/tc-z8k.c (parse_reg): Be case insensitive when checking
register names.
(get_ctrl_operand): Be case insensitive when checking ctrl names.

20 years ago * gas/z8k/ctrl-names.d: New file.
Christian Groessler [Fri, 5 Dec 2003 23:37:02 +0000 (23:37 +0000)]
* gas/z8k/ctrl-names.d: New file.
* gas/z8k/ctrl-names.s: New file.
* gas/z8k/z8k.exp: Run new tests.

20 years agodaily update
Alan Modra [Fri, 5 Dec 2003 23:00:09 +0000 (23:00 +0000)]
daily update

20 years ago2003-12-02 Alexandre Oliva <aoliva@redhat.com>
Michael Snyder [Fri, 5 Dec 2003 22:16:11 +0000 (22:16 +0000)]
2003-12-02  Alexandre Oliva  <aoliva@redhat.com>

* sh-opc.h: Add support for sh4a and no-fpu variants.
        * sh-dis.c: Ditto.

20 years agoDon't blame aoliva for my work.
Michael Snyder [Fri, 5 Dec 2003 22:00:39 +0000 (22:00 +0000)]
Don't blame aoliva for my work.

20 years agoFix SH compilation problems introduced by previous delta
Nick Clifton [Fri, 5 Dec 2003 11:55:01 +0000 (11:55 +0000)]
Fix SH compilation problems introduced by previous delta

20 years agoFixes for use of ARM_26D reloc in arm-wince toolchain.
Nick Clifton [Fri, 5 Dec 2003 11:30:18 +0000 (11:30 +0000)]
Fixes for use of ARM_26D reloc in arm-wince toolchain.

20 years ago2003-12-02 Alexandre Oliva <aoliva@redhat.com>
Michael Snyder [Fri, 5 Dec 2003 02:02:32 +0000 (02:02 +0000)]
2003-12-02  Alexandre Oliva  <aoliva@redhat.com>

* sh-opc.h: Add support for sh4a and no-fpu variants.
* sh-dis.c: Ditto.

20 years ago2003-12-03 Alexandre Oliva <aoliva@redhat.com>
Michael Snyder [Fri, 5 Dec 2003 01:59:55 +0000 (01:59 +0000)]
2003-12-03  Alexandre Oliva  <aoliva@redhat.com>

* config/tc-sh.c: Add support for sh4a and no-fpu variants,
with appropriate additions to md_show_usage.
* testsuite/gas/sh/basic.exp: Call tests for sh4a.
* testsuite/gas/sh/{err-sh4a-fp.s, err-sh4a.s,
err-sh4al-dsp.s, sh4a-dsp.d, sh4a-dsp.s, sh4a-fp.d,
sh4a-fp.s, sh4a.d, sh4a.s, sh4al-dsp.d, sh4al-dsp.s:
New files, tests for sh4a and related variants.
* doc/c-sh.texi: Document new -isa options.
* doc/c-sh64.texi: Ditto.
* NEWS: Mention new support for sh4a.

20 years agodaily update
Alan Modra [Thu, 4 Dec 2003 23:00:07 +0000 (23:00 +0000)]
daily update

20 years ago2003-12-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 4 Dec 2003 22:48:20 +0000 (22:48 +0000)]
2003-12-04  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-ppc.c (ppc_elf_relax_section): Don't check relax_finalizing.

20 years agobfd/
H.J. Lu [Thu, 4 Dec 2003 22:43:36 +0000 (22:43 +0000)]
bfd/

2003-12-04  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_relax_section): Use the
need_relax_finalize field in link_info instead of
relax_finalizing to check if the relax finalize pass is being
done.

include/

2003-12-04  H.J. Lu  <hongjiu.lu@intel.com>

* bfdlink.h (bfd_link_info): Change relax_finalizing to
need_relax_finalize.

ld/

2003-12-04  H.J. Lu  <hongjiu.lu@intel.com>

* emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Set
link_info.need_relax_finalize to TRUE.

* ldlang.c (lang_process): Use link_info.need_relax_finalize
instead of link_info.relax_finalizing.
* ldmain.c (main): Likewise.

20 years agomerge from gcc
DJ Delorie [Thu, 4 Dec 2003 20:03:39 +0000 (20:03 +0000)]
merge from gcc

20 years agoDo not copy the object if the output file's format cannot be set to that of
Nick Clifton [Thu, 4 Dec 2003 18:24:07 +0000 (18:24 +0000)]
Do not copy the object if the output file's format cannot be set to that of
the input file.  If the input file's format is unknown, fail.

20 years agoDefine RELOCATEABLE_OUTPUT_FORMAT
Nick Clifton [Thu, 4 Dec 2003 17:51:43 +0000 (17:51 +0000)]
Define RELOCATEABLE_OUTPUT_FORMAT

20 years agoChange ARM26* to ARM_26* in comments to match definitions.
Nick Clifton [Thu, 4 Dec 2003 17:46:24 +0000 (17:46 +0000)]
Change ARM26* to ARM_26* in comments to match definitions.
Replace hard-coded constants with appropriate definitions (ARM_26*).

20 years ago * ldlang.c (lang_do_assignments): Function return is void.
Alan Modra [Thu, 4 Dec 2003 12:09:25 +0000 (12:09 +0000)]
* ldlang.c (lang_do_assignments): Function return is void.
* ldlang.h (lang_do_assignments): Ditto.
* emultempl/netbsd.em (gld${EMULATION_NAME}_before_parse): Declare.
* Makefile.am (ens32knbsd.c): Depend on netbsd.em.
* Makefile.in: Regenerate.

20 years ago * coff-i860.c (coff_i860_reloc_nyi): Return bfd_reloc_not_supported.
Alan Modra [Thu, 4 Dec 2003 12:08:42 +0000 (12:08 +0000)]
* coff-i860.c (coff_i860_reloc_nyi): Return bfd_reloc_not_supported.
* elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Warning fixes.
(mn10300_elf_relax_section): Likewise.
* nlm32-alpha.c (ONES): Define.
(nlm32_alpha_howto_table): Use it to avoid warnings.

20 years ago * openrisc-asm.c: Regenerate.
Alan Modra [Thu, 4 Dec 2003 11:07:22 +0000 (11:07 +0000)]
* openrisc-asm.c: Regenerate.
* pj-opc.c: Update copyright date.

20 years ago * elf32-i386.c (elf_i386_object_p): Delete.
Alan Modra [Thu, 4 Dec 2003 03:03:27 +0000 (03:03 +0000)]
* elf32-i386.c (elf_i386_object_p): Delete.
(elf_backend_object_p): Don't define.
* elf32-s390.c (elf_s390_object_p): No need to alloc tdata here.
* elf32-sh.c (sh_elf_object_p): Likewise.
* elf32-sparc.c (elf32_sparc_object_p): Likewise.
* elf64-alpha.c (elf64_alpha_object_p): Likewise.
* elf64-s390.c (elf_s390_object_p): Likewise.
* elf64-x86-64.c (elf64_x86_64_elf_object_p): Likewise.

20 years ago2003-11-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 4 Dec 2003 00:54:16 +0000 (00:54 +0000)]
2003-11-24  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-alpha.c (s_alpha_end): Don't crash if there is no
matching .ent.

20 years ago * tc.h (md_pcrel_from): Don't declare if defined as a macro.
Alan Modra [Wed, 3 Dec 2003 23:39:38 +0000 (23:39 +0000)]
* tc.h (md_pcrel_from): Don't declare if defined as a macro.

20 years agodaily update
Alan Modra [Wed, 3 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years agomerge from gcc
DJ Delorie [Wed, 3 Dec 2003 19:03:29 +0000 (19:03 +0000)]
merge from gcc

20 years agooops - forogot to mention the new support here.
Nick Clifton [Wed, 3 Dec 2003 17:42:12 +0000 (17:42 +0000)]
oops - forogot to mention the new support here.

20 years agoAdd support for the M32R2 processor.
Nick Clifton [Wed, 3 Dec 2003 17:38:48 +0000 (17:38 +0000)]
Add support for the M32R2 processor.

20 years agoAdd vax-linux-gnu target
Nick Clifton [Wed, 3 Dec 2003 15:07:17 +0000 (15:07 +0000)]
Add vax-linux-gnu target

20 years agoAdd "msp" to list of expected architectures.
Nick Clifton [Wed, 3 Dec 2003 10:48:53 +0000 (10:48 +0000)]
Add "msp" to list of expected architectures.