OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
20 years ago * elflink.h (elf_gc_sections): Warn when gc-sections option is ignored.
Alan Modra [Thu, 1 Jan 2004 10:01:45 +0000 (10:01 +0000)]
* elflink.h (elf_gc_sections): Warn when gc-sections option is ignored.
* elf32-h8300.c (elf32_h8_gc_mark_hook): New function.
(elf32_h8_gc_sweep_hook): New function.
(elf_backend_gc_mark_hook): Define.
(elf_backend_gc_sweep_hook): Define.
(elf_backend_can_gc_sections): Define.

20 years ago* configure.in (ia64*-*-hpux*): Disable building java libraries.
DJ Delorie [Thu, 1 Jan 2004 00:07:51 +0000 (00:07 +0000)]
* configure.in (ia64*-*-hpux*): Disable building java libraries.
* configure: Regenerated.

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

20 years ago * MAINTAINERS: Rename CONFIGURE to BUILD SYSTEM and add myself.
Daniel Jacobowitz [Wed, 31 Dec 2003 14:24:55 +0000 (14:24 +0000)]
* MAINTAINERS: Rename CONFIGURE to BUILD SYSTEM and add myself.

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

20 years ago * ld-srec/srec.exp (run_srec_test): Remove -fgnu-linker, since GCC
Mark Mitchell [Tue, 30 Dec 2003 16:53:31 +0000 (16:53 +0000)]
* ld-srec/srec.exp (run_srec_test): Remove -fgnu-linker, since GCC
3.4 does not support it.

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

20 years ago * gas/config/tc-arm.c (arm_cpus): Add 926ejs and 1026ejs.
Paul Brook [Mon, 29 Dec 2003 16:43:37 +0000 (16:43 +0000)]
* gas/config/tc-arm.c (arm_cpus): Add 926ejs and 1026ejs.
* gas/doc/c-arm.texi: Document them.

20 years agoUpdate pointer_size patch
Nick Clifton [Mon, 29 Dec 2003 14:22:07 +0000 (14:22 +0000)]
Update pointer_size patch

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

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

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

20 years agomerge from gcc
DJ Delorie [Fri, 26 Dec 2003 16:27:37 +0000 (16:27 +0000)]
merge from gcc

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

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

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

20 years ago * doc/c-arm.texi: Document -march=armv6.
Paul Brook [Tue, 23 Dec 2003 18:48:02 +0000 (18:48 +0000)]
* doc/c-arm.texi: Document -march=armv6.

20 years ago * config/tc-arm.c (arm_archs): Add armv6.
Paul Brook [Tue, 23 Dec 2003 18:41:58 +0000 (18:41 +0000)]
* config/tc-arm.c (arm_archs): Add armv6.

20 years ago* objcopy.c (bfd_flags_to_set, bfd_flags_to_clear): New variables
Maciej W. Rozycki [Tue, 23 Dec 2003 13:01:11 +0000 (13:01 +0000)]
* objcopy.c (bfd_flags_to_set, bfd_flags_to_clear): New variables
to handle flags for tweaking.
(copy_options): New options: impure, pure, readonly-text,
writable-text.
(copy_usage, copy_object, command_line_switch): Handle the new
options.
* doc/binutils.texi: Document the new options.

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

20 years ago * Makefile.in (lbasename.o): Depend on filenames.h.
Daniel Jacobowitz [Mon, 22 Dec 2003 19:22:57 +0000 (19:22 +0000)]
* Makefile.in (lbasename.o): Depend on filenames.h.
* lbasename.c: Include "filenames.h" instead of defining
its macros locally.

20 years agomerge from gcc
DJ Delorie [Mon, 22 Dec 2003 16:03:32 +0000 (16:03 +0000)]
merge from gcc

20 years ago * objdump.c (disassemble_bytes): Subtract rel_offset from printed
Jakub Jelinek [Mon, 22 Dec 2003 10:49:59 +0000 (10:49 +0000)]
* objdump.c (disassemble_bytes): Subtract rel_offset from printed
reloc address.
(disassemble_section): Set rel_offset to section->vma instead of
pinfo->buffer_vma.

20 years agoFix tests to eliminated unexpected failures
Nick Clifton [Mon, 22 Dec 2003 09:01:48 +0000 (09:01 +0000)]
Fix tests to eliminated unexpected failures

20 years agoFor v6 tests use -march=armv6j
Nick Clifton [Mon, 22 Dec 2003 08:43:41 +0000 (08:43 +0000)]
For v6 tests use -march=armv6j

20 years ago* configure.in (*-*-uclinux): Exclude newlib, libgloss and rda.
DJ Delorie [Mon, 22 Dec 2003 00:59:55 +0000 (00:59 +0000)]
* configure.in (*-*-uclinux): Exclude newlib, libgloss and rda.
* configure: Regenerated.

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

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

20 years agomerge from gcc
DJ Delorie [Sat, 20 Dec 2003 16:06:10 +0000 (16:06 +0000)]
merge from gcc

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.