OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
19 years ago2004-12-05 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Sun, 5 Dec 2004 12:29:04 +0000 (12:29 +0000)]
2004-12-05  Tomer Levi  <Tomer.Levi@nsc.com>

* crx-dis.c (print_arg): Use 'info->print_address_func' for address printing.

19 years ago2004-12-05 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Sun, 5 Dec 2004 12:26:49 +0000 (12:26 +0000)]
2004-12-05  Tomer Levi  <Tomer.Levi@nsc.com>

* crx-dis.c: Use 'info->print_address_func' for address printing.

19 years agodaily update
Alan Modra [Sat, 4 Dec 2004 23:00:07 +0000 (23:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Fri, 3 Dec 2004 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago2004-12-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 3 Dec 2004 17:06:28 +0000 (17:06 +0000)]
2004-12-03  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/group1.d: Support 64bit.

19 years agobfd/
Jan Beulich [Fri, 3 Dec 2004 13:59:36 +0000 (13:59 +0000)]
bfd/
2004-12-03 Jan Beulich  <jbeulich@novell.com>

* elf.c (elf_find_function): Don't use the last file symbol ever,
seen, but the last one seen prior to the symbol being reported.
Don't report a filename at all for global symbols when that might
be ambiguous/wrong.

19 years agoIntroduce config/gxx-include-dir.m4.
Richard Sandiford [Fri, 3 Dec 2004 10:47:07 +0000 (10:47 +0000)]
Introduce config/gxx-include-dir.m4.

19 years agoRemove config.if.
Richard Sandiford [Fri, 3 Dec 2004 10:30:07 +0000 (10:30 +0000)]
Remove config.if.

19 years ago * Makefile.am (TARG_ENV_HFILES): Add te-armlinuxeabi.h.
Mark Mitchell [Fri, 3 Dec 2004 01:22:15 +0000 (01:22 +0000)]
* Makefile.am (TARG_ENV_HFILES): Add te-armlinuxeabi.h.
* configure.in: Use it for arm*-*-linux-gnueabi*.
* config/tc-arm.c: Allow emulation file to set FPU_DEFAULT.
* config/te-armlinuxeabi.h: New file.
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.
* doc/Makefile.in: Regenerated.

19 years ago * config/tc-xtensa.c (xtensa_switch_section_emit_state): Use subseg_set.
Bob Wilson [Fri, 3 Dec 2004 01:00:07 +0000 (01:00 +0000)]
* config/tc-xtensa.c (xtensa_switch_section_emit_state): Use subseg_set.
(xtensa_restore_emit_state): Likewise.

19 years agoUse correct ChangeLog entry.
Eric Christopher [Thu, 2 Dec 2004 23:51:19 +0000 (23:51 +0000)]
Use correct ChangeLog entry.

19 years ago2004-12-02 Eric Christopher <echristo@redhat.com>
Eric Christopher [Thu, 2 Dec 2004 23:50:22 +0000 (23:50 +0000)]
2004-12-02  Eric Christopher  <echristo@redhat.com>

        * Makefile.tpl (clean-target-libgcc): Add stmp-dirs to list of
things to remove.
        * Makefile.in: Regenerate.

19 years agodaily update
Alan Modra [Thu, 2 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2004-12-01 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 2 Dec 2004 15:05:34 +0000 (15:05 +0000)]
2004-12-01  Paul Brook  <paul@codesourcery.com>

* elf32-arm.c (elf32_arm_copy_private_bfd_data): Set EI_OSABI.
(elf32_arm_post_process_headers): Set EI_OSABI depending on ABI
version.

19 years ago * configure.in: Clear gcc_version_trigger if the file doesn't exist.
Richard Sandiford [Thu, 2 Dec 2004 14:08:01 +0000 (14:08 +0000)]
* configure.in: Clear gcc_version_trigger if the file doesn't exist.
* configure: Regenerate.

19 years agoIntroduce and use config/gcc-version.m4.
Richard Sandiford [Thu, 2 Dec 2004 11:09:36 +0000 (11:09 +0000)]
Introduce and use config/gcc-version.m4.

19 years ago * read.c (ALIGN_LIMIT): Define, increasing limit for BFD_ASSEMBLER.
Alan Modra [Thu, 2 Dec 2004 09:39:14 +0000 (09:39 +0000)]
* read.c (ALIGN_LIMIT): Define, increasing limit for BFD_ASSEMBLER.
(s_align): Use it.

19 years ago2004-12-01 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 1 Dec 2004 23:23:12 +0000 (23:23 +0000)]
2004-12-01  Paul Brook  <paul@codesourcery.com>

bfd/
* elflink.c (elf_link_add_object_symbols): Make symbols from discarded
sections undefined.
ld/testsuite/
* ld-elf/group1.d: New test.
* ld-elf/group.ld, ld-elf/group1a.s, ld-elf/group1b.s: New test.

19 years agodaily update
Alan Modra [Wed, 1 Dec 2004 23:00:09 +0000 (23:00 +0000)]
daily update

19 years ago * ld-selective/selective.exp: Use -print-libgcc-file-name for
Daniel Jacobowitz [Wed, 1 Dec 2004 21:12:39 +0000 (21:12 +0000)]
* ld-selective/selective.exp: Use -print-libgcc-file-name for
ARM and v850 also.

19 years ago * scripttempl/pe.sc (.data): Add .jcr subsection.
Danny Smith [Tue, 30 Nov 2004 23:54:53 +0000 (23:54 +0000)]
* scripttempl/pe.sc (.data): Add .jcr subsection.

19 years agodaily update
Alan Modra [Tue, 30 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2004-11-30 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 30 Nov 2004 17:45:54 +0000 (17:45 +0000)]
2004-11-30  Paul Brook  <paul@codesourcery.com>

bfd/
* elf32-arm.c (struct elf32_arm_link_hash_table): Remove
no_pipeline_knowledge
(elf32_arm_link_hash_table_create): Ditto.
(bfd_elf32_arm_process_before_allocation): Ditto.
(elf32_arm_final_link_relocate): Ditto.  Remove oabi relocation
handling.
* bfd-in.h (bfd_elf32_arm_process_before_allocation): Update
prototype.
* bfd-in2.h: Regenerate.
ld/
* emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge.

19 years agoChange LOCALEDIR to $(datadir)/share.
Nick Clifton [Tue, 30 Nov 2004 17:20:48 +0000 (17:20 +0000)]
Change LOCALEDIR to $(datadir)/share.

19 years agomerge from gcc
DJ Delorie [Tue, 30 Nov 2004 03:01:37 +0000 (03:01 +0000)]
merge from gcc

19 years ago * elf32-hppa.c (elf32_hppa_grok_prstatus): New function.
Alan Modra [Tue, 30 Nov 2004 00:50:36 +0000 (00:50 +0000)]
* elf32-hppa.c (elf32_hppa_grok_prstatus): New function.
(elf32_hppa_grok_psinfo): New function.
(elf_backend_grok_prstatus): Define.
(elf_backend_grok_psinfo): Define.

19 years agodaily update
Alan Modra [Mon, 29 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Mon, 29 Nov 2004 16:36:50 +0000 (16:36 +0000)]
2004-11-29  Tomer Levi  <Tomer.Levi@nsc.com>

* opcode/crx.h (enum operand_type): Rename rbase_cst4 to rbase_dispu4.
Remove redundant instruction types.
(struct argument): X_op - new field.
(struct cst4_entry): Remove.
(no_op_insn): Declare.

19 years ago2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Mon, 29 Nov 2004 16:34:35 +0000 (16:34 +0000)]
2004-11-29  Tomer Levi  <Tomer.Levi@nsc.com>

* crx-opc.c (crx_optab): Mark all rbase_disps* operands as signed.
(no_op_insn): Initialize array with instructions that have no
operands.
* crx-dis.c (make_instruction): Get rid of COP_BRANCH_INS operand swapping.

19 years ago2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Mon, 29 Nov 2004 16:31:22 +0000 (16:31 +0000)]
2004-11-29  Tomer Levi  <Tomer.Levi@nsc.com>

* gas/crx/br_insn.d: Fix error in expected disassembly.

19 years ago2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Mon, 29 Nov 2004 16:23:10 +0000 (16:23 +0000)]
2004-11-29  Tomer Levi  <Tomer.Levi@nsc.com>

config/tc-crx.c: Major code cleanup. Remove unused variables and functions,
give functions a meaningful name, add comments.
(check_range): New function - Replace operand size calculation
with range checking.
(assemble_insn): Update Algorithm, improve error issuing.
(enum op_err): New - Operand error (for issuing operand error messages).
(process_label_constant): Bug fix regarding COP_BRANCH_INS relocation handling.

19 years ago2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Mon, 29 Nov 2004 16:21:50 +0000 (16:21 +0000)]
2004-11-29  Tomer Levi  <Tomer.Levi@nsc.com>

* config/tc-crx.c: Major code cleanup. Remove unused variables and functions,
give functions a meaningful name, add comments.
(check_range): New function - Replace operand size calculation
with range checking.
(assemble_insn): Update Algorithm, improve error issuing.
(enum op_err): New - Operand error (for issuing operand error messages).
(process_label_constant): Bug fix regarding COP_BRANCH_INS relocation
handling.

19 years agoFixed a pcrel relocte miss between different section in the same module.
Nick Clifton [Mon, 29 Nov 2004 15:09:28 +0000 (15:09 +0000)]
Fixed a pcrel relocte miss between different section in the same module.

19 years ago * cris.cpu: New file.
Hans-Peter Nilsson [Mon, 29 Nov 2004 11:52:11 +0000 (11:52 +0000)]
* cris.cpu: New file.

19 years ago* arm-dis.c: Correct top-level comment.
Richard Earnshaw [Mon, 29 Nov 2004 10:12:57 +0000 (10:12 +0000)]
* arm-dis.c: Correct top-level comment.

19 years agodaily update
Alan Modra [Sun, 28 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Sat, 27 Nov 2004 23:00:45 +0000 (23:00 +0000)]
daily update

19 years agoTweak last entry.
Richard Earnshaw [Sat, 27 Nov 2004 11:18:29 +0000 (11:18 +0000)]
Tweak last entry.

19 years ago* gas/testsuite/arm/thumbv6.d (setend): Remove stray tab at end
Richard Earnshaw [Sat, 27 Nov 2004 11:12:19 +0000 (11:12 +0000)]
* gas/testsuite/arm/thumbv6.d (setend): Remove stray tab at end
of dump pattern.

19 years ago* arm-opc.h (arm_opcode, thumb_opcode): Add extra field for the
Richard Earnshaw [Sat, 27 Nov 2004 11:09:21 +0000 (11:09 +0000)]
* arm-opc.h (arm_opcode, thumb_opcode): Add extra field for the
architecuture defining the insn.
(arm_opcodes, thumb_opcodes): Delete.  Move to ...
* arm-dis.c (arm_opcodes, thumb_opcodes): Here.
Also include opcode/arm.h.
* Makefile.am (arm-dis.lo): Update dependency list.
* Makefile.in: Regenerate.

19 years ago * configure.in (hppa*-*-linux*): Don't add libgcj to noconfigdirs.
Dave Anglin [Fri, 26 Nov 2004 23:57:58 +0000 (23:57 +0000)]
* configure.in (hppa*-*-linux*): Don't add libgcj to noconfigdirs.
(hppa*64*-*-*): Delete incorrect comment.
* configure: Rebuilt.

19 years agodaily update
Alan Modra [Fri, 26 Nov 2004 23:00:09 +0000 (23:00 +0000)]
daily update

19 years agoAdd support for atmega165, atmega325, atmega3250, atmega645 and atmega6450.
Nick Clifton [Fri, 26 Nov 2004 16:23:03 +0000 (16:23 +0000)]
Add support for atmega165, atmega325, atmega3250, atmega645 and atmega6450.

19 years agoAdd support for --subsystem:xbox as well as --subsystem:<number>.
Nick Clifton [Fri, 26 Nov 2004 09:42:04 +0000 (09:42 +0000)]
Add support for --subsystem:xbox as well as --subsystem:<number>.

19 years agodaily update
Alan Modra [Thu, 25 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agoReally fix it.
H.J. Lu [Thu, 25 Nov 2004 20:15:00 +0000 (20:15 +0000)]
Really fix it.

19 years ago2004-11-25 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 25 Nov 2004 20:10:03 +0000 (20:10 +0000)]
2004-11-25  H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/group-1.d: Adjust expected secion ordering.

19 years agogas/
Jan Beulich [Thu, 25 Nov 2004 08:42:54 +0000 (08:42 +0000)]
gas/
2004-11-25 Jan Beulich <jbeulich@novell.com>

* config/tc-i386.c (optimize_imm): Adjust immediates to only those
permissible for the selected instruction suffix.
(process_suffix): For DefaultSize instructions, suppressing the
guessing of a 'q' suffix if the instruction doesn't support it is
pointless, because only an 'l' suffix can be guessed in this place.

gas/testsuite/
2004-11-25 Jan Beulich <jbeulich@novell.com>
* gas/i386/x86-64-inval.[sl]: Remove sahf/lahf.

include/opcode/
2004-11-25 Jan Beulich <jbeulich@novell.com>

* i386.h: CpuNo64 mov can't reasonably have a 'q' suffix. Moves
to/from test registers are illegal in 64-bit mode. Add missing
NoRex64 to sidt. fxsave/fxrstor now allow for a 'q' suffix
(previously one had to explicitly encode a rex64 prefix). Re-enable
lahf/sahf in 64-bit mode as at least some Athlon64/Opteron steppings
support it there. Add cmpxchg16b as per Intel's 64-bit documentation.

19 years ago2004-11-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 25 Nov 2004 02:14:10 +0000 (02:14 +0000)]
2004-11-24  H.J. Lu  <hongjiu.lu@intel.com>

PR 574:
* elfcode.h (elf_slurp_symbol_table): Handle STT_TLS.

19 years ago2004-11-24 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 25 Nov 2004 00:56:00 +0000 (00:56 +0000)]
2004-11-24  Paul Brook  <paul@codesourcery.com>

bfd/
* elf.c (assign_section_numbers): Number SHT_GROUP sections first.
gas/testsuite/
* gas/elf/group0a.d: Adjust expected secion ordering.
* gas/elf/group1a.d: Ditto.
* gas/elf/section4.d: Ditto.

19 years agodaily update
Alan Modra [Wed, 24 Nov 2004 23:00:09 +0000 (23:00 +0000)]
daily update

19 years ago2004-11-24 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 24 Nov 2004 14:44:47 +0000 (14:44 +0000)]
2004-11-24  Paul Brook  <paul@codesourcery.com>

bfd/
* elf32-arm.c (elf32_arm_swap_symbol_in): New function.
(elf32_arm_swap_symbol_out): New function.
(elf32_arm_size_info): Add.
(elf_backend_size_info): Define.
ld/testsuite/
* ld-arm/mixed-lib.sym: Update for THUMB_FUNC change.

19 years agoRemove IQ10 support from IQ2000 port
Nick Clifton [Wed, 24 Nov 2004 13:23:53 +0000 (13:23 +0000)]
Remove IQ10 support from IQ2000 port

19 years ago Add checks for other variants of the sr and st instruction.
Nick Clifton [Wed, 24 Nov 2004 12:03:30 +0000 (12:03 +0000)]
 Add checks for other variants of the sr and st instruction.

19 years ago * ldexp.c (fold_name): Correct PR 338 fix.
Alan Modra [Wed, 24 Nov 2004 11:30:17 +0000 (11:30 +0000)]
* ldexp.c (fold_name): Correct PR 338 fix.

19 years agomerge from gcc
DJ Delorie [Wed, 24 Nov 2004 03:00:34 +0000 (03:00 +0000)]
merge from gcc

19 years agodaily update
Alan Modra [Tue, 23 Nov 2004 23:00:07 +0000 (23:00 +0000)]
daily update

19 years ago* config/tc-mn10300.c (md_relax_table): More fixes to the offsets in this table.
Nick Clifton [Tue, 23 Nov 2004 14:49:12 +0000 (14:49 +0000)]
* config/tc-mn10300.c (md_relax_table): More fixes to the offsets in this table.
  They should be correct now.
* gas/mn10300/relax.s: Add further tests of the relaxing of branch instructions.
* gas/mn10300/relax.d: Add expected relocations.

19 years agogas/
Jan Beulich [Tue, 23 Nov 2004 07:55:12 +0000 (07:55 +0000)]
gas/
2004-11-23 Jan Beulich <jbeulich@novell.com>

* config/tc-i386.h (CpuMMX2): Declare. Artificial classifier to
indicate the MMX extensions added by both SSE and 3DNow!A.
(Cpu3dnowA): Declare.
(CpuUnknownFlags): Update.
* config/tc-i386.c (cpu_sub_arch_name): Declare.
(cpu_arch): i586 and pentium do not imply MMX. i686 and pentiumpro do
neither imply SSE nor MMX. k6 implies MMX. k6_2 additionally implies
3DNow!. Athlon additionally implies 3DNow!A. Several new
entries (those starting with a dot are for sub-arch specification).
(set_cpu_arch): Handle sub-arch specifications.
(parse_insn): Distinguish between instructions not supported because
of insufficient CPU features and because of 64-bit mode.
* doc/c-i386.texi: Describe enhanced .arch directive.

include/opcode/
2004-11-23 Jan Beulich <jbeulich@novell.com>

* i386.h (i386_optab): paddq and psubq, even in their MMX form, are
available only with SSE2. Change the MMX additions introduced by SSE
and 3DNow!A to CpuMMX2 (rather than CpuMMX). Indicate the 3DNow!A
instructions by their now designated identifier (since combining i686
and 3DNow! does not really imply 3DNow!A).

19 years agodaily update
Alan Modra [Mon, 22 Nov 2004 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago * config/tc-xtensa.c (xg_add_opcode_fix): Set fx_no_overflow.
Bob Wilson [Mon, 22 Nov 2004 19:13:04 +0000 (19:13 +0000)]
    * config/tc-xtensa.c (xg_add_opcode_fix): Set fx_no_overflow.

19 years ago* opcode/arc-opc.c (insert_base): Modify ls_operand[LS_OFFSET] to reflect the
Nick Clifton [Mon, 22 Nov 2004 17:44:03 +0000 (17:44 +0000)]
* opcode/arc-opc.c (insert_base): Modify ls_operand[LS_OFFSET] to reflect the
  change to the short immediate syntax.
* gas/arc/ld.s: Add check of load of a long immediate.
* gas/arc/ld.d: Add expected disassembly.

19 years ago * dwarf2dbg.c (dwarf2_finish): Don't write a .debug_line section
Bob Wilson [Mon, 22 Nov 2004 16:29:33 +0000 (16:29 +0000)]
    * dwarf2dbg.c (dwarf2_finish): Don't write a .debug_line section
        without a corresponding .debug_info section.

19 years ago * read.c (potable): Add "error" and "warning".
Hans-Peter Nilsson [Mon, 22 Nov 2004 13:05:27 +0000 (13:05 +0000)]
* read.c (potable): Add "error" and "warning".
(s_errwarn): New function.
* read.h (s_errwarn): Declare.
* doc/as.texinfo (Error, Warning): Document .error and .warning.

19 years ago * gas/all/gas.exp: Run dg-runtest for all err-*.s and warn-*.s.
Hans-Peter Nilsson [Mon, 22 Nov 2004 13:00:24 +0000 (13:00 +0000)]
* gas/all/gas.exp: Run dg-runtest for all err-*.s and warn-*.s.
* gas/all/err-1.s, gas/all/warn-1.s: New tests.

19 years ago(tic54x_adjust_symtab): Adjust call to c_dot_file_symbol.
Nick Clifton [Mon, 22 Nov 2004 10:02:27 +0000 (10:02 +0000)]
(tic54x_adjust_symtab): Adjust call to c_dot_file_symbol.

19 years agodaily update
Alan Modra [Sun, 21 Nov 2004 23:00:07 +0000 (23:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Sat, 20 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * hpux-core.c (hpux_core_core_file_p): Use offsetof macro in calls to
Dave Anglin [Sat, 20 Nov 2004 16:54:15 +0000 (16:54 +0000)]
* hpux-core.c (hpux_core_core_file_p): Use offsetof macro in calls to
make_bfd_asection.

19 years agomerge from gcc
DJ Delorie [Sat, 20 Nov 2004 03:00:47 +0000 (03:00 +0000)]
merge from gcc

19 years agodaily update
Alan Modra [Fri, 19 Nov 2004 23:00:08 +0000 (23:00 +0000)]
daily update

19 years ago * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o.
Mark Mitchell [Fri, 19 Nov 2004 19:28:40 +0000 (19:28 +0000)]
* Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o.
(earmelf_linux_eabi.c): New target.
* configure.tgt (arm*-*-linux-gnueabi): Handle it.
* emulparams/armelf_linux_eabi.sh: New file.
* Makefile.in: Regenerated.

19 years ago * or32-opc.c (debug): Warning fix.
Alan Modra [Fri, 19 Nov 2004 12:38:56 +0000 (12:38 +0000)]
* or32-opc.c (debug): Warning fix.
* po/POTFILES.in: Regenerate.

19 years ago * maxq-dis.c: Formatting.
Alan Modra [Fri, 19 Nov 2004 12:34:13 +0000 (12:34 +0000)]
* maxq-dis.c: Formatting.
(print_insn): Warning fix.

19 years agoinclude/opcode/
Alan Modra [Fri, 19 Nov 2004 12:28:03 +0000 (12:28 +0000)]
include/opcode/
* msp430.h (struct rcodes_s, MSP430_RLC, msp430_rcodes,
struct hcodes_s, msp430_hcodes): Move to gas/config/tc-msp430.c.
gas/
* config/tc-msp430.c (struct rcodes_s, MSP430_RLC, msp430_rcodes,
struct hcodes_s, msp430_hcodes): From include/opcode/msp430.h.

19 years ago * config/obj-coff.c (c_dot_file_symbol): Add "app" param.
Alan Modra [Fri, 19 Nov 2004 12:20:25 +0000 (12:20 +0000)]
* config/obj-coff.c (c_dot_file_symbol): Add "app" param.
(coff_adjust_symtab): Adjust call.
(crawl_symbols): Likewise.
* config/obj-coff.h (c_dot_file_symbol): Add "app" param.
(obj_app_file): Adjust.

19 years ago * elf32-arm.c (elf32_arm_finish_dynamic_sections): Warning fix.
Alan Modra [Fri, 19 Nov 2004 11:58:02 +0000 (11:58 +0000)]
* elf32-arm.c (elf32_arm_finish_dynamic_sections): Warning fix.
* elf32-iq2000.c (iq2000_reloc_type_lookup): C90 function decl.
* nlmcode.h (nlm_write_object_contents): Warning fix.

19 years agoPR 518
Nick Clifton [Fri, 19 Nov 2004 09:38:04 +0000 (09:38 +0000)]
PR 518
Update the descriptions of the ORIGIN and LENGTH fields in the MEMORY command,
to explicitly state that symbols cannot be used in their expressions.

19 years agoAdd ORIGIN and LENGTH linker script operators.
Nick Clifton [Fri, 19 Nov 2004 09:31:55 +0000 (09:31 +0000)]
Add ORIGIN and LENGTH linker script operators.

19 years ago * elf32-xtensa.c (ebb_propose_action): Fix argument order.
Bob Wilson [Fri, 19 Nov 2004 00:28:58 +0000 (00:28 +0000)]
* elf32-xtensa.c (ebb_propose_action): Fix argument order.

19 years agodaily update
Alan Modra [Thu, 18 Nov 2004 23:00:06 +0000 (23:00 +0000)]
daily update

19 years agoEnable bfd_assembler by default for the MAXQ port.
Nick Clifton [Thu, 18 Nov 2004 16:20:11 +0000 (16:20 +0000)]
Enable bfd_assembler by default for the MAXQ port.
Adjust the testsuite expected disassemblies to take this into account.

19 years agodaily update
Alan Modra [Wed, 17 Nov 2004 23:00:07 +0000 (23:00 +0000)]
daily update

19 years agobfd/
Daniel Jacobowitz [Wed, 17 Nov 2004 17:50:28 +0000 (17:50 +0000)]
bfd/
* elf32-arm.c (PLT_THUMB_STUB_SIZE): Define.
(elf32_arm_plt_thumb_stub): New.
(struct elf32_arm_link_hash_entry): Add plt_thumb_refcount
and plt_got_offset.
(elf32_arm_link_hash_traverse): Fix typo.
(elf32_arm_link_hash_table): Add obfd.
(elf32_arm_link_hash_newfunc): Initialize new fields.
(elf32_arm_copy_indirect_symbol): Copy plt_thumb_refcount.
(elf32_arm_link_hash_table_create): Initialize obfd.
(record_arm_to_thumb_glue): Mark the glue as a local ARM function.
(record_thumb_to_arm_glue): Mark the glue as a local Thumb function.
(bfd_elf32_arm_get_bfd_for_interworking): Verify that the
interworking BFD is not dynamic.
(bfd_elf32_arm_process_before_allocation): Handle R_ARM_PLT32.  Do
not emit glue for PLT references.
(elf32_arm_final_link_relocate): Handle Thumb functions.  Do not
emit glue for PLT references.  Support the Thumb PLT prefix.
(elf32_arm_gc_sweep_hook): Handle R_ARM_THM_PC22 and
plt_thumb_refcount.
(elf32_arm_check_relocs): Likewise.
(elf32_arm_adjust_dynamic_symbol): Handle Thumb functions and
plt_thumb_refcount.
(allocate_dynrelocs): Handle Thumb PLT references.
(elf32_arm_finish_dynamic_symbol): Likewise.
(elf32_arm_symbol_processing): New function.
(elf_backend_symbol_processing): Define.
opcodes/
* arm-dis.c (WORD_ADDRESS): Define.
(print_insn): Use it.  Correct big-endian end-of-section handling.
gas/testsuite/
* gas/arm/mapping.d: Expect F markers for Thumb code.
* gas/arm/unwind.d: Update big-endian pattern.
ld/
* emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use
a dynamic object for stubs.
ld/testsuite/
* ld-arm/mixed-app.d, ld-arm/mixed-app.r, ld-arm/mixed-app.s,
ld-arm/mixed-app.sym, ld-arm/mixed-lib.d, ld-arm/mixed-lib.r,
ld-arm/mixed-lib.s, ld-arm/mixed-lib.sym, ld-arm/arm-dyn.ld,
ld-arm/arm-lib.ld: New files.
* ld-arm/arm-app-abs32.d, ld-arm/arm-app-abs32.r, ld-arm/arm-app.d,
ld-arm/arm-app.r, ld-arm/arm-lib-plt32.d, ld-arm/arm-lib-plt32.r,
ld-arm/arm-lib.d, ld-arm/arm-lib.r, ld-arm/arm-static-app.d,
ld-arm/arm-static-app.r: Update for big-endian.
* ld-arm/arm-elf.exp: Run the new tests.

19 years agoRun the relax test.
Nick Clifton [Wed, 17 Nov 2004 15:31:46 +0000 (15:31 +0000)]
Run the relax test.

19 years agodaily update
Alan Modra [Tue, 16 Nov 2004 23:00:07 +0000 (23:00 +0000)]
daily update

19 years ago * elf-bfd.h (eh_cie_fde): Add new fields: add_augmentation_size and
Richard Sandiford [Tue, 16 Nov 2004 10:16:30 +0000 (10:16 +0000)]
* elf-bfd.h (eh_cie_fde): Add new fields: add_augmentation_size and
add_fde_encoding.  Remove need_relative.
* elf-eh-frame.c (extra_augmentation_string_bytes)
(extra_augmentation_data_bytes, size_of_output_cie_fde): New functions.
(_bfd_elf_discard_section_eh_frame): Consider changing the FDE encoding
in cases where the CIE has no existing 'R' augmentation.  Use
size_of_output_cie_fde when assigning offsets.  Use the final offset
as the new section size.
(_bfd_elf_eh_frame_section_offset): Remove need_relative handling.
Account for any extra augmentation bytes in the returned offset.
(_bfd_elf_write_section_eh_frame): Rework so that the entries are
moved before being modified.  Pad growing entries with DW_CFA_nops.
Add 'z' and 'R' augmentations as directed by add_augmentation_size
and add_fde_encoding.

19 years ago * elf32-arm.c (elf32_arm_relocate_section): Use
Mark Mitchell [Tue, 16 Nov 2004 10:08:00 +0000 (10:08 +0000)]
* elf32-arm.c (elf32_arm_relocate_section): Use
arm_real_reloc_type.

19 years ago * elfxx-mips.c (mips_elf_create_dynamic_relocation): Return early
Richard Sandiford [Tue, 16 Nov 2004 09:54:10 +0000 (09:54 +0000)]
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Return early
for discard relocations; don't add an R_MIPS_NONE to the main body
of .rel.dyn.

19 years ago2004-11-15 Kelley Cook <kcook@gcc.gnu.org>
DJ Delorie [Tue, 16 Nov 2004 01:18:39 +0000 (01:18 +0000)]
2004-11-15  Kelley Cook  <kcook@gcc.gnu.org>
* install-sh, compile: Import from automake.
* config.guess, config.sub:  Import from savannnah.

19 years agobfd/
Paul Brook [Mon, 15 Nov 2004 23:21:27 +0000 (23:21 +0000)]
bfd/
* elf-bfd.h (_bfd_elf_slurp_version_tables): Update prototype.
* elf.c (_bfd_elf_print_private_bfd_data): Pass extra argument.
(_bfd_elf_slurp_version_tables): Add extra argument.  Create extra
default version definition for unversioned symbols.
* elfcode.h (elf_slurp_symbol_table): Pass extra argument.
* elflink.c (elf_link_add_object_symbols): Pass extra argument to
_bfd_elf_slurp_version_tables.  Set default version for unversioned
imported symbols.
include/
* bfdlink.h (bfd_link_info): Add default_imported_symver.
ld/
* ld.texinfo: Document --default-imported-symver.
* ldmain.c (main): Set link_info.default_imported_symver.
* lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER.
(ld_options): Add --default-imported-symver.
(parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER.

19 years agodaily update
Alan Modra [Mon, 15 Nov 2004 23:00:07 +0000 (23:00 +0000)]
daily update

19 years agoAdded quotes around macro arguments so that they will work with newer versions
Nick Clifton [Mon, 15 Nov 2004 14:30:12 +0000 (14:30 +0000)]
Added quotes around macro arguments so that they will work with newer versions
 of guile.

19 years ago * elflink.c (elf_link_add_object_symbols): Don't assume version
Paul Brook [Mon, 15 Nov 2004 12:39:01 +0000 (12:39 +0000)]
* elflink.c (elf_link_add_object_symbols): Don't assume version
indices are consecutive.

19 years ago * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Deal with
Richard Sandiford [Mon, 15 Nov 2004 09:09:13 +0000 (09:09 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Deal with
composite relocations against the personality data.

19 years agodaily update
Alan Modra [Sun, 14 Nov 2004 23:00:04 +0000 (23:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Sat, 13 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agomerge from gcc
DJ Delorie [Sat, 13 Nov 2004 18:03:59 +0000 (18:03 +0000)]
merge from gcc

19 years ago * Makefile.def: Add html support.
Mike Stump [Sat, 13 Nov 2004 17:42:50 +0000 (17:42 +0000)]
    * Makefile.def: Add html support.
        * Makefile.tpl: Likewise.
        * Makefile.in: Regenerate.

19 years agomerge from gcc
DJ Delorie [Sat, 13 Nov 2004 15:48:36 +0000 (15:48 +0000)]
merge from gcc