OSDN Git Service
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.
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.
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.
Alan Modra [Wed, 17 Dec 2003 23:00:04 +0000 (23:00 +0000)]
daily update
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.
Alan Modra [Tue, 16 Dec 2003 23:00:04 +0000 (23:00 +0000)]
daily update
Michael Snyder [Tue, 16 Dec 2003 21:49:41 +0000 (21:49 +0000)]
Fix typo.
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
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.
DJ Delorie [Tue, 16 Dec 2003 00:58:45 +0000 (00:58 +0000)]
merge from gcc
Alan Modra [Mon, 15 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update
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.
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.
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.
DJ Delorie [Mon, 15 Dec 2003 19:03:58 +0000 (19:03 +0000)]
merge from gcc
DJ Delorie [Mon, 15 Dec 2003 17:45:42 +0000 (17:45 +0000)]
merge from gcc
Nick Clifton [Mon, 15 Dec 2003 12:19:13 +0000 (12:19 +0000)]
Add PIPE_O attribute to "pop" instruction.
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.
Nick Clifton [Mon, 15 Dec 2003 11:50:11 +0000 (11:50 +0000)]
Ensure that correct flags are set on known PE section types.
Mark Mitchell [Mon, 15 Dec 2003 05:01:41 +0000 (05:01 +0000)]
* arm-opc.h (arm_opcodes): Put V6 instructions before XScale
instructions.
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.
Alan Modra [Sun, 14 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update
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.
Alan Modra [Sat, 13 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update
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.
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.
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.
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.
Alan Modra [Fri, 12 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update
Nick Clifton [Fri, 12 Dec 2003 20:42:51 +0000 (20:42 +0000)]
Updated Romanian translation
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.
Alan Modra [Thu, 11 Dec 2003 23:00:06 +0000 (23:00 +0000)]
daily update
Nick Clifton [Thu, 11 Dec 2003 18:10:19 +0000 (18:10 +0000)]
(INCLUDE_SECTION_IN_SEGMENT): Skip PT_GNU_STACK segments.
Nick Clifton [Thu, 11 Dec 2003 13:22:51 +0000 (13:22 +0000)]
Add --only-keep-debug to the --help output.
Alan Modra [Wed, 10 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update
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.
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.
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.
Ben Elliston [Wed, 10 Dec 2003 06:41:08 +0000 (06:41 +0000)]
Remove redundant returns in void functions.
Alan Modra [Tue, 9 Dec 2003 23:00:06 +0000 (23:00 +0000)]
daily update
Paul Brook [Tue, 9 Dec 2003 17:41:12 +0000 (17:41 +0000)]
* config/tc-arm.c (do_umaal): Fix typo.
Alan Modra [Mon, 8 Dec 2003 23:00:06 +0000 (23:00 +0000)]
daily update
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.
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.
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.
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.
Kazu Hirata [Sun, 7 Dec 2003 23:52:44 +0000 (23:52 +0000)]
* ldemul.c: Convert to ISO-C.
* ldver.c: Likewise.
Alan Modra [Sun, 7 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update
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.
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.
Kazu Hirata [Sun, 7 Dec 2003 00:08:41 +0000 (00:08 +0000)]
* lexsup.c (is_num): Remove.
Alan Modra [Sat, 6 Dec 2003 23:00:06 +0000 (23:00 +0000)]
daily update
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.
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.
Kazu Hirata [Sat, 6 Dec 2003 10:02:06 +0000 (10:02 +0000)]
Fia x comment typo.
Alan Modra [Sat, 6 Dec 2003 05:32:21 +0000 (05:32 +0000)]
* common.h (DT_HIOS): Correct value.
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.
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.
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.
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.
Alan Modra [Fri, 5 Dec 2003 23:00:09 +0000 (23:00 +0000)]
daily update
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.
Michael Snyder [Fri, 5 Dec 2003 22:00:39 +0000 (22:00 +0000)]
Don't blame aoliva for my work.
Nick Clifton [Fri, 5 Dec 2003 11:55:01 +0000 (11:55 +0000)]
Fix SH compilation problems introduced by previous delta
Nick Clifton [Fri, 5 Dec 2003 11:30:18 +0000 (11:30 +0000)]
Fixes for use of ARM_26D reloc in arm-wince toolchain.
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.
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.
Alan Modra [Thu, 4 Dec 2003 23:00:07 +0000 (23:00 +0000)]
daily update
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.
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.
DJ Delorie [Thu, 4 Dec 2003 20:03:39 +0000 (20:03 +0000)]
merge from gcc
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.
Nick Clifton [Thu, 4 Dec 2003 17:51:43 +0000 (17:51 +0000)]
Define RELOCATEABLE_OUTPUT_FORMAT
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*).
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.
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.
Alan Modra [Thu, 4 Dec 2003 11:07:22 +0000 (11:07 +0000)]
* openrisc-asm.c: Regenerate.
* pj-opc.c: Update copyright date.
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.
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.
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.
Alan Modra [Wed, 3 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update
DJ Delorie [Wed, 3 Dec 2003 19:03:29 +0000 (19:03 +0000)]
merge from gcc
Nick Clifton [Wed, 3 Dec 2003 17:42:12 +0000 (17:42 +0000)]
oops - forogot to mention the new support here.
Nick Clifton [Wed, 3 Dec 2003 17:38:48 +0000 (17:38 +0000)]
Add support for the M32R2 processor.
Nick Clifton [Wed, 3 Dec 2003 15:07:17 +0000 (15:07 +0000)]
Add vax-linux-gnu target
Nick Clifton [Wed, 3 Dec 2003 10:48:53 +0000 (10:48 +0000)]
Add "msp" to list of expected architectures.
Nick Clifton [Wed, 3 Dec 2003 10:44:50 +0000 (10:44 +0000)]
(HEAP_SECTION_MSP430): New section for forthcoming devices.
(_etext): provide this defenition for all scripts.
Kazu Hirata [Wed, 3 Dec 2003 03:39:58 +0000 (03:39 +0000)]
* messages.c: Convert to ISO-C.
* obj.h: Likewise.
* output-file.c: Likewise.
* output-file.h: Likewise.
* sb.c: Likewise.
* sb.h: Likewise.
* stabs.c: Likewise.
* subsegs.c: Likewise.
* subsegs.h: Likewise.
* tc.h: Likewise.
Kazu Hirata [Wed, 3 Dec 2003 03:25:36 +0000 (03:25 +0000)]
* emultempl/beos.em: Remove ARGSUSED.
Kazu Hirata [Wed, 3 Dec 2003 03:20:13 +0000 (03:20 +0000)]
* config/obj-elf.c: Remove ARGSUSED.
Kazu Hirata [Wed, 3 Dec 2003 03:15:14 +0000 (03:15 +0000)]
* alpha-opc.c: Remove ARGSUSED.
* i370-opc.c: Likewise.
* ppc-opc.c: Likewise.
Alan Modra [Tue, 2 Dec 2003 23:00:04 +0000 (23:00 +0000)]
daily update
Alan Modra [Tue, 2 Dec 2003 23:00:00 +0000 (23:00 +0000)]
Rename bfd_link_hash_entry field "next" -> "und_next".
Nick Clifton [Tue, 2 Dec 2003 15:38:46 +0000 (15:38 +0000)]
Update docs to reflect fact the --undefined-symbols==ignore-all is no longer
the default for shared libraries and dynamic executables.
Nick Clifton [Tue, 2 Dec 2003 10:49:14 +0000 (10:49 +0000)]
Add alternative defintion of C_WEAKEXT for AIX 5.2
Nick Clifton [Tue, 2 Dec 2003 10:49:10 +0000 (10:49 +0000)]
Add Romanian translation for bfd.
Alan Modra [Tue, 2 Dec 2003 08:14:35 +0000 (08:14 +0000)]
make "dep-am"
Alan Modra [Tue, 2 Dec 2003 05:58:36 +0000 (05:58 +0000)]
* bfdlink.h (struct bfd_link_info): Remove mpc860c0 field.
Alan Modra [Tue, 2 Dec 2003 05:58:11 +0000 (05:58 +0000)]
* ldmain.c (main): Remove mpc860c0 code.
* lexsup.c (enum option_values): Delete OPTION_MPC860C0.
(ld_options): Delete mpc860c0 entry.
(parse_args): Likewise.
DJ Delorie [Mon, 1 Dec 2003 23:54:49 +0000 (23:54 +0000)]
merge from gcc