Commit Graph

49547 Commits

Author SHA1 Message Date
Jan Beulich
15cf70afb6 ld/testsuite/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

	* ld-elf/empty2.[sd]: New.
2005-10-24 07:48:47 +00:00
Jan Beulich
6a2375c6b2 include/opcode/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

	* ia64.h (enum ia64_opnd): Move memory operand out of set of
	indirect operands.

bfd/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

	* cpu-ia64-opc.c (elf64_ia64_operands): Move memory operand out of
	set of indirect operands.

gas/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

	* config/tc-ia64.c (enum reg_symbol): Delete IND_MEM.
	(dot_rot): Change type of num_* variables. Check for positive count.
	(ia64_optimize_expr): Re-structure.
	(md_operand): Check for general register.

gas/testsuite/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

	* gas/ia64/index.[sl]: New.
	* gas/ia64/rotX.[sl]: New.
	* gas/ia64/ia64.exp: Run new tests.

opcodes/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

	* ia64-asmtab.c: Regenerate.
2005-10-24 07:42:50 +00:00
Jan Beulich
5e0bd1769d gas/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

	* config/tc-ia64.c (declare_register): Call symbol_create.
	(md_begin): Remove local variables total, ar_base, and cr_base.
	Start loops for registers at their respective first one. Don't
	update md.regsym for alias names. Generate alias name tp for r13.

gas/testsuite/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

	* gas/ia64/regs.pl: Also check tp alias of r13.
	* gas/ia64/regs.s: Regenerate.
	* gas/ia64/regs.d: Adjust.
2005-10-24 07:36:40 +00:00
Alan Modra
d30e8e7c0e * elf32-ppc.c (ppc_elf_fake_sections): Don't set SHF_EXCLUDE on
group sections.
2005-10-24 04:32:50 +00:00
H.J. Lu
60b488501c 2005-10-23 H.J. Lu <hongjiu.lu@intel.com>
* coff-rs6000.c (rs6000coff_vec): Initialize
	_bfd_init_private_section_data with
	_bfd_generic_init_private_section_data.
	(pmac_xcoff_vec): Likewise.
	* coff64-rs6000.c (rs6000coff64_vec): Likewise.
	(aix5coff64_vec): Likewise.
2005-10-24 02:50:27 +00:00
H.J. Lu
ccd2ec6a87 bfd/
2005-10-23  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/1487
	* elf-bfd.h (_bfd_generic_init_private_section_data): New.
	(_bfd_elf_init_private_section_data): New.

	* elf.c (elf_fake_sections): Don't set SHF_GROUP for
	relocatable link.
	(bfd_elf_set_group_contents): Don't handle relocatable link
	specially.
	(assign_section_numbers): If it isn't called by assembler,
	use the output section of elf_linked_to_section for
	SHF_LINK_ORDER.
	(_bfd_elf_init_private_section_data): New.
	(_bfd_elf_copy_private_section_data): Call it.

	* libbfd-in.h (_bfd_generic_init_private_section_data): New.

	* libbfd.c (_bfd_generic_init_private_section_data): New.

	* targets.c (BFD_JUMP_TABLE_COPY): Add
	_bfd_generic_init_private_section_data.
	(bfd_init_private_section_data): Likewise.

	* bfd-in2.h: Regenerated.
	* libbfd.h: Likewise.

ld/

2005-10-23  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/1487
	* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
	bfd_match_sections_by_type to match section types.

	* ldlang.c (init_os): Take the input section. Call
	bfd_init_private_section_data if the input section isn't NULL.
	(exp_init_os): Pass NULL to init_os.
	(map_input_to_output_sections): Likewise.
	(lang_add_section): Pass the input section to init_os.

ld/testsuite/

2005-10-23  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/1487
	* ld-ia64/tlspic.rd: Updated.
2005-10-24 01:40:58 +00:00
Alan Modra
167cadb67e daily update 2005-10-24 00:00:05 +00:00
gdbadmin
92c3f2482b *** empty log message *** 2005-10-24 00:00:04 +00:00
Alan Modra
60124e1830 * elf64-ppc.c (dec_dynrel_count): Don't report errors for local
syms in gc'd sections.
	(ppc64_elf_edit_opd): Don't adjust reloc counts when NO_OPD_RELOCS.
	(elf_backend_action_discarded): Define.
	(ppc64_elf_action_discarded): New function.
2005-10-23 13:12:09 +00:00
gdbadmin
d9072af4b7 *** empty log message *** 2005-10-23 00:00:33 +00:00
Alan Modra
307154a29f daily update 2005-10-23 00:00:06 +00:00
Mark Kettenis
1ad4d2ade7 * rs6000-tdep.c (info_powerpc_cmdlist): Remove variable.
(rs6000_info_powerpc_command): Remove function.
2005-10-22 15:12:36 +00:00
Paolo Bonzini
e360f42320 2005-10-22 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/24297
	* Makefile.tpl (do-[+make-target+], do-check, install,
	stage[+id+]-bubble, [+compare-target+]): Ensure $$r and $$s
	are set before recursing.
	* Makefile.in: Regenerate.
2005-10-22 10:37:55 +00:00
DJ Delorie
cab0a0db16 * config/tc-m32c.c (md_cgen_lookup_reloc): Add more relocs. Print
names unstead of numbers.
2005-10-22 00:04:26 +00:00
DJ Delorie
a1a280bb84 [cpu]
* m32c.cpu (lde, ste): Add dsp[a0] and [a1a] addressing.
(indexb, indexbd, indexbs, indexw, indexwd, indexws, indexl,
indexld, indexls): .w variants have `1' bit.
(rot32.b): QI, not SI.
(rot32.w): HI, not SI.
(xchg16): HI for .w variant.

[opcodes]
* m32c-asm.c: Regenerate.
* m32c-desc.c: Regenerate.
* m32c-desc.h: Regenerate.
* m32c-dis.c: Regenerate.
* m32c-ibld.c: Regenerate.
* m32c-opc.c: Regenerate.
* m32c-opc.h: Regenerate.
2005-10-22 00:03:13 +00:00
Alan Modra
a0ffed4b33 daily update 2005-10-22 00:00:05 +00:00
gdbadmin
2093f4e652 *** empty log message *** 2005-10-22 00:00:02 +00:00
Mark Mitchell
a95728d0d8 Fix typo 2005-10-21 23:31:33 +00:00
Mark Mitchell
a2136c6ef2 * texi2pod.pl: Substitue for @value even when part of @include. 2005-10-21 23:29:22 +00:00
H.J. Lu
2068d88563 2005-10-21 H.J. Lu <hongjiu.lu@intel.com>
PR ld/1467
	* ld-elf/orphan.d: New file.
	* ld-elf/orphan.ld: Likewise.
	* ld-elf/orphan.s: Likewise.
2005-10-21 21:18:05 +00:00
Bob Wilson
eb04889954 * texi2pod.pl: Import latest version from GCC. 2005-10-21 18:08:07 +00:00
Nick Clifton
b7d4853035 bfin-dis.c: Tidy up code, removing redundant constructs. 2005-10-21 16:28:18 +00:00
Andreas Schwab
31f1d37116 * dwarf2read.c (isreg): Removed.
(decode_locdesc): Don't set it.
2005-10-21 09:14:48 +00:00
Joel Brobecker
682b96ec7e * Makefile.in (YYFILES): Add ada-lex.c 2005-10-21 06:26:27 +00:00
Alan Modra
795ebfebad daily update 2005-10-21 00:00:13 +00:00
gdbadmin
99fa508bb2 *** empty log message *** 2005-10-21 00:00:04 +00:00
H.J. Lu
c9831d571e 2005-10-20 H.J. Lu <hongjiu.lu@intel.com>
* ld-ia64/ia64.exp: Undo the last change. Add support for *.d.

	* ld-ia64/link-order.d: New file.
2005-10-20 17:54:53 +00:00
H.J. Lu
6a0d0afdc7 binutils/testsuite/
2005-10-20  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/251
	* binutils-all/group.s: New file.

	* binutils-all/objcopy.exp (objcopy_test_readelf): New
	procedure.
	Use it to test ELF group.

ld/testsuite/

2005-10-20  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/251
	* ld-elf/group.2d: New file.
2005-10-20 17:06:41 +00:00
Eric Botcazou
45d5eb0a1b PR bootstrap/18939
* Makefile.def (gcc) <target>: Fix thinko.
	* Makefile.in: Regenerate.
2005-10-20 12:01:15 +00:00
Alan Modra
4f4b689b07 daily update 2005-10-20 00:09:01 +00:00
gdbadmin
9e8db2f480 *** empty log message *** 2005-10-20 00:00:05 +00:00
H.J. Lu
64bb95af3d binutils/testsuite/
2005-10-19  H.J. Lu  <hongjiu.lu@intel.com>

	PR binutils/1487
	* binutils-all/objcopy.exp (objcopy_test): New procedure.
	Use it to test simple copy, ia64 link order and ELF unknown
	section type.

	* binutils-all/unknown.s: New file.

ld/testsuite/

2005-10-19  H.J. Lu  <hongjiu.lu@intel.com>

	PR binutils/1487
	* ld-elf/unknown.d: New file.
2005-10-19 20:49:03 +00:00
David Ung
290248614c * config/tc-mips.c (append_insn): Convert MIPS16 jr/jalr jumps
into jrc/jalrc versions if ISA_MIPS32+ and not doing the swap,
hence avoiding to emit a nop.

* gas/mips/mips.exp: Run new test.
* gas/testsuite/gas/mips/mips16e-jrc.s: New test for converting
jalr/jr to the compact jalrc/jrc instructions.
* gas/testsuite/gas/mips/mips16e-jrc.d: New.
2005-10-19 18:47:09 +00:00
H.J. Lu
33c5e3a91d 2005-10-19 H.J. Lu <hongjiu.lu@intel.com>
* ld-ia64/ia64.exp: Check link order for ld -r.
2005-10-19 18:33:25 +00:00
H.J. Lu
ad2fb2cdb9 2005-10-19 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/1321
	* binutils-all/link-order.s: New.

	* binutils-all/objcopy.exp: Check ia64 link order.
2005-10-19 17:39:43 +00:00
Nick Clifton
44444f50d6 * elf32-arm.c (find_arm_elf_section_entry): New function.
(get_arm_elf_section_data): Use it.
  (unrecord_section_with_arm_elf_section_data): Use it.
2005-10-19 15:40:23 +00:00
Martin Schwidefsky
cd0c2720e9 * gas/s390/zarch-z9-109.s: Add tests for unnormalized hfp multiply
and multiply-and-add instructions.
	* gas/s390/zarch-z9-109.d: Update expected result.
2005-10-19 15:05:50 +00:00
Martin Schwidefsky
8dd744b6c0 * s390-opc.txt: Add unnormalized hfp multiply and multiply-and-add
instructions.
2005-10-19 15:05:10 +00:00
Nick Clifton
e74eb924c2 * m32r.opc (parse_slo16): Fix bad application of previous patch. 2005-10-19 14:44:17 +00:00
Paul Brook
3242b11e04 2005-10-19 Paul Brook <paul@codesourcery.com>
* emulparams/armelf.sh: Add .ARM.attributes to OTHER_SECTIONS.
2005-10-19 14:43:21 +00:00
Jie Zhang
9f8e671b12 * config/tc-bfin.c (md_begin): Let the lex_type of '(' be
LEX_BEGIN_NAME.
	(bfin_start_line_hook): Remove the workaround for LSETUP(.
	(bfin_name_is_register): Remove the workarounds for LSETUP(
	and SAA(.
	(bfin_start_label): Ditto.
2005-10-19 13:15:01 +00:00
Paul Brook
64aacc3eeb 2005-10-08 Paul Brook <paul@codesourcery.com>
* gas/arm/eabi_attr_1.s: New test.
	* gas/arm/eabi_attr_1.d: New test.
	* gas/arm/arm7t.d: Only disassemble code sections.
	* gas/arm/bignum1.d: Ignore Arm object attribute sections.
	* gas/arm/mapping.d: Ditto.
	* gas/arm/unwind.d: Ditto.
	* gas/elf/section0.d: Ditto.
	* gas/elf/section1.d: Ditto.
	* gas/elf/elf.exp: Set target_machine for Arm EABI based targets.
	* gas/elf/section2.e-armeabi: New file.
2005-10-19 00:43:59 +00:00
Alan Modra
2ebe172e81 daily update 2005-10-19 00:00:05 +00:00
gdbadmin
7cced3600d *** empty log message *** 2005-10-19 00:00:02 +00:00
Bob Wilson
e8247da70c * config/tc-xtensa.c (xtensa_end_directive): Restore
default_lit_sections regardless of use_literal_section.
2005-10-18 23:13:48 +00:00
Jie Zhang
471e4e36fc * bfin-dis.c (print_insn_bfin): Do proper endian transform when
reading instruction from memory.
2005-10-18 16:39:41 +00:00
Jie Zhang
1e0486eab8 * Makefile.am (bfin-lex.c): Update ylwrap invocation.
* Makefile.in: Regenerated.
2005-10-18 16:10:59 +00:00
Nick Clifton
5e03663f3d m32r.opc (parse_slo16): Better version of previous patch. 2005-10-18 07:53:17 +00:00
Nick Clifton
cd1fcb494f * doc/as.texinfo (.loc) Fix placement of '@end table'. 2005-10-18 07:47:01 +00:00
Jie Zhang
6cc1ddc951 * MAINTAINERS: Add self as BFIN maintainer. 2005-10-18 07:40:11 +00:00