OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
16 years agoImport this patch from gcc:
nickc [Thu, 14 Feb 2008 12:44:38 +0000 (12:44 +0000)]
Import this patch from gcc:
2008-01-24  David Edelsohn  <edelsohn@gnu.org>

            * libtool.m4: Backport AIX 6 support from ToT Libtool.

16 years agoPR binutils/5524
nickc [Thu, 14 Feb 2008 12:33:16 +0000 (12:33 +0000)]
PR binutils/5524
   * configure.in (SHARED_LIBADD): Select the correct host specific
   file extension for shared libraries.
   * configure: Regenerate.

16 years ago * elflink.c (compute_bucket_count): Warning fixes.
amodra [Thu, 14 Feb 2008 08:31:47 +0000 (08:31 +0000)]
* elflink.c (compute_bucket_count): Warning fixes.

16 years ago * Makefile.in (ALL_TARGET_OBS): Remove dependency to xtensa-linux-nat.o.
deuling [Thu, 14 Feb 2008 04:49:11 +0000 (04:49 +0000)]
* Makefile.in (ALL_TARGET_OBS): Remove dependency to xtensa-linux-nat.o.

16 years agoAlign FDE and CIE lengths as needed.
iant [Thu, 14 Feb 2008 02:40:15 +0000 (02:40 +0000)]
Align FDE and CIE lengths as needed.

16 years agoSet load address for orphan sections.
iant [Thu, 14 Feb 2008 02:34:22 +0000 (02:34 +0000)]
Set load address for orphan sections.

16 years ago* configure.in: Remove non-working options.
cgf [Thu, 14 Feb 2008 00:49:47 +0000 (00:49 +0000)]
* configure.in: Remove non-working options.
* configure: Regenerate.

16 years ago*** empty log message ***
gdbadmin [Thu, 14 Feb 2008 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Wed, 13 Feb 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agoImplement -Tdata and -Tbss.
iant [Wed, 13 Feb 2008 22:47:27 +0000 (22:47 +0000)]
Implement -Tdata and -Tbss.

16 years agoImplement remaining linker script functions.
iant [Wed, 13 Feb 2008 22:44:50 +0000 (22:44 +0000)]
Implement remaining linker script functions.

16 years ago * gas/mips/branch-misc-2pic-64.d (#name): Have a unique name
nemet [Wed, 13 Feb 2008 17:22:43 +0000 (17:22 +0000)]
* gas/mips/branch-misc-2pic-64.d (#name): Have a unique name
different from the branch-misc-2-64.d test.

16 years ago* syscalls.cc (_isatty): Define as an alias to isatty to override newlib
cgf [Wed, 13 Feb 2008 17:21:04 +0000 (17:21 +0000)]
* syscalls.cc (_isatty): Define as an alias to isatty to override newlib
version.
* thread.cc (pthread_kill): Deal with signal 0 as per POSIX and also avoid
manipulating an invalid thread.

16 years ago * posix.sgml: Move llrint, llrintf, llrintl, lrintl, rintl, wcstol,
corinna [Wed, 13 Feb 2008 14:50:38 +0000 (14:50 +0000)]
* posix.sgml: Move llrint, llrintf, llrintl, lrintl, rintl, wcstol,
wcstoll, wcstoul, wcstoull, wcsxfrm from unimplemented to implemented
POSIX interfaces.
Change headline of "GNU extensions" to "GNU and Linux extensions".
Add fgetxattr, flistxattr, fremovexattr, fsetxattr, getxattr, lgetxattr,
listxattr, llistxattr, lremovexattr, lsetxattr, removexattr, setxattr,
wcpcpy and wcpncpy to list of implemented GNU functions.

16 years agogas/
jbeulich [Wed, 13 Feb 2008 13:41:25 +0000 (13:41 +0000)]
gas/
2008-02-13  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (parse_real_register): Don't return 'FLAT'
if not in Intel mode.
(i386_intel_operand): Ignore segment overrides in immediate and
offset operands.
(intel_e11): Range-check i.mem_operands before use as array
index. Filter out FLAT for uses other than as segment override.
(intel_get_token): Remove broken promotion of "FLAT:" to mean
"offset FLAT:".

gas/testsuite/
2008-02-13  Jan Beulich  <jbeulich@novell.com>

* gas/i386/intelok.s: Replace invalid offset expression with
valid ones.
* gas/i386/x86_64.s: Likewise.

opcodes/
2008-02-13  Jan Beulich  <jbeulich@novell.com>

* i386-opc.h (RegFlat): New.
* i386-reg.tbl (flat): Add.
* i386-tbl.h: Re-generate.

16 years agogas/
jbeulich [Wed, 13 Feb 2008 13:29:29 +0000 (13:29 +0000)]
gas/
2008-02-13  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (intel_e09): Also special-case 'bound'.

gas/testsuite/
2008-02-13  Jan Beulich  <jbeulich@novell.com>

* gas/i386/intelbad.s, gas/i386/intelok.s: Add 'bound' tests.
* gas/i386/intelbad.l, gas/i386/intelok.l, gas/i386/intelok.e,
gas/i386/opcode-intel.d: Adjust.

opcodes/
2008-02-13  Jan Beulich  <jbeulich@novell.com>

* i386-dis.c (a_mode): New.
(cond_jump_mode): Adjust.
(Ma): Change to a_mode.
(intel_operand_size): Handle a_mode.
* i386-opc.tbl: Allow Dword and Qword for bound.
* i386-tbl.h: Re-generate.

16 years agogas/
jbeulich [Wed, 13 Feb 2008 10:14:37 +0000 (10:14 +0000)]
gas/
2008-02-13  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (allow_pseudo_reg): New.
(parse_real_register): Check for NULL just once. Allow all
register table entries when allow_pseudo_reg is non-zero.
Don't allow any registers without type when allow_pseudo_reg
is zero.
(tc_x86_regname_to_dw2regnum): Replace with ...
(tc_x86_parse_to_dw2regnum): ... this.
(tc_x86_frame_initial_instructions): Adjust for above change.
* config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
(tc_parse_to_dw2regnum): New.
(tc_x86_regname_to_dw2regnum): Replace with ...
(tc_x86_parse_to_dw2regnum): ... this.
* dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
(cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
error handling.

gas/testsuite/
2008-02-13  Jan Beulich  <jbeulich@novell.com>

* gas/cfi/cfi-i386.s: Add code testing use of all registers.
Fix a few comments.
* gas/cfi/cfi-x86_64.s: Likewise.
* gas/cfi/cfi-i386.d, gas/cfi/cfi-x86_64.d: Adjust.

opcodes/
2008-02-13  Jan Beulich  <jbeulich@novell.com>

* i386-gen.c (process_i386_registers): Process new fields.
* i386-opc.h (reg_entry): Shrink reg_flags and reg_num to
unsigned char. Add dw2_regnum and Dw2Inval.
* i386-reg.tbl: Provide initializers for dw2_regnum. Add pseudo
register names.
* i386-tbl.h: Re-generate.

16 years ago * cygtls.cc (_cygtls::init_exception_handler): Revert patch
corinna [Wed, 13 Feb 2008 09:42:22 +0000 (09:42 +0000)]
    * cygtls.cc (_cygtls::init_exception_handler): Revert patch
        from 2005-12-02.
        * exceptions.cc (stack_info::walk): Add workaround for NT 5.2
        64 bit OSes.
        * wincap.h (wincaps::has_restricted_stack_args): New element.
        * wincap.cc: Implement above element throughout.
        (wincapc::init): Reset has_restricted_stack_args if not running
        under WOW64.

16 years ago Add script to build and test GDB using enable-targets=all.
deuling [Wed, 13 Feb 2008 05:05:25 +0000 (05:05 +0000)]
Add script to build and test GDB using enable-targets=all.

* gdb_buildall.sh: New file.

doc/
        * gdbint.texinfo (Build Script): New section. Mention new build script
        gdb_buildall.sh.

16 years agoSupport selecting target by name.
iant [Wed, 13 Feb 2008 02:44:50 +0000 (02:44 +0000)]
Support selecting target by name.

16 years agoAssignments in linker scripts override definitions from object files.
iant [Wed, 13 Feb 2008 01:20:38 +0000 (01:20 +0000)]
Assignments in linker scripts override definitions from object files.

16 years agoImplement LOADADDR and SIZEOF.
iant [Wed, 13 Feb 2008 01:18:53 +0000 (01:18 +0000)]
Implement LOADADDR and SIZEOF.

16 years ago*** empty log message ***
gdbadmin [Wed, 13 Feb 2008 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Tue, 12 Feb 2008 23:00:07 +0000 (23:00 +0000)]
daily update

16 years ago2008-02-11 Patrick Mansfield <patmans@us.ibm.com>
jjohnstn [Tue, 12 Feb 2008 21:21:13 +0000 (21:21 +0000)]
2008-02-11  Patrick Mansfield  <patmans@us.ibm.com>

        * libc/machine/spu/straddr.h: New file, supplies _straddr.
        * libc/machine/spu/strcat.c: Use _straddr and _strcpy.
        * libc/machine/spu/strcpy.c: Use _strcpy.
        * libc/machine/spu/strcpy.h: Supply _strcpy for optimized SPU
        str[n]cpy and str[n]cat.
        * libc/machine/spu/strncat.c: Use _straddr and _strcpy.
        * libc/machine/spu/strncpy.c: Use _strcpy.

16 years ago* elf32-iq2000.c (iq2000_elf_relocate_section): Adjust addend of
dj [Tue, 12 Feb 2008 19:11:54 +0000 (19:11 +0000)]
* elf32-iq2000.c (iq2000_elf_relocate_section): Adjust addend of
relocation pointing to local symbol in merged section.
* elf32-iq2000.c (iq2000_elf_relocate_offset16): New.
(iq2000_elf_relocate_section): Call it.

16 years ago2002-02-12 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 12 Feb 2008 18:56:12 +0000 (18:56 +0000)]
2002-02-12  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run x86-64-arch-2 instead of
x86-64-arch-10.

* gas/i386/x86-64-arch-10.d: Removed.

* gas/i386/x86-64-arch-2.d: New.
* gas/i386/x86-64-arch-2.s: Likewise.

16 years ago2008-02-12 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 12 Feb 2008 18:07:54 +0000 (18:07 +0000)]
2008-02-12  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/machine/powerpc/vfprintf.c (_VFPRINTF_R): Prepare
        for user specifying --disable-newlib-io-long-long on configure.
        Call _fflush_r instead of fflush.  For _mbtowc_r, pass the
        reentrant pointer passed in rather than _REENT.

16 years agoCorrect last 2 ChangeLog entries.
hjl [Tue, 12 Feb 2008 17:22:02 +0000 (17:22 +0000)]
Correct last 2 ChangeLog entries.

16 years ago2008-02-12 Peter Rosin <peda@lysator.liu.se>
jjohnstn [Tue, 12 Feb 2008 17:20:07 +0000 (17:20 +0000)]
2008-02-12  Peter Rosin  <peda@lysator.liu.se>

        * libc/stdlib/getopt.c (getopt_internal): Handle optional
        arguments better for long options and short options not
        appearing as the first option in a sequence.

16 years ago2008-02-12 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 12 Feb 2008 15:35:29 +0000 (15:35 +0000)]
2008-02-12  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/x86-64-xsave.d: Remove prefix.

16 years ago* dlltool.c (mcore_elf_cache_filename): Add a const qualifier to
nickc [Tue, 12 Feb 2008 12:33:51 +0000 (12:33 +0000)]
* dlltool.c (mcore_elf_cache_filename): Add a const qualifier to
  the argument.
  (scan_obj_filename): Do not drop the const qualifier when calling
  mcore_elf_cache_filename.
  (struct fname_cache): Add const qualifier to filename field.

16 years agoPR ld/5692
nickc [Tue, 12 Feb 2008 11:32:30 +0000 (11:32 +0000)]
PR ld/5692
   * elf-bfd.h (enum elf_object_id): New enum, used to identify
   target specific extensions to the elf_obj_tdata structure.
   (struct elf_obj_tdata): New field 'object_id'.
   (elf_object_id, elf_program_header_size, elf_symtab_hdr): New
   macros for accessing fields in the elf_obj_tdata structure.
   (bfd_elf_mkobject): Rename to bfd_elf_make_generic_object.
   (bfd_elf_allocate_object): New function.
   * elf.c (bfd_elf_mkobject): Rename to bfd_elf_make_generic_object
   and implement by calling bfd_elf_allocate_object.
   (bfd_elf_allocate_object): New function: Allocates an
   elf_obj_tdata structure, possibly with a target specific
   extension.
   * elfxx-target.h (bfd_elfNN_mkobject): Use
   bfd_elf_make_generic_object as the default value.
   * elf32-arm.c (elf32_arm_obj_tdata): Rename to elf_arm_obj_tdata
   for consistency with other, similar structures.
   (is_arm_elf): New macro.  Checks a BFD to make sure that is an ARM
   ELF bfd.
   (elf32_arm_mkobject): Call bfd_elf_allocate_object.
   (bfd_elf32_arm_vfp11_erratum_scan): Use is_arm_elf macro to check
   the bfd being processed.
   (bfd_elf32_arm_vfp11_fix_veneer_locations): Likewise.
   (bfd_elf32_arm_set_target_relocs): Likewise.
   (bfd_elf32_arm_final_link_relocate): Likewise.
   (bfd_elf32_arm_copy_private_bfd_data): Likewise.
   (bfd_elf32_arm_merge_eabi_attributes): Likewise.
   (bfd_elf32_arm_merge_private_bfd_data): Likewise.
   (bfd_elf32_arm_check_relocs): Likewise.
   (bfd_elf32_arm_gc_mark_extra_sections): Likewise.
   (bfd_elf32_arm_size_dynamic_sections): Likewise.
   (bfd_elf32_arm_process_before_allocation): Use elf_symtab_hdr.
   (bfd_elf32_arm_init_maps): Likewise.
   (bfd_elf32_arm_final_link_relocate): Likewise.
   (bfd_elf32_arm_relocate_section): Likewise.
   (bfd_elf32_arm_gc_sweep_hook): Likewise.
   (bfd_elf32_arm_check_relocs): Likewise.
   (bfd_elf32_arm_size_dynamic_sections): Likewise.
   * elf32-i386.c (elf_i386_mkobject): Call bfd_elf_allocate_object.
   (is_i386_elf): New macro.  Checks a BFD to make sure that is an x86
   ELF bfd.
   (elf_i386_check_relocs): Use is_i386_elf macro to check    the bfd
   being processed.
   (elf_i386_size_dynamic_sections): Likewise.
   (elf_i386_relocate_section): Likewise.
   (elf_i386_check_relocs): Use elf_symtab_hdr.
   (elf_i386_gc_sweep_hook): Likewise.
   (elf_i386_size_dynamic_sections): Likewise.
   (elf_i386_relocate_section): Likewise.
   * elf32-ppc.c (ppc_elf_mkobject): Call bfd_elf_allocate_object.
   (elf_create_pointer_linker_section): Use is_ppc_elf_target to
   verify that the bfd before accessing target specific fields.
   (ppc_elf_check_relocs): Likewise.
   (elf_finish_pointer_linker_section): Likewise.
   (elf_create_pointer_linker_section): Use elf_symtab_hdr.
   (ppc_elf_check_relocs): Likewise.
   (ppc_elf_gc_sweep_hook): Likewise.
   (ppc_elf_tls_optimize): Likewise.
   (ppc_elf_size_dynamic_sections): Likewise.
   (ppc_elf_relax_section): Likewise.
   (ppc_elf_relocate_section): Likewise.
   * elf32-s390.c (struct elf_s390_obj_tdata): Add a comment
   reminding programmers to keep this structure in sync with the one
   defined in elf64-s390.c.
   (elf_s390_mkobject): Call bfd_elf_allocate_object.
   (is_s390_elf): New macro.  Checks a BFD to make sure that is an s390
   ELF bfd.
   (elf_s390_check_relocs): Use is_s390_elf macro to check    the bfd
   being processed.
   (elf_s390_size_dynamic_sections): Likewise.
   (elf_s390_relocate_section): Likewise.
   (elf_s390_check_relocs): Use elf_symtab_hdr.
   (elf_s390_gc_sweep_hook): Likewise.
   (elf_s390_size_dynamic_sections): Likewise.
   (elf_s390_relocate_section): Likewise.
   * elf32-sh.c (sh_elf_mkobject): Call bfd_elf_allocate_object.
   (is_sh_elf): New macro.  Checks a BFD to make sure that is an SH
   ELF bfd.
   (sh_elf_size_dynamic_sections): Use is_sh_elf macro to check the
   bfd being processed.
   (sh_elf_relocate_section): Likewise.
   (sh_elf_check_relocs): Likewise.
   (sh_elf_copy_private_data): Likewise.
   (sh_elf_relax_section): Use elf_symtab_hdr.
   (sh_elf_size_dynamic_sections): Likewise.
   (sh_elf_relocate_section): Likewise.
   (sh_elf_get_relocated_section_contents): Likewise.
   (sh_elf_gc_sweep_hook): Likewise.
   (sh_elf_check_relocs): Likewise.
   * elf64-alpha.c (elf64_alpha_mkobject): Call bfd_elf_allocate_object.
   (is_alpha_elf): New macro.  Checks a BFD to make sure that is an
   Alpha ELF bfd.
   (elf64_alpha_create_got_section): Use is_alpha_elf macro to check
   the bfd being processed.
   (elf64_alpha_create_dynamic_section): Likewise.
   (elf64_alpha_check_relocs): Likewise.
   (elf64_alpha_size_got_sections): Likewise.
   (elf64_alpha_relax_section): Likewise.
   (elf64_alpha_relocate_section): Likewise.
   (elf64_alpha_final_link): Likewise.
   (elf64_alpha_check_relocs): Use elf_symtab_hdr.
   (elf64_alpha_relax_section): Likewise.
   (elf64_alpha_relocate_section_r): Likewise.
   (elf64_alpha_relocate_section): Likewise.
   * elf64-ppc.c (ppc64_elf_mkobject): Call bfd_elf_allocate_object.
   (ppc64_elf_check_relocs): Use is_ppc64_elf_target to check the bfd
   being processed.
   (opd_entry_value): Likewise.
   (allocate_dynrelocs): Likewise.
   (ppc64_elf_relocate_section): Likewise.
   (ppc64_elf_check_relocs): Use elf_symtab_hdr.
   (opd_entry_value): Likewise.
   (ppc64_elf_gc_sweep_hook): Likewise.
   (get_sym_h): Likewise.
   (ppc64_elf_edit_opd): Likewise.
   (ppc64_elf_tls_optimize): Likewise.
   (ppc64_elf_edit_toc): Likewise.
   (ppc64_elf_size_dynamic_sections): Likewise.
   (toc_adjusting_stub_needed): Likewise.
   (ppc64_elf_size_stubs): Likewise.
   (ppc64_elf_relocate_section): Likewise.
   * elf64-s390.c (struct elf_s390_obj_tdata): Add a comment
   reminding programmers to keep this structure in sync with the one
   defined in elf32-s390.c.
   (elf_s390_mkobject): Call bfd_elf_allocate_object.
   (is_s390_elf): New macro.  Checks a BFD to make sure that is an s390
   ELF bfd.
   (elf_s390_check_relocs): Use is_s390_elf macro to check    the bfd
   being processed.
   (elf_s390_size_dynamic_sections): Likewise.
   (elf_s390_relocate_section): Likewise.
   (elf_s390_check_relocs): Use elf_symtab_hdr.
   (elf_s390_gc_sweep_hook): Likewise.
   (elf_s390_size_dynamic_sections): Likewise.
   (elf_s390_relocate_section): Likewise.
   * elf64-x86_64.c (elf64_x86_64_mkobject): Call bfd_elf_allocate_object.
   (is_x86_64_elf): New macro.  Checks a BFD to make sure that is an
   x86_64 ELF bfd.
   (elf64_x86_64_check_relocs): Use is_x86_64_elf macro to check the bfd
   being processed.
   (elf64_x86_64_size_dynamic_sections): Likewise.
   (elf64_x86_64_relocate_section): Likewise.
   (elf64_x86_64_check_relocs): Use elf_symtab_hdr.
   (elf64_x86_64_gc_sweep_hook): Likewise.
   (elf64_x86_64_size_dynamic_sections): Likewise.
   (elf64_x86_64_relocate_section): Likewise.
   * elfxx-sparc.c (_bfd_sparc_elf_mkobject): Call bfd_elf_allocate_object.
   (is_sparc_elf): New macro.  Checks a BFD to make sure that is a Sparc
   ELF bfd.
   (_bfd_sparc_elf_check_relocs): Use is_sparc_elf macro to check the
   bfd being processed.
   (_bfd_sparc_elf_gc_sweep_hook): Likewise.
   (_bfd_sparc_elf_size_dynamic_sections): Likewise.
   (_bfd_sparc_elf_check_relocs): Use elf_symtab_hdr.
   (_bfd_sparc_elf_gc_sweep_hook): Likewise.
   (_bfd_sparc_elf_size_dynamic_sections): Likewise.
   (_bfd_sparc_elf_relocate_section): Likewise.

16 years ago* config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
nickc [Tue, 12 Feb 2008 08:37:06 +0000 (08:37 +0000)]
* config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
  argument.
  (tic4x_insn_add): Likewise.
  (md_begin): Drop cast that was discarding a const qualifier.
  * config/tc-d30v.c (get_reloc): Add const qualifier to op
  argument.
  (build_insn): Drop cast that was discarding a const qualifier.

16 years agogas/
hjl [Tue, 12 Feb 2008 05:35:35 +0000 (05:35 +0000)]
gas/

2008-02-11  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (cpu_arch): Add .xsave.
(md_show_usage): Add .xsave.

* doc/c-i386.texi: Add xsave to -march=.

gas/testsuite/

2008-02-11  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/arch-10.s: Add xgetbv.

* gas/i386/arch-10.d: Updated.
* gas/i386/arch-10-1.l: Likewise.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/x86-64-arch-10.d: Likewise.

opcodes/

2008-02-11  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c  (cpu_flag_init): Add CPU_XSAVE_FLAGS.
* i386-init.h: Updated.

16 years agoUp version to 1.1, as the 1.1 binary was pushed to users today.
csilvers [Tue, 12 Feb 2008 02:01:32 +0000 (02:01 +0000)]
Up version to 1.1, as the 1.1 binary was pushed to users today.

16 years ago2008-02-02 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Tue, 12 Feb 2008 01:31:52 +0000 (01:31 +0000)]
2008-02-02  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

  * include/specstrings.h (IN, OUT, OPTIONAL): Remove.
  * include/windef.h (IN, OUT, OPTIONAL): Define.

16 years agomissed from last commit
amodra [Tue, 12 Feb 2008 00:28:55 +0000 (00:28 +0000)]
missed from last commit

16 years agoSupport dynamic relocations against local section symbols.
iant [Tue, 12 Feb 2008 00:28:48 +0000 (00:28 +0000)]
Support dynamic relocations against local section symbols.

16 years ago PR 5755
amodra [Tue, 12 Feb 2008 00:25:59 +0000 (00:25 +0000)]
PR 5755
* arange-set.c: Delete.
* arange-set.h: Delete.
* dwarf2.c: Revert 2007-09-21 changes.
* Makefile.am: Likewise.
* Makefile.in: Regenerate.
* po/SRC-POTFILES.in: Regenerate.

16 years agoSet TEXTREL correctly when using a SECTIONS clause.
iant [Tue, 12 Feb 2008 00:24:00 +0000 (00:24 +0000)]
Set TEXTREL correctly when using a SECTIONS clause.

16 years agoPass down alignment when adding input section to orphan section.
iant [Tue, 12 Feb 2008 00:17:35 +0000 (00:17 +0000)]
Pass down alignment when adding input section to orphan section.

16 years agoForce different sections to different pages for better results on
iant [Tue, 12 Feb 2008 00:15:40 +0000 (00:15 +0000)]
Force different sections to different pages for better results on
x86_64 Linux.

16 years agoFix precedence error, avoid signed/unsignd warning.
iant [Tue, 12 Feb 2008 00:13:39 +0000 (00:13 +0000)]
Fix precedence error, avoid signed/unsignd warning.

16 years agogas/testsuite/
hjl [Tue, 12 Feb 2008 00:04:44 +0000 (00:04 +0000)]
gas/testsuite/

2002-02-11  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run xsave, xsave-intel, x86-64-xsave
and x86-64-xsave-intel.

* gas/i386/x86-64-xsave-intel.d: New file.
* gas/i386/x86-64-xsave.d: Likewise.
* gas/i386/x86-64-xsave.s: Likewise.
* gas/i386/xsave-intel.d: Likewise.
* gas/i386/xsave.d: Likewise.
* gas/i386/xsave.s: Likewise.

opcodes/

2008-02-11  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (cpu_flags): Add CpuXsave.

* i386-opc.h (CpuXsave): New.
(Cpu64): Updated.
(i386_cpu_flags): Add cpuxsave.

* i386-dis.c (MOD_0FAE_REG_4): New.
(RM_0F01_REG_2): Likewise.
(MOD_0FAE_REG_5): Updated.
(RM_0F01_REG_3): Likewise.
(reg_table): Use MOD_0FAE_REG_4.
(mod_table): Use RM_0F01_REG_2.  Add MOD_0FAE_REG_4.  Updated
for xrstor.
(rm_table): Add RM_0F01_REG_2.

* i386-opc.tbl: Add xsave, xrstor, xgetbv and xsetbv.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

16 years ago*** empty log message ***
gdbadmin [Tue, 12 Feb 2008 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Mon, 11 Feb 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agoFix formatting of most recent entry.
bje [Mon, 11 Feb 2008 22:56:13 +0000 (22:56 +0000)]
Fix formatting of most recent entry.

16 years ago * elf32-bfin.c (bfinfdpic_relocate_section): Take more care not to
bernds [Mon, 11 Feb 2008 22:25:03 +0000 (22:25 +0000)]
* elf32-bfin.c (bfinfdpic_relocate_section): Take more care not to
emit invalid relocs or rofixup entries for deleted .eh_frame entries.

16 years ago2008-02-11 Patrick Mansfield <patmans@us.ibm.com>
jjohnstn [Mon, 11 Feb 2008 22:19:58 +0000 (22:19 +0000)]
2008-02-11  Patrick Mansfield  <patmans@us.ibm.com>

        * libc/machine/spu/straddr.h: New file, supplies _straddr.
        * libc/machine/spu/strcat.c: Use _straddr and _strcpy.
        * libc/machine/spu/strcpy.c: Use _strcpy.
        * libc/machine/spu/strcpy.h: Supply _strcpy for optimized SPU
        str[n]cpy and str[n]cat.
        * libc/machine/spu/strncat.c: Use _straddr and _strcpy.
        * libc/machine/spu/strncpy.c: Use _strcpy.

16 years ago2008-02-11 Patrick Mansfield <patmans@us.ibm.com>
jjohnstn [Mon, 11 Feb 2008 22:14:46 +0000 (22:14 +0000)]
2008-02-11  Patrick Mansfield  <patmans@us.ibm.com>

        * libc/machine/spu/strlen.c: Remove the len variable and unneeded
        calculation of its value.

16 years ago2008-02-11 Maxim Grigoriev <maxim2405@gmail.com>
maxim2405 [Mon, 11 Feb 2008 22:00:30 +0000 (22:00 +0000)]
2008-02-11  Maxim Grigoriev  <maxim2405@gmail.com>

* gdbserver/Makefile.in (SFILES): Add linux-xtensa-low.c.
(clean): Add reg-xtensa.c.
(linux-xtensa-low.o, reg-xtensa.o, reg-xtensa.c): New dependencies.
* gdbserver/configure.srv (xtensa*-*-linux*) New target.
* gdbserver/linux-xtensa-low.c: New.
* gdbserver/xtensa-xtregs.c: New.

16 years ago2008-02-11 Maxim Grigoriev <maxim2405@gmail.com>
maxim2405 [Mon, 11 Feb 2008 21:58:40 +0000 (21:58 +0000)]
2008-02-11  Maxim Grigoriev  <maxim2405@gmail.com>

* NEWS (New native configurations): Xtensa GNU/Linux.
(New targets): Xtensa GNU/Linux.
* Makefile.in (ALL_TARGET_OBS): Add xtensa-linux-nat.o and
xtensa-linux-tdep.o
(ALLDEPFILES): Add xtensa-linux-tdep.c and xtensa-linux-nat.c
(xtensa-linux-nat.o, xtensa-linux-tdep.o): New dependencies.
* configure.tgt (xtensa*-*-linux*): New entry.
* xtensa-config.c (xtensa_tdep): New variable.
(xtensa_config_byte_order, xtensa_config_tdep): Removed.
(rmap): Change format based on new macro XTREG.
(XTENSA_CONFIG_INSTANTIATE): Use new macro defined in xtensa-tdep.h.
* xtensa-linux-nat.c: New.
* xtensa-linux-tdep.c: New.
* xtensa-xtregs.c: New.
* xtensa-tdep.h (xtensa_elf_gregset_t): Update.
(XTENSA_ELF_NGREG, XTREG, XTREG_END, XTENSA_GDBARCH_TDEP_INSTANTIATE)
(XCHAL_NUM_CONTEXTS, XCHAL_HAVE_EXCEPTIONS): New macros.
(xtensa_register_t): New field coprocessor.
(XTENSA_REGISTER_FLAGS_PRIVILEGED): Name spelling corrected.
* xtensa-tdep.c (xtensa_config_tdep, xtensa_config_byte_order): Removed.
(xtensa_pseudo_register_read, xtensa_pseudo_register_write):
Update to handle privileged registers.
(xtensa_supply_gregset) Remove exccause and excvaddr registers.
(xtensa_push_dummy_call): Set windowstart register correctly.
(call0_analyze_prologue): Initialize xtensa_default_isa.
(xtensa_derive_tdep): New.
(xtensa_gdbarch_init): Get rid of xtensa_config_byte_order and
xtensa_config_tdep, use XCHAL_HAVE_BE and xtensa_tdep instead.
Call xtensa_derive_tdep().
* config/xtensa/linux.mh: New.
* regformats/reg-xtensa.dat: New.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): Remove unused
corinna [Mon, 11 Feb 2008 19:03:35 +0000 (19:03 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): Remove unused
attr.
(fhandler_disk_file::fsetxattr): Ditto.
* include/attr/xattr.h: New file.

16 years ago * xtensa-config.h (XCHAL_HAVE_THREADPTR): Redefine to zero.
bwilson [Mon, 11 Feb 2008 17:53:04 +0000 (17:53 +0000)]
* xtensa-config.h (XCHAL_HAVE_THREADPTR): Redefine to zero.
(XCHAL_NUM_AREGS, XCHAL_MAX_INSTRUCTION_SIZE): New.

16 years ago * dcrt0.cc (dll_crt0_1): Fix typo in call to sys_wcstombs.
corinna [Mon, 11 Feb 2008 16:39:06 +0000 (16:39 +0000)]
* dcrt0.cc (dll_crt0_1): Fix typo in call to sys_wcstombs.
* miscfuncs.cc (next_char): Initialize ret to keep gcc happy.

16 years ago * elf32-bfin.c (bfin_relocate_section): Set up dynobj before using it
bernds [Mon, 11 Feb 2008 16:04:51 +0000 (16:04 +0000)]
* elf32-bfin.c (bfin_relocate_section): Set up dynobj before using it
if necessary.
(elf32_bfin_merge_private_bfd_data): Simplify, and ensure object type
mismatches are detected.

16 years agoopcodes/
jbeulich [Mon, 11 Feb 2008 15:11:05 +0000 (15:11 +0000)]
opcodes/
2008-02-11  Jan Beulich  <jbeulich@novell.com>
* i386-opc.tbl: Remove Disp32S from CpuNo64 opcodes. Remove
Disp16 from Cpu64 non-jump opcodes (including loop and j?cxz).
* i386-tbl.h: Re-generate.

16 years ago * cache.c (cache_bread): Set bfd_error_file_truncated if EOF
drow [Mon, 11 Feb 2008 13:52:01 +0000 (13:52 +0000)]
* cache.c (cache_bread): Set bfd_error_file_truncated if EOF
was reached.
* srec.c (srec_scan): Calculate the checksum.  Complain on mismatch.

16 years ago*** empty log message ***
gdbadmin [Mon, 11 Feb 2008 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Sun, 10 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago Fix ChangeLog entry.
corinna [Sun, 10 Feb 2008 15:44:12 +0000 (15:44 +0000)]
Fix ChangeLog entry.

16 years ago * Makefile.in (DLL_OFILES): Add ntea.o.
corinna [Sun, 10 Feb 2008 15:43:03 +0000 (15:43 +0000)]
* Makefile.in (DLL_OFILES): Add ntea.o.
* cygwin.din (getxattr, listxattr, removexattr, setxattr, lgetxattr,
llistxattr, lremovexattr, lsetxattr, fgetxattr, flistxattr,
fremovexattr, fsetxattr): Export Linux extended attribute functions.
Sort.
* errno.cc (errmap): Add mappings for ERROR_EAS_DIDNT_FIT,
ERROR_EAS_NOT_SUPPORTED, ERROR_EA_LIST_INCONSISTENT,
ERROR_EA_TABLE_FULL, ERROR_FILE_CORRUPT, ERROR_INVALID_EA_NAME.
* fhandler.h (class fhandler_base): Declare new fgetxattr and
fsetxattr methods.
(class fhandler_disk_file): Ditto.
* fhandler.cc (fhandler_base::fgetxattr): New method.
(fhandler_base::fsetxattr): New method.
* fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): New method.
(fhandler_disk_file::fsetxattr): New method.
* ntdll.h (STATUS_EA_TOO_LARGE): Define.
(STATUS_NONEXISTENT_EA_ENTRY): Define.
(STATUS_NO_EAS_ON_FILE): Define.
* ntea.cc (read_ea): Rewrite for long pathnames and for using with
Linux extended attribute functions.
(write_ea): Ditto.
(getxattr_worker): New static function.
(getxattr): New function.
(lgetxattr): New function.
(fgetxattr): New function.
(listxattr): New function.
(llistxattr): New function.
(flistxattr): New function.
(setxattr_worker): New static function.
(setxattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
(removexattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
* security.h (read_ea): Change declaration according to above changes.
(write_ea): Ditto.
* include/cygwin/version.h: Bump API minor version.

16 years ago * libc/ftw.cc (ftw): Allow nfds < 0 for glibc compatibility.
corinna [Sun, 10 Feb 2008 15:19:08 +0000 (15:19 +0000)]
* libc/ftw.cc (ftw): Allow nfds < 0 for glibc compatibility.
* libc/nftw.c (nftw): Ditto.

16 years ago*** empty log message ***
gdbadmin [Sun, 10 Feb 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Sat, 9 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoMark last change as tiny.
eliz [Sat, 9 Feb 2008 13:46:27 +0000 (13:46 +0000)]
Mark last change as tiny.

16 years ago * corelow.c (core_open): Use IS_ABSOLUTE_PATH.
eliz [Sat, 9 Feb 2008 13:45:33 +0000 (13:45 +0000)]
* corelow.c (core_open): Use IS_ABSOLUTE_PATH.
(filenames.h): New include.
* Makefile.in (corelow.o): Add dependency for filenames.h.

16 years agoFix dates of entries. Commit a forgotten entry from 2008-01-26.
eliz [Sat, 9 Feb 2008 13:39:06 +0000 (13:39 +0000)]
Fix dates of entries.  Commit a forgotten entry from 2008-01-26.

16 years ago * library/main.tcl: Add gdbtk_platform definitions.
kseitz [Sat, 9 Feb 2008 01:23:42 +0000 (01:23 +0000)]
    * library/main.tcl: Add gdbtk_platform definitions.
        * library/attachdlg.itb (list_pids): Use gdbtk_platform
        instead of tcl_platform.
        * library/bpwin.itb (build_win): Likewise.
        (_bp_add): Likewise.
        (_bp_modify): Likewise.
        * library/download.itb (download_it): Likewise.
        * library/globalpref.itb (_build_win): Likewise.
        * library/helpviewer.tcl (open_help): Likewise.
        * library/interface.tcl (gdbtk_tcl_query): Likewise.
        (show_warning): Likewise.
        (open_file): Likewise.
        (run_executable): Likewise.
        * library/managedwin.itb (reveal): Likewise.
        (_create): Likewise.
        * library/prefs.tcl (pref_read): Likewise.
        (pref_set_defaults): Likewise.
        (pref_set_colors): Likewise.
        * library/session.tcl (_exe_name): Likewise.
        * library/srcbar.itcl (_update_file_menu): Likewise.
        (create_run_menu): Likewise.
        * library/srctextwin.itb (_mtime_changed): Likewise.
        (LoadFromCache): Likewise.
        * library/targetselection.itb (default_port): Likewise.
        (build_win): Likewise.

        * library/memwin.itb (build_win): Remove unused tcl_platform
        declaration.
        * library/pluginwin.itcl (enable_ui): Likewise.
        * library/process.itb (build_win): Likewise.
        * library/srcbar.itcl (enable_ui): Likewise.
        * library/srcwin.itb (location): Likewise.
        * library/stackwin.itb (build_win): Likewise.
        * library/tdump.tcl (build_win): Likewise.

16 years agoTrack sections for expressions.
iant [Sat, 9 Feb 2008 01:22:17 +0000 (01:22 +0000)]
Track sections for expressions.

16 years agoMoved entries for previous years to separate changelogs.
kseitz [Sat, 9 Feb 2008 00:05:36 +0000 (00:05 +0000)]
Moved entries for previous years to separate changelogs.

16 years agoRotate logs.
kseitz [Sat, 9 Feb 2008 00:05:16 +0000 (00:05 +0000)]
Rotate logs.

16 years ago*** empty log message ***
gdbadmin [Sat, 9 Feb 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Fri, 8 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoFrom Cary Coutant: fix handling of undefined symbols in shared
iant [Fri, 8 Feb 2008 22:49:22 +0000 (22:49 +0000)]
From Cary Coutant: fix handling of undefined symbols in shared
libraries.

16 years ago * source.c (find_and_open_source): Always rewrite absolute filenames.
drow [Fri, 8 Feb 2008 22:20:46 +0000 (22:20 +0000)]
* source.c (find_and_open_source): Always rewrite absolute filenames.

16 years ago2008-02-08 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 8 Feb 2008 20:58:17 +0000 (20:58 +0000)]
2008-02-08  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/5713
* strings.c (main): Set string_min to 4 if it is <= 0.

16 years agoDon't read linker scripts in binary mode.
iant [Fri, 8 Feb 2008 07:31:09 +0000 (07:31 +0000)]
Don't read linker scripts in binary mode.

16 years agoAdd support for --format binary for input files.
iant [Fri, 8 Feb 2008 07:06:57 +0000 (07:06 +0000)]
Add support for --format binary for input files.

16 years ago * gdb.cp/mb-inline.exp: New.
devans [Fri, 8 Feb 2008 00:42:26 +0000 (00:42 +0000)]
* gdb.cp/mb-inline.exp: New.
* gdb.cp/mb-inline.h: New.
* gdb.cp/mb-inline1.cc: New.
* gdb.cp/mb-inline2.cc: New.

16 years ago * breakpoint.c: #include "hashtab.h".
devans [Fri, 8 Feb 2008 00:42:05 +0000 (00:42 +0000)]
* breakpoint.c: #include "hashtab.h".
(ambiguous_names_p): New fn.
(update_breakpoint_locations): When restoring bp enable status, don't
compare function names if any functions have same name.
* Makefile.in (breakpoint.o): Add hashtab.h dependency.

* gdb.cp/mb-inline.exp: New.
* gdb.cp/mb-inline.h: New.
* gdb.cp/mb-inline1.cc: New.
* gdb.cp/mb-inline2.cc: New.

16 years ago*** empty log message ***
gdbadmin [Fri, 8 Feb 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Thu, 7 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * ada-lang.c (symbol_completion_add): Make SV parameter a VEC**
brobecke [Thu, 7 Feb 2008 22:27:53 +0000 (22:27 +0000)]
    * ada-lang.c (symbol_completion_add): Make SV parameter a VEC**
        instead of just a VEC*. Update use of SV.
        (ada_make_symbol_completion_list): Update symbol_completion_add calls.

16 years ago Fix typo in latest ChangeLog entry.
corinna [Thu, 7 Feb 2008 20:38:39 +0000 (20:38 +0000)]
Fix typo in latest ChangeLog entry.

16 years ago * NEWS: Put all new commands since gdb-6.7 together.
brobecke [Thu, 7 Feb 2008 19:23:10 +0000 (19:23 +0000)]
    * NEWS: Put all new commands since gdb-6.7 together.

16 years ago * ada-lang.c: #include "vec.h".
brobecke [Thu, 7 Feb 2008 19:06:51 +0000 (19:06 +0000)]
    * ada-lang.c: #include "vec.h".
        (struct string_vector, new_string_vector, string_vector_append):
        Delete.
        (char_ptr): New typedef.
        (DEF_VEC_P (char_ptr)): New VEC type.
        (symbol_completion_add): Update profile to take the new VEC type
        instead of the old string_vector structure. Update code accordingly.
        (ada_make_symbol_completion_list): Use the new VEC type instead of
        the old string_vector structure, and update the code accordingly.
        * Makefile.in (ada-lang.o): Add dependency on vec.h.

16 years ago * dtable.cc (dtable::init_std_file_from_handle): Set access to
corinna [Thu, 7 Feb 2008 18:59:39 +0000 (18:59 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Set access to
read/write of handle is connected to a tty or console.
* fhandler_dsp.cc (fhandler_dev_dsp::dup): Set open flags correctly
after duplicating from archetype.
* fhandler_tty.cc (fhandler_tty_slave::dup): Ditto.
(fhandler_pty_master::dup): Ditto.

16 years ago * ld-spu/ovl.d: Update.
amodra [Thu, 7 Feb 2008 11:03:06 +0000 (11:03 +0000)]
* ld-spu/ovl.d: Update.
* ld-spu/ovl2.d: Update.

16 years ago * ldlang.c (new_afile): Don't pass unadorned NULL to concat.
amodra [Thu, 7 Feb 2008 08:41:10 +0000 (08:41 +0000)]
* ldlang.c (new_afile): Don't pass unadorned NULL to concat.
* ldfile.c (ldfile_add_library_path): Likewise.
* emultempl/elf32.em (check_ld_elf_hints, check_ld_so_conf): Likewise.
* emultempl/lnk960.em (lnk960_before_parse): Likewise.
* emultempl/spuelf.em (embedded_spu_file): Likewise.

16 years ago * read.c (s_weakref): Don't pass unadorned NULL to concat.
amodra [Thu, 7 Feb 2008 08:40:29 +0000 (08:40 +0000)]
* read.c (s_weakref): Don't pass unadorned NULL to concat.
* config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.

16 years ago * objdump.c (main): Don't pass unadorned NULL to concat.
amodra [Thu, 7 Feb 2008 08:39:54 +0000 (08:39 +0000)]
* objdump.c (main): Don't pass unadorned NULL to concat.

16 years agoSupport --oformat binary.
iant [Thu, 7 Feb 2008 07:33:46 +0000 (07:33 +0000)]
Support --oformat binary.

16 years agoIgnore version scripts for relocatable links.
iant [Thu, 7 Feb 2008 05:45:07 +0000 (05:45 +0000)]
Ignore version scripts for relocatable links.

16 years agoEven when stripping all symbols, we need to write out the dynamic
iant [Thu, 7 Feb 2008 04:35:41 +0000 (04:35 +0000)]
Even when stripping all symbols, we need to write out the dynamic
symbol table.

16 years agoImplement --just-symbols, including -R FILE. Fix symbol values when
iant [Thu, 7 Feb 2008 01:51:25 +0000 (01:51 +0000)]
Implement --just-symbols, including -R FILE.  Fix symbol values when
doing a relocatable link.

16 years agobfd/
amodra [Thu, 7 Feb 2008 01:26:56 +0000 (01:26 +0000)]
bfd/
* elf32-spu.c (spu_elf_size_stubs): Revert 2008-01-28 doubling
of _ovly_buf_table size.
(spu_elf_build_stubs): Use low bit of .size as "present" bit.
Adjust initialisations relating to _ovly_buf_table.
ld/
* emultempl/spu_ovl.S: Use low bit of _ovly_table.size as
a "present" bit rather than low bit of .buf.  Correct indexing
into _ovly_buf_table.  Use relative loads and stores to access
overlay manager local vars.
* emultempl/spu_ovl.o: Regenerate.

16 years ago*** empty log message ***
gdbadmin [Thu, 7 Feb 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Wed, 6 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update