OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
15 years ago Merge from GCC:
Joseph Myers [Thu, 27 Nov 2008 17:14:58 +0000 (17:14 +0000)]
Merge from GCC:

2007-12-02  Matthias Klose  <doko@ubuntu.com>

* config-ml.in: Remove 64bit configure tests.

2008-05-14  Rafael Espindola  <espindola@google.com>

* config-ml.in: don't handle --enable-shared and --enable-static.

2008-09-02  Sebastian Pop  <sebastian.pop@amd.com>
    Tobias Grosser  <grosser@fim.uni-passau.de>
    Jan Sjodin  <jan.sjodin@amd.com>
    Harsha Jagasia  <harsha.jagasia@amd.com>
    Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
    Konrad Trifunovic  <konrad.trifunovic@inria.fr>
    Adrien Eliche  <aeliche@isty.uvsq.fr>

Merge from graphite branch.
* configure: Regenerate.
* Makefile.in: Regenerate.
* configure.ac (host_libs): Add ppl and cloog.
Add checks for PPL and CLooG.
* Makefile.def (ppl, cloog): Added modules and dependences.
* Makefile.tpl (PPLLIBS, PPLINC, CLOOGLIBS, CLOOGINC): New.
(HOST_PPLLIBS, HOST_PPLINC, HOST_CLOOGLIBS, HOST_CLOOGINC): New.

2008-09-03  Richard Guenther  <rguenther@suse.de>

* configure.ac: Always pass -DCLOOG_PPL_BACKEND to the
cloog test.
* configure: Re-generate.

2008-09-03  Sebastian Pop  <sebastian.pop@amd.com>

* configure.ac (--with-cloog-polylib): New.
(--disable-cloog-version-check): New.
(--disable-ppl-version-check): New.
* configure: Re-generate.

2008-09-05  Richard Guenther  <rguenther@suse.de>

* configure.ac: Initialize clooglibs to -lcloog.
* configure: Re-generate.

2008-10-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* configure.ac (MPFR check): Bump minimum version to 2.3.0 and
recommended version to 2.3.2.

* configure: Regenerate.

2008-10-31  Ben Elliston  <bje@au.ibm.com>

* configure.ac (spu-*-*): Remove special case.
* configure: Regenerate.

Complete comment text from GCC version of:

2008-08-31  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>

* configure.ac (RPATH_ENVVAR): Use PATH on Windows.
(GCC_SHLIB_SUBDIR): New.
* Makefile.tpl (HOST_LIB_PATH_gcc): Use GCC_SHLIB_SUBDIR.
* configure: Regenerate.
* Makefile.in: Regenerate.

15 years ago2008-11-27 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 27 Nov 2008 15:20:39 +0000 (15:20 +0000)]
2008-11-27  Tristan Gingold  <gingold@adacore.com>

* configure.ac: Build gdb for i?86-*-darwin*
* configure: Regenerated.

15 years ago * emultempl/cr16elf.em (cr16_after_open): New function to handle
M R Swami Reddy [Thu, 27 Nov 2008 12:41:14 +0000 (12:41 +0000)]
    * emultempl/cr16elf.em (cr16_after_open): New function to handle
        CR16 ELF embedded reloc creation (ld --embedded-relocs).
        (check_sections): New function.
        (LDEMUL_AFTER_OPEN): Define.
        * emulparams/elf32cr16.sh (EMBEDDED): Define.
* NEWS: Add comment on cr16 new feature.

15 years ago * Add PIC support for CR16 target.
M R Swami Reddy [Thu, 27 Nov 2008 12:26:49 +0000 (12:26 +0000)]
    * Add PIC support for CR16 target.
        * elf32-cr16.c (R_CR16_GOT_REGREL20, R_CR16_GOTC_REGREL20 and
        R_CR16_GLOB_DAT): New macros
        (cr16_elf_howto_table): Add entries for for R_CR16_GOT_REGREL20,
        R_CR16_GOTC_REGREL20 and R_CR16_GLOB_DAT.
        (cr16_reloc_map): Ditto
        (_bfd_cr16_elf_create_got_section): New function to create GOT section.
        (_bfd_cr16_elf_create_dynamic_sections): New function to create dynamic
        section.
        (_bfd_cr16_elf_adjust_dynamic_symbol): New function to adjust symbol
        defined by dynamic object.
        (_bfd_cr16_elf_size_dynamic_sections): New function to find the size
        of dynamic section.
        (_bfd_cr16_elf_finish_dynamic_symbol): New function to handle dynamic
        symbols.
        (_bfd_cr16_elf_finish_dynamic_symbol): New function to handle dynamic
        sections.
        (bfd_cr16_elf32_create_embedded_relocs): New function to create
        embedded relocs in .emreloc section in memory for .data.rel section.
        (_bfd_cr16_elf_reloc_type_class): New function for classify reloc types.
        (cr16_elf_check_relocs): New function for checking reloc types in
        first phase.
        (cr16_elf_final_link_relocate): Update for handling the new reloc
        types R_CR16_GOT_REGREL20 and R_CR16_GOTC_REGREL20.
        (elf32_cr16_relax_section): Update relax implementation.
        * reloc.c (bfd_reloc_code_type): Add entries for R_CR16_GOT_REGREL20,
        R_CR16_GOTC_REGREL20 and R_CR16_GLOB_DAT.
        * bfd-in.h (bfd_boolean bfd_cr16_elf32_create_embedded_relocs): Declared
        * libbfd.h, bfd-in2.h: Regenerate.

15 years ago *c-cr16.texi (cr16-operand specifiers): Add got/GOT and cgot/cGOT.
M R Swami Reddy [Thu, 27 Nov 2008 12:01:26 +0000 (12:01 +0000)]
*c-cr16.texi (cr16-operand specifiers): Add got/GOT and cgot/cGOT.

15 years ago * config/tc-cr16.h (GLOBAL_OFFSET_TABLE_NAME): Defined
M R Swami Reddy [Thu, 27 Nov 2008 11:57:29 +0000 (11:57 +0000)]
    * config/tc-cr16.h (GLOBAL_OFFSET_TABLE_NAME): Defined
        * config/tc-cr16.c (md_pseudo_table): Add "4byte" directive to
        md_pseudo_table and accept @c prefix, same as long directive.
        (cr16_cons_fix_new): Initialize rtype to BFD_RELOC_UNUSED.
        config/tc-cr16.c (tc_gen_reloc): Declare a variable of type
        bfd_reloc_code_real_type and set it for GOT related relocations.
        (md_undefined_symbol): Defined
        (process_label_constant): Added checks for GOT/got and cGOT/cGOT
        prefixes with constant label and set the appropriate relocation type.
        * doc/c-cr16.texi (cr16-operand specifiers): Add got/GOT and cgot/cGOT.

15 years ago * gas/cr16/pic-1.s: New.
M R Swami Reddy [Thu, 27 Nov 2008 11:46:52 +0000 (11:46 +0000)]
    * gas/cr16/pic-1.s: New.
        * gas/cr16/pic-1.d: New.
        * gas/cr16/pic-2.s: New.
        * gas/cr16/pic-2.d: New.
        * gas/cr16/pic.exp: Run pic tests.

15 years ago * cr16.h (R_CR16_GOT_REGREL20, R_CR16_GOTC_REGREL20 and
M R Swami Reddy [Thu, 27 Nov 2008 11:35:39 +0000 (11:35 +0000)]
* cr16.h (R_CR16_GOT_REGREL20, R_CR16_GOTC_REGREL20 and
R_CR16_GLOB_DAT): New relocations.

15 years ago * cr16-dis.c (match_opcode): Truncate mcode to 32 bit and
M R Swami Reddy [Thu, 27 Nov 2008 11:30:33 +0000 (11:30 +0000)]
* cr16-dis.c (match_opcode): Truncate mcode to 32 bit and
adjusted the mask for 32-bit branch instruction.

15 years ago * ppc-opc.c (extract_sprg): Correct operand range check.
Alan Modra [Thu, 27 Nov 2008 10:47:23 +0000 (10:47 +0000)]
* ppc-opc.c (extract_sprg): Correct operand range check.

15 years agodaily update
Alan Modra [Thu, 27 Nov 2008 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago* config/tc-m32c.c (md_pseudo_table): Add support for .loc et al.
DJ Delorie [Wed, 26 Nov 2008 18:44:14 +0000 (18:44 +0000)]
* config/tc-m32c.c (md_pseudo_table): Add support for .loc et al.

15 years ago * strings.c (main): New variable `s'. Have string_min parsing
Jan Kratochvil [Wed, 26 Nov 2008 14:24:35 +0000 (14:24 +0000)]
* strings.c (main): New variable `s'.  Have string_min parsing
call fatal for invalid input strings.

15 years agoFix typo.
Andreas Schwab [Wed, 26 Nov 2008 10:49:06 +0000 (10:49 +0000)]
Fix typo.

15 years ago(NEXTBYTE, NEXTWORD, NEXTLONG, NEXTULONG, NEXTSINGLE)
Andreas Schwab [Wed, 26 Nov 2008 10:43:18 +0000 (10:43 +0000)]
(NEXTBYTE, NEXTWORD, NEXTLONG, NEXTULONG, NEXTSINGLE)
(NEXTDOUBLE, NEXTEXTEND, NEXTPACKED): Fix error handling.
(save_printer, save_print_address): Remove.
(fetch_data): Don't use them.
(match_insn_m68k): Always restore printing functions.
(print_insn_m68k): Don't save/restore printing functions.

15 years agoinclude/
Alan Modra [Wed, 26 Nov 2008 01:04:17 +0000 (01:04 +0000)]
include/
PR 7047
* bfdlink.h (struct bfd_elf_version_expr): Delete "symbol".
Add "literal".
bfd/
PR 7047
* configure.in: Bump version.
* configure: Regenerate.
* elflink.c (_bfd_elf_link_assign_sym_version): Continue matching
against version nodes when a global match is a wildcard.  Similarly
continue matching on local wildcard matches, rather than only
continuing for "*".  Have any global wildcard match override a
local wildcard match.  Correct logic hiding unversioned symbol.
(bfd_elf_size_dynamic_sections): Update for changes to struct
bfd_elf_version_expr.
ld/
PR 7047
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Update
for changes to struct bfd_elf_version_expr.
* ldlang.c (lang_vers_match, version_expr_head_hash): Likewise.
(version_expr_head_eq, lang_finalize_version_expr_head): Likewise.
(lang_register_vers_node): Likewise.
(lang_new_vers_pattern): Likewise.  Ensure "literal" is set when
no glob chars found in "pattern".
(realsymbol): Correct backslash quote logic.
* ld.texinfo (VERSION): Warn about global wildcards.

15 years agodaily update
Alan Modra [Wed, 26 Nov 2008 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago* config/tc-m32c.c (md_convert_frag): Fix ADJNZ reloc math.
DJ Delorie [Tue, 25 Nov 2008 23:02:02 +0000 (23:02 +0000)]
* config/tc-m32c.c (md_convert_frag): Fix ADJNZ reloc math.

15 years ago * configure.in: Deactivate large-file support on native x86-solaris
Joel Brobecker [Tue, 25 Nov 2008 19:07:10 +0000 (19:07 +0000)]
    * configure.in: Deactivate large-file support on native x86-solaris
        as well unless the user explicitly requested it.
        * configure: Regenerate.

15 years agobfd:
Joseph Myers [Tue, 25 Nov 2008 15:53:27 +0000 (15:53 +0000)]
bfd:
* elf32-arm.c (elf32_arm_final_link_relocate): Do not turn
branches to undefine weak symbols into branches to the next
instruction if creating PLT entries for those symbols.

ld/testsuite:
* ld-arm/thumb2-bl-undefweak.d, ld-arm/thumb2-bl-undefweak.s: New.
* ld-arm/arm-elf.exp: Run thumb2-bl-undefweak test.

15 years ago * elflink.c (is_reloc_section): New function. Returns true if the
Nick Clifton [Tue, 25 Nov 2008 13:03:56 +0000 (13:03 +0000)]
    * elflink.c (is_reloc_section): New function.  Returns true if the
        given name matches the name of the reloc-containing section
        associated with the given section.
        (get_dynamic_reloc_section_name): New function.  Computes the name
        of the section that contains the dynamic relocs associated with
        the given section.
        (_bfd_elf_get_dynamic_reloc_section): New function.  Returns a
        pointer to the section containing the dynamic relocs associated
        with the given section.
        (_bfd_elf_make_dynamic_reloc_section): New function.  Creates a
        section to contain the dynamic relocs associated with a given
        section.
        * elf-bfd.h: Prototype the new functions.
        * elf-m10300.c (mn10300_elf_check_relocs): Use new functions.
        (mn10300_elf_final_link_relocs): Likewise.
        * elf32-arm.c (reloc_section_p): Delete - replaced by new
        functions.
        (elf32_arm_final_link_relocate): Use new functions.
        (elf32_arm_check_relocs): Likewise.
        * elf32-cris.c (cris_elf_relocate_section): Likewise.
        (elf_cris_check_relocs): Likewise.
        * elf32-hppa.c (elf32_hppa_check_relocs): Likewise.
        * elf32-i370.c (i370_elf_check_relocs): Likewise.
        (i370_elf_relocate_section): Likewise.
        * elf32-i386.c (elf_i386_check_relocs): Likewise.
        * elf32-m32r.c (m32r_elf_relocate_section): Likewise.
        (m32r_elf_check_relocs): Likewise.
        * elf32-m68k.c (elf_m68k_check_relocs): Likewise.
        * elf32_ppc.c (ppc_elf_check_relocs): Likewise.
        (ppc_elf_relocate_section): Likewise.
        * elf32-s390.c (elf_s390_check_relocs): Likewise.
        * elf32-sh.c (sh_elf_relocate_section): Likewise.
        (sh_elf_check_relocs): Likewise.
        * elf32-vax.c (elf_vax_check_relocs): Likewise.
        (elf_vax_relocate_section): Likewise.
        * elf64-alpha.c (elf64_alpha_check_relocs): Likewise.
        * elf64-ppc.c (ppc64_elf_check_relocs): Likewise.
        * elf64-s390.c (elf_s390_check_relocs): Likewise.
        * elf64-sh64.c (sh_elf64_relocate_section): Likewise.
        * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
        * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise.
        * elf32-bfin.c (bfin_check_relocs): Remove redundant local
        variable 'sreloc'.
        (bfin_relocate_section): Likewise.
        * elf32-v850.c (v850_elf_check_relocs): Likewise.

15 years ago * m68k-dis.c: Rewrite to remove use of setjmp/longjmp.
Nick Clifton [Tue, 25 Nov 2008 10:33:06 +0000 (10:33 +0000)]
    * m68k-dis.c: Rewrite to remove use of setjmp/longjmp.

15 years ago PR7044
Nick Clifton [Tue, 25 Nov 2008 08:48:49 +0000 (08:48 +0000)]
    PR7044
        * dlltool.c (run): Use formatting string to avoid compile time
        warning.
        (gen_exp_file): Check return value from fread.
        * windmc.c (main): Check return value from fread.

15 years ago * ld-cris/got7.s, ld-cris/init.s, ld-cris/pic-gc-72.d,
Hans-Peter Nilsson [Tue, 25 Nov 2008 04:10:48 +0000 (04:10 +0000)]
* ld-cris/got7.s, ld-cris/init.s, ld-cris/pic-gc-72.d,
ld-cris/pic-gc-72.s, ld-cris/pic-gc-73.d, ld-cris/pic-gc-73.s,
ld-cris/tls-dso-x1x2-1.d, ld-cris/tls-dso-xz-1.d,
ld-cris/tls-dtprelm.s, ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d,
ld-cris/tls-e-21.d, ld-cris/tls-e-22.d, ld-cris/tls-e-23.d,
ld-cris/tls-e-66.d, ld-cris/tls-err-20x.d, ld-cris/tls-err-24.d,
ld-cris/tls-err-25.d, ld-cris/tls-err-26.d, ld-cris/tls-err-27.d,
ld-cris/tls-err-28.d, ld-cris/tls-err-29.d, ld-cris/tls-err-31.d,
ld-cris/tls-err-33.d, ld-cris/tls-err-35.d, ld-cris/tls-err-37.d,
ld-cris/tls-err-39.d, ld-cris/tls-err-40.d, ld-cris/tls-err-41.d,
ld-cris/tls-err-43.d, ld-cris/tls-err-44.d, ld-cris/tls-err-45.d,
ld-cris/tls-err-47.d, ld-cris/tls-err-48.d, ld-cris/tls-err-49.d,
ld-cris/tls-err-51.d, ld-cris/tls-err-52.d, ld-cris/tls-err-53.d,
ld-cris/tls-err-55.d, ld-cris/tls-err-55.s, ld-cris/tls-err-56.d,
ld-cris/tls-err-56.s, ld-cris/tls-err-62.d, ld-cris/tls-err-62.s,
ld-cris/tls-err-65.d, ld-cris/tls-err-67.d, ld-cris/tls-gc-68.d,
ld-cris/tls-gc-69.d, ld-cris/tls-gc-70.d, ld-cris/tls-gc-71.d,
ld-cris/tls-gc-71.s, ld-cris/tls-gc-75.d, ld-cris/tls-gc-76.d,
ld-cris/tls-gc-76.s, ld-cris/tls-gd-1.d, ld-cris/tls-gd-1.s,
ld-cris/tls-gd-1h.d, ld-cris/tls-gd-2.d, ld-cris/tls-gd-2.s,
ld-cris/tls-gd-2h.d, ld-cris/tls-gd-3.d, ld-cris/tls-gd-3.s,
ld-cris/tls-gd-3h.d, ld-cris/tls-gdgotrelm.s, ld-cris/tls-global-74.d,
ld-cris/tls-gottprelm.s, ld-cris/tls-hx.s, ld-cris/tls-hx1x2.s,
ld-cris/tls-ie-10.d, ld-cris/tls-ie-10.s, ld-cris/tls-ie-11.d,
ld-cris/tls-ie-11.s, ld-cris/tls-ie-8.d, ld-cris/tls-ie-8.s,
ld-cris/tls-ie-9.d, ld-cris/tls-ie-9.s, ld-cris/tls-ld-4.d,
ld-cris/tls-ld-4.s, ld-cris/tls-ld-5.d, ld-cris/tls-ld-5.s,
ld-cris/tls-ld-6.d, ld-cris/tls-ld-6.s, ld-cris/tls-ld-7.d,
ld-cris/tls-ld-7.s, ld-cris/tls-ldgd-14.d, ld-cris/tls-ldgd-14.s,
ld-cris/tls-ldgd-15.d, ld-cris/tls-ldgd-15.s, ld-cris/tls-ldgde-14.d,
ld-cris/tls-ldgde-15.d, ld-cris/tls-ldgdex-14.d,
ld-cris/tls-ldgdex-15.d, ld-cris/tls-ldgdx-14.d,
ld-cris/tls-ldgdx-15.d, ld-cris/tls-le-12.d, ld-cris/tls-le-12.s,
ld-cris/tls-le-12s.d, ld-cris/tls-le-12s.s, ld-cris/tls-le-13.d,
ld-cris/tls-le-13.s, ld-cris/tls-le-13s.d, ld-cris/tls-le-13s.s,
ld-cris/tls-legd-16.d, ld-cris/tls-legd-16.s, ld-cris/tls-legd-17.d,
ld-cris/tls-legdx-16.d, ld-cris/tls-legdx-17.d, ld-cris/tls-leie-18.d,
ld-cris/tls-leie-19.d, ld-cris/tls-leie-19.s, ld-cris/tls-local-54.d,
ld-cris/tls-local-54.s, ld-cris/tls-local-57.d,
ld-cris/tls-local-57.s, ld-cris/tls-local-58.d,
ld-cris/tls-local-58.s, ld-cris/tls-local-59.d,
ld-cris/tls-local-59.s, ld-cris/tls-local-60.d,
ld-cris/tls-local-61.d, ld-cris/tls-local-63.d,
ld-cris/tls-local-64.d, ld-cris/tls-ok-30.d, ld-cris/tls-ok-32.d,
ld-cris/tls-ok-34.d, ld-cris/tls-ok-36.d, ld-cris/tls-tprelm.s,
ld-cris/tls-und-38.d, ld-cris/tls-und-42.d, ld-cris/tls-und-46.d,
ld-cris/tls-und-50.d, ld-cris/tls-x.s, ld-cris/tls-x1x2.s,
ld-cris/tls-z.s, ld-cris/tls128.s, ld-cris/tls128g.s: New tests.

15 years ago Implement TLS for CRIS.
Hans-Peter Nilsson [Tue, 25 Nov 2008 04:02:12 +0000 (04:02 +0000)]
Implement TLS for CRIS.
* elf32-cris.c: Include limits.h.
(TLSHOWTO16): Redefine in terms of and move contents to...
(TLSHOWTO16X): New macro.
(TLSHOWTO16S, LGOT_REG_NDX, LGOT_DTP_NDX, LGOT_ALLOC_NELTS_FOR)
(elf_cris_hash_entry): New macros.
(cris_elf_howto_table): Make R_CRIS_16_DTPREL,
R_CRIS_16_GOT_TPREL, R_CRIS_16_TPREL check overflow for signed,
not unsigned values.
(cris_info_to_howto_rela): Make r_type a enum elf_cris_reloc_type,
not unsigned int.
(struct elf_cris_link_hash_entry): New members reg_got_refcount,
tprel_refcount, and dtp_refcount.
(struct elf_cris_link_hash_table): New member dtpmod_refcount.
(elf_cris_link_hash_newfunc): Initialize new members.
(elf_cris_link_hash_table_create): Similar.
(cris_final_link_relocate, elf_cris_reloc_type_class): Use a
temporary variable when testing the relocation type.
(cris_elf_gc_mark_hook): Ditto.  Add default case where needed.
(cris_elf_gc_sweep_hook): Ditto.  Handle reference-counting for
the new assembly-generated relocs.  Rewrite refcount handling to
set temporary variables to pointers to reloc-specific variables
and entry size and common code for the update.
(additional_relocation_error_msg_count): New variable.
(cris_elf_relocate_section): Use a function-local variable srelgot
for the .rela.got section instead of looking it up for every need.
Make r_type a enum elf_cris_reloc_type, not int.  Actually set
symname for non-local symbols.  Handle new assembly-generated
relocs.  For overflow, emit additional messages for the new 16-bit
relocs as well as R_CRIS_16_GOTPLT and R_CRIS_16_GOT.
(elf_cris_finish_dynamic_symbol): Use elf_cris_finish_dynamic_symbol
instead of plain casts.  Check new hash entry member
reg_got_refcount when checking whether to emit a GOT entry.
(elf_cris_finish_dynamic_sections): Update head comment to warn
about emitting relocs here.  Use a temporary variable when testing
the relocation type.
(elf_cris_discard_excess_program_dynamics)
(elf_cris_adjust_gotplt_to_got): Handle reference counting change
regarding h->reg_got_refcount.
(cris_elf_check_relocs): Rewrite refcount handling to set
temporary variables and entry size and common code for the update
for local symbols.  Use new macro elf_cris_hash_entry.  Adjust
allocation for change in reference counting of GOT entries for
local symbols.
(elf_cris_size_dynamic_sections): Adjust calculated size of
.got.plt and .rela.got if we need a GOT entry for a
R_CRIS_DTPMOD relocation.
(elf_cris_got_elt_size): New function.
(elf_backend_got_elt_size): Define.

15 years ago * cris.h (R_CRIS_32_TPREL): Correct comment.
Hans-Peter Nilsson [Tue, 25 Nov 2008 03:08:13 +0000 (03:08 +0000)]
* cris.h (R_CRIS_32_TPREL): Correct comment.
(R_CRIS_DTPMOD): Open up for use elsewhere than the fourth GOT entry.

15 years ago * ld-cris/start1.s: Prepend register name with $.
Hans-Peter Nilsson [Tue, 25 Nov 2008 02:27:29 +0000 (02:27 +0000)]
* ld-cris/start1.s: Prepend register name with $.

* ld-cris/dso-1.s, ld-cris/libdso-1.d, ld-cris/libdso-11.d,
ld-cris/libdso-2.d, ld-cris/pv32.s, ld-cris/undef1.d: Correct
.size expressions and adjust expected output accordingly.

15 years agodaily update
Alan Modra [Tue, 25 Nov 2008 00:00:09 +0000 (00:00 +0000)]
daily update

15 years ago * ldlang.c (lang_record_phdrs): Don't add orphans to PT_INTERP header.
Alan Modra [Mon, 24 Nov 2008 07:54:34 +0000 (07:54 +0000)]
* ldlang.c (lang_record_phdrs): Don't add orphans to PT_INTERP header.

15 years agoFix typo last change
Hans-Peter Nilsson [Mon, 24 Nov 2008 02:02:57 +0000 (02:02 +0000)]
Fix typo last change

15 years agodaily update
Alan Modra [Mon, 24 Nov 2008 00:00:06 +0000 (00:00 +0000)]
daily update

15 years ago * ld-cris/badgotr1.d: Robustify regexp.
Hans-Peter Nilsson [Sun, 23 Nov 2008 21:29:22 +0000 (21:29 +0000)]
* ld-cris/badgotr1.d: Robustify regexp.

15 years agodaily update
Alan Modra [Sun, 23 Nov 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agodaily update
Alan Modra [Sat, 22 Nov 2008 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago2008-11-19 Sterling Augustine <sterling@tensilica.com>
Sterling Augustine [Fri, 21 Nov 2008 22:16:16 +0000 (22:16 +0000)]
2008-11-19  Sterling Augustine  <sterling@tensilica.com>

       * MAINTAINERS: Take over from Bob Wilson as Xtensa maintainer.

15 years ago2008-11-21 Sterling Augustine <sterling@tensilica.com>
Sterling Augustine [Fri, 21 Nov 2008 22:13:32 +0000 (22:13 +0000)]
2008-11-21  Sterling Augustine  <sterling@tensilica.com>

        * xtensa-isa.c (xtensa_state_is_shared_or): New function.

2008-11-21  Sterling Augustine  <sterling@tensilica.com>

        * xtensa-isa-internal.h (XTENSA_STATE_IS_SHARED_OR): New flag.
        * xtensa-isa.h (xtensa_state_is_shared_or): New prototype.

2008-11-21  Sterling Augustine  <sterling@tensilica.com>

        * config/tc-xtensa.c (check_t1_t2_reads_and_writes): Call
        xtensa_state_is_shared_or to allow multiple opcodes within a
        single FLIX bundle to write to these special states.

15 years agomerge from gcc
DJ Delorie [Fri, 21 Nov 2008 15:04:35 +0000 (15:04 +0000)]
merge from gcc

15 years ago(Chunk I forgot to commit on 2008-11-14).
Tristan Gingold [Fri, 21 Nov 2008 10:21:00 +0000 (10:21 +0000)]
(Chunk I forgot to commit on 2008-11-14).

2008-11-13  Tristan Gingold  <gingold@adacore.com>

* makefile.vms (OBJS): Update objects list.
(CFLAGS): Update.
(libiberty.olb): Remove alloca-conf.h dependency.
* config.h-vms: Use new macro sets, use builtin alloca.

15 years ago * elf-bfd.h (struct elf_backend_data): New member got_elt_size.
Hans-Peter Nilsson [Fri, 21 Nov 2008 00:02:37 +0000 (00:02 +0000)]
* elf-bfd.h (struct elf_backend_data): New member got_elt_size.
(_bfd_elf_default_got_elt_size): Declare.
* elflink.c (struct alloc_got_off_arg): Replace member got_elt_size
by new member info.
(elf_gc_allocate_got_offsets): Adjust for calling bed->got_elt_size
to get the element size instead of using a gofarg entry.
(bfd_elf_gc_common_finalize_got_offsets): Similar.
(_bfd_elf_default_got_elt_size): New function.
* elfxx-target.h: New macro elf_backend_got_elt_size.
(elfNN_bed): Use it.

15 years agodaily update
Alan Modra [Fri, 21 Nov 2008 00:00:09 +0000 (00:00 +0000)]
daily update

15 years ago2008-11-20 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 20 Nov 2008 09:49:00 +0000 (09:49 +0000)]
2008-11-20  Tristan Gingold  <gingold@adacore.com>

* bfdwin.c: Fix comment.

15 years ago2008-11-20 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 20 Nov 2008 09:28:06 +0000 (09:28 +0000)]
2008-11-20  Tristan Gingold  <gingold@adacore.com>

* bfd.c (is32bit): Use architecture information for non-ELF
targets.

15 years ago * elf32-ppc.c (allocate_dynrelocs): Always use tlsld_got for
Alan Modra [Thu, 20 Nov 2008 08:47:10 +0000 (08:47 +0000)]
* elf32-ppc.c (allocate_dynrelocs): Always use tlsld_got for
TLS_LD even when symbol is used with other TLS reloc types.
(ppc_elf_relocate_section): Bypass symbol checks when using tlsld_got.
Leave addend zero on LD DTPMOD dynamic reloc.

15 years agoForgot to save entry before commit:
Hans-Peter Nilsson [Thu, 20 Nov 2008 02:48:28 +0000 (02:48 +0000)]
Forgot to save entry before commit:
* config/tc-cris.c (cris_number_to_imm): Apply S_SET_THREAD_LOCAL
on symbols in TLS relocs.

15 years agodaily update
Alan Modra [Thu, 20 Nov 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agoinclude/
Bob Wilson [Wed, 19 Nov 2008 18:25:20 +0000 (18:25 +0000)]
include/
* xtensa-config.h (XCHAL_HAVE_MUL16, XCHAL_HAVE_MUL32, XCHAL_HAVE_DIV32)
(XCHAL_HAVE_MINMAX, XCHAL_HAVE_SEXT, XCHAL_HAVE_THREADPTR)
(XCHAL_HAVE_RELEASE_SYNC, XCHAL_HAVE_S32C1I): Change to 1.
(XCHAL_NUM_AREGS): Change to 32.
(XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE): Change to 16K.
(XCHAL_ICACHE_LINESIZE, XCHAL_DCACHE_LINESIZE): Change to 32.
(XCHAL_ICACHE_LINEWIDTH, XCHAL_DCACHE_LINEWIDTH): Change to 5.
(XCHAL_DCACHE_IS_WRITEBACK): Change to 1.
(XCHAL_DEBUGLEVEL): Change to 6.
bfd/
* xtensa-modules.c (sysregs): Add MMID, VECBASE, EPC5, EPC6, EPC7,
EXCSAVE5, EXCSAVE6, EXCSAVE7, EPS5, EPS6, EPS7, CPENABLE,
SCOMPARE1, and THREADPTR registers.
(NUM_SYSREGS, MAX_USER_REG): Update.
(states): Change width of INTERRUPT, WindowBase, WindowStart, and
INTENABLE.  Add VECBASE, EPC5, EPC6, EPC7, EXCSAVE5, EXCSAVE6,
EXCSAVE7, EPS6, EPS6, EPS7, THREADPTR, CPENABLE, and SCOMPARE1 states.
(NUM_STATES): Update.
(enum xtensa_state_id): Add entries for new states.
(enum xtensa_field_id): Add entries for xt_wbr15_imm and xt_wbr18_imm
fields, along with functions to extract and set them.
(regfiles): Change number of AR registers to 32.
(Operand_ar0_encode, Operand_ar4_encode, Operand_ar8_encode,
Operand_ar12_encode, Operand_ars_entry_encode): Update register mask.
(operands): Add entries for tp7, xt_wbr15_label, xt_wbr18_label,
xt_wbr15_imm, and xt_wbr18_imm operands, along with functions to
encode and decode them.
(enum xtensa_operand_id): Add entries for new operands.
(Iclass_xt_iclass_rfi_stateArgs): Add EPC5, EPC6, EPC7, EPS5, EPS6, and
EPC7 states.
(Iclass_xt_iclass_rfdo_stateArgs): Replace EPC4 and EPS4 by EPC6 and
EPS6, respectively.
(iclasses): Add entries for rur_threadptr, wur_threadptr,
xt_iclass_wsr_176, xt_iclass_rsr_epc5, xt_iclass_wsr_epc5,
xt_iclass_xsr_epc5, xt_iclass_rsr_excsave5, xt_iclass_wsr_excsave5,
xt_iclass_xsr_excsave5, xt_iclass_rsr_epc6, xt_iclass_wsr_epc6,
xt_iclass_xsr_epc6, xt_iclass_rsr_excsave6, xt_iclass_wsr_excsave6,
xt_iclass_xsr_excsave6, xt_iclass_rsr_epc7, xt_iclass_wsr_epc7,
xt_iclass_xsr_epc7, xt_iclass_rsr_excsave7, xt_iclass_wsr_excsave7,
xt_iclass_xsr_excsave7, xt_iclass_rsr_eps5, xt_iclass_wsr_eps5,
xt_iclass_xsr_eps5, xt_iclass_rsr_eps6, xt_iclass_wsr_eps6,
xt_iclass_xsr_eps6, xt_iclass_rsr_eps7, xt_iclass_wsr_eps7,
xt_iclass_xsr_eps7, xt_iclass_rsr_vecbase, xt_iclass_wsr_vecbase,
xt_iclass_xsr_vecbase, xt_iclass_mul16, xt_iclass_wsr_mmid,
xt_iclass_icache_lock, xt_iclass_dcache_lock, xt_iclass_rsr_cpenable,
xt_iclass_wsr_cpenable, xt_iclass_xsr_cpenable, xt_iclass_clamp,
xt_iclass_minmax, xt_iclass_sx, xt_iclass_l32ai, xt_iclass_s32ri,
xt_iclass_s32c1i, xt_iclass_rsr_scompare1, xt_iclass_wsr_scompare1,
xt_iclass_xsr_scompare1, xt_iclass_div, and xt_iclass_mul32, along
with corresponding argument and state argument arrays.  Change
number of state arguments for xt_iclass_rfi.  Add arguments for
xt_iclass_rfdo.
(enum xtensa_iclass_id): Add entries for new iclasses.
(opcodes): Add entries for RUR_THREADPTR, WUR_THREADPTR, WSR_176,
RSR_EPC5, WSR_EPC5, XSR_EPC5, RSR_EXCSAVE5, WSR_EXCSAVE5, XSR_EXCSAVE5,
RSR_EPC6, WSR_EPC6, XSR_EPC6, RSR_EXCSAVE6, WSR_EXCSAVE6, XSR_EXCSAVE6,
RSR_EPC7, WSR_EPC7, XSR_EPC7, RSR_EXCSAVE7, WSR_EXCSAVE7, XSR_EXCSAVE7,
RSR_EPS5, WSR_EPS5, XSR_EPS5, RSR_EPS6, WSR_EPS6, XSR_EPS6, RSR_EPS7,
WSR_EPS7, XSR_EPS7, RSR_VECBASE, WSR_VECBASE, XSR_VECBASE, MUL16U,
MUL16S, WSR_MMID, IPFL, IHU, IIU, DPFL, DHU, DIU, RSR_CPENABLE,
WSR_CPENABLE, XSR_CPENABLE, CLAMPS, MIN, MAX, MINU, MAXU, SEXT, L32AI,
S32RI, S32C1I, RSR_SCOMPARE1, WSR_SCOMPARE1, XSR_SCOMPARE1, QUOU, QUOS,
REMU, REMS, and MULL opcodes, along with the corresponding functions
to encode them.
(enum xtensa_opcode_id): Add entries for new opcodes.
(Slot_inst_decode): Handle new opcodes.
(Slot_inst_get_field_fns, Slot_inst_set_field_fns): Add entries for
xt_wbr15_imm and xt_wbr18_imm fields.
(Slot_inst16a_get_field_fns, Slot_inst16a_set_field_fns): Likewise.
(Slot_inst16b_get_field_fns, Slot_inst16b_set_field_fns): Likewise.
(xtensa_modules): Update number of fields, operands, iclasses and
opcodes.

15 years agoChange documentation license to FDL v1.3
Nick Clifton [Wed, 19 Nov 2008 16:22:48 +0000 (16:22 +0000)]
Change documentation license to FDL v1.3

15 years ago * elf.c (swap_out_syms) [USE_STT_COMMON]: Fix syntax error.
Nick Clifton [Wed, 19 Nov 2008 10:09:21 +0000 (10:09 +0000)]
    * elf.c (swap_out_syms) [USE_STT_COMMON]: Fix syntax error.

15 years ago PR 7027
Nick Clifton [Wed, 19 Nov 2008 09:25:56 +0000 (09:25 +0000)]
    PR 7027
        * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Treat WPLT30 relocs
        against local symbols in 64-bit binaries as if they were WDISP30
        relocs.
        (_bfd_sparc_elf_relocate_section): Likewise.

15 years ago * gas/cris/rd-tls-1.d, gas/cris/rd-tls-1.s: Use a local thread
Hans-Peter Nilsson [Wed, 19 Nov 2008 06:16:54 +0000 (06:16 +0000)]
* gas/cris/rd-tls-1.d, gas/cris/rd-tls-1.s: Use a local thread
variable instead of .text location for :GD decoration test.

15 years ago * config/tc-cris.c (cris_number_to_imm): Apply S_SET_THREAD_LOCAL
Hans-Peter Nilsson [Wed, 19 Nov 2008 06:16:04 +0000 (06:16 +0000)]
* config/tc-cris.c (cris_number_to_imm): Apply S_SET_THREAD_LOCAL
on symbols in TLS relocs.

15 years agodaily update
Alan Modra [Wed, 19 Nov 2008 00:00:09 +0000 (00:00 +0000)]
daily update

15 years agoAdd support for ARM half-precision conversion instructions.
Catherine Moore [Tue, 18 Nov 2008 15:45:05 +0000 (15:45 +0000)]
Add support for ARM half-precision conversion instructions.

15 years ago * dwarf2.c (read_section): Fix formatting.
Nick Clifton [Tue, 18 Nov 2008 14:05:00 +0000 (14:05 +0000)]
    * dwarf2.c (read_section): Fix formatting.
        (read_n_bytes): Remove unhelpful comment.
        (read_indirect_string): Pass symbol table to read_section in case
        the .debug_str section needs relocating.

        PR 7037
        * elf32-cr16.c (cr16_elf_howto_table): Zero the src_mask field of
        the reloc descriptions.

15 years agodaily update
Alan Modra [Tue, 18 Nov 2008 00:00:08 +0000 (00:00 +0000)]
daily update

15 years ago * configure.tgt [spu-*-elf*]: Set NATIVE_LIB_DIRS to '/lib'.
Ulrich Weigand [Mon, 17 Nov 2008 20:11:48 +0000 (20:11 +0000)]
* configure.tgt [spu-*-elf*]: Set NATIVE_LIB_DIRS to '/lib'.

15 years agoUpdate copyright year in --version messages.
Nick Clifton [Mon, 17 Nov 2008 17:44:32 +0000 (17:44 +0000)]
Update copyright year in --version messages.

15 years agodaily update
Alan Modra [Mon, 17 Nov 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago * dlltool.c (identify_search_section): Cast argument, not return
Danny Smith [Sun, 16 Nov 2008 06:00:41 +0000 (06:00 +0000)]
* dlltool.c (identify_search_section): Cast argument, not return
value, of xstrdup to 'char*'.

15 years agodaily update
Alan Modra [Sun, 16 Nov 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agoAdded --identify option to dlltool.
Charles Wilson [Sat, 15 Nov 2008 18:15:18 +0000 (18:15 +0000)]
Added --identify option to dlltool.

15 years ago * reloc.cc (Sized_relobj::do_read_relocs): Use constant invalid_address
Cary Coutant [Sat, 15 Nov 2008 01:40:23 +0000 (01:40 +0000)]
* reloc.cc (Sized_relobj::do_read_relocs): Use constant invalid_address
instead of -1U.

15 years agodaily update
Alan Modra [Sat, 15 Nov 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago/bfd:
Eric B. Weddington [Fri, 14 Nov 2008 21:37:52 +0000 (21:37 +0000)]
/bfd:
2008-11-14  Eric B. Weddington  <eric.weddington@atmel.com>

PR 7022
* elf32-avr.c (bfd_elf_avr_final_write_processing):
Add missing break statements.

15 years ago * xtensa-modules.c (xtensa_state_id): New enum, replacing STATE macros.
Bob Wilson [Fri, 14 Nov 2008 17:37:29 +0000 (17:37 +0000)]
* xtensa-modules.c (xtensa_state_id): New enum, replacing STATE macros.
(xtensa_field_id, xtensa_regfile_id, xtensa_operand_id)
(xtensa_iclass_id, xtensa_opcode_id): New enums.
Replace hardcoded constants throughout this file with enum values.

15 years agomerge from gcc
DJ Delorie [Fri, 14 Nov 2008 16:02:56 +0000 (16:02 +0000)]
merge from gcc

15 years ago2008-11-14 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Fri, 14 Nov 2008 15:13:05 +0000 (15:13 +0000)]
2008-11-14  Kai Tietz  <kai.tietz@onevision.com>

* emultempl/pep.em (..._before_parse): initialize
pei386_runtime_pseudo_reloc by version 2.
(OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V1): New option.
(OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V2): New option.
(make_import_fixup): Use relocation size to read addend.
* emultempl/pe.em (..._before_parse): initialize
pei386_runtime_pseudo_reloc by version 1.
(OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V1): New option.
(OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V2): New option.
* pe-dll.c (pe-dll.h): Remove useless include.
(make_runtime_pseudo_reloc): Change addend to use bfd_vma.
Handle the two variants of pseudo-relocation.
(pe_create_import_fixup): Change addend to type bfd_vma.
Modify for the two pseudo_relocation variants.
(runtime_pseudp_reloc_v2_init): New static variable.
* pe-dll.h (pe_create_import_fixup): Change addend argument type
to bfd_vma.
* pep-dll.h (pep_create_import_fixup): Likewise.
* NEWS: Add comment.

15 years ago Revert:
Daniel Jacobowitz [Fri, 14 Nov 2008 15:10:50 +0000 (15:10 +0000)]
Revert:

2008-10-24  Daniel Jacobowitz  <dan@codesourcery.com>

* Makefile.tpl (HOST_EXPORTS): Correct CPPFLAGS typo.
* Makefile.in: Regenerated.

2008-10-22  Daniel Jacobowitz  <dan@codesourcery.com>

* Makefile.def (flags_to_pass): Add CPPFLAGS_FOR_BUILD and CPPFLAGS.
* Makefile.tpl (BUILD_EXPORTS): Set CPPFLAGS.
(EXTRA_BUILD_FLAGS): Correct typo.  Pass CPPFLAGS.
(HOST_EXPORTS): Pass CPPFLAGS.
(CPPFLAGS_FOR_BUILD, CPPFLAGS, CPPFLAGS_FOR_TARGET): Define.
(LDFLAGS_FOR_TARGET): Initialize from configure script.
(EXTRA_TARGET_FLAGS): Set CPPFLAGS.
* Makefile.in, configure: Regenerated.
* configure.ac: Set CPPFLAGS_FOR_TARGET, LDFLAGS_FOR_TARGET,
and CPPFLAGS_FOR_BUILD.

15 years ago2008-11-14 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Fri, 14 Nov 2008 14:56:51 +0000 (14:56 +0000)]
2008-11-14  Tristan Gingold  <gingold@adacore.com>

Remove outdated mach-o specific tests.
* objdump.c (load_debug_section): Remove mach-o specific test.
(mach_o_uncompressed_dwarf_sections): Removed.
(mach_o_compressed_dwarf_sections): Removed.
(generic_uncompressed_dwarf_sections): Removed.
(generic_compressed_dwarf_sections): Removed.
(check_mach_o_dwarf): Removed.
(dump_dwarf): Remove call to check_mach_o_dwarf.

15 years ago bfd/
Nick Clifton [Fri, 14 Nov 2008 14:44:09 +0000 (14:44 +0000)]
    bfd/
        * elf.c (assign_file_positions_for_load_sections): Use header_size
        to avoid moving the load address of file headers.
        (assign_file_positions_for_load_sections): Set header_size for
        segments containing the file header.

        include/elf/
        * internal.h (struct elf_segment_map): Add header_size field.

15 years ago * read.c (emit_expr): Grow frag before filling it so that
Nick Clifton [Fri, 14 Nov 2008 13:03:25 +0000 (13:03 +0000)]
    * read.c (emit_expr): Grow frag before filling it so that
        dot_value remains valid.

15 years agobfd/
Tristan Gingold [Fri, 14 Nov 2008 09:57:35 +0000 (09:57 +0000)]
bfd/
2008-11-14  Tristan Gingold  <gingold@adacore.com>

* configure.com: Handle bfd_default_target_size, BFD_HOST_LONG_LONG,
BFD_HOST_64BIT_LONG_LONG, BFD_HOSTPTR_T, bfd_file_ptr.
Generate bfdver.h.
* vms-hdr.c (_bfd_vms_write_hdr): Use strdup/free instead of alloca.
* hosts/alphavms.h: Defines macros to bypass i18n.
* makefile.vms (OBJS): Update file list.
(DEFS): Remove VMS_DEBUG, const, add DEBUGDIR.
(CFLAGS): Update flags.
* bfdio.c (real_fopen): Add code specific to VMS: extract attributes
from modes.

binutils/
2008-11-14  Tristan Gingold  <gingold@adacore.com>

* configure.com: Get version from configure.in of bfd.
* makefile.vms-in (DEBUG_OBJS): Add dwarf.obj.
(CFLAGS): Update flags.

include/
2008-11-14  Tristan Gingold  <gingold@adacore.com>

* fopen-vms.h (FOPEN_RB): Use a single string to match the
standard prototype.
(FOPEN_WB): Ditto.
(FOPEN_AB): Ditto.
(FOPEN_RUB): Ditto.
(FOPEN_WUB): Ditto.
(FOPEN_AUB): Ditto.

libiberty/
2008-11-14  Tristan Gingold  <gingold@adacore.com>

* makefile.vms (OBJS): Update objects list.
(CFLAGS): Update.
(libiberty.olb): Remove alloca-conf.h dependency.
* config.h-vms: Use new macro sets, use builtin alloca.

opcodes/
2008-11-14  Tristan Gingold  <gingold@adacore.com>

* makefile.vms (OBJS): Update list of objects.
(DEFS): Update
(CFLAGS): Update.

15 years ago PR 7026
Nick Clifton [Fri, 14 Nov 2008 09:02:38 +0000 (09:02 +0000)]
    PR 7026
        * config/tc-arm.c: Ensure that all uses of as_bad have a
        formatting string.

15 years ago * Makefile.am (spu_ovl.o_c): Add missing line continuations.
Alan Modra [Fri, 14 Nov 2008 06:54:40 +0000 (06:54 +0000)]
* Makefile.am (spu_ovl.o_c): Add missing line continuations.
* Makefile.in: Regenerate.

15 years agodaily update
Alan Modra [Fri, 14 Nov 2008 00:00:09 +0000 (00:00 +0000)]
daily update

15 years ago * configure.in: Deactivate large-file support on native 32bit
Joel Brobecker [Thu, 13 Nov 2008 23:09:47 +0000 (23:09 +0000)]
    * configure.in: Deactivate large-file support on native 32bit
        sparc-solaris unless the user explicitly requested it.
        * configure: Regenerate.

15 years agogdb/ChangeLog:
Ulrich Weigand [Thu, 13 Nov 2008 15:07:54 +0000 (15:07 +0000)]
gdb/ChangeLog:

* auxv.c (fprint_target_auxv): Handle AT_BASE_PLATFORM and
AT_EXECFN.  Re-sort AT_SECURE.

include/elf/ChangeLog:

* common.h (AT_BASE_PLATFORM, AT_EXECFN): Define.

15 years ago * nm.c (filter_symbols): Only call memcpy when from != to.
Hans-Peter Nilsson [Thu, 13 Nov 2008 10:57:00 +0000 (10:57 +0000)]
* nm.c (filter_symbols): Only call memcpy when from != to.

15 years ago PR ld/7028
Hans-Peter Nilsson [Thu, 13 Nov 2008 03:01:15 +0000 (03:01 +0000)]
PR ld/7028
* elf.c (assign_file_positions_for_load_sections): Allocate phrds
with bfd_zalloc2 instead of bfd_alloc2.  For the amount, use
the possibly-preset header-size, not the computed one.

15 years agodaily update
Alan Modra [Thu, 13 Nov 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago PR 7023
Alan Modra [Wed, 12 Nov 2008 22:04:04 +0000 (22:04 +0000)]
PR 7023
* elf.c (bfd_section_from_shdr <SHT_SYMTAB>): Fail on invalid sh_info.

15 years ago2008-11-12 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 12 Nov 2008 10:27:57 +0000 (10:27 +0000)]
2008-11-12  Tristan Gingold  <gingold@adacore.com>

* bfd.c (bfd_get_sign_extend_vma): Return 0 for mach-o.

15 years ago * config/tc-cris.c (cris_number_to_imm): Except for
Hans-Peter Nilsson [Wed, 12 Nov 2008 03:09:31 +0000 (03:09 +0000)]
* config/tc-cris.c (cris_number_to_imm): Except for
BFD_RELOC_NONE, always set contents.  Where previously this was
skipped, set contents to 0.

15 years ago PR gas/7025
Hans-Peter Nilsson [Wed, 12 Nov 2008 02:42:46 +0000 (02:42 +0000)]
PR gas/7025
* input-scrub.c (input_scrub_include_sb): Make the position
after the input have defined contents, a 0 character.

15 years ago * gas/cris/rd-bcnst2-pic.d, gas/cris/rd-bcnst2.d,
Hans-Peter Nilsson [Wed, 12 Nov 2008 02:36:55 +0000 (02:36 +0000)]
* gas/cris/rd-bcnst2-pic.d, gas/cris/rd-bcnst2.d,
gas/cris/rd-bcnst2.s: New tests.

15 years ago * config/tc-cris.c (cris_relax_frag): Add missing case for
Hans-Peter Nilsson [Wed, 12 Nov 2008 02:35:28 +0000 (02:35 +0000)]
* config/tc-cris.c (cris_relax_frag): Add missing case for
ENCODE_RELAX (STATE_COND_BRANCH_PIC, STATE_DWORD).

15 years ago PR gas/7020
Hans-Peter Nilsson [Wed, 12 Nov 2008 02:04:39 +0000 (02:04 +0000)]
PR gas/7020
* read.c (read_a_source_file): Rearrange evaluation order when
looking for '=' to avoid conditional on undefined contents of
input_line_pointer[1].

15 years ago * read.c (read_a_source_file): Rearrange evaluation order when
Hans-Peter Nilsson [Wed, 12 Nov 2008 01:41:12 +0000 (01:41 +0000)]
* read.c (read_a_source_file): Rearrange evaluation order when
looking for '=' to avoid conditional on undefined contents of
input_line_pointer[1].

15 years agodaily update
Alan Modra [Tue, 11 Nov 2008 23:58:59 +0000 (23:58 +0000)]
daily update

15 years ago * elf.c (assign_file_positions_for_non_load_sections): Consolidate
Alan Modra [Tue, 11 Nov 2008 04:26:13 +0000 (04:26 +0000)]
* elf.c (assign_file_positions_for_non_load_sections): Consolidate
PT_GNU_RELRO handling.

15 years agodaily update
Alan Modra [Mon, 10 Nov 2008 23:59:04 +0000 (23:59 +0000)]
daily update

15 years ago PR 7012
Alan Modra [Mon, 10 Nov 2008 23:39:19 +0000 (23:39 +0000)]
PR 7012
* dwarf2.c (find_line): Don't keep stale pointers into realloc'd
memory.  Return on errors.  Fix memory leak.
(_bfd_dwarf2_cleanup_debug_info): Free dwarf_str_buffer.

15 years ago PR 7011
Andreas Schwab [Mon, 10 Nov 2008 22:47:58 +0000 (22:47 +0000)]
PR 7011
* elf.c (assign_file_positions_for_non_load_sections): Handle
PT_GNU_RELRO specially.

15 years ago * objdump.c (disassemble_bytes): Don't skip leading zeros when
Alan Modra [Mon, 10 Nov 2008 08:45:13 +0000 (08:45 +0000)]
* objdump.c (disassemble_bytes): Don't skip leading zeros when
end of section calculation overflows.

15 years agodaily update
Alan Modra [Sun, 9 Nov 2008 23:59:09 +0000 (23:59 +0000)]
daily update

15 years agodaily update
Alan Modra [Sat, 8 Nov 2008 23:59:14 +0000 (23:59 +0000)]
daily update

15 years agodaily update
Alan Modra [Fri, 7 Nov 2008 23:59:19 +0000 (23:59 +0000)]
daily update

15 years ago * MAINTAINERS: Take over from Anil Paranjpe as H8300 maintainer.
Nick Clifton [Fri, 7 Nov 2008 14:27:05 +0000 (14:27 +0000)]
    * MAINTAINERS: Take over from Anil Paranjpe as H8300 maintainer.

15 years agodaily update
Alan Modra [Thu, 6 Nov 2008 23:59:25 +0000 (23:59 +0000)]
daily update

15 years ago * config/tc-mips.c (COP_INSN): Change logic to always return false
Adam Nemet [Thu, 6 Nov 2008 19:49:26 +0000 (19:49 +0000)]
* config/tc-mips.c (COP_INSN): Change logic to always return false
for FP instructions.

testsuite/
* gas/mips/mips1-fp.s, testsuite/gas/mips/mips1-fp.d,
testsuite/gas/mips/mips1-fp.l: New tests.
* gas/mips/mips.exp: Run them.