OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
17 years ago2007-03-14 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 14 Mar 2007 21:12:13 +0000 (21:12 +0000)]
2007-03-14  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (T16_32_TAB): Fix dec_sp encoding.

gas/testsuite/
* gas/arm/thumb2_add.d: Add tests using sp.
* gas/arm/thumb2_add.s: Ditto.

17 years ago * gas/all/gas.exp: Run relax.
H.J. Lu [Wed, 14 Mar 2007 13:39:54 +0000 (13:39 +0000)]
* gas/all/gas.exp: Run relax.

17 years ago PR 4029
Alan Modra [Wed, 14 Mar 2007 11:04:12 +0000 (11:04 +0000)]
PR 4029
* gas/all/relax.s: New.
* gas/all/relax.d: New.
* gas/all/gas.exp: Run it.

17 years ago PR 4029
Alan Modra [Wed, 14 Mar 2007 11:03:38 +0000 (11:03 +0000)]
PR 4029
* write.c (relax_segment): Insert extra alignment padding
to break infinite relax loop when given impossible
gcc_except_table assembly.

17 years ago2007-03-13 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 14 Mar 2007 03:26:06 +0000 (03:26 +0000)]
2007-03-13  H.J. Lu  <hongjiu.lu@intel.com>

* i386.h (FloatDR): Removed.
(i386_optab): Use FloatD and FloatD|FloatR instead of FloatDR.

17 years ago2007-03-13 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 14 Mar 2007 02:56:45 +0000 (02:56 +0000)]
2007-03-13  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/3826
* elf-bfd.h (elf_backend_data): Add elf_osabi.
(_bfd_elf_set_osabi): New.

* elf.c (_bfd_elf_set_osabi): New.

* elf32-hppa.c (elf32_hppa_post_process_headers): Removed.
(elf_backend_post_process_headers): Defined with
_bfd_elf_set_osabi.
(ELF_OSABI): Properly defined for each target.

* elf32-i370.c (i370_elf_post_process_headers): Removed.
(ELF_OSABI): Defined.
(elf_backend_post_process_headers): Defined with
_bfd_elf_set_osabi.

* elf32-i386.c (ELF_OSABI): Defined to ELFOSABI_FREEBSD for
freebsd.
(elf_i386_post_process_headers): Set EI_OSABI with elf_osabi.

* elf32-msp430.c (elf32_msp430_post_process_headers): Removed.
(ELF_OSABI): Defined.
(elf_backend_post_process_headers): Defined with
_bfd_elf_set_osabi.

* elf64-alpha.c (ELF_OSABI): Defined to ELFOSABI_FREEBSD for
freebsd.
(elf64_alpha_fbsd_post_process_headers): Set EI_OSABI with
elf_osabi.

* elf64-hppa.c (elf64_hppa_post_process_headers): Set EI_OSABI
with elf_osabi.
(ELF_OSABI): Properly defined for each target.
(elf_backend_post_process_headers): Defined with
_bfd_elf_set_osabi for Linux.

* elf64-sparc.c (elf64_sparc_fbsd_post_process_headers): Removed.
(ELF_OSABI): Defined to ELFOSABI_FREEBSD for freebsd.
(elf_backend_post_process_headers): Defined with
_bfd_elf_set_osabi.

* elf64-x86-64.c (elf64_x86_64_fbsd_post_process_headers): Removed.
(ELF_OSABI): Defined to ELFOSABI_FREEBSD for freebsd.
(elf_backend_post_process_headers): Defined with
_bfd_elf_set_osabi.

* elfcode.h (elf_object_p): Match the ELFOSABI_NONE ELF target
with any ELF target of the compatible machine for which we do not
have a specific backend.

* elfxx-ia64.c (elfNN_hpux_post_process_headers): Set EI_OSABI
with elf_osabi.

* elfxx-target.h (ELF_OSABI): Default to ELFOSABI_NONE.
(elfNN_bed): Initialize elf_osabi with ELF_OSABI.

17 years agodaily update
Alan Modra [Tue, 13 Mar 2007 23:00:37 +0000 (23:00 +0000)]
daily update

17 years ago* readelf.c (dump_section): Also test for SHT_REL sections when producing
Nick Clifton [Tue, 13 Mar 2007 17:17:15 +0000 (17:17 +0000)]
* readelf.c (dump_section): Also test for SHT_REL sections when producing
  the warning about unapplied relocs.

17 years agodaily update
Alan Modra [Mon, 12 Mar 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago2007-03-12 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 12 Mar 2007 21:36:23 +0000 (21:36 +0000)]
2007-03-12  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (md_assemble): Use Opcode_XXX instead of XXX
on i.tm.base_opcode.
(match_template): Likewise.
(process_operands): Use ~0x3 mask to match MOV_AX_DISP32.

* config/tc-i386.h (Opcode_D): New.
(Opcode_FloatR): Likewise.
(Opcode_FloatD): Likewise.
(D): Redefined.
(W): Likewise.
(FloatMF): Likewise.
(FloatR): Likewise.
(FloatD): Likewise.

17 years ago2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
DJ Delorie [Mon, 12 Mar 2007 20:19:44 +0000 (20:19 +0000)]
2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
* Makefile.def (fixincludes): Remove unneeded "missing" lines.
* Makefile.in: Regenerate

17 years agodaily update
Alan Modra [Sun, 11 Mar 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago * emultempl/mmixelf.em: Remove incorrect '#line' directive.
Hans-Peter Nilsson [Sun, 11 Mar 2007 11:48:27 +0000 (11:48 +0000)]
* emultempl/mmixelf.em: Remove incorrect '#line' directive.

17 years ago * gas/mmix/comment-1.d, gas/mmix/bspec-1.d, gas/mmix/bspec-2.d:
Hans-Peter Nilsson [Sun, 11 Mar 2007 11:22:52 +0000 (11:22 +0000)]
* gas/mmix/comment-1.d, gas/mmix/bspec-1.d, gas/mmix/bspec-2.d:
Adjust for change in readelf output.

17 years agodaily update
Alan Modra [Sat, 10 Mar 2007 23:00:09 +0000 (23:00 +0000)]
daily update

17 years ago* app.c (do_scrub_chars): Recognize comments after # line "file".
Alexandre Oliva [Fri, 9 Mar 2007 23:25:59 +0000 (23:25 +0000)]
* app.c (do_scrub_chars): Recognize comments after # line "file".
* read.c (get_linefile_number): New.
(s_app_line): Accept ill-formed .linefile lines as comments.

17 years ago2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 9 Mar 2007 23:22:31 +0000 (23:22 +0000)]
2007-03-09  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (OP_Rd): Renamed to ...
(OP_R): This.
(Rd): Updated.
(Rm): Likewise.

17 years agodaily update
Alan Modra [Fri, 9 Mar 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago * config/tc-i386.h (WORKING_DOT_WORD): Define.
Alan Modra [Fri, 9 Mar 2007 12:35:37 +0000 (12:35 +0000)]
* config/tc-i386.h (WORKING_DOT_WORD): Define.

17 years ago* app.c (do_scrub_chars): Turn #<line>"file"flags into .linefile.
Alexandre Oliva [Fri, 9 Mar 2007 07:14:23 +0000 (07:14 +0000)]
* app.c (do_scrub_chars): Turn #<line>"file"flags into .linefile.
* as.h (new_logical_line_flags): New.
* input-scrub.c (new_logical_line): Turned into wrapper for...
(new_logical_line_flags): this.  Handle flags.
* read.c (potable): Add linefile.  Adjust appline argument.
(s_app_file): Fake .appfiles no more.
(s_app_line): For .linefile, accept file name and flags.

17 years agodaily update
Alan Modra [Thu, 8 Mar 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years agold/testsuite/
Richard Sandiford [Thu, 8 Mar 2007 17:54:29 +0000 (17:54 +0000)]
ld/testsuite/
* ld-elf/extract-symbol-1.ld (data): Explicitly set the start address
to 0.

17 years agoduh. commit correct version of patch.
Alan Modra [Thu, 8 Mar 2007 11:38:58 +0000 (11:38 +0000)]
duh. commit correct version of patch.

17 years agoinclude/elf/
Alan Modra [Thu, 8 Mar 2007 11:28:35 +0000 (11:28 +0000)]
include/elf/
* v850.h (V850_OTHER_TDA_BYTE): Delete.
(V850_OTHER_SDA, V850_OTHER_ZDA, V850_OTHER_TDA): Assign bits
that don't clash with visibility bits.
bfd/
* elf32-v850.c (v850_elf_link_output_symbol_hook): Clean out
V850_OTHER_* bits.

17 years agoRegenerate.
Alan Modra [Thu, 8 Mar 2007 11:14:20 +0000 (11:14 +0000)]
Regenerate.

17 years ago * symbols.c (symbol_relc_make_sym): Comment typo fixes.
Alan Modra [Thu, 8 Mar 2007 06:59:25 +0000 (06:59 +0000)]
* symbols.c (symbol_relc_make_sym): Comment typo fixes.

17 years ago * m32r.opc: Formatting.
Alan Modra [Thu, 8 Mar 2007 06:56:20 +0000 (06:56 +0000)]
* m32r.opc: Formatting.

17 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Thu, 8 Mar 2007 05:36:12 +0000 (05:36 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

17 years agoregenerate
Alan Modra [Thu, 8 Mar 2007 05:35:31 +0000 (05:35 +0000)]
regenerate

17 years ago * Makefile.am (BFD64_BACKENDS): Add efi-app-x86_64.lo.
Alan Modra [Thu, 8 Mar 2007 05:35:01 +0000 (05:35 +0000)]
* Makefile.am (BFD64_BACKENDS): Add efi-app-x86_64.lo.
(BFD64_BACKENDS_CFILES): Add efi-app-x86_64.c.
Run "make dep-am".
* Makefile.in: Regenerate.
* po/SRC-POTFILES.in: Regenerate.

17 years ago * ldlang.c (lang_size_sections_1): Correct backwards dot move
Alan Modra [Thu, 8 Mar 2007 04:38:45 +0000 (04:38 +0000)]
* ldlang.c (lang_size_sections_1): Correct backwards dot move
test to not trigger on overlays.  Only warn on backwards move
if non-default lma.

17 years agodaily update
Alan Modra [Wed, 7 Mar 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years agobinutils:
Joseph Myers [Wed, 7 Mar 2007 22:50:01 +0000 (22:50 +0000)]
binutils:
* configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
bug-reporting URL.
* doc/Makefile.am (config.texi): Define BUGURL.
* doc/binutils.texi: Use BUGURL.  Remove text about large files
and uuencoding.
* Makefile.in, configure, doc/Makefile.in: Regenerate.

gas:
* configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
bug-reporting URL.
* doc/Makefile.am (gasver.texi): Define BUGURL.
* doc/as.texinfo: Use BUGURL.
* Makefile.in, configure, doc/Makefile.in: Regenerate.

ld:
* configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
bug-reporting URL.
* Makefile.am (ldver.texi): Define BUGURL.
* ld.texinfo: Use BUGURL.
* Makefile.in, configure: Regenerate.

17 years ago2007-03-07 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 7 Mar 2007 21:35:28 +0000 (21:35 +0000)]
2007-03-07  H.J. Lu  <hongjiu.lu@intel.com>

* config.bfd (x86_64-*-freebsd*): Add bfd_efi_app_x86_64_vec.
(x86_64-*-kfreebsd*-gnu): Likewise.
(x86_64-*-netbsd*): Likewise.
(x86_64-*-openbsd*): Likewise.
(x86_64-*-linux-*): Likewise.

* configure.in: Support bfd_efi_app_x86_64_vec.
* configure: Regenerated.

* efi-app-x86_64.c: New file.

* targets.c (bfd_efi_app_x86_64_vec): New.
(_bfd_target_vector): Add bfd_efi_app_x86_64_vec.

17 years ago2007-03-07 Kai Tietz <kai.tietz@onevision.com>
H.J. Lu [Wed, 7 Mar 2007 14:40:33 +0000 (14:40 +0000)]
2007-03-07  Kai Tietz   <kai.tietz@onevision.com>

* reloc.c (bfd_generic_get_relocated_section_contents): Remove
const for type reloc_howto_type.

17 years ago * configure: Regenerate.
Andreas Schwab [Wed, 7 Mar 2007 14:02:20 +0000 (14:02 +0000)]
* configure: Regenerate.

config/:
* acx.m4 (GCC_TARGET_TOOL): Expand backquotes outside
AC_MSG_RESULT.

17 years agoxfail hppa
Alan Modra [Wed, 7 Mar 2007 10:25:11 +0000 (10:25 +0000)]
xfail hppa

17 years ago * common.h (ELF_ST_VISIBILITY): Comment typo fix.
Alan Modra [Wed, 7 Mar 2007 10:18:56 +0000 (10:18 +0000)]
* common.h (ELF_ST_VISIBILITY): Comment typo fix.

17 years ago PR 3958
Alan Modra [Wed, 7 Mar 2007 08:54:35 +0000 (08:54 +0000)]
PR 3958
bfd/
* elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): No error on relocatable link.
(elf_discarded_section): Move..
* bfd-in.h: ..to here.
* bfd-in2.h: Regenerate.
* elflink.c (elf_link_input_bfd): Don't zap relocs against symbols
from discarded sections before relocate_section has done its job.
* reloc.c (bfd_generic_get_relocated_section_contents): Handle
relocs against symbols from discarded sections.
* elf-hppa.h (elf_hppa_howto_table): Set size.  Set dst_mask on
SECREL32.
(elf_hppa_relocate_section): Handle relocatable link after setting
sec, sym, h etc. for final link.  Squash error messages for
relocatable link.  Clear section contents for relocs against
symbols in discarded sections, and zero reloc.  Remove existing
zero r_symndx code.
* elf-m10200.c (mn10200_elf_relocate_section): Likewise.
* elf-m10300.c (mn10300_elf_relocate_section): Likewise.
* elf32-arm.c (elf32_arm_relocate_section): Likewise.
* elf32-avr.c (elf32_avr_relocate_section): Likewise.
* elf32-bfin.c (bfinfdpic_relocate_section): Likewise.
(bfin_relocate_section): Likewise.
* elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise.
* elf32-cris.c (cris_elf_relocate_section): Likewise.
* elf32-crx.c (elf32_crx_relocate_section): Likewise.
* elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
* elf32-fr30.c (fr30_elf_relocate_section): Likewise.
* elf32-frv.c (elf32_frv_relocate_section): Likewise.
* elf32-h8300.c (elf32_h8_relocate_section): Likewise.
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-i386.c (elf_i386_relocate_section): Likewise.
* elf32-i860.c (elf32_i860_relocate_section): Likewise.
* elf32-ip2k.c (ip2k_elf_relocate_section): Likewise.
* elf32-iq2000.c (iq2000_elf_relocate_section): Likewise.
* elf32-m32c.c (m32c_elf_relocate_section): Likewise.
* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
* elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mcore.c (mcore_elf_relocate_section): Likewise.
* elf32-mep.c (mep_elf_relocate_section): Likewise.
* elf32-msp430.c (elf32_msp430_relocate_section): Likewise.
* elf32-mt.c (mt_elf_relocate_section): Likewise.
* elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-score.c (_bfd_score_elf_relocate_section): Likewise.
* elf32-sh.c (sh_elf_relocate_section): Likewise.
* elf32-spu.c (spu_elf_relocate_section): Likewise.
* elf32-v850.c (v850_elf_relocate_section): Likewise.
* elf32-vax.c (elf_vax_relocate_section): Likewise.
* elf32-xc16x.c (elf32_xc16x_relocate_section): Likewise.
* elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise.
* elf32-xtensa.c (elf_xtensa_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section_r): Likewise.
(elf64_alpha_relocate_section): Likewise.
* elf64-mmix.c (mmix_elf_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-sh64.c (sh_elf64_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
* elfxx-mips.c (_bfd_mips_elf_relocate_section): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise.

* elf32-arm.c (elf32_arm_relocate_section): Always adjust section
symbols for relocatable link.  Don't use always-zero st_value.
(elf_backend_rela_normal): Don't define.
* elf32-bfin.c (bfinfdpic_relocate_section): Use
RELOC_FOR_GLOBAL_SYMBOL.
* elf32-frv.c (elf32_frv_relocate_section): Likewise.
* elf32-d10v.c (elf32_d10v_relocate_section): Combine SEC_MERGE
section symbol adjustments with same for relocatable link.
* elf32-i386.c (elf_i386_relocate_section): Likewise.
* elf32-m68hc1x.c (m68hc11_get_relocation_value): Move..
(elf32_m68hc11_check_relocs): ..to here.
* elf32-score.c (score_elf_final_link_relocate): Remove zero
r_symndx code.
* elfxx-mips.c (mips_elf_calculate_relocation): Likewise.

ld/testsuite/
* ld-elf/linkonce1.d: New.
* ld-elf/linkonce1a.s: New.
* ld-elf/linkonce1b.s: New.
* ld-elf/linkonce2.d: New.
* ld-i386/pcrel16abs.d: New.
* ld-i386/pcrel16abs.s: New.
* ld-i386/i386.exp: Run it.

17 years agoPR ld/4023
Nick Clifton [Wed, 7 Mar 2007 07:52:09 +0000 (07:52 +0000)]
PR ld/4023
* emultempl/aix.em (..._before_allocation): Strip sysroot prefix
  from any paths being inserted into the output binary's DT_RPATH.

17 years ago2007-03-06 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 7 Mar 2007 03:58:44 +0000 (03:58 +0000)]
2007-03-06  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4144
* ld-elf/nobits-1.d: New file.
* ld-elf/nobits-1.s: Likewise.
* ld-elf/nobits-1.t: Likewise.

17 years ago PR 4144
Alan Modra [Wed, 7 Mar 2007 02:14:40 +0000 (02:14 +0000)]
PR 4144
* elf.c (assign_file_positions_for_load_sections): Don't
adjust p_memsz for !SEC_LOAD section vma modulo page size.
Instead, use the same lma based adjustment for SEC_LOAD
sections.

17 years agodaily update
Alan Modra [Tue, 6 Mar 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years agomerge from gcc
DJ Delorie [Tue, 6 Mar 2007 19:00:57 +0000 (19:00 +0000)]
merge from gcc

17 years ago2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
Martin Schwidefsky [Tue, 6 Mar 2007 13:19:08 +0000 (13:19 +0000)]
2007-03-06  Andreas Krebbel  <krebbel1@de.ibm.com>

* opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
instruction formats added.
(MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
masks added.
* opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
instructions added.
* opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
(main): z9-ec cpu type option added.
* include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.

2007-03-06  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/tc-s390.c (md_parse_option): z9-ec option added.

2007-03-06  Andreas Krebbel  <krebbel1@de.ibm.com>

* gas/s390/zarch-z9-ec.d: New file.
* gas/s390/zarch-z9-ec.s: New file.
* gas/s390/s390.exp: Run the z9-ec testcases.

17 years ago2007-03-05 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 6 Mar 2007 02:08:25 +0000 (02:08 +0000)]
2007-03-05  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/3918
* lib/gas-defs.exp (gas_started): New variable. Initialized to
0.
(gas_start): Set gas_started to 1.
(gas_finish): Skip if gas_started is 0.  Reset gas_started to 0.

17 years agoMerge from gcc:
DJ Delorie [Mon, 5 Mar 2007 23:19:10 +0000 (23:19 +0000)]
Merge from gcc:

+2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
+
+ * configure.ac: Add "--with-pdfdir" configure option,
+ which defines pdfdir variable.
+ * Makefile.def (target=fixincludes): Add install-pdf to
+ missing targets.
+ (recursive_targets): Add install-pdf target.
+ (flags_to_pass): Add pdfdir.
+ * Makefile.tpl: Add pdfdir handling, add do-install-pdf
+ target.
+ * configure: Regenerate
+ * Makefile.in: Regenerate
+
+2007-02-28  Eric Christopher  <echristo@apple.com>
+
+ Revert:
+ 2006-12-07  Mike Stump  <mrs@apple.com>
+
+ * Makefile.def (dependencies): Add dependency for
+ install-target-libssp and install-target-libgomp on
+ install-gcc.
+ * Makefile.in: Regenerate.
+
+2007-02-27  Matt Kraai  <kraai@ftbfs.org>
+
+ * configure: Regenerate.
+ * configure.ac: Move statements after variable declarations.
+

17 years agodaily update
Alan Modra [Mon, 5 Mar 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years agomerge from gcc
DJ Delorie [Mon, 5 Mar 2007 22:15:41 +0000 (22:15 +0000)]
merge from gcc

17 years agodaily update
Alan Modra [Sun, 4 Mar 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years agodaily update
Alan Modra [Sat, 3 Mar 2007 23:00:05 +0000 (23:00 +0000)]
daily update

17 years agodaily update
Alan Modra [Fri, 2 Mar 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
Nathan Sidwell [Fri, 2 Mar 2007 21:02:48 +0000 (21:02 +0000)]
* emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.

17 years ago2007-03-02 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 2 Mar 2007 18:22:59 +0000 (18:22 +0000)]
2007-03-02  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (relax_immediate): Always return positive values.
(relaxed_symbol_addr): New function.
(relax_adr, relax_branch): Use it.
(arm_relax_frag): Pass strect argument.  Adjust infinite loop check.

gas/testsuite/
* gas/arm/relax_branch_align.d: New test.
* gas/arm/relax_branch_align.s: New test.

17 years ago2007-03-02 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 2 Mar 2007 18:22:34 +0000 (18:22 +0000)]
2007-03-02  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (relax_immediate): Always return positive values.
(relaxed_symbol_addr): New function.
(relax_adr, relax_branch): Use it.
(arm_relax_frag): Pass stretch argument.  Adjust infinite loop check.

gas/testsuite/
* gas/arm/relax_branch_align.d: New test.
* gas/arm/relax_branch_align.s: New test.

17 years agold/testsuite/
Richard Sandiford [Fri, 2 Mar 2007 09:20:13 +0000 (09:20 +0000)]
ld/testsuite/
* ld-elf/binutils.exp: Revert last change.

17 years ago * elf32-xtensa.c (analyze_relocations): Zero src_count if not relaxing.
Bob Wilson [Thu, 1 Mar 2007 23:38:03 +0000 (23:38 +0000)]
* elf32-xtensa.c (analyze_relocations): Zero src_count if not relaxing.
(find_relaxable_sections): Do not increment src_count for unknown
opcodes.  Decode only once instead of calling is_l32r_relocation.
(compute_text_actions): Remove unused no_insn_move flag.  Assert that
src_next matches src_count in relax_info.

17 years agodaily update
Alan Modra [Thu, 1 Mar 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years agobinutils/
Richard Sandiford [Thu, 1 Mar 2007 16:39:42 +0000 (16:39 +0000)]
binutils/
200x-xx-xx  Phil Edwards  <phil@codesourcery.com>
    Richard Sandiford  <richard@codesourcery.com>

* NEWS: Mention addition of --extract-symbol.
* doc/binutils.texi: Document it.
* objcopy.c (extract_symbol): New variable.
(OPTION_EXTRACT_SYMBOLS): New command_line_switch.
(copy_options): Add an entry for --extract-symbol.
(copy_usage): Mention --extract-symbol.
(copy_object): Set the start address to zero for --extract-symbol.
Do not copy private BFD data in that case.
(setup_section): Set the size, LMA and VMA to zero for
--extract-symbol.  Do not copy private BFD data in that case.
(copy_section): Do not copy section contents if --extract-symbol
is passed.
(copy_main): Set extract_symbol to TRUE if --extract-symbol
is passed.

ld/testsuite/
* ld-elf/extract-symbol-1sym.d, ld-elf/extract-symbol-1sec.d,
* ld-elf/extract-symbol-1.s, ld-elf/extract-symbol-1.ld: New tests.
* ld-elf/binutils.exp: Run them.

17 years ago2007-03-01 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 1 Mar 2007 16:06:28 +0000 (16:06 +0000)]
2007-03-01  Paul Brook  <paul@codesourcery.com>

* MAINTAINERS: Update my entry.

17 years agobfd:
Joseph Myers [Thu, 1 Mar 2007 15:48:36 +0000 (15:48 +0000)]
bfd:
* Makefile.am (bfdver.h): Use "." not " " between version number
and date.
* Makefile.in: Regenerate.
* configure.in (PKGVERSION): Default to "(GNU Binutils) ".
* configure: Regenerate.

binutils:
* version.c (print_version): Update copyright date.

gas:
* as.c (parse_args): Update copyright date.

gprof:
* gprof.c: Include bfdver.h
(main): Use BFD_VERSION_STRING for version number and package
name.
* Makefile.am (PKGVERSION): Remove.
(INCLUDES): Update.
Regenerate dependencies.
* Makefile.in: Regenerate.
* configure.in (PKGVERSION): Remove.
* configure: Regenerate.

ld:
* ldver.c (ldversion): Remove word "version" from output.  Update
copyright date.

17 years ago PR other/16513
Eric Botcazou [Thu, 1 Mar 2007 15:32:57 +0000 (15:32 +0000)]
PR other/16513
* Makefile.in: Install library under $(MULTIOSDIR), not $(MULTISUBDIR).
Install headers in multilib independent location.

17 years ago * Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS).
Daniel Jacobowitz [Thu, 1 Mar 2007 12:35:40 +0000 (12:35 +0000)]
* Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS).
Adjust $(EXEEXT) handling for $(RENAMED_PROGS).
* Makefile.in, doc/Makefile.in: Regenerate.

17 years ago * spu-insns.h: Add soma double-float insns.
Alan Modra [Thu, 1 Mar 2007 11:17:41 +0000 (11:17 +0000)]
* spu-insns.h: Add soma double-float insns.

17 years ago * embedspu.sh: Set type and size of global program handle symbol.
Alan Modra [Thu, 1 Mar 2007 06:14:37 +0000 (06:14 +0000)]
* embedspu.sh: Set type and size of global program handle symbol.

17 years agodaily update
Alan Modra [Wed, 28 Feb 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years agoPR gas/3797
Nick Clifton [Wed, 28 Feb 2007 18:38:51 +0000 (18:38 +0000)]
PR gas/3797
* config/tc-d10v.c (do_assemble): Do not generate error messages, just return -1 whenever a problem is encoun$
 (md_assemble): If do_assemble returns -1 generate a non-fatal error message and return.
* gas/lns/lns.exp: Do not run the lns-common test for the d10v port.
* gas/d10v/address-002.l: Update expected assembler output.
* gas/d10v/address-003.l, gas/d10v/address-004.l,
  gas/d10v/address-005.l, gas/d10v/address-006.l,
  gas/d10v/address-007.l, gas/d10v/address-008.l,
  gas/d10v/address-009.l, gas/d10v/address-010.l,
  gas/d10v/address-011.l, gas/d10v/address-012.l,
  gas/d10v/address-013.l, gas/d10v/address-014.l,
  gas/d10v/address-015.l, gas/d10v/address-016.l,
  gas/d10v/address-017.l, gas/d10v/address-018.l,
  gas/d10v/address-019.l, gas/d10v/address-020.l,
  gas/d10v/address-021.l, gas/d10v/address-022.l,
  gas/d10v/address-023.l, gas/d10v/address-024.l,
  gas/d10v/address-025.l, gas/d10v/address-026.l,
  gas/d10v/address-027.l, gas/d10v/address-030.l,
  gas/d10v/address-031.l, gas/d10v/address-032.l,
  gas/d10v/address-033.l, gas/d10v/address-034.l,
  gas/d10v/address-035.l, gas/d10v/address-036.l,
  gas/d10v/address-037.l, gas/d10v/address-038.l,
  gas/d10v/address-039.l, gas/d10v/address-040.l,
  gas/d10v/address-041.l: Likewise.

17 years agoPR ld/3796
Nick Clifton [Wed, 28 Feb 2007 17:14:39 +0000 (17:14 +0000)]
PR ld/3796
* ld-arm/arm-elf.exp (armelftests): Move "Thumb-2 BL" test into...
  (armeabitests): ... here, a new array for EABI specific tests.
  (armelftests): Add extra command line options for VFP11 fix tests and thumb shared library test.

17 years agoPR 3729: Fix unexpected failures in ARM GAS testsuite results.
Nick Clifton [Wed, 28 Feb 2007 14:39:16 +0000 (14:39 +0000)]
PR 3729: Fix unexpected failures in ARM GAS testsuite results.

17 years ago bfd/
Nathan Sidwell [Wed, 28 Feb 2007 10:53:19 +0000 (10:53 +0000)]
bfd/
* config.bfd (sh-*-uclinux, sh[12]-*-uclinux): New stanza.

gas/
* configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf.

ld/
* Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
(eshelf_uclinux.c): New target.
* Makefile.in: Rebuilt.
* configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
* emulparams/shelf_uclinux.sh: New.

17 years agoPR gas/2623
Nick Clifton [Wed, 28 Feb 2007 10:02:37 +0000 (10:02 +0000)]
PR gas/2623
* config/tc-msp430.c (line_separator_char): Change to '{'.

17 years ago * Makefile.am (PROGS): Delete.
Alan Modra [Wed, 28 Feb 2007 07:10:52 +0000 (07:10 +0000)]
* Makefile.am (PROGS): Delete.
(RENAMED_PROGS): Define.  Extracted from..
(noinst_PROGRAMS): ..here.  Add BUILD_MISC.
(install-exec-local): Adjust.
* Makefile.in: Regenerate.

17 years ago * configure.tgt: Fix type last change.
Alan Modra [Wed, 28 Feb 2007 01:39:59 +0000 (01:39 +0000)]
* configure.tgt: Fix type last change.

17 years ago*** empty log message ***
Alan Modra [Wed, 28 Feb 2007 01:36:32 +0000 (01:36 +0000)]
*** empty log message ***

17 years ago * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
Alan Modra [Wed, 28 Feb 2007 01:29:58 +0000 (01:29 +0000)]
* configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.

17 years ago * Makefile.am (PROGS): Add BUILD_INSTALL_MISC.
Alan Modra [Wed, 28 Feb 2007 01:29:32 +0000 (01:29 +0000)]
* Makefile.am (PROGS): Add BUILD_INSTALL_MISC.
(bin_PROGRAMS): Replace BUILD_MISC with BUILD_INSTALL_MISC.
(EXTRA_PROGRAMS): Remove bin2c.
(bin2c$(EXEEXT_FOR_BUILD)): New rule.
(bin2c_SOURCES): Delete.
(DISTCLEANFILES): Remove sysinfo.
(MOSTLYCLEANFILES): Add sysinfo$(EXEEXT_FOR_BUILD) and
bin2c$(EXEEXT_FOR_BUILD).
* configure.in (BUILD_MISC): Add $(EXEEXT_FOR_BUILD) to bin2c.
Move embedspu to..
(BUILD_INSTALL_MISC): ..here.
* Makefile.in: Regenerate.
* configure: Regenerate.

17 years agodaily update
Alan Modra [Tue, 27 Feb 2007 23:00:05 +0000 (23:00 +0000)]
daily update

17 years ago * binutils-all/objcopy.exp: Skip for uclinux targets.
Nathan Sidwell [Tue, 27 Feb 2007 12:19:16 +0000 (12:19 +0000)]
* binutils-all/objcopy.exp: Skip for uclinux targets.

17 years ago * mt-spu (all-ld): Depend on all-binutils.
Alan Modra [Tue, 27 Feb 2007 09:02:43 +0000 (09:02 +0000)]
* mt-spu (all-ld): Depend on all-binutils.
also fix previous ChangeLog entry

17 years agomissed from last commit
Alan Modra [Tue, 27 Feb 2007 08:35:17 +0000 (08:35 +0000)]
missed from last commit

17 years ago * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
Alan Modra [Tue, 27 Feb 2007 08:33:25 +0000 (08:33 +0000)]
* Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
(eelf32_spu.c): Adjust dependencies.
* Makefile.in: Regenerate.
* emultempl/spuelf.em (ovl_mgr): New array.  Insert spu_ovl.o
code using bin2c.
(_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
(ovl_mgr_stream): Update.
* emultempl/spu_inc.s: Delete.
* emultempl/spu_none.s: Delete.

17 years ago * bin2c.c: New file.
Alan Modra [Tue, 27 Feb 2007 08:31:46 +0000 (08:31 +0000)]
* bin2c.c: New file.
* Makefile.am (EXTRA_PROGRAMS): Add bin2c.
(CFILES): Add bin2c.c.
(bin2c_SOURCES): Define.
(bin2c.o): Dependencies from "make dep-am".
* configure.in (BUILD_MISC): Add bin2c.
* version.c: Update year.
* po/POTFILES.in: Regenerate.
* Makefile.in: Regenerate.
* configure: Regenerate.

17 years ago * elf32-spu.h (struct _ovl_stream): Make "start" and "end" const.
Alan Modra [Tue, 27 Feb 2007 08:29:52 +0000 (08:29 +0000)]
* elf32-spu.h (struct _ovl_stream): Make "start" and "end" const.
* elf32-spu.c (ovl_mgr_pread): Add const to casts.

17 years ago * config/tc-m68hc11.c (fixup24): Correct fixup size.
Alan Modra [Tue, 27 Feb 2007 08:15:17 +0000 (08:15 +0000)]
* config/tc-m68hc11.c (fixup24): Correct fixup size.
(build_jump_insn): Likewise.
(build_insn): Likewise.
(s_m68hc11_relax): Likewise.

17 years ago * config/obj-elf.c (elf_frob_file): frag_wane any new frags.
Alan Modra [Tue, 27 Feb 2007 07:16:31 +0000 (07:16 +0000)]
* config/obj-elf.c (elf_frob_file): frag_wane any new frags.

17 years agodaily update
Alan Modra [Mon, 26 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years agomerge from gcc
DJ Delorie [Mon, 26 Feb 2007 22:14:03 +0000 (22:14 +0000)]
merge from gcc

17 years ago * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
Alan Modra [Mon, 26 Feb 2007 08:58:16 +0000 (08:58 +0000)]
* emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
to _binary_spu_ovl_o_start.
(_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
(spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
* emultempl/spu_inc.s: Rename symbols.
* emultempl/spu_none.s: New file.
* emultempl/spu_ovl.S: Update copyright.
* Makefile.am (spu_inc.o): Try building with ld -r first, then
gas incbin, then build without overlay manager.
* Makefile.in: Regenerate.

17 years agodaily update
Alan Modra [Sun, 25 Feb 2007 23:00:09 +0000 (23:00 +0000)]
daily update

17 years ago * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.
Mark Shinwell [Sun, 25 Feb 2007 19:29:25 +0000 (19:29 +0000)]
* config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.

17 years agodaily update
Alan Modra [Sat, 24 Feb 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years agodaily update
Alan Modra [Fri, 23 Feb 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years agobfd/
Carlos O'Donell [Fri, 23 Feb 2007 17:38:07 +0000 (17:38 +0000)]
bfd/

2007-02-23  Carlos O'Donell  <carlos@codesourcery.com>

* dwarf2.c (_bfd_dwarf2_find_nearest_line): Assume 32-bit
DWARF even with 64-bit addresses.
(_bfd_dwarf2_find_nearest_line): Likewise.

17 years agoPR binutils/3535
Nick Clifton [Fri, 23 Feb 2007 11:47:47 +0000 (11:47 +0000)]
PR binutils/3535
* elf.c (copy_private_bfd_data): Always rewrite the program headers when a
  Solaris interpreter segment is involved.

17 years agodaily update
Alan Modra [Thu, 22 Feb 2007 23:00:08 +0000 (23:00 +0000)]
daily update

17 years ago * config/tc-mn10300.c (md_convert_frag): Correct fixup size.
Alan Modra [Thu, 22 Feb 2007 22:34:16 +0000 (22:34 +0000)]
* config/tc-mn10300.c (md_convert_frag): Correct fixup size.
(md_assemble): Likewise.

17 years ago* s390-opc.c (INSTR_SS_L2RDRD): New.
DJ Delorie [Thu, 22 Feb 2007 21:01:59 +0000 (21:01 +0000)]
* s390-opc.c (INSTR_SS_L2RDRD): New.
(MASK_SS_L2RDRD): New.
* s390-opc.txt (pka): Use it.

* gas/s390/esa-g5.s: Adjust for corrected PKA syntax.
* gas/s390/esa-g5.d: Adjust for corrected PKA syntax.

17 years ago2007-02-22 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 22 Feb 2007 17:03:59 +0000 (17:03 +0000)]
2007-02-22  Paul Brook  <paul@codesourcery.com>

bfd/
* elflink.c (gc_mark_hook_fn): Remove.
(_bfd_elf_gc_mark): Rename gc_mark_hook_fn to elf_gc_mark_hook_fn.
(bfd_elf_gc_sections): Ditto.  Call gc_mark_extra_sections.
* elf-bfd.h (elf_gc_mark_hook_fn): Define.
(elf_backend_data): Add gc_mark_extra_sections.
* elfxx-target.h (elf_backend_gc_mark_extra_sections): Provide default
definition.
(elfNN_bed): Add elf_backend_gc_mark_extra_sections.
* elf32-arm.c (elf32_arm_gc_mark_extra_sections): New function.
(elf_backend_gc_mark_extra_sections): Define.

ld/testsuite/
* ld-arm/arm-elf.exp (armelftests): Add gc-unwind.h.
* ld-arm/gc-unwind.s: New file.
* ld-arm/gc-unwind.d: New file.

17 years ago * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
Joseph Myers [Thu, 22 Feb 2007 15:05:42 +0000 (15:05 +0000)]
* configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
mips*el-*-linux-*, mips*-*-linux-*): Set
targ_extra_libpath=$targ_extra_emuls.

17 years ago * write.c (size_seg): Always clear SEC_RELOC here.
Alan Modra [Thu, 22 Feb 2007 05:54:51 +0000 (05:54 +0000)]
* write.c (size_seg): Always clear SEC_RELOC here.
(install_reloc): New function, extracted from..
(write_relocs): ..here.  Combine RELOC_EXPANSION_POSSIBLE code
with !RELOC_EXPANSION_POSSIBLE code.  Don't add fr_offset when
testing frag size.  Set SEC_RELOC here.