platform/upstream/binutils.git
14 years agodaily update
Alan Modra [Sun, 27 Dec 2009 23:00:18 +0000 (23:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Sun, 27 Dec 2009 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Sat, 26 Dec 2009 23:00:15 +0000 (23:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Sat, 26 Dec 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Fri, 25 Dec 2009 23:00:11 +0000 (23:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Fri, 25 Dec 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years agogdb/testsuite/
Jan Kratochvil [Thu, 24 Dec 2009 21:57:06 +0000 (21:57 +0000)]
gdb/testsuite/
Fix compatibility with G++-4.5.
* gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
* gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
(uncaught return): Remove.

14 years ago * x86_64.cc (Target_x86_64::do_calls_non_split): Recognize
Ian Lance Taylor [Thu, 24 Dec 2009 07:48:14 +0000 (07:48 +0000)]
* x86_64.cc (Target_x86_64::do_calls_non_split): Recognize
-fsplit-stack prologue when using %r11.

14 years ago2009-12-23 Stan Shebs <stan@codesourcery.com>
Stan Shebs [Thu, 24 Dec 2009 01:42:03 +0000 (01:42 +0000)]
2009-12-23  Stan Shebs  <stan@codesourcery.com>

* ax-gdb.c (gen_expr): Handle OP_THIS.

14 years ago2009-12-23 Stan Shebs <stan@codesourcery.com>
Stan Shebs [Thu, 24 Dec 2009 00:40:49 +0000 (00:40 +0000)]
2009-12-23  Stan Shebs  <stan@codesourcery.com>

* ax-gdb.h (gen_trace_for_var): Declare.
* ax-gdb.c (gen_trace_for_var): New function.
* dwarf2loc.c (dwarf_expr_frame_base_1): New function, split from...
(dwarf_expr_frame_base): ...here.
(dwarf2_tracepoint_var_ref): Add computed location case.
* tracepoint.c (collect_symbol): Add scope arg and LOC_COMPUTED
case.
(add_local_symbols): Update call to collect_symbol.
(encode_actions): Ditto.

14 years ago*** empty log message ***
gdbadmin [Thu, 24 Dec 2009 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago * i386.cc (Target_i386::do_calls_non_split): Recognize
Ian Lance Taylor [Wed, 23 Dec 2009 23:53:43 +0000 (23:53 +0000)]
* i386.cc (Target_i386::do_calls_non_split): Recognize
-fsplit-stack prologue for a function with a static chain.

14 years ago2009-12-23 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
Tom Tromey [Wed, 23 Dec 2009 23:21:29 +0000 (23:21 +0000)]
2009-12-23  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>

PR gdb/11110
* tracepoint.h (deprecated_trace_find_hook)
(deprecated_trace_start_stop_hook): Declare extern.
* tracepoint.c (deprecated_trace_find_hook)
(deprecated_trace_start_stop_hook): Define.

14 years agogdb/
Jan Kratochvil [Wed, 23 Dec 2009 23:18:08 +0000 (23:18 +0000)]
gdb/
* breakpoint.c (bpstat_stop_status): Iterate using ALL_BREAKPOINTS and
the B->LOC list.  Remove gdb_assert on B.  Change bp_hardware_watchpoint
continue to break.  Remove variable update_locations.  Remove HIT_COUNT
increment protection by an ENABLE_STATE check.  Inline the delayed
update_global_location_list call.

gdb/testsuite/
* gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
(bp_location13, bp_location14, bp_location17, bp_location18)
(marker3_proto, marker4_proto): New variables.
(breakpoint info): Update output.
(run until breakpoint at marker3, run until breakpoint at marker4): New
tests.

14 years agodaily update
Alan Modra [Wed, 23 Dec 2009 23:00:04 +0000 (23:00 +0000)]
daily update

14 years agogdb/
Jan Kratochvil [Wed, 23 Dec 2009 22:24:51 +0000 (22:24 +0000)]
gdb/
* breakpoint.c (bpstat_stop_status): Check BL->SHLIB_DISABLED.
(print_breakpoint_location): New comment.  Check LOC->SHLIB_DISABLED.
Check LOC validity before printing it.  Use LOC instead of B->LOC.
Swap the if conditionals order.

gdb/testsuite/
* gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
Replace the printf call of Y by provided "y-set-1" label.  New block
for the second shared library.
* gdb.base/unload.exp: Compile also the second library, call
gdb_load_shlibs also for it.  Use now gdb_breakpoint.
(single pending breakpoint info): Rename to ...
(pending breakpoint info before run): ... this extended test.
(libfile2, libname2, libsrcfile2, libsrc2)
(lib_sl2): New variables.
(exec_opts): Set also SHLIB_NAME2.
(pending breakpoint info on first run at shrfunc1)
(pending breakpoint info on second run at shrfunc1)
(pending breakpoint info on second run at shrfunc2)
(print y from libfile, print y from libfile2): New tests.
* gdb.base/unloadshr.c (shrfunc1): Change the returned value.
* gdb.base/unloadshr2.c: New.

14 years ago * Makefile.in (SFILES): Add exceptions.c.
Tom Tromey [Wed, 23 Dec 2009 20:28:44 +0000 (20:28 +0000)]
* Makefile.in (SFILES): Add exceptions.c.

14 years ago* rx/rx.c (decode_opcode): btst bit address mask fix.
DJ Delorie [Wed, 23 Dec 2009 03:51:47 +0000 (03:51 +0000)]
* rx/rx.c (decode_opcode): btst bit address mask fix.

14 years ago*** empty log message ***
gdbadmin [Wed, 23 Dec 2009 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Tue, 22 Dec 2009 23:00:04 +0000 (23:00 +0000)]
daily update

14 years agoGDB 7.0.1 released.
gdbadmin [Tue, 22 Dec 2009 18:06:01 +0000 (18:06 +0000)]
GDB 7.0.1 released.

14 years ago2009-12-22 Hui Zhu <teawater@gmail.com>
Hui Zhu [Tue, 22 Dec 2009 03:16:40 +0000 (03:16 +0000)]
2009-12-22  Hui Zhu  <teawater@gmail.com>

* record.c (record_message): Change argument.
(record_message_wrapper): New function.
(do_record_message): Change it name to
"record_message_wrapper_safe".
Let it call "record_message_wrapper".
(record_resume_error): Deleted.
(record_resume): Call "record_message".
(record_wait): Deleted record_resume_error.
Call "record_message_wrapper_safe".
Set status when do_record_message need stop the inferior.

2009-12-22  Hui Zhu  <teawater@gmail.com>

* gdb.reverse/sigall-reverse.exp: Adjust.

14 years ago2009-12-21 Sriraman Tallam <tmsriram@google.com>
Sriraman Tallam [Tue, 22 Dec 2009 01:33:43 +0000 (01:33 +0000)]
2009-12-21  Sriraman Tallam  <tmsriram@google.com>

* options.cc (General_options::parse_version): Make -v continue and do
the link like GNU ld does.

14 years ago * linux-x86-low.c: Delete outdated comment about Elf32_Phdr.
Doug Evans [Tue, 22 Dec 2009 00:18:13 +0000 (00:18 +0000)]
* linux-x86-low.c: Delete outdated comment about Elf32_Phdr.

14 years ago*** empty log message ***
gdbadmin [Tue, 22 Dec 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Mon, 21 Dec 2009 23:00:04 +0000 (23:00 +0000)]
daily update

14 years ago gdb/
Doug Evans [Mon, 21 Dec 2009 21:23:43 +0000 (21:23 +0000)]
gdb/
* linux-nat.c (kill_lwp): Minor cleanup, move definition of
tkill_failed into ifdef HAVE_TKILL_SYSCALL.  Move setting of errno
there too.  Delete unnecessary resetting of errno after syscall.
Minor comment changes to match gdbserver/linux-low.c:kill_lwp.

gdbserver/
* linux-low.c (kill_lwp): Use __NR_tkill instead of SYS_tkill.
Move definition of tkill_failed to ifdef __NR_tkill to avoid gcc
warning ifndef __NR_tkill.  Move setting of errno there too.
Delete unnecessary resetting of errno after syscall.
Minor comment changes to match gdb/linux-nat.c:kill_lwp.

14 years ago * configure.ac: Check for dladdr.
Doug Evans [Mon, 21 Dec 2009 20:52:53 +0000 (20:52 +0000)]
* configure.ac: Check for dladdr.
* config.in: Regenerate.
* configure: Regenerate.
* thread-db.c (dladdr_to_soname): Only define ifdef HAVE_DLADDR.
(try_thread_db_load): Update.

14 years ago * linux-low.c (my_waitpid): Delete unnecessary prototype.
Doug Evans [Mon, 21 Dec 2009 17:54:03 +0000 (17:54 +0000)]
* linux-low.c (my_waitpid): Delete unnecessary prototype.

14 years agoFix typo in filename.
Joel Brobecker [Mon, 21 Dec 2009 13:23:25 +0000 (13:23 +0000)]
Fix typo in filename.

14 years agoFix Thumb2 bl range options.
Ramana Radhakrishnan [Mon, 21 Dec 2009 12:56:41 +0000 (12:56 +0000)]
Fix Thumb2 bl range options.

2009-12-21  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
            Richard Earnshaw  <richard.earnshaw@arm.com>

        * config/tc-arm.c (encode_thumb2_b_bl_offset): New. Refactored
        from md_apply_fix.
        (md_apply_fix): Fixup range checks for Thumb2 version
        of unconditional calls. Call encode_thumb2_b_bl_offset for
        unconditional branches / function calls.

14 years ago * MAINTAINERS: Update my email address.
Alan Modra [Mon, 21 Dec 2009 10:27:21 +0000 (10:27 +0000)]
* MAINTAINERS: Update my email address.

14 years ago * MAINTAINERS: Update my email address.
Alan Modra [Mon, 21 Dec 2009 10:21:16 +0000 (10:21 +0000)]
* MAINTAINERS: Update my email address.

14 years ago * elf64-ppc.c: Delete my email address.
Alan Modra [Mon, 21 Dec 2009 10:21:01 +0000 (10:21 +0000)]
* elf64-ppc.c: Delete my email address.

14 years ago * mi/mi-main.c (mi_cmd_gdb_exit): Flush raw_stdout.
Vladimir Prus [Mon, 21 Dec 2009 10:02:06 +0000 (10:02 +0000)]
* mi/mi-main.c (mi_cmd_gdb_exit): Flush raw_stdout.

14 years ago PR gdb/10884
Vladimir Prus [Mon, 21 Dec 2009 09:50:31 +0000 (09:50 +0000)]
PR gdb/10884

* value.c (value_primitive_field): Call check_typedef
on the type.

14 years ago * COPYING: Update to GPL version 3.
Joel Brobecker [Mon, 21 Dec 2009 07:40:04 +0000 (07:40 +0000)]
    * COPYING: Update to GPL version 3.

14 years ago * gpl.texi: Update to version 3 of the GPL.
Joel Brobecker [Mon, 21 Dec 2009 07:30:10 +0000 (07:30 +0000)]
    * gpl.texi: Update to version 3 of the GPL.

14 years ago*** empty log message ***
gdbadmin [Mon, 21 Dec 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Sun, 20 Dec 2009 23:00:04 +0000 (23:00 +0000)]
daily update

14 years ago2009-12-20 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Sun, 20 Dec 2009 19:09:37 +0000 (19:09 +0000)]
2009-12-20  Michael Snyder  <msnyder@vmware.com>

* amd64-tdep.c (amd64_epilogue_frame_cache): Fix buf size.

14 years ago * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
Joel Brobecker [Sun, 20 Dec 2009 11:55:25 +0000 (11:55 +0000)]
    * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
        gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
        gdb.base/watch_thread_num.c, gdb.java/jprint.java,
        gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
        gdb.modula2/unbounded1.c: Update copyright header.

14 years ago * Makefile.in: Update copyright header.
Joel Brobecker [Sun, 20 Dec 2009 11:53:08 +0000 (11:53 +0000)]
    * Makefile.in: Update copyright header.
        * observer.texi: Fix the copyright header of the generated files.

14 years ago * darwin-nat-info.c, solib-spu.c, spu-multiarch.c,
Joel Brobecker [Sun, 20 Dec 2009 11:51:30 +0000 (11:51 +0000)]
    * darwin-nat-info.c, solib-spu.c, spu-multiarch.c,
        regformats/regdat.sh, features/Makefile: Update copyright header.

14 years ago*** empty log message ***
gdbadmin [Sun, 20 Dec 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Sat, 19 Dec 2009 23:00:04 +0000 (23:00 +0000)]
daily update

14 years ago * gas/xc16x/xc16x.exp (*): Add missing " in timeout cases.
Doug Evans [Sat, 19 Dec 2009 19:34:07 +0000 (19:34 +0000)]
* gas/xc16x/xc16x.exp (*): Add missing " in timeout cases.

14 years agoReplace VexNDS, VexNDD and VexLWP with VexVVVV.
H.J. Lu [Sat, 19 Dec 2009 18:36:27 +0000 (18:36 +0000)]
Replace VexNDS, VexNDD and VexLWP with VexVVVV.

gas/

2009-12-19  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (process_operands): Check vexvvvv instead
of vexnds and vexndd.
(build_modrm_byte): Check vexvvvv instead of vexnds, vexndd
and vexlwp.

opcodes/

2009-12-19  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (opcode_modifiers): Remove VexNDS, VexNDD and
VexLWP.  Add VexVVVV.

* i386-opc.h (VexNDS): Removed.
(VexNDD): Likewise.
(VexLWP): Likewise.
(VEXXDS): New.
(VEXNDD): Likewise.
(VEXLWP): Likewise.
(VexVVVV): Likewise.
(i386_opcode_modifier): Remove vexnds, vexndd and vexlwp.
Add vexvvvv.

* i386-opc.tbl: Replace VexNDS with VexVVVV=1, VexNDD with
VexVVVV=2 and VexLWP with VexVVVV=3.
* i386-tbl.h: Regenerated.

14 years ago * event-loop.c: Include unistd.h if it exists.
Doug Evans [Sat, 19 Dec 2009 01:24:51 +0000 (01:24 +0000)]
* event-loop.c: Include unistd.h if it exists.

14 years ago * linux-low.c (my_waitpid): Move definition away from being in
Doug Evans [Sat, 19 Dec 2009 01:16:23 +0000 (01:16 +0000)]
* linux-low.c (my_waitpid): Move definition away from being in
between linux_tracefork_child/linux_test_for_tracefork.

14 years ago * arm-linux-tdep.c (ARM_OABI_SYSCALL_RESTART_SYSCALL): New macro.
Maciej W. Rozycki [Sat, 19 Dec 2009 00:40:15 +0000 (00:40 +0000)]
* arm-linux-tdep.c (ARM_OABI_SYSCALL_RESTART_SYSCALL): New macro.
(ARM_LDR_PC_SP_12): Likewise.
(arm_linux_restart_syscall_init): New function.
(arm_linux_restart_syscall_tramp_frame): New variable.
(arm_linux_init_abi): Install the
arm_linux_restart_syscall_tramp_frame unwinder.

14 years ago gdb/
Doug Evans [Sat, 19 Dec 2009 00:29:11 +0000 (00:29 +0000)]
gdb/
* gdb_proc_service.h (psaddr_t): Fix type.
* linux-thread-db.c (thread_db_info.td_thr_tls_get_addr_p): Fix
signature to match glibc.
(thread_db_get_thread_local_address): Use psaddr_t for type of
address to match parameter of td_thr_tls_get_addr_p.
Cast through psaddr_t instead of (void*) to match parameter of
td_thr_tls_get_addr_p.

gdbserver/
* gdb_proc_service.h (psaddr_t): Fix type.
* thread-db.c (thread_db_info.td_thr_tls_get_addr_p): Fix
signature to match glibc.

14 years ago * gas/mips/eret-2.s: Add an instruction to fill a branch delay
Maciej W. Rozycki [Sat, 19 Dec 2009 00:24:09 +0000 (00:24 +0000)]
* gas/mips/eret-2.s: Add an instruction to fill a branch delay
slot.
* gas/mips/eret-2.d: Adjust accordingly.

14 years ago gas/
Maciej W. Rozycki [Sat, 19 Dec 2009 00:21:29 +0000 (00:21 +0000)]
gas/
* config/tc-mips.c (s_mips_ent): Also set BSF_FUNCTION for
".aent".

gas/testsuite/
* gas/mips/aent.d: New test.
* gas/mips/aent.s: Source for the new test.
* gas/mips/mips.exp: Run it.

14 years ago*** empty log message ***
gdbadmin [Sat, 19 Dec 2009 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Fri, 18 Dec 2009 23:00:04 +0000 (23:00 +0000)]
daily update

14 years agoMove Imm1 before Imm8.
H.J. Lu [Fri, 18 Dec 2009 21:07:58 +0000 (21:07 +0000)]
Move Imm1 before Imm8.

2009-12-18  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (operand_types): Move Imm1 before Imm8.

14 years ago2009-12-18 Steve Ellcey <sje@cup.hp.com>
Steve Ellcey [Fri, 18 Dec 2009 18:11:56 +0000 (18:11 +0000)]
2009-12-18  Steve Ellcey  <sje@cup.hp.com>

* config/tc-hppa.c: Change access to access_ctr.

14 years agoinclude/elf/
Ulrich Weigand [Fri, 18 Dec 2009 16:21:51 +0000 (16:21 +0000)]
include/elf/
* common.h (NT_S390_HIGH_GPRS): Define.

bfd/
* elf.c (elfcore_grok_s390_high_gprs): New function.
(elfcore_grok_note): Handle NT_S390_HIGH_GPRS notes.
(elfcore_write_s390_high_gprs): New function.
(elfcore_write_register_note): Call it.

binutils/
* readelf.c (get_note_type): Handle NT_S390_HIGH_GPRS notes.

14 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Fri, 18 Dec 2009 03:39:58 +0000 (03:39 +0000)]
* config.sub, config.guess: Update from upstream sources.

14 years ago2009-12-17 Stan Shebs <stan@codesourcery.com>
Stan Shebs [Fri, 18 Dec 2009 00:36:47 +0000 (00:36 +0000)]
2009-12-17  Stan Shebs  <stan@codesourcery.com>

* breakpoint.c (bpstat_check_location): Check for tracepoints.

14 years ago*** empty log message ***
gdbadmin [Fri, 18 Dec 2009 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago2009-12-16 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Thu, 17 Dec 2009 23:41:07 +0000 (23:41 +0000)]
2009-12-16  Michael Snyder  <msnyder@vmware.com>

* i386-tdep.c (i386_process_record): Reformat comments.

14 years agodaily update
Alan Modra [Thu, 17 Dec 2009 23:00:04 +0000 (23:00 +0000)]
daily update

14 years ago2009-12-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 17 Dec 2009 21:12:49 +0000 (21:12 +0000)]
2009-12-17  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Update copyright date.
        * COPYING.LIBGLOSS: Ditto.

14 years ago * pe-dll.c (generate_reloc): Take account of wrapper options when
Dave Korn [Thu, 17 Dec 2009 19:51:35 +0000 (19:51 +0000)]
* pe-dll.c (generate_reloc): Take account of wrapper options when
testing if a weak symbol is defined or not, and when it is not,
consider whether the default value requires a base reloc anyway.

14 years ago * deffilep.y (def_file_free): Add missing shadow parameter renaming.
Dave Korn [Thu, 17 Dec 2009 19:33:59 +0000 (19:33 +0000)]
* deffilep.y (def_file_free): Add missing shadow parameter renaming.
(def_file_print): Likewise.
(def_stash_module): Likewise.
(def_file_add_import): Likewise.

14 years ago2009-12-17 Rafael Avila de Espindola <espindola@google.com>
Rafael Ávila de Espíndola [Thu, 17 Dec 2009 16:02:03 +0000 (16:02 +0000)]
2009-12-17  Rafael Avila de Espindola  <espindola@google.com>

* Makefile.am (CCFILES): Add timer.cc.
(HFILES): Add timer.h.
* configure.ac: Check for sysconf and times.
* main.cc: include timer.h.
(main): Use Timer instead of get_run_time.
* timer.cc: New.
* timer.h: New.
* workqueue.cc: include timer.h.
(Workqueue::find_and_run_task):
Report user, sys and wall time.
* Makefile.in: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.

14 years ago PR binutils/10924
Nick Clifton [Thu, 17 Dec 2009 09:52:18 +0000 (09:52 +0000)]
    PR binutils/10924
        * config/tc-arm.c (do_ldstv4): Do not allow r15 as the destination
        register.
        (do_mrs): Likewise.
        (do_mul): Likewise.

        * arm-dis.c: Add support for %<>ru and %<>rU formats to enforce
        unique register numbers.  Extend support for %<>R format to
        thumb32 and coprocessor instructions.

        * gas/arm/unpredictable.s: Add more unpredictable instructions.
        * gas/arm/unpredictable.d: Add expected disassemblies.

14 years ago PR ld/11088
Alan Modra [Thu, 17 Dec 2009 05:45:25 +0000 (05:45 +0000)]
PR ld/11088
include/elf/
* ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,
R_PPC_RELAX32PC_PLT): Delete.
(R_PPC_RELAX, R_PPC_RELAX_PLT, R_PPC_RELAX_PLTREL24): Define.
bfd/
* elf32-ppc.c (update_plt_info): Clear sec here when addend is
less than 32768..
(ppc_elf_check_relocs): ..rather than doing so here.  Ignore new
relax relocs.
(ppc_elf_gc_sweep_hook): Don't segfault when symbol hiding has
removed plt_entry records.
(ppc_elf_tls_setup): Handle PIE calls to __tls_get_addr correctly.
(ppc_elf_tls_optimize): Likewise.  Also dec __tls_get_addr refcount
when optimizing code using new tlsgd and tlsld marker relocs.
(ppc_elf_relax_section): Differentiate relaxed PLTREL24 relocs
from ADDR24 relocs using plt or glink.  Don't clear the addend
for R_PPC_RELAX_PLTREL24.
(ppc_elf_relocate_section): Correctly handle addends on relaxed
PLTREL24 relocs.

14 years ago PR ld/11088
Alan Modra [Thu, 17 Dec 2009 00:07:38 +0000 (00:07 +0000)]
PR ld/11088
* elf64-ppc.c (ppc64_elf_gc_sweep_hook): Don't abort if symbol
hiding has nulled out plt.plist.

14 years ago*** empty log message ***
gdbadmin [Thu, 17 Dec 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago2009-12-16 Doug Kwan <dougkwan@google.com>
Doug Kwan [Thu, 17 Dec 2009 00:00:26 +0000 (00:00 +0000)]
2009-12-16  Doug Kwan  <dougkwan@google.com>

* arm.cc (Arm_relobj::scan_sections_for_stubs): Exclude ICF-eliminated
sections.
* object.cc (Sized_relobj::do_finalize_local_symbols): Handle
relaxed input sections.
* output.cc (Output_section::find_relaxed_input_section): Change
return type to Output_relaxed_input_section pointer.  Adjust code
for new type of relaxed_input_section_map_.
* output.h (Output_section::find_relaxed_input_section): Change
return type to Output_relaxed_input_section pointer.
(Output_section::Output_relaxed_input_section_by_input_section_map):
New type.
(Output_section::relaxed_input_section_map_): Change type to
Output_section::Output_relaxed_input_section_by_input_section_map.
* symtab.cc (Symbol_table::compute_final_value): Handle relaxed
input section.

14 years agodaily update
Alan Modra [Wed, 16 Dec 2009 23:00:04 +0000 (23:00 +0000)]
daily update

14 years ago * linux-low.c (linux_read_memory): Fix argument to read.
Doug Evans [Wed, 16 Dec 2009 21:23:34 +0000 (21:23 +0000)]
* linux-low.c (linux_read_memory): Fix argument to read.

14 years agoRemove ByteOkIntel.
H.J. Lu [Wed, 16 Dec 2009 20:08:32 +0000 (20:08 +0000)]
Remove ByteOkIntel.

gas/

2009-12-16  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (process_suffix): Set i.suffix to 0 in
Intel syntax if size is ignored and b/l/w suffixes are
illegal.
(check_byte_reg): Remove byteokintel check.

opcodes/

2009-12-16  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (opcode_modifiers): Remove ByteOkIntel.

* i386-opc.h (ByteOkIntel): Removed.
(i386_opcode_modifier): Remove byteokintel.

* i386-opc.tbl: Remove ByteOkIntel.
* i386-tbl.h: Regenerated.

14 years agoReplace Vex0F, Vex0F38, Vex0F3A, XOP08, XOP09 and XOP0A with VexOpcode.
H.J. Lu [Wed, 16 Dec 2009 15:43:16 +0000 (15:43 +0000)]
Replace Vex0F, Vex0F38, Vex0F3A, XOP08, XOP09 and XOP0A with VexOpcode.

gas/

2009-12-16  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (build_vex_prefix): Replace vex0f, vex0f38,
vex0f3a, xop08, xop09 and xop0a with vexopcode.

opcodes/

2009-12-16  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (opcode_modifiers): Remove Vex0F, Vex0F38,
Vex0F3A, XOP08, XOP09 and XOP0A.  Add VexOpcode.

* i386-opc.h (Vex0F): Removed.
(Vex0F38): Likewise.
(Vex0F3A): Likewise.
(VexOpcode): New.
(VEX0F): Likewise.
(VEX0F38): Likewise.
(VEX0F3A): Likewise.
(XOP08): Defined as a macro.
(XOP09): Likewise.
(XOP0A): Likewise.
(i386_opcode_modifier): Remove vex0f, vex0f38, vex0f3a, xop08,
xop09 and xop0a.  Add vexopcode.

* i386-opc.tbl: Replace Vex0F with VexOpcode=0, Vex0F38 with
VexOpcode=1, Vex0F3A with VexOpcode=2, XOP08 with VexOpcode=3,
XOP09 with VexOpcode=4 and XOP0A with VexOpcode=5.
* i386-tbl.h: Regenerated.

14 years ago* dwarf2read.c (read_subroutine_type): Add the subroutine type to the
Gaius Mulley [Wed, 16 Dec 2009 15:09:43 +0000 (15:09 +0000)]
* dwarf2read.c (read_subroutine_type): Add the subroutine type to the
die immediately to allow a parameter type to be the same subroutine type.

14 years agoFix a typo in ChangeLog.
H.J. Lu [Wed, 16 Dec 2009 05:31:40 +0000 (05:31 +0000)]
Fix a typo in ChangeLog.

14 years agoReplace VEX2SOURCES with XOP2SOURCES.
H.J. Lu [Wed, 16 Dec 2009 05:18:11 +0000 (05:18 +0000)]
Replace VEX2SOURCES with XOP2SOURCES.

gas/

2009-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (build_modrm_byte): Check XOP2SOURCES
instead VEX2SOURCES.

opcodes/

2009-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.h (VEX2SOURCES): Renamed to ...
(XOP2SOURCES): This.

14 years agoReplace Vex2Sources and Vex3Sources with VexSources.
H.J. Lu [Wed, 16 Dec 2009 04:00:35 +0000 (04:00 +0000)]
Replace Vex2Sources and Vex3Sources with VexSources.

gas/

2009-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (process_operands): Check vexsources
instead of vex3sources.
(build_modrm_byte): Check vexsources instead of vex2sources
and vex3sources.

opcodes/

2009-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (opcode_modifiers): Remove Vex3Sources and
Vex2Sources.  Add VexSources.

* i386-opc.h ()Vex2Sources: Removed.
(Vex3Sources): Likewise.
(VEX2SOURCES): New.
(VEX3SOURCES): Likewise.
(VexSources): Likewise.
(i386_opcode_modifier): Remove vex2sources and vex3sources.
Add vexsources.

* i386-opc.tbl: Replace Vex2Sources with VexSources=1 and
Vex3Sourceswith VexSources=2.
* i386-tbl.h: Regenerated.

14 years agoRemove VexW0 and VexW1. Add VexW.
H.J. Lu [Wed, 16 Dec 2009 02:10:45 +0000 (02:10 +0000)]
Remove VexW0 and VexW1.  Add VexW.

gas/

2009-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (build_vex_prefix): Replace vexw0/vexw1
with vexw.
(build_modrm_byte): Likewise.

opcodes/

2009-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (opcode_modifiers): Remove VexW0 and VexW1.  Add
VexW.

* i386-opc.h (VexW0): Removed.
(VexW1): Likewise.
(VEXW0): New.
(VEXW1): Likewise.
(VexW): Likewise.
(i386_opcode_modifier): Remove vexw0 and vexw1.  Add vexw.

* i386-opc.tbl: Replace VexW0 with VexW=1 and VexW1 with
Vex=2.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

14 years ago2009-12-15 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 16 Dec 2009 00:28:56 +0000 (00:28 +0000)]
2009-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* as.h (mempcpy): New.

* configure.in: Check if mempcpy is declared.
* configure: Regenerated.
* config.in: Likewise.

14 years ago*** empty log message ***
gdbadmin [Wed, 16 Dec 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agoAdd VEX_W_3818_P_2_M_0.
H.J. Lu [Tue, 15 Dec 2009 23:33:51 +0000 (23:33 +0000)]
Add VEX_W_3818_P_2_M_0.

2009-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (VEX_W_3818_P_2_M_0): New.
(vex_w_table): Add VEX_W_3818_P_2_M_0.
(mod_table): Use VEX_W_3818_P_2_M_0.

14 years agodaily update
Alan Modra [Tue, 15 Dec 2009 23:00:04 +0000 (23:00 +0000)]
daily update

14 years agoReformat vex_w_table.
H.J. Lu [Tue, 15 Dec 2009 22:20:50 +0000 (22:20 +0000)]
Reformat vex_w_table.

2009-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (vex_w_table): Reformat.

14 years ago * layout.cc (Layout::create_shstrtab): Only write out after input
Ian Lance Taylor [Tue, 15 Dec 2009 22:20:25 +0000 (22:20 +0000)]
* layout.cc (Layout::create_shstrtab): Only write out after input
sections if we are compressing debug sections.

14 years agoAdd VEX_W_382X_P_2_M_0.
H.J. Lu [Tue, 15 Dec 2009 22:13:05 +0000 (22:13 +0000)]
Add VEX_W_382X_P_2_M_0.

2009-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (VEX_W_382X_P_2_M_0): New.
(vex_w_table): Add VEX_W_382X_P_2_M_0.
(mod_table): Use VEX_W_382X_P_2_M_0.

14 years ago * archive.cc (Archive::add_symbols): Only look up a symbol without
Ian Lance Taylor [Tue, 15 Dec 2009 22:05:22 +0000 (22:05 +0000)]
* archive.cc (Archive::add_symbols): Only look up a symbol without
a version if there is, in fact, a version.

14 years agoReformat vex_w_table.
H.J. Lu [Tue, 15 Dec 2009 21:37:51 +0000 (21:37 +0000)]
Reformat vex_w_table.

2009-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (vex_w_table): Reformat.

14 years agoAdd USE_VEX_W_TABLE, VEX_W_TABLE and VEX_W_XXX.
H.J. Lu [Tue, 15 Dec 2009 18:56:09 +0000 (18:56 +0000)]
Add USE_VEX_W_TABLE, VEX_W_TABLE and VEX_W_XXX.

2009-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (USE_VEX_W_TABLE): New.
(VEX_W_TABLE): Likewise.
(VEX_W_XXX): Likewise.
(vex_w_table): Likewise.
(prefix_table): Use VEX_W_XXX.
(vex_table): Likewise.
(vex_len_table): Likewise.
(mod_table): Likewise.
(get_valid_dis386): Handle USE_VEX_W_TABLE.

* i386-opc.tbl: Add VexW0 to AVX instructions where the VEX.W bit
isn't used.
* i386-tbl.h: Regenerated.

14 years ago2009-12-15 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 15 Dec 2009 16:59:20 +0000 (16:59 +0000)]
2009-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* opncls.c (bfd_opnr_iovec): Replace _XXX with XXX_P in
parameters.

* tekhex.c (pass_over): Replace eof with is_eof.

14 years agoDefine VEX128 and VEX256.
H.J. Lu [Tue, 15 Dec 2009 16:36:59 +0000 (16:36 +0000)]
Define VEX128 and VEX256.

gas/

2009-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (build_vex_prefix): Use VEX256.

opcodes/

2009-12-15  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.h (VEX128): New.
(VEX256): Likewise.

14 years ago2009-12-15 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 15 Dec 2009 09:56:23 +0000 (09:56 +0000)]
2009-12-15  Tristan Gingold  <gingold@adacore.com>

* machoread.c (macho_symfile_read): Set section size of dsym bfd
from main bfd.

14 years ago2009-12-15 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 15 Dec 2009 09:50:15 +0000 (09:50 +0000)]
2009-12-15  Tristan Gingold  <gingold@adacore.com>

        * mach-o.h (bfd_mach_o_uuid_command): Remove section field.
        * mach-o.c (bfd_mach_o_scan_read_uuid): Do not create a section
        from this command.

14 years ago2009-12-15 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 15 Dec 2009 09:41:16 +0000 (09:41 +0000)]
2009-12-15  Tristan Gingold  <gingold@adacore.com>

        * machoread.c (macho_check_dsym): Read uuid directly from load command
        instead of from a fake section.

14 years ago2009-12-15 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 15 Dec 2009 09:37:14 +0000 (09:37 +0000)]
2009-12-15  Tristan Gingold  <gingold@adacore.com>

        * machoread.c (macho_symtab_read): Add comments.  Always set
        first_offset.

14 years ago2009-12-15 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 15 Dec 2009 09:28:28 +0000 (09:28 +0000)]
2009-12-15  Tristan Gingold  <gingold@adacore.com>

        * mach-o.c (struct mach_o_section_name_xlat): Add flags field.
        (dwarf_section_names_xlat): Add section flags.
        (text_section_names_xlat): Ditto.
        (data_section_names_xlat): Ditto.
        (bfd_mach_o_convert_section_name_to_bfd): Now return name and section
        flags by reference.
        (bfd_mach_o_make_bfd_section): Use section flags when know, otherwise
        try to guess.

14 years ago2009-12-14 Doug Kwan <dougkwan@google.com>
Doug Kwan [Tue, 15 Dec 2009 02:02:39 +0000 (02:02 +0000)]
2009-12-14  Doug Kwan  <dougkwan@google.com>

bfd/ChangeLog:

* opncls.c (bfd_opnr_iovec): Rename parameters to avoid shawdowed
variable warnings.
* bfd-in2.h: Regnenerate.

include/ChangeLog:

* bfdlink.h (struct bfd_link_callbacks): Rename function parameters
to avoid shadowed variable warnings.
* dis-asm.h (struct disassemble_info): Ditto.
(disassemble_init_for_target): Ditto.
(init_disassemble_info): Ditto.