OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
13 years ago Move ChangeLog entry.
danglin [Wed, 29 Dec 2010 16:57:41 +0000 (16:57 +0000)]
Move ChangeLog entry.

13 years agogdbserver: bfin: new port
vapier [Wed, 29 Dec 2010 16:15:40 +0000 (16:15 +0000)]
gdbserver: bfin: new port

Signed-off-by: Jie Zhang <jie.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years agogdb: bfin: new port
vapier [Wed, 29 Dec 2010 16:11:44 +0000 (16:11 +0000)]
gdb: bfin: new port

Initial support for Blackfin processors.  This supports the standard ABI.

Signed-off-by: Jie Zhang <jie.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years ago2010-12-29 Hui Zhu <teawater@gmail.com>
teawater [Wed, 29 Dec 2010 12:47:17 +0000 (12:47 +0000)]
2010-12-29  Hui Zhu  <teawater@gmail.com>

* ax-gdb.c (gen_expr): Change error message.

13 years agorevert previous gdb.c commit (it was not a minor comment update)
brobecke [Wed, 29 Dec 2010 10:18:48 +0000 (10:18 +0000)]
revert previous gdb.c commit (it was not a minor comment update)

gdb/ChangeLog:

       * gdb.c: Revert the previous change, which was probably committed
        by accident.

13 years agoFix typo in ada-lang.c comment.
brobecke [Wed, 29 Dec 2010 08:15:24 +0000 (08:15 +0000)]
Fix typo in ada-lang.c comment.

gdb/ChangeLog:

        * ada-lang.c: Fix typo in comment.

13 years ago[Ada] print null array pointer as `0x0' rather than `(null)'
brobecke [Wed, 29 Dec 2010 08:02:58 +0000 (08:02 +0000)]
[Ada] print null array pointer as `0x0' rather than `(null)'

Trying to print a variable defined as an access to an unconstrained
array:

       type String_Access is access String;
       S1 : String_Access;

If that variable is null, then GDB prints its value in an odd way:

    (gdb) print S1
    $1 = (string_bug.string_access) (null)
                                    ^^^^^^

This patch changes the debugger behavior to print the pointer using
the same output we'd use for any null pointer:

    (gdb) print S1
    $1 = (string_bug.string_access) 0x0

It also adds an assert, helping us verify an assumption.

gdb/ChangeLog:

        * ada-valprint.c (ada_val_print_1): Print null array pointers as
        `0x0' rather than `(null)'.  Add assertion.

gdb/testsuite/ChangeLog:

        * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
        * gdb.ada/arrayptr.exp: Add test printing that new variable.

13 years ago[Ada] do not print arrays as array pointers
brobecke [Wed, 29 Dec 2010 08:01:28 +0000 (08:01 +0000)]
[Ada] do not print arrays as array pointers

This patch enhances the debugger to distinguish between fat pointers
that represent either: array types, or array access types.  In the latter
case, the object/type is encoded as a typedef type pointing to the fat
pointer.

The first part of the change is to adjust ada_check_typedef to avoid
stripping the typedef layer when it points to a fat pointer.  The rest
of the patch is adjustments required in various places to deal with
the fact that the type is uses might now be a typedef.

gdb/ChangeLog:

        * ada-lang.h (ada_coerce_to_simple_array): Add declaration.
        * ada-lang.c (ada_typedef_target_type): New function.
        (desc_base_type): Add handling of fat pointer typedefs.
        (ada_coerce_to_simple_array): Make non-static.
        (decode_packed_array_bitsize): Add handling of fat pointer typedefs.
        Add assertion.
        (ada_template_to_fixed_record_type_1, ada_to_fixed_type)
        (ada_check_typedef): Add handling of fat pointer typedefs.
        (ada_evaluate_subexp) [OP_FUNCALL]: Likewise.
        * ada-typeprint.c (ada_print_type): Add handling of fat pointer
        typedefs.
        * ada-valprint.c (ada_val_print_1): Convert fat pointers that are not
        array accesses to simple arrays rather than simple array pointers.
        (ada_value_print): In the case of array descriptors, do not print
        the value type description unless it is an array access.

gdb/testsuite/ChangeLog:

        * gdb.ada/lang_switch.exp: Correct expected parameter value.

gdb/doc/ChangeLog:

        * gdb.texinfo (Ada Glitches): Remove paragraph describing the
        occasional case where the debugger prints an array address
        instead of the array itself.

13 years ago* cygtls.cc: Include stdlib.h.
cgf [Wed, 29 Dec 2010 06:33:28 +0000 (06:33 +0000)]
* cygtls.cc: Include stdlib.h.
(_cygtls::init_thread): Seed random number generator on a per-thread basis.

13 years agoAdd documentation for TARGET_OBJECT_OSDATA
brobecke [Wed, 29 Dec 2010 02:52:23 +0000 (02:52 +0000)]
Add documentation for TARGET_OBJECT_OSDATA

gdb/ChangeLog:

        * target.h (enum target_object): Expand the documentation of
        TARGET_OBJECT_OSDATA a bit.

13 years agosim: HW_NALLOC: new alloc helper
vapier [Wed, 29 Dec 2010 02:51:40 +0000 (02:51 +0000)]
sim: HW_NALLOC: new alloc helper

We have malloc (uninitialized buffer), zalloc (zeroed buffer), and
nzalloc (zeroed array).  But we don't have a way to allocate an
uninitialized array.  Add a HW_NALLOC to fill this gap.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years agosim: HW_NZALLOC: fix arg handling
vapier [Wed, 29 Dec 2010 02:50:35 +0000 (02:50 +0000)]
sim: HW_NZALLOC: fix arg handling

The HW_NZALLOC macro has all caps args for some reason (unlike the other
alloc helpers), and ends up not using the "ME" argument since its copy
and paste source uses "me".  Make all the args lowercase to match the
style of all the other args and make it use the correct "me".

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years ago2010-12-28 Michael Snyder <msnyder@vmware.com>
msnyder [Wed, 29 Dec 2010 02:11:03 +0000 (02:11 +0000)]
2010-12-28  Michael Snyder  <msnyder@vmware.com>

* command.h: Comment clean-up.
* cli/cli-cmds.c: Ditto.
* cli/cli-cmds.h: Ditto.
* cli/cli-decode.c: Ditto.
* cli/cli-decode.h: Ditto.
* cli/cli-dump.c: Ditto.
* cli/cli-interp.c: Ditto.
* cli/cli-logging.c: Ditto.
* cli/cli-script.c: Ditto.
* cli/cli-setshow.c: Ditto.
* cli/cli-setshow.h: Ditto.

13 years agoMention PR ld/12327 in ChangeLog entry.
hjl [Wed, 29 Dec 2010 01:03:31 +0000 (01:03 +0000)]
Mention PR ld/12327 in ChangeLog entry.

13 years ago2010-12-28 Michael Snyder <msnyder@vmware.com>
msnyder [Wed, 29 Dec 2010 00:58:11 +0000 (00:58 +0000)]
2010-12-28  Michael Snyder  <msnyder@vmware.com>

* event-loop.c: Comment clean-up.
* event-loop.h: Ditto.
* event-top.c: Ditto.
* gdb.c: Ditto.
* gdb.h: Ditto.
* main.c: Ditto.
* top.c: Ditto.
* top.h: Ditto.

13 years ago*** empty log message ***
gdbadmin [Wed, 29 Dec 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Tue, 28 Dec 2010 23:00:05 +0000 (23:00 +0000)]
daily update

13 years agoAdd testcases for PR ld/12327.
hjl [Tue, 28 Dec 2010 18:04:10 +0000 (18:04 +0000)]
Add testcases for PR ld/12327.

2010-12-28  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/12327
* ld-scripts/defined4.d: New.
* ld-scripts/defined4.s: Likewise.
* ld-scripts/defined4.t: Likewise.
* ld-scripts/expr2.d: Likewise.
* ld-scripts/expr2.s: Likewise.
* ld-scripts/expr2.t: Likewise.

* ld-scripts/defined.exp: Run defined4.

* ld-scripts/expr.exp: Run expr2.

13 years ago * ax-gdb.c (gen_expr) <OP_REGISTER>: Error out if trying to
palves [Tue, 28 Dec 2010 17:59:57 +0000 (17:59 +0000)]
* ax-gdb.c (gen_expr) <OP_REGISTER>: Error out if trying to
collect a user register.

13 years ago2010-12-28 Hui Zhu <teawater@gmail.com>
teawater [Tue, 28 Dec 2010 16:00:07 +0000 (16:00 +0000)]
2010-12-28  Hui Zhu  <teawater@gmail.com>

* gdbarch.sh (ax_pseudo_register_collect,
ax_pseudo_register_push_stack): new callbacks.
(agent_expr): Forward declare.
* gdbarch.h, gdbarch.c: Regenerate.
* ax-gdb.c (gen_expr): Remove pseudo-register check code.
* ax-general.c (user-regs.h): New include.
(ax_reg): Call gdbarch_ax_pseudo_register_push_stack.
(ax_reg_mask): Call gdbarch_ax_pseudo_register_collect.
* mips-tdep.c (ax.h): New include.
(mips_ax_pseudo_register_collect,
mips_ax_pseudo_register_push_stack): New functions.
(mips_gdbarch_init): Set mips_ax_pseudo_register_collect and
mips_ax_pseudo_register_push_stack.

13 years ago2010-12-28 Yao Qi <yao@codesourcery.com>
qiyao [Tue, 28 Dec 2010 13:26:45 +0000 (13:26 +0000)]
2010-12-28  Yao Qi  <yao@codesourcery.com>

* arm-tdep.c (arm_register_aliases): Remove sp, pc, and fp.

13 years agoremove target_acknowledge_created_inferior
brobecke [Tue, 28 Dec 2010 11:40:26 +0000 (11:40 +0000)]
remove target_acknowledge_created_inferior

This target_ops routine appears to be unused in practice, so this patch
removes it.

gdb/ChangeLog:

        * inf-child.c (inf_child_acknowledge_created_inferior): Delete.
        (inf_child_target): Do not set t->to_acknowledge_created_inferior.
        * inf-ptrace.c (inf_ptrace_create_inferior): Remove call to
        target_acknowledge_created_inferior.
        * inf-ttrace.c (inf_ttrace_him): Likewise.
        * target.h (struct target_ops): Delete to_acknowledge_created_inferior
        field.
        (target_acknowledge_created_inferior): Delete.
        * target.c (update_current_target): Remove setting of
        to_acknowledge_created_inferior field. Do default value for that
        field either.
        (debug_to_acknowledge_created_inferior): Delete.
        (setup_target_debug): Remove setting of
        current_target.to_acknowledge_created_inferior.

13 years ago*** empty log message ***
gdbadmin [Tue, 28 Dec 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Mon, 27 Dec 2010 23:00:05 +0000 (23:00 +0000)]
daily update

13 years ago2010-12-27 David Byron <dbyron0@users.sourceforge.net>
ironhead [Mon, 27 Dec 2010 21:26:31 +0000 (21:26 +0000)]
2010-12-27  David Byron  <dbyron0@users.sourceforge.net>

        * include/winioctl.h (STORAGE_BUS_TYPE): Define.

13 years ago2010-12-27 Ozkan Sezer <sezero@users.sourceforge.net>
ironhead [Mon, 27 Dec 2010 21:19:42 +0000 (21:19 +0000)]
2010-12-27  Ozkan Sezer  <sezero@users.sourceforge.net>

        * include/dirent.h (dd_handle): Define as intptr_t.

13 years ago2010-12-27 Seth Jackson <sethj@users.sourceforge.net>
ironhead [Mon, 27 Dec 2010 21:12:35 +0000 (21:12 +0000)]
2010-12-27  Seth Jackson  <sethj@users.sourceforge.net>

        * include/winbase.h (GetComputerNameEx): Define.

13 years ago2010-09-22 Ryan Lortie <desrt@desrt.ca>
ironhead [Mon, 27 Dec 2010 21:07:20 +0000 (21:07 +0000)]
2010-09-22  Ryan Lortie  <desrt@desrt.ca>

        * include/winbase.h (TzSpecificLocalTimeToSystemTime): Define.

13 years ago2010-11-08 Rodrigo Rivas Costa <rodrigorivascosta@gmail.com>
ironhead [Mon, 27 Dec 2010 21:01:13 +0000 (21:01 +0000)]
2010-11-08 Rodrigo Rivas Costa <rodrigorivascosta@gmail.com>

        * tlssup.c (__dyn_tls_init): Use an integer variable to iterate between
        __xd_a and __xd_z.

13 years ago2010-12-27 Markus Koenig <basilo@users.sourceforge.net>
ironhead [Mon, 27 Dec 2010 20:39:42 +0000 (20:39 +0000)]
2010-12-27  Markus Koenig  <basilo@users.sourceforge.net>

        * include/gdiplus/gdipluspixelformats.h (PixelFormatIndexed,
        PixelFormatGDI, PixelFormatAlpha, PixelFormatPAlpha,
        PixelFormatExtended, PixelFormatCanonical, PixelFormatUndefined,
        PixelFormatDontCare, PixelFormat1bppIndexed, PixelFormat4bppIndexed,
        PixelFormat8bppIndexed, PixelFormat16bppGrayScale,
        PixelFormat16bppRGB555, PixelFormat16bppRGB565, PixelFormat16bpp1555,
        PixelFormat24bppRGB, PixelFormat32bppRGB, PixelFormat32bppARGB,
        PixelFormat32bppPARGB, PixelFormat48bppRGB, PixelFormat64bppARGB,
        PixelFormat64bppPARGB, PixelFormatMax): Fix definition.

13 years ago2010-10-20 Seth Jackson <sethj@users.sourceforge.net>
ironhead [Mon, 27 Dec 2010 20:31:57 +0000 (20:31 +0000)]
2010-10-20  Seth Jackson  <sethj@users.sourceforge.net>

        * include/commctrl.h (TC_ITEMHEADER[AW]): Rename to TCITEMHEADER[AW].
        Add defines for backward compatibility.

13 years ago2010-12-27 Johann Hanne <jonnyh33@users.sourceforge.net>
ironhead [Mon, 27 Dec 2010 20:20:15 +0000 (20:20 +0000)]
2010-12-27  Johann Hanne  <jonnyh33@users.sourceforge.net>

        * include/oaidl.h (GetTypeComp, GetTypeComp, IsMatchingType): Fix defintion.
        * include/objidl.h (AddConnection, ReleaseConnection): Ditto.
        * include/winbase.h (EnumResourceLanguagesA, EnumResourceLanguagesW,
        EnumResourceNamesA, EnumResourceNamesW, EnumResourceTypesA,
        EnumResourceTypesW): Ditto.
        * include/winnt.h (_SYSTEM_POWER_CAPABILITIES): Ditto.

13 years ago2010-12-27 Seth Jackson <sethj@users.sourceforge.net>
ironhead [Mon, 27 Dec 2010 19:59:54 +0000 (19:59 +0000)]
2010-12-27  Seth Jackson  <sethj@users.sourceforge.net>

        * include/basetsd.h: (INT8, UINT8, INT16, UINT16): Define.

13 years ago gdb/
palves [Mon, 27 Dec 2010 19:37:03 +0000 (19:37 +0000)]
gdb/
* breakpoint.c (breakpoint_restore_shadows): When looking for the
location with the lowest address that overlaps the memory range we
want to restore shadows for, account for multiple locations at the
same address.

13 years ago2010-12-27 Paul Sokolovsky <pfalcon@users.sf.net>
ironhead [Mon, 27 Dec 2010 19:15:29 +0000 (19:15 +0000)]
2010-12-27  Paul Sokolovsky  <pfalcon@users.sf.net>

        * include/bdatypes.h: Add missing semicolons.

13 years ago* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 234.
cgf [Mon, 27 Dec 2010 17:29:25 +0000 (17:29 +0000)]
* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 234.

13 years ago Code cleanup - renaming.
bauermann [Mon, 27 Dec 2010 13:49:44 +0000 (13:49 +0000)]
Code cleanup - renaming.
* breakpoint.c: Use bl for `*bp_location' variables, blp_tmp for
`**bp_location' helper variables, b_tmp for `*breakpoint' helper
variables.

13 years ago2010-12-27 Kevin Buettner <kevinb@redhat.com>
teawater [Mon, 27 Dec 2010 08:17:31 +0000 (08:17 +0000)]
2010-12-27  Kevin Buettner  <kevinb@redhat.com>
            Hui Zhu  <teawater@gmail.com>

* mips-tedp.c (mips_register_name): Add comments.

13 years ago PR gas/11395
danglin [Mon, 27 Dec 2010 02:05:12 +0000 (02:05 +0000)]
PR gas/11395
* config/tc-hppa.c (pa_ip): Set doubleword carry/borrow bit when a
doubleword completer or doubleword condition is found in an add/sub
instruction.  Reject match for 'A'/'S' only if there is no condition
and d bit is not set.

* gas/hppa/basic/add2.s: Add test for a simple doubleword carry
instruction.
* gas/hppa/basic/sub2.s: Add tests for simple word and doubleword
borrow instructions.
* gas/hppa/basic/basic.exp: Update regexps for above.

* opcode/hppa.h: Clear "d" bit in "add" and "sub" patterns.

13 years ago*** empty log message ***
gdbadmin [Mon, 27 Dec 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Sun, 26 Dec 2010 23:00:06 +0000 (23:00 +0000)]
daily update

13 years agocygwin:
cgf [Sun, 26 Dec 2010 21:11:37 +0000 (21:11 +0000)]
cygwin:
* cygwin.din: Export program_invocation_name and
program_invocation_short_name.
* dcrt0.cc: Set program_invocation*name to correct values, based on
argv[0].
* globals.cc (program_invocation_name): Define.
(program_invocation_short_name): Ditto
newlib:
* libc/include/sys/errno.h (program_invocation_name): Declare.
(program_invocation_short_name): Ditto.

13 years ago*** empty log message ***
gdbadmin [Sun, 26 Dec 2010 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Sat, 25 Dec 2010 23:00:17 +0000 (23:00 +0000)]
daily update

13 years ago* gdb.threads/tls.exp: Fix typo.
schwab [Sat, 25 Dec 2010 19:22:39 +0000 (19:22 +0000)]
* gdb.threads/tls.exp: Fix typo.

13 years ago* gdb.threads/thread-specific.exp (get_thread_list): Update.
schwab [Sat, 25 Dec 2010 17:54:00 +0000 (17:54 +0000)]
* gdb.threads/thread-specific.exp (get_thread_list): Update.
* gdb.threads/execl.exp: Update.

13 years ago*** empty log message ***
gdbadmin [Sat, 25 Dec 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Fri, 24 Dec 2010 23:00:05 +0000 (23:00 +0000)]
daily update

13 years ago * compress.c (decompress_contents): Style.
amodra [Fri, 24 Dec 2010 10:40:18 +0000 (10:40 +0000)]
* compress.c (decompress_contents): Style.
(bfd_get_full_section_contents): Do not decompress directly into
caller buffer or directly return cached section contents.
Check malloc return for compressed_buffer.

13 years ago*** empty log message ***
gdbadmin [Fri, 24 Dec 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Thu, 23 Dec 2010 23:00:05 +0000 (23:00 +0000)]
daily update

13 years agosim: start a gitignore
vapier [Thu, 23 Dec 2010 21:15:25 +0000 (21:15 +0000)]
sim: start a gitignore

13 years agogdbserver: start a gitignore
vapier [Thu, 23 Dec 2010 21:13:24 +0000 (21:13 +0000)]
gdbserver: start a gitignore

13 years ago gdb/doc/
palves [Thu, 23 Dec 2010 20:29:17 +0000 (20:29 +0000)]
gdb/doc/
* gdb.texinfo (Packets) <read registers packet>: Document support
for registers that were not collected.

13 years ago * output.h (Output_data_reloc::add_output_section): Pass OD instead
ccoutant [Thu, 23 Dec 2010 19:56:13 +0000 (19:56 +0000)]
* output.h (Output_data_reloc::add_output_section): Pass OD instead
of OS to this->add.  Add OD parameter to second form of the function.

13 years ago2010-12-23 Yao Qi <yao@codesourcery.com>
qiyao [Thu, 23 Dec 2010 15:10:24 +0000 (15:10 +0000)]
2010-12-23  Yao Qi  <yao@codesourcery.com>

* gdb.arch/arm-disp-step.exp: New.
* gdb.arch/arm-disp-step.S: New.

13 years ago2010-12-23 Yao Qi <yao@codesourcery.com>
qiyao [Thu, 23 Dec 2010 14:38:33 +0000 (14:38 +0000)]
2010-12-23  Yao Qi  <yao@codesourcery.com>

* arm-tdep.c (thumb_analyze_prologue): Move some code ...
(EXTRACT_MOVW_MOVT_IMM_T): ... here.  New macro.
(EXTRACT_MOVW_MOVT_IMM_A): New macro.
(arm_analyze_load_stack_chk_guard): New.
(arm_skip_stack_protector): New.
(arm_skip_prologue): Adjust post_prologue_pc by
arm_skip_stack_protector.

13 years agoAdd missing _() marker in error message.
brobecke [Thu, 23 Dec 2010 04:30:38 +0000 (04:30 +0000)]
Add missing _() marker in error message.

gdb/ChangeLog:

* mi/mi-main.c (mi_cmd_remove_inferior): Use _() marker for error
message.  Change spelling of "can not" into "cannot".

13 years ago2010-12-23 Yao Qi <yao@codesourcery.com>
qiyao [Thu, 23 Dec 2010 03:20:08 +0000 (03:20 +0000)]
2010-12-23  Yao Qi  <yao@codesourcery.com>

* arm-tdep.c (arm_gdbarch_init): Remove invoke to
set_gdbarch_deprecated_fp_regnum.

13 years ago*** empty log message ***
gdbadmin [Thu, 23 Dec 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Wed, 22 Dec 2010 23:00:06 +0000 (23:00 +0000)]
daily update

13 years ago * inferior.c (remove_inferior_command): Don't remove an active inferior.
marckhouzam [Wed, 22 Dec 2010 18:30:16 +0000 (18:30 +0000)]
* inferior.c (remove_inferior_command): Don't remove an active inferior.
* mi/mi-main.c (mi_cmd_remove_inferior): Ditto.

13 years ago*** empty log message ***
gdbadmin [Wed, 22 Dec 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Tue, 21 Dec 2010 23:00:05 +0000 (23:00 +0000)]
daily update

13 years agogdb
tromey [Tue, 21 Dec 2010 19:10:08 +0000 (19:10 +0000)]
gdb
* thread.c (print_thread_info): Make a ui-out table in CLI mode.
gdb/testsuite
* gdb.threads/execl.exp: Update.
* gdb.threads/linux-dp.exp: Update.
* gdb.threads/manythreads.exp: Update.
* gdb.threads/tls.exp: Update.

13 years ago2010-12-21 Kai Tietz <kai.tietz@onevision.com>
ktietz [Tue, 21 Dec 2010 15:24:37 +0000 (15:24 +0000)]
2010-12-21  Kai Tietz  <kai.tietz@onevision.com>

        * peXXigen.c (_bfd_XXi_final_link_postscript): Use
        bfd_get_symbol_leading_char to determine "_tls_used" name.

2010-12-21  Kai Tietz  <kai.tietz@onevision.com>

* ld-pe/pe.exp: Add TLS directory test.
* ld-pe/tlssec.s: New.
* ld-pe/tlssec64.d: New.
* ld-pe/tlssec32.d: New.

13 years agoAdjust URLs.
tschwinge [Tue, 21 Dec 2010 11:00:47 +0000 (11:00 +0000)]
Adjust URLs.

13 years ago * peXXigen.c (_bfd_XXi_final_link_postscript): Use correct size
muller [Tue, 21 Dec 2010 08:41:15 +0000 (08:41 +0000)]
* peXXigen.c (_bfd_XXi_final_link_postscript): Use correct size
for windows 64-bit TLS table size.

13 years ago*** empty log message ***
gdbadmin [Tue, 21 Dec 2010 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Mon, 20 Dec 2010 23:00:05 +0000 (23:00 +0000)]
daily update

13 years ago * dwarf_reader.cc (Sized_dwarf_line_info::read_lines): Only keep
ian [Mon, 20 Dec 2010 18:37:36 +0000 (18:37 +0000)]
* dwarf_reader.cc (Sized_dwarf_line_info::read_lines): Only keep
second of two consecutive entries with same offset.

13 years ago * ld-bootstrap/bootstrap.exp: Fix misplaced comment.
amodra [Mon, 20 Dec 2010 13:05:00 +0000 (13:05 +0000)]
* ld-bootstrap/bootstrap.exp: Fix misplaced comment.

13 years ago * ld.texinfo (Expression Section): Describe treatment of numbers
amodra [Mon, 20 Dec 2010 13:00:11 +0000 (13:00 +0000)]
* ld.texinfo (Expression Section): Describe treatment of numbers
and absolute symbols.
* ldemul.c (after_open_default): Look up __ld_compatibility.
* ldexp.c (fold_name): Convert absolute symbols to numbers when
inside output section definitions, or when __ld_compatibility >= 221.
(exp_fold_tree_1): Convert numbers to absolute when not in output
section definition and __ld_compatibility < 221.  Don't always
convert values outside an output section definition to absolute.
* ldexp.h (uses_defined): Comment.
* ldlang.c (ld_compatibility): New variable.
* ldlang.h (ld_compatibility): Declare.
* emultempl/aix.em, * emultempl/armcoff.em, * emultempl/beos.em,
* emultempl/elf32.em, * emultempl/genelf.em, * emultempl/lnk960.em,
* emultempl/m68kcoff.em, * emultempl/mmo.em, * emultempl/pe.em,
* emultempl/pep.em, * emultempl/sunos.em, * emultempl/z80.em: Call
after_open_default from after_open function.

13 years ago PR ld/12001
amodra [Mon, 20 Dec 2010 06:27:09 +0000 (06:27 +0000)]
PR ld/12001
Revert 2010-11-03 Nick Clifton
* ldlang.c (ldlang_def_chain_list): Delete.
(insert_defined, ldlang_add_def, lang_place_defineds): Delete.
(lang_process): Don't call lang_place_defineds.
(lang_add_assignment): Don't do anything special for --defsym.

* ldexp.h (struct ldexp_control): Add uses_defined.
(exp_fold_tree_no_dot): Declare.
* ldexp.c (exp_fold_tree): Clear uses_defined.
(exp_fold_tree_no_dot): Likewise.  Make global.
(fold_name <DEFINED>): Set uses_defined.
(exp_fold_tree_1 <etree_assign>): Define symbol during first phase
even when the value being assigned isn't valid.
* ldlang.c (open_input_bfds): Process assignment statements.
(lang_process): Bump lang_statement_iteration.
(scan_for_self_assignment): Formatting.
(print_assignment): Style.

testsuite/
* ld-scripts/default-script2.d: Revert 2010-11-03 change.

13 years ago2010-12-20 Yao Qi <yao@codesourcery.com>
qiyao [Mon, 20 Dec 2010 06:19:04 +0000 (06:19 +0000)]
2010-12-20  Yao Qi  <yao@codesourcery.com>

* arm-tdep.c (arm_register_reggroup_p): New.
(arm_gdbarch_init): Set arm_register_reggroup_p for hook
register_reggroup_p.

13 years agoForget to commit in my last check in
qiyao [Mon, 20 Dec 2010 06:15:01 +0000 (06:15 +0000)]
Forget to commit in my last check in
2010-12-20  Yao Qi  <yao@codesourcery.com>

* features/arm-core.xml:  Add attribute type to reg from r0 to r12.
* features/arm-with-iwmmxt.c: Regenerate.
* features/arm-with-neon.c: Regenerate.
* features/arm-with-vfpv2.c: Regenerate.
* features/arm-with-vfpv3.c: Regenerate.

13 years ago2010-12-20 Yao Qi <yao@codesourcery.com>
qiyao [Mon, 20 Dec 2010 06:09:20 +0000 (06:09 +0000)]
2010-12-20  Yao Qi  <yao@codesourcery.com>

* features/arm-core.xml:  Add attribute type to reg from r0 to r12.
* features/arm-with-iwmmxt.c: Regenerate.
* features/arm-with-neon.c: Regenerate.
* features/arm-with-vfpv2.c: Regenerate.
* features/arm-with-vfpv3.c: Regenerate.

13 years ago*** empty log message ***
gdbadmin [Mon, 20 Dec 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Sun, 19 Dec 2010 23:00:05 +0000 (23:00 +0000)]
daily update

13 years ago*** empty log message ***
gdbadmin [Sun, 19 Dec 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Sat, 18 Dec 2010 23:00:05 +0000 (23:00 +0000)]
daily update

13 years agoinclude/opcode/
rsandifo [Sat, 18 Dec 2010 11:28:25 +0000 (11:28 +0000)]
include/opcode/
* mips.h: Update commentary after last commit.

13 years agoinclude/opcode/
rsandifo [Sat, 18 Dec 2010 11:14:12 +0000 (11:14 +0000)]
include/opcode/
2010-12-14  Mingjie Xing  <mingjie.xing@gmail.com>

* mips.h (OP_*_OFFSET_A, OP_*_OFFSET_B, OP_*_OFFSET_C)
(OP_*_RZ, OP_*_FZ, INSN2_M_FP_D, INSN2_WRITE_GPR_Z, INSN2_WRITE_FPR_Z)
(INSN2_READ_GPR_Z, INSN2_READ_FPR_Z, INSN2_READ_GPR_D): Define.

opcodes/
2010-12-14  Mingjie Xing  <mingjie.xing@gmail.com>

* mips-opc.c (WR_z, WR_Z, RD_z, RD_Z, RD_d): Define.
(mips_builtin_opcodes): Add loongson3a specific instructions.
* mips-dis.c (print_insn_args): Handle the new arguments +a|b|c|z|Z.

gas/
2010-12-14  Mingjie Xing  <mingjie.xing@gmail.com>

* config/tc-mips.c (insn_uses_reg): Handle the new flags
INSN2_READ_FPR_Z, INSN2_READ_GPR_D and INSN2_READ_GPR_Z.
(append_insn): Handle delay-slot filling for the new flags.
(validate_mips_insn): Handle the new arguments +a|b|c|z|Z.
(mips_ip): Handle the new arguments +a|b|c|z|Z.

gas/testsuite/
2010-12-14  Mingjie Xing  <mingjie.xing@gmail.com>

* gas/mips/loongson-3a-2.s, gas/mips/loongson-3a-2.d,
gas/mips/loongson-3a-3.s, gas/mips/loongson-3a-3.d: New tests.
* gas/mips/mips.exp: Run them.

13 years ago* config/rx-parse.y (SUB): Correct subtraction of immediate
dj [Sat, 18 Dec 2010 05:40:45 +0000 (05:40 +0000)]
* config/rx-parse.y (SUB): Correct subtraction of immediate
pattern.

13 years ago * mi/mi-main.c (mi_cmd_remove_inferior): Don't delete current inferior.
marckhouzam [Sat, 18 Dec 2010 02:10:04 +0000 (02:10 +0000)]
* mi/mi-main.c (mi_cmd_remove_inferior): Don't delete current inferior.
(get_other_inferior): New.

13 years ago * python/py-progspace.c (py_free_pspace): Obtain arch another
marckhouzam [Sat, 18 Dec 2010 02:08:42 +0000 (02:08 +0000)]
* python/py-progspace.c (py_free_pspace): Obtain arch another
way to avoid dereferencing a null pointer.

13 years ago2010-12-17 Michael Snyder <msnyder@vmware.com>
msnyder [Sat, 18 Dec 2010 00:11:44 +0000 (00:11 +0000)]
2010-12-17  Michael Snyder  <msnyder@vmware.com>

* utils.c (do_my_cleanups): Comment fix-up.

13 years ago*** empty log message ***
gdbadmin [Sat, 18 Dec 2010 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Fri, 17 Dec 2010 23:00:06 +0000 (23:00 +0000)]
daily update

13 years ago2010-12-18 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 17 Dec 2010 22:10:05 +0000 (22:10 +0000)]
2010-12-18  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.LIBGLOSS: Remove the GPL for fr30 target.

13 years ago2010-12-18 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 17 Dec 2010 22:09:16 +0000 (22:09 +0000)]
2010-12-18  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.LIBGLOSS: Remove the GPL for fr30 target.

13 years ago * mips-tdep.c (make_mips16_addr): New function.
kevinb [Fri, 17 Dec 2010 21:39:26 +0000 (21:39 +0000)]
* mips-tdep.c (make_mips16_addr): New function.
(mips_elf_make_msymbol_special): Don't set the low bit in the
symbol's address.
(mips_read_pc, mips_unwind_pc, mips_addr_bits_remove): Strip bit
indicating mips16 address, if present.
(mips_write_pc): Set bit indicating mips16 address when in a mips16
function.
(mips_eabi_push_dummy_call, mips_o64_push_dummy_call): Likewise,
but for each function pointer argument to inferior function call.

13 years ago * psympriv.h (struct partial_symtab) <readin>: Move field
tromey [Fri, 17 Dec 2010 17:19:33 +0000 (17:19 +0000)]
* psympriv.h (struct partial_symtab) <readin>: Move field
earlier.

13 years agoRemove GPL licencsing
nickc [Fri, 17 Dec 2010 10:13:31 +0000 (10:13 +0000)]
Remove GPL licencsing

13 years ago* reloc.c (BFD_RELOC_RX_ABS16_REV): Add.
dj [Fri, 17 Dec 2010 04:16:55 +0000 (04:16 +0000)]
* reloc.c (BFD_RELOC_RX_ABS16_REV): Add.
(BFD_RELOC_RX_ABS32_REV): Add.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* elf32-rx.c (rx_reloc_map): Add them.

* config/tc-rx.c (rx_validate_fix_sub): Permit subtraction in more
cases.
(tc_gen_reloc): Fix handling of subtraction (esp wrt endianness).

13 years ago*** empty log message ***
gdbadmin [Fri, 17 Dec 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Thu, 16 Dec 2010 23:00:05 +0000 (23:00 +0000)]
daily update

13 years ago * mips-tdep.c (mips_convert_register_float_case_p)
kevinb [Thu, 16 Dec 2010 22:50:46 +0000 (22:50 +0000)]
* mips-tdep.c (mips_convert_register_float_case_p)
(mips_convert_register_gpreg_case_p): New functions.
(mips_convert_register_p): Invoke new functions above.
(mips_register_to_value): Add case for fetching value shorter
than 64 bits from a 64-bit register.
(mips_value_to_register): Add case for storing value shorter
than 64 bits into a 64-bit register.

13 years ago2010-12-16 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 16 Dec 2010 21:58:38 +0000 (21:58 +0000)]
2010-12-16  Jeff Johnston  <jjohnstn@redhat.com>

        * NEWS: Update with 1.19.0 info.
        * README: Ditto.
        * MAINTAINERS: Update.
        * acinclude.m4: Change version number to 1.19.0.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * Makefile.am: Fix stmp-targ-include target.
        * Makefile.in: Regenerated.
        * doc/aclocal.m4: Ditto.
        * doc/configure: Ditto.
        * libc/*/aclocal.m4: Ditto.
        * libc/*/configure: Ditto.
        * libc/libc.texinfo: Ditto.
        * libm/*/aclocal.m4: Ditto.
        * libm/*/configure: Ditto.
        * libm/libm.texinfo: Ditto.
        * libc/sys/linux/shared.ld: Add VERS_1.19

13 years ago * symbols.c (symbol_clone_if_forward_ref): Call tc_new_dot_label
macro [Thu, 16 Dec 2010 18:48:28 +0000 (18:48 +0000)]
* symbols.c (symbol_clone_if_forward_ref): Call tc_new_dot_label
for new fake labels created off the dot special symbol.
* config/tc-mips.h (tc_new_dot_label): New macro.
(mips_record_label): New prototype.
* config/tc-mips.c (my_getExpression): Remove MIPS16 fake label
annotation.
(s_cons, s_float_cons, s_gpword, s_gpdword): Only clear labels
recorded once data expressions have been evaluated.
(mips_define_label): Move code to record labels over to...
(mips_record_label): ... this new function.
* doc/internals.texi: Document tc_new_dot_label.