Alan Modra [Mon, 5 Jan 2009 00:00:08 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 5 Jan 2009 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 4 Jan 2009 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 4 Jan 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Hans-Peter Nilsson [Sat, 3 Jan 2009 21:25:42 +0000 (21:25 +0000)]
* cris/sim-if.c (TARGET_AT_NULL, TARGET_AT_PHDR, TARGET_AT_PHENT)
(TARGET_AT_PHNUM, TARGET_AT_PAGESZ, TARGET_AT_BASE)
(TARGET_AT_FLAGS, TARGET_AT_ENTRY, TARGET_AT_UID, TARGET_AT_EUID)
(TARGET_AT_GID, TARGET_AT_EGID, TARGET_AT_HWCAP)
(TARGET_AT_CLKTCK): Remove redundant macros.
(AUX_ENT): Adjust to use standard ELF AT_* macros.
(AUX_ENTF): Ditto. Remove always-0 middle argument. Update all
callers.
(sim_open): Also pass AT_SECURE.
Hans-Peter Nilsson [Sat, 3 Jan 2009 21:01:20 +0000 (21:01 +0000)]
* sim/cris/c/settls1.c: New test.
Hans-Peter Nilsson [Sat, 3 Jan 2009 21:00:48 +0000 (21:00 +0000)]
* cris/sim-main.h (struct _sim_cpu): New member
set_target_thread_data.
* cris/crisv32f.c (CRIS_TLS_REGISTER): Define.
* cris/crisv10f.c: Ditto.
* cris/cris-tmpl.c (MY (set_target_thread_data)): New function.
(MY (f_specific_init)): Set new _sim_cpu member to new function.
* cris/traps.c (TARGET_SYS_set_thread_area): Define.
(cris_break_13_handler) <case TARGET_SYS_set_thread_area>: New
case.
Hans-Peter Nilsson [Sat, 3 Jan 2009 20:26:19 +0000 (20:26 +0000)]
* sim/cris/c/exitg1.c, sim/cris/c/exitg2.c: New tests.
Hans-Peter Nilsson [Sat, 3 Jan 2009 20:25:48 +0000 (20:25 +0000)]
* cris/traps.c (TARGET_SYS_exit_group): Define.
(cris_break_13_handler): Handle it like the exit for the last
thread.
Hans-Peter Nilsson [Sat, 3 Jan 2009 19:58:47 +0000 (19:58 +0000)]
* sim/cris/c/uname1.c: New test.
Hans-Peter Nilsson [Sat, 3 Jan 2009 19:58:11 +0000 (19:58 +0000)]
* cris/traps.c (TARGET_UTSNAME): Update to 2009-01-01.
(TARGET_EPOCH): Update to match TARGET_UTSNAME. Correct comment.
(cris_break_13_handler) <case TARGET_SYS_uname>: Update to
2.6.27. Set machine field to the BFD printable name of the
machine.
Hans-Peter Nilsson [Sat, 3 Jan 2009 19:22:16 +0000 (19:22 +0000)]
* sim/cris/c/mmap1.c (MMAP_FLAGS): Default-define to
MAP_PRIVATE and use this macro in the mmap call.
* sim/cris/c/mmap4.c: New test.
Hans-Peter Nilsson [Sat, 3 Jan 2009 19:21:42 +0000 (19:21 +0000)]
* cris/traps.c (TARGET_MAP_DENYWRITE): Define.
<case TARGET_SYS_mmap2>: Handle TARGET_MAP_DENYWRITE.
Hans-Peter Nilsson [Sat, 3 Jan 2009 18:38:27 +0000 (18:38 +0000)]
* sim/cris/c/access1.c: New test.
Hans-Peter Nilsson [Sat, 3 Jan 2009 18:37:31 +0000 (18:37 +0000)]
* cris/traps.c (TARGET_SYS_access, TARGET_R_OK, TARGET_W_OK)
(TARGET_X_OK, TARGET_F_OK): Define.
(cris_break_13_handler) <case TARGET_SYS_access>: New case.
Dave Korn [Sat, 3 Jan 2009 18:04:16 +0000 (18:04 +0000)]
* NEWS: Mention new feature --exclude-modules-for-implib.
* ld.texinfo: Document new --exclude-modules-for-implib option.
* pe-dll.c (exclude_list_struct): Change type member from int to
new enumeration exclude_type.
(pe_dll_add_excludes): Accept exclude_type instead of int param.
(auto_export): Replace magic constants by exclude_type values and
handle new choice EXCLUDEFORIMPLIB.
(pe_dll_generate_implib): Accept a pointer to the link_info and
iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open
fresh BFDs for any found and link into import lib archive chain.
* pe-dll.h (exclude_type): Add new enumerated type to replace magic
constants previously used for exclude_list_struct type member.
(pe_dll_add_excludes, pe_dll_generate_implib): Update prototypes.
* pep-dll.h (exclude_type, pe_dll_add_excludes,
pe_dll_generate_implib): Likewise to all the above.
* emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB): Define new
getopts long option code for new --exclude-modules-for-implib option.
(gld${EMULATION_NAME}_add_options): Add new entry to xtra_long[].
(gld_${EMULATION_NAME}_list_options): List usage for it.
(gld${EMULATION_NAME}_handle_option): Use exclude_type enumerated
values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB.
(gld_${EMULATION_NAME}_finish): Pass pointer to link_info when
calling pe_dll_generate_implib.
* emultempl/pep.em (options): Define new enumerated value for getopts
long option code for new --exclude-modules-for-implib option.
(gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options,
gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish):
Again, likewise to all the above.
Hans-Peter Nilsson [Sat, 3 Jan 2009 17:52:19 +0000 (17:52 +0000)]
* sim/cris/asm/pid1.ms: New test.
Hans-Peter Nilsson [Sat, 3 Jan 2009 17:51:47 +0000 (17:51 +0000)]
* cris/semcrisv32f-switch.c: Regenerate.
Hans-Peter Nilsson [Sat, 3 Jan 2009 17:51:12 +0000 (17:51 +0000)]
* cris.cpu (cris-implemented-writable-specregs-v32): Correct size
of number 2, PID.
Dave Korn [Sat, 3 Jan 2009 17:43:45 +0000 (17:43 +0000)]
2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
* pe-dll.c (autofilter_liblist): Add entry for shared libgcc.
(libnamencmp): New function.
(auto_export): Use it in place of strncmp when filtering libraries.
Also rolled over ChangeLog to ChangeLog-2008
H.J. Lu [Sat, 3 Jan 2009 16:19:52 +0000 (16:19 +0000)]
2009-01-03 H.J. Lu <hongjiu.lu@intel.com>
* coff-ppc.c: Add 2009 to Copyright.
* elf32-cris.c: Likewise.
* elflink.c: Likewise.
Nick Clifton [Sat, 3 Jan 2009 10:00:58 +0000 (10:00 +0000)]
PR 7099
* gprof.texi (Compiling): Mention the need for using
-static-libgcc on shared library systems.
Joel Brobecker [Sat, 3 Jan 2009 06:02:29 +0000 (06:02 +0000)]
Move a 2009 Entry from ChangeLog-2008 to ChangeLog.
Joel Brobecker [Sat, 3 Jan 2009 05:58:08 +0000 (05:58 +0000)]
Updated copyright notices for most files.
Joel Brobecker [Sat, 3 Jan 2009 05:18:00 +0000 (05:18 +0000)]
* top.c (print_gdb_version): Update copyright year.
Joel Brobecker [Sat, 3 Jan 2009 05:15:51 +0000 (05:15 +0000)]
* config/djgpp/fnchange.lst: Add entry for ChangeLog-2008.
Joel Brobecker [Sat, 3 Jan 2009 05:10:18 +0000 (05:10 +0000)]
Rotate the ChangeLog as per the Start of New Year Procedure.
Hans-Peter Nilsson [Sat, 3 Jan 2009 04:53:47 +0000 (04:53 +0000)]
* ld-cris/tls-js1.d: New test.
Hans-Peter Nilsson [Sat, 3 Jan 2009 04:53:13 +0000 (04:53 +0000)]
* elf32-cris.c (elf_cris_finish_dynamic_symbol): Rename
gotplt_index to rela_plt_index. Adjust for R_CRIS_DTPMOD entry.
gdbadmin [Sat, 3 Jan 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 3 Jan 2009 00:00:06 +0000 (00:00 +0000)]
daily update
H.J. Lu [Fri, 2 Jan 2009 19:29:38 +0000 (19:29 +0000)]
bfd/
2009-01-02 H.J. Lu <hongjiu.lu@intel.com>
PR ld/9679
* elflink.c (elf_merge_st_other): New.
(_bfd_elf_merge_symbol): Use it on skipped weak definitions and
hide them if needed.
(elf_link_add_object_symbols): Updated.
ld/testsuite/
2009-01-02 H.J. Lu <hongjiu.lu@intel.com>
PR ld/9679
* ld-elf/pr9679-1.c: New.
* ld-elf/pr9679-2.c: Likewise.
* ld-elf/pr9679.rd: Likewise.
* ld-elf/shared.exp (build_tests): Add test for libpr9679.so.
H.J. Lu [Fri, 2 Jan 2009 16:48:11 +0000 (16:48 +0000)]
bfd/
2009-01-02 H.J. Lu <hongjiu.lu@intel.com>
PR ld/9676
* elflink.c (elf_link_add_object_symbols): Update def_dynamic,
ref_dynamic and dynamic_def fields when setting def_regular
to 1.
ld/testsuite/
2009-01-02 H.J. Lu <hongjiu.lu@intel.com>
PR ld/9676
* ld-elf/pr9676-1.c: New.
* ld-elf/pr9676-2.c: Likewiswe.
* ld-elf/pr9676-3.c: Likewiswe.
* ld-elf/pr9676-4.c: Likewiswe.
* ld-elf/pr9676.rd: Likewiswe.
* ld-elf/shared.exp (build_tests): Add tests for libpr9676-1.a,
libpr9676-2.a, libpr9676-3.so, libpr9676-4.so and
libpr9676-4a.so.
* lib/ld-lib.exp (ar_simple_create): New.
(run_ld_link_tests): Support archive.
(run_cc_link_tests): Likewiswe.
Nick Clifton [Fri, 2 Jan 2009 16:11:37 +0000 (16:11 +0000)]
PR 9682
* coff-ppc.c (dump_toc): Fix up calls to fprintf without a string
literal.
Nick Clifton [Fri, 2 Jan 2009 14:21:54 +0000 (14:21 +0000)]
* or32-opc.c (or32_print_register, or32_print_immediate,
disassemble_insn): Don't rely on undefined sprintf behaviour.
* itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
behaviour.
Nick Clifton [Fri, 2 Jan 2009 13:55:37 +0000 (13:55 +0000)]
po/id.po: Updated Indonesian translation.
gdbadmin [Fri, 2 Jan 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 2 Jan 2009 00:00:06 +0000 (00:00 +0000)]
daily update
Pedro Alves [Thu, 1 Jan 2009 22:02:03 +0000 (22:02 +0000)]
2009-01-01 Pedro Alves <pedro@codesourcery.com>
PR breakpoints/9681:
* exceptions.h (enum errors): New error type, MEMORY_ERROR.
* corefile.c (memory_error): Rewrite to throw a MEMORY_ERROR.
* breakpoint.c (fetch_watchpoint_value): Ignore MEMORY_ERRORs, but
retrow all other exceptions.
2009-01-01 Pedro Alves <pedro@codesourcery.com>
PR breakpoints/9681:
* gdb.base/watchpoint.exp: Add regression test.
gdbadmin [Thu, 1 Jan 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 1 Jan 2009 00:00:05 +0000 (00:00 +0000)]
daily update
Pedro Alves [Wed, 31 Dec 2008 15:44:21 +0000 (15:44 +0000)]
2008-12-31 Pedro Alves <pedro@codesourcery.com>
* gdb.threads/attach-into-signal.exp: Don't use
gdb_suppress_entire_file.
* gdb.threads/attach-stopped.exp: Ditto.
* gdb.threads/attachstop-mt.exp: Ditto.
Pedro Alves [Wed, 31 Dec 2008 01:34:10 +0000 (01:34 +0000)]
2008-12-31 Pedro Alves <pedro@codesourcery.com>
PR gdb/8812:
* infrun.c (handle_command): Don't print a header or notify the
target about signal changes if we didn't change any signal.
2008-12-31 Pedro Alves <pedro@codesourcery.com>
PR gdb/8812:
* gdb.base/signal.exp: Change kfail to fail, and update PR number.
gdbadmin [Wed, 31 Dec 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 31 Dec 2008 00:00:09 +0000 (00:00 +0000)]
daily update
Hans-Peter Nilsson [Tue, 30 Dec 2008 18:53:42 +0000 (18:53 +0000)]
* sim/cris/asm/badarch1.ms: Tweak error message match.
Hans-Peter Nilsson [Tue, 30 Dec 2008 18:52:44 +0000 (18:52 +0000)]
* cris/sim-if.c (sim_open): If sim_analyze_program fails, emit
just a short CRIS-specific notice. Tweak the wording for a
failing architecture test.
Hans-Peter Nilsson [Tue, 30 Dec 2008 13:57:11 +0000 (13:57 +0000)]
* sim/cris/asm/badarch1.ms, sim/cris/c/badldso1.c,
sim/cris/c/badldso2.c, sim/cris/c/badldso3.c,
sim/cris/c/helloaout.c, sim/cris/c/hellodyn.c,
sim/cris/c/hellodyn2.c, sim/cris/c/writev1.c,
sim/cris/c/writev2.c: New tests.
* sim/cris/c/c.exp: If compiler links libc.so when attempting to
link dynamically, create symlink named "lib" to the directory
where it is found. Handle new test-case option "dynamic".
Hans-Peter Nilsson [Tue, 30 Dec 2008 13:36:17 +0000 (13:36 +0000)]
* cris/traps.c (TARGET_SYS_writev): New macro.
(is_mapped_only, cris_dump_map): New functions.
(cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle more flags
and prot combinations and a non-zero page-offset. If
TARGET_MAP_FIXED, unmap pages before mapping them.
<case TARGET_SYS_mprotect>: When checking, allow any length
argument. Don't actually do anything.
<case TARGET_SYS_writev>: New case.
Hans-Peter Nilsson [Tue, 30 Dec 2008 13:10:35 +0000 (13:10 +0000)]
* cris/Makefile.in (SIM_OBJS): Remove sim-hload.o.
* cris/sim-if.c: Include elf-bfd.h.
(struct progbounds): New members end_loadmem, start_nonloadmem.
(xprintf, eprintf): New functions, copied from common/sim-load.c.
(cris_load_elf_file, sim_load, cris_get_progbounds): New functions.
(get_progbounds_iterator): Renamed from get_progbounds. Make
static. Update head comment. Set new struct progbounds members.
(exec_load_addr, interp_load_addr, interp_start_addr): New static
variables.
(aux_ent_phdr, aux_ent_phent, aux_ent_phnum, aux_ent_base)
(aux_ent_entry, cris_write_interp, cris_handle_interpreter): New
functions.
(sim_open): New constant array auxv_entries. Rewrite AUX_ENT
handling to use auxv_entries. Improve error message and checking
for invalid programs. Use new variable abfd for the program
instead of for each access reaching into sd to get it.
(sim_create_inferior): If non-zero, use interp_start_addr instead
of the program start address.
(cris_disassemble_insn): Remove incorrect and unclear, supposedly
stale comment. Always specify little-endian.
Hans-Peter Nilsson [Tue, 30 Dec 2008 10:51:11 +0000 (10:51 +0000)]
* sim/cris/asm/opterr1.ms, sim/cris/asm/opterr2.ms: Adjust for
differences in getopt_long error message quoting.
Nick Clifton [Tue, 30 Dec 2008 10:41:47 +0000 (10:41 +0000)]
* gas/ppc/ppc.exp: Do not run the booke_xcoff64 test.
* gas/ppc/booke_xcoff64.s: Delete.
* gas/ppc/booke_xcoff64.d: Delete.
Nick Clifton [Tue, 30 Dec 2008 10:35:59 +0000 (10:35 +0000)]
oops - accidentally omitted from check-in of LM32 port.
Martin Schwidefsky [Tue, 30 Dec 2008 10:00:47 +0000 (10:00 +0000)]
2008-12-30 Martin Schwidefsky <schwidefskyy@de.ibm.com>
* s390-opc.txt: Add ptff instruction.
gdbadmin [Tue, 30 Dec 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 30 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update
Arnold Metselaar [Mon, 29 Dec 2008 17:06:46 +0000 (17:06 +0000)]
Fix copy-paste bug that caused z80-objdump to issue warnings about stabs debugging symbols rather than to show them.
Joel Brobecker [Mon, 29 Dec 2008 06:02:06 +0000 (06:02 +0000)]
* valops.c (find_method_list): Minor reformatting in comment.
Pedro Alves [Mon, 29 Dec 2008 02:18:48 +0000 (02:18 +0000)]
2008-12-29 Pedro Alves <pedro@codesourcery.com>
PR gdb/7536:
* valprint.c (input_radix_1): New static global.
(set_input_radix): Use it instead of "input_radix".
(set_input_radix_1): Always leave input_radix_1 set to
input_radix.
(output_radix_1): New static global.
(set_output_radix): Use it instead of "output_radix".
(set_output_radix_1): Always leave output_radix_1 set to
output_radix.
(_initialize_valprint): Use "input_radix_1" instead of
"input_radix" with the "input-radix" command. Use
"output_radix_1" instead of "output_radix" with the "output-radix"
command.
2008-12-29 Pedro Alves <pedro@codesourcery.com>
PR gdb/7536:
* gdb.base/radix.exp: Add tests to ensure invalid input radices
and unsupported output radices are really rejected.
gdbadmin [Mon, 29 Dec 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 29 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update
Pedro Alves [Sun, 28 Dec 2008 23:35:52 +0000 (23:35 +0000)]
* gdbint.texinfo (gdbarch_cannot_fetch_register): Don't mention
FETCH_INFERIOR_REGISTERS.
(Native Conditionals): Remove obsolete CHILD_PREPARE_TO_STORE,
FETCH_INFERIOR_REGISTERS descriptions. Remove
gdbarch_get_longjmp_target descrition, since already described in
Target Conditionals. Move gdbarch_fp0_regnum description to ...
(Target Conditionals): ... here.
Pedro Alves [Sun, 28 Dec 2008 16:14:57 +0000 (16:14 +0000)]
* linux-fork.c (linux_fork_detach): New.
* linux-fork.h (linux_fork_detach): Declare.
* linux-nat.c (linux_child_follow_fork): When following the fork
child, add the child inferior before possibly detaching from the
parent. Don't reinstall ourselves.
(linux_nat_detach): Call linux_fork_detach if there are other
forks to debug.
* linux-thread-db.c (thread_db_detach): Don't call
target_mourn_inferior. Instead inline the necessary bits.
* inf-ptrace.c (inf_ptrace_detach): Don't unpush the target if
there are other inferiors to debug.
Jan Kratochvil [Sun, 28 Dec 2008 14:14:19 +0000 (14:14 +0000)]
Fix TYPE_HIGH_BOUND for TYPE_CODE_RANGE using arbitrary TYPE_NFIELDS in
preparation for supporting DW_AT_byte_stride.
* ada-lang.c (packed_array_type, ada_index_type): Use TYPE_INDEX_TYPE.
(ada_array_bound_from_type): Move `index_type' declaration to the
function start. New variable `retval'. Return the bounds for
TYPE_CODE_RANGE using TYPE_LOW_BOUND and TYPE_HIGH_BOUND. Abort on
invalid index type codes.
* ada-typeprint.c (print_range): Set `upper_bound' for TYPE_CODE_RANGE
now using TYPE_HIGH_BOUND.
* ada-valprint.c (val_print_packed_array_elements): Use `index_type'.
* eval.c (evaluate_subexp_standard): Use TYPE_INDEX_TYPE.
* gdbtypes.c (create_range_type): Use TYPE_LOW_BOUND, TYPE_HIGH_BOUND,
refer to the number of fields only through TYPE_NFIELDS.
(create_array_type): Use TYPE_INDEX_TYPE.
(check_typedef): Use TYPE_INDEX_TYPE, TYPE_LOW_BOUND, TYPE_HIGH_BOUND.
* gdbtypes.h (TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED)
(TYPE_ARRAY_LOWER_BOUND_IS_UNDEFINED): Use TYPE_INDEX_TYPE.
(TYPE_ARRAY_UPPER_BOUND_VALUE, TYPE_ARRAY_LOWER_BOUND_VALUE): Use
TYPE_INDEX_TYPE, TYPE_LOW_BOUND, TYPE_HIGH_BOUND,
* hppa-tdep.c (hppa_alignof <TYPE_CODE_ARRAY>): Use TYPE_INDEX_TYPE.
* mdebugread.c (parse_type): Use TYPE_LOW_BOUND, TYPE_HIGH_BOUND,
* valarith.c (value_bit_index): Use TYPE_INDEX_TYPE.
Alan Modra [Sun, 28 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 28 Dec 2008 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 27 Dec 2008 00:00:09 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 27 Dec 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Sandra Loosemore [Fri, 26 Dec 2008 19:11:53 +0000 (19:11 +0000)]
2008-12-26 Sandra Loosemore <sandra@codesourcery.com>
gdb/
* breakpoint.c (update_watchpoint): Refactor to avoid compiler
warning.
gdbadmin [Fri, 26 Dec 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 26 Dec 2008 00:00:04 +0000 (00:00 +0000)]
daily update
Alan Modra [Thu, 25 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 25 Dec 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Jan Kratochvil [Wed, 24 Dec 2008 10:06:43 +0000 (10:06 +0000)]
Fix the LM32 port entry timestamp for the time of its application.
Jan Kratochvil [Wed, 24 Dec 2008 09:58:03 +0000 (09:58 +0000)]
opcodes/
* Makefile.am (CFILES, ALL_MACHINES): Add LM32 source and object files.
* Makefile.in: Regenerate.
Cary Coutant [Wed, 24 Dec 2008 06:17:18 +0000 (06:17 +0000)]
* gold.cc (gold_exit): Call plugin cleanup handlers on exit.
* plugin.cc (Plugin_manager::finish): Rename as
layout_deferred_objects. Move cleanup to separate function.
(Plugin_manager::cleanup): New function.
(Plugin_finish::run): Call layout_deferred_objects and cleanup
separately.
* plugin.h (Plugin_manager::finish): Rename as
layout_deferred_objects.
(Plugin_manager::cleanup): New function.
(Plugin_manager::cleanup_done): New field.
Alan Modra [Wed, 24 Dec 2008 00:00:04 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 24 Dec 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Cary Coutant [Tue, 23 Dec 2008 23:46:55 +0000 (23:46 +0000)]
* plugin.cc (is_visible_from_outside): New function.
(Pluginobj::get_symbol_resolution_info): Call is_visible_from_outside
so we don't return "IR only" status for exported symbols or -r links.
* testsuite/Makefile.am (plugin_test_3): New test case.
* testsuite/Makefile.in: Regenerate.
* testsuite/plugin_test_3.sh: New file.
Nick Clifton [Tue, 23 Dec 2008 19:10:25 +0000 (19:10 +0000)]
Add LM32 port.
Jan Kratochvil [Tue, 23 Dec 2008 17:19:00 +0000 (17:19 +0000)]
* gdb.cp/punctuator.exp: Backslash the '$' signs.
H.J. Lu [Tue, 23 Dec 2008 15:14:15 +0000 (15:14 +0000)]
gas/
2008-12-23 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (match_template): Changed to return
const template *. Handle i.swap_operand for 3 operands.
(build_vex_prefix): Take const template *. Swap operand for
2-byte VEX prefix if possible.
(md_assemble): Updated.
(build_modrm_byte): Handle RegMem bit for SSE2AVX.
gas/testsuite/
2008-12-23 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.exp: Run x86-64-avx-swap and x86-64-avx-swap-intel.
* gas/i386/opts.s: Add tests for movsd, movss, vmovsd and
vmovss.
* gas/i386/x86-64-opts.s: Likewise.
* gas/i386/opts.d: Updated.
* gas/i386/opts-intel.d: Likewise.
* gas/i386/sse2avx-opts.d: Likewise.
* gas/i386/sse2avx-opts-intel.d: Likewise.
* gas/i386/x86-64-opts.d: Likewise.
* gas/i386/x86-64-opts-intel.d: Likewise.
* gas/i386/x86-64-sse2avx-opts.d: Likewise.
* gas/i386/x86-64-sse2avx-opts-intel.d: Likewise.
* gas/i386/x86-64-avx-swap.d: New.
* gas/i386/x86-64-avx-swap.s: Likewise.
* gas/i386/x86-64-avx-swap-intel.d: Likewise.
opcodes/
2008-12-23 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (EXdS): New.
(EXdVexS): Likewise.
(EXqVexS): Likewise.
(d_swap_mode): Likewise.
(q_mode): Updated.
(prefix_table): Use EXdS on movss and EXqS on movsd.
(vex_len_table): Use EXdVexS on vmovss and EXqVexS on vmovsd.
(intel_operand_size): Handle d_swap_mode.
(OP_EX): Likewise.
* i386-opc.h (S): Update comments.
* i386-opc.tbl: Add S to movss, movsd, vmovss and vmovsd.
* i386-tbl.h: Regenerated.
H.J. Lu [Tue, 23 Dec 2008 14:36:40 +0000 (14:36 +0000)]
2008-12-23 H.J. Lu <hongjiu.lu@intel.com>
PR ld/7036
* elfxx-ia64.c (elfNN_ia64_relax_section): Assume linker will
always insert 32byte between the .plt and .text sections after
the the first relaxation pass.
Tristan Gingold [Tue, 23 Dec 2008 13:52:58 +0000 (13:52 +0000)]
2008-12-23 Tristan Gingold <gingold@adacore.com>
* Makefile.am (EXTRA_DIST): Add deffilep.c and deffilep.h
* Makefile.in: Regenerate.
Nick Clifton [Tue, 23 Dec 2008 11:46:17 +0000 (11:46 +0000)]
PR 7093
* elf32-arm.c (bfd_elf32_arm_init_maps): Only process ARM ELF
object files.
Hans-Peter Nilsson [Tue, 23 Dec 2008 11:45:25 +0000 (11:45 +0000)]
* lib/ld-lib.exp (run_dump_test): New option ld_after_inputfiles.
* ld-cris/libdso-1c.d, ld-cris/expdref2.s, ld-cris/libdso-15b.d,
ld-cris/expdyn1w.s, ld-cris/libdso-1d.d, ld-cris/tls-ie-78.d: New
tests.
Tristan Gingold [Tue, 23 Dec 2008 11:32:45 +0000 (11:32 +0000)]
2008-12-23 Tristan Gingold <gingold@adacore.com>
* mach-o.c (bfd_mach_o_make_bfd_section): Use the standard ELF name
.eh_frame for __TEXT.__eh_frame so that it is recognized by gdb.
Use shorter sections name for well known sections.
(bfd_mach_o_scan_read_dylinker): Only put dylinker name in the
section content.
(bfd_mach_o_scan_read_segment): Use shorter sections name for
well known segments.
(bfd_mach_o_scan_read_command): Ignore some new commands.
(bfd_mach_o_openr_next_archived_file): Use more descriptive names
for members filename.
(bfd_mach_o_fat_extract): New function to easily extract members
of a fat binary.
* mach-o.h (bfd_mach_o_load_command_type): Add new constants.
(bfd_mach_o_dylinker_command): Fix comment and reindent.
(bfd_mach_o_fat_extract): New prototype.
Nick Clifton [Tue, 23 Dec 2008 10:59:56 +0000 (10:59 +0000)]
* coffcode.h (coff_write_object_contents): Always initialise
section.s_page.
* ti.h (COFF_ADJUST_SCNHDR_OUT_PRE): Define.
Andreas Schwab [Tue, 23 Dec 2008 10:23:53 +0000 (10:23 +0000)]
* elf32-m68k.c (elf_m68k_discard_copies): Use SYMBOL_CALLS_LOCAL.
(elf_m68k_relocate_section): Use SYMBOL_CALLS_LOCAL and
SYMBOL_REFERENCES_LOCAL.
(elf_m68k_relocate_section): Likewise.
Kai Tietz [Tue, 23 Dec 2008 10:00:31 +0000 (10:00 +0000)]
2008-12-23 Kai Tietz <kai.tietz@onevision.com>
* rcparse.y (rcdata_data): Allow empty comma elements.
Nick Clifton [Tue, 23 Dec 2008 09:54:26 +0000 (09:54 +0000)]
* po/ga.po: Updated Irish translation.
Nick Clifton [Tue, 23 Dec 2008 09:51:38 +0000 (09:51 +0000)]
* config/tc-avr.c (mcu_types): Add attiny87, attiny327, atmega4hvd,
atmega8hvd, atmega16hvb, atmega32hvb, atmega64c1, atmega16m1,
atmega64m1, atmega32u6, atmega128rfa1, at90pwm81, at90scr100,
m3000f, m3000s and m3001b devices.
* doc/c-avr.texi: Likewise.
Nick Clifton [Tue, 23 Dec 2008 09:01:51 +0000 (09:01 +0000)]
Remove STT_IFUNC support.
Cary Coutant [Tue, 23 Dec 2008 02:02:20 +0000 (02:02 +0000)]
* object.cc (Sized_relobj::layout_section): New function.
(Sized_relobj::do_layout): Defer layout of input sections until after
plugin has provided replacement files.
(Sized_relobj::do_layout_deferred_sections): New function.
* object.h (Relobj::set_section_offset): Remove virtual keyword.
(Relobj::layout_deferred_sections): New function.
(Relobj::do_layout_deferred_sections): New function.
(Sized_relobj::do_layout_deferred_sections): New function.
(Sized_relobj::layout_section): New function.
(Sized_relobj::Deferred_layout): New structure.
(Sized_relobj::deferred_layout_): New field.
* plugin.cc (Plugin_manager::finish): Renamed, was cleanup.
Change all callers. Layout deferred sections.
(class Plugin_finish): Renamed, was Plugin_cleanup. Change all
references.
(Plugin_hook::run): Move code from do_plugin_hook inline.
(Plugin_hook::do_plugin_hook): Remove.
* plugin.h (Plugin_manager::Plugin_manager): Add missing initializers.
(Plugin_manager::finish): Renamed, was cleanup.
(Plugin_manager::should_defer_layout): New function.
(Plugin_manager::add_deferred_layout_object): New function.
(Plugin_manager::Deferred_layout_list): New type.
(Plugin_manager::deferred_layout_objects_): New field.
(Plugin_hook::do_plugin_hook): Remove.
Hans-Peter Nilsson [Tue, 23 Dec 2008 01:40:25 +0000 (01:40 +0000)]
* arch.c, arch.h, cpu.c, cpu.h, cpuall.h, decode.c, decode.h,
model.c, sem.c: Regenerate.
gdbadmin [Tue, 23 Dec 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 23 Dec 2008 00:00:04 +0000 (00:00 +0000)]
daily update
Tom Tromey [Mon, 22 Dec 2008 23:11:56 +0000 (23:11 +0000)]
* stack.c (print_block_frame_locals): Print spaces, not tabs.
Update for call to print_variable_and_value.
(print_frame_arg_vars): Update.
* value.h (print_variable_and_value): Rename from
print_variable_value. Add 'name' and 'indent' parameters.
* printcmd.c (print_variable_and_value): Rename from
print_variable_value. Add 'name' and 'indent' parameters. Use
common_val_print.
* f-valprint.c (info_common_command): Update.
Tom Tromey [Mon, 22 Dec 2008 19:45:58 +0000 (19:45 +0000)]
* python/python-value.c (valpy_length): Remove #if.
Tom Tromey [Mon, 22 Dec 2008 16:25:17 +0000 (16:25 +0000)]
2008-12-22 Paul Pluzhnikov <ppluzhnikov@google.com>
* python/python-internal.h (PyEval_ReleaseLock): New define.