Matthew Gretton-Dann
eab4f823f7
2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
...
* config/tc-arm.c (do_t_ldmstm): Add logic to handle single-register
list for ldm/stm.
2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
* gas/arm/thumb2_ldmstm.d: Change single-register stmia to use 16-bit
str encoding instead of str.w. Likewise for ldmia.
* gas/arm/thumb2_ldmstm.s: Change stmia comment. Add tests for T1
ldmia-to-ldr.
2010-09-17 15:19:14 +00:00
Matthew Gretton-Dann
59b42a0df4
2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
...
* config/tc-arm.c (parse_psr): Add condition for matching "APSR" on
non-M-arch cpus.
(psrs): Add entry for PSR flags, g, nzcvq, nzcvqg.
2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
* gas/arm/msr-reg.s: New file.
* gas/arm/msr-reg.d: Likewise.
* gas/arm/msr-imm.s: Likewise.
* gas/arm/msr-imm.d: Likewise.
* gas/arm/msr-imm-bad.d: Likewise.
* gas/arm/msr-imm-bad.l: Likewise.
* gas/arm/msr-reg-bad.d: Likewise.
* gas/arm/msr-imm-bad.d: Likewise.
* gas/arm/msr-reg-thumb.d: Likewise.
* gas/arm/arch7.s: Add tests for xpsr.
* gas/arm/arch7.d: Likewise.
2010-09-17 10:42:04 +00:00
Matthew Gretton-Dann
db472d6ff0
2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
...
* config/tc-arm.c (insns): Change MRC entry to accept APSR_RR instead
of just RR.
2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
* gas/arm/copro.s: Add test for APSR_nzcv as a MRC operand.
* gas/arm/copro.d: Change pc in MRC to disassemble as APSR_nzcv. Also
add disassembly for test added in copro.s
2010-09-17 Tejas Belagod <tejas.belagod@arm.com>
* arm_dis.c (coprocessor_opcodes): Add MRC entry for APSR_nzcv.
2010-09-17 10:13:41 +00:00
gdbadmin
8f8067050f
*** empty log message ***
2010-09-17 00:00:32 +00:00
Alan Modra
4bc785ce3d
daily update
2010-09-17 00:00:04 +00:00
Alan Modra
8f3bae4520
PR gas/12011
...
* config/obj-elf.c (obj_elf_parse_section_letters): Correct test
for error return from md_elf_section_letter.
* config/tc-alpha.c (alpha_elf_section_letter): Correct error message.
* config/tc-i386.c (x86_64_section_letter): Likewise.
* config/tc-ia64.c (ia64_elf_section_letter): Likewise.
* config/tc-mep.c (mep_elf_section_letter): Likewise.
* gas/elf/bad-section-flag.d, * gas/elf/bad-section-flag.err,
* gas/elf/bad-section-flag.s: New test.
* gas/elf/elf.exp: Run it.
2010-09-16 23:55:10 +00:00
Jan Kratochvil
1558ab4ce7
gdb/
...
* charset.c (wchar_iterate) <EILSEQ>: Return any possibly converted
characters.
2010-09-16 19:20:51 +00:00
Cary Coutant
4ef28648fb
* script_sections.cc (class Memory_region): Remove "NULL" from
...
vector initializations.
2010-09-16 15:52:15 +00:00
Phil Muldoon
875b4ff565
2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
...
PR mi/11407
* mi/mi-cmd-stack.c (list_args_or_locals): Catch exceptions from
read_var_value and common_val_print and print a warning.
2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
Jan Kratochvil <jan.kratochvil@redhat.com>
PR mi/11407
* gdb.mi/dw2-ref-missing-frame-func.c: New File.
* gdb.mi/dw2-ref-missing-frame-main.c New File.
* gdb.mi/dw2-ref-missing-frame.S New File.
* gdb.mi/dw2-ref-missing-frame.exp New File.
2010-09-16 13:47:55 +00:00
Alan Modra
d469f50fd0
* ld-elf/orphan-region.d: xfail for spu.
...
* ld-elf/relocatable.d: xfail for hppa.
2010-09-16 10:51:41 +00:00
Alan Modra
29c702418f
* elf32-spu.c (spu_elf_size_sections): Omit fixups for non-alloc
...
sections.
(spu_elf_create_sections): Mark .fixup with SEC_LINKER_CREATED and
set dynobj.
(spu_elf_finish_dynamic_sections): New function.
(elf_backend_finish_dynamic_sections): Define.
2010-09-16 10:36:00 +00:00
Alan Modra
40703ddd07
* binutils-all/i386/i386.exp: Don't run on linuxaout.
2010-09-16 00:42:00 +00:00
Alan Modra
4261360e1f
* gas/all/redef3.d: Don't run on arc.
...
* gas/i386/i386.exp: Don't run intel-got32 on linuxaout. Move
x86_64 mingw exclusions to equivalent elf only block of tests.
2010-09-16 00:39:11 +00:00
Alan Modra
1391e79bb5
* ld-elf/group3b.d: Disable for generic linker targets.
...
* ld-elf/linkonce2.d: Likewise.
* ld-scripts/empty-address-2a.d: Disable for frv and aout,oldld.
* ld-scripts/empty-address-2b.d: Likewise.
* ld-scripts/rgn-at5.s: Don't use .word.
* ld-scripts/rgn-at5.d: Update.
2010-09-16 00:28:57 +00:00
Alan Modra
2e76e85a38
bfd/
...
* elf.c (bfd_elf_get_default_section_type): Don't test SEC_NEVER_LOAD.
* elflink.c (elf_link_input_bfd): Likewise.
ld/
* ld.texinfo (NOLOAD): Do not erroneously state that contents will
appear in output file.
* ldlang.c (lang_add_section): Clear SEC_HAS_CONTENTS on noload
unless SEC_COFF_SHARED_LIBRARY.
(map_input_to_output_sections): Don't set SEC_HAS_CONTENTS for noload
output sections.
(lang_size_sections_1): Don't test SEC_NEVER_LOAD when deciding
to update dot in region. Ditto when setting SEC_ALLOC if dot
advanced due to assignment.
* ldwrite.c (build_link_order): Don't test SEC_NEVER_LOAD.
2010-09-16 00:06:12 +00:00
gdbadmin
15ed0ef36b
*** empty log message ***
2010-09-16 00:00:33 +00:00
Alan Modra
8812c728fb
daily update
2010-09-16 00:00:04 +00:00
Jan Kratochvil
65dedcb26b
gdb/
...
* MAINTAINERS (GLOBAL MAINTAINERS) <Jan Kratochvil>: Move the entry to
keep the list in alphabetical order. Use longer e-mail address.
2010-09-15 22:53:53 +00:00
Tom Tromey
0e780a22f0
* MAINTAINERS (GLOBAL MAINTAINERS): Add Jan Kratochvil.
2010-09-15 22:26:25 +00:00
Tom Tromey
62234ccc1e
* charset.c (iconv_open): New define.
...
(iconv): Likewise.
(iconv_close): Likewise.
(phony_iconv_open): Add "phony_" prefix.
(phony_iconv_close): Likewise.
(phony_iconv): Likewise.
* gdb_wchar.h: Check _LIBICONV_VERSION, __STDC_ISO_10646__.
Change how INTERMEDIATE_ENCODING is defined.
2010-09-15 20:18:47 +00:00
Kai Tietz
d3fe237dc1
Fix intend
2010-09-15 19:50:13 +00:00
Kai Tietz
bea2c1d72c
ChangeLog gas
...
2010-09-15 Kai Tietz <kai.tietz@onevision.com>
* config/obj-coff-seh.c (seh_validate_seg): New funtion.
(obj_coff_seh_endproc): Add check for segment.
(obj_coff_seh_endprologue): Likewise.
(obj_coff_seh_pushreg): Likewise.
(obj_coff_seh_pushframe): Likewise.
(obj_coff_seh_save): Likewise.
(obj_coff_seh_setframe): Likewise.
ChangeLog gas/testsuite
2010-09-15 Kai Tietz <kai.tietz@onevision.com>
* gas/pe/pe.exp: Add new test.
* gas/pe/seh-x64-err-1.l: New.
* gas/pe/seh-x64-err-1.s: New.
2010-09-15 19:48:52 +00:00
Kai Tietz
2d7f492901
ChangeLog gas
...
2010-09-15 Kai Tietz <kai.tietz@onevision.com>
* config/obj-coff-seh.h (seh_context): New member code_seg.
* config/obj-coff-seh.c: Implementing xdata/pdata section cloning
for link-once code-segment.
ChangeLog ld
2010-09-15 Kai Tietz <kai.tietz@onevision.com>
* scripttempl/pep.sc: Add .xdata segment and
put into .pdata all segments beginning with .pdata.
ChangeLog gas/testsuite
2010-09-15 Kai Tietz <kai.tietz@onevision.com>
* gas/pe/pe.exp: Add peseh-x64-4,5,6 tests.
* gas/pe/peseh-x64-4.s: New.
* gas/pe/peseh-x64-4.d: New.
* gas/pe/peseh-x64-5.d: New.
* gas/pe/peseh-x64-6.d: New.
2010-09-15 19:43:56 +00:00
Tom Tromey
c1b6b909c5
2010-09-15 Paul Bolle <pebolle@tiscali.nl>
...
* gdb.texinfo (Character Sets): Correctly reference host-charset
in example.
2010-09-15 19:31:59 +00:00
Doug Evans
4950bc1c0c
* dwarf2read.c (struct die_info): Fix comment.
2010-09-15 18:14:47 +00:00
Cary Coutant
793990de53
* incremental.cc (Output_section_incremental_inputs::write_info_blocks):
...
Resolve forwarding symbols.
2010-09-15 18:10:31 +00:00
Doug Kwan
81e015e20a
2010-09-15 Doug Kwan <dougkwan@google.com>
...
* gold/testsuite/script_test_3.t: Add ARM special sections.
* gold/testsuite/script_test_4.t: Same.
* gold/testsuite/script_test_5.t: Same.
* gold/testsuite/script_test_6.t: Same.
* gold/testsuite/script_test_7.t: Same.
* gold/testsuite/script_test_7.t: Same.
* gold/testsuite/thumb_blx_out_of_range.s: Fix instruction alignment.
2010-09-15 17:39:57 +00:00
Kai Tietz
2eb0390952
2010-09-15 Kai Tietz <kai.tietz@onevision.com>
...
* pei-x86_64.c (pex64_get_unwind_info): Reorgnized.
(pex64_get_scope_entry): Removed.
(find_next_xdata_or_end): New helper.
(pex64_dump_xdata): Reworked.
(pex64_bfd_print_pdata): Add checking for
valid pdata sorting and values. Reworked
output.
2010-09-15 17:27:30 +00:00
H.J. Lu
028ed2b2b6
Handle NULL iostream in bfd_plugin_object_p.
...
2010-09-15 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/12004
* plugin.c (bfd_plugin_object_p): Handle NULL iostream.
2010-09-15 17:12:59 +00:00
H.J. Lu
492d5973f0
Pass "plugin" as target for "ar --plugin" when opening a BFD file.
...
2010-09-15 H.J. Lu <hongjiu.lu@intel.com>
* ar.c (plugin_target): New.
(main): Set plugin_target to "plugin" for --plugin.
(open_inarch): Initialize target to plugin_target.
(replace_members): Pass plugin_target to ar_emul_replace
and ar_emul_append.
* binemul.h (ar_emul_append): Add a target argument.
(ar_emul_default_append): Likewise.
(ar_emul_replace): Likewise.
(ar_emul_default_replace): Likewise.
(bin_emulation_xfer_struct): Add a target argument to
ar_append and ar_replace.
* binemul.c (ar_emul_append): Updated. Pass target to bfd_openr.
(do_ar_emul_default_append): Likewise.
(ar_emul_default_append): Likewise.
(ar_emul_replace): Likewise.
(ar_emul_default_replace): Likewise.
2010-09-15 17:10:15 +00:00
Alan Modra
349126ea35
PR 4606
...
* gcore.c (gcore_create_callback): Clear SEC_HAS_CONTENTS rather
than setting SEC_NEVER_LOAD on sections that need not be copied.
2010-09-15 03:30:30 +00:00
gdbadmin
41dfe9624c
*** empty log message ***
2010-09-15 00:00:33 +00:00
Alan Modra
14119b2ed3
daily update
2010-09-15 00:00:05 +00:00
Maciej W. Rozycki
f6690563bb
opcodes/
...
* mips-opc.c (mips_builtin_opcodes): Add "sync_acquire",
"sync_mb", "sync_release", "sync_rmb" and "sync_wmb".
gas/testsuite/
* gas/mips/mips32r2-sync.d: New test for MIPS32r2 "sync"
instruction variants.
* gas/mips/octeon@mips32r2-sync.d: Likewise, Octeon version.
* gas/mips/mips32r2-sync.s: Source for the new test.
* gas/mips/mips.exp: Run the new test.
2010-09-14 23:49:04 +00:00
Tom Tromey
923c6a3dd1
* psympriv.h (add_psymbol_to_list, init_psymbol_list)
...
(start_psymtab_common, allocate_psymtab, discard_psymtab):
Declare.
* symfile.h (extend_psymbol_list): Remove.
(add_psymbol_to_list, init_psymbol_list, start_psymtab_common)
(allocate_psymtab, discard_psymtab): Move to psympriv.h.
* psymtab.c (extend_psymbol_list): Move earlier. Now static.
2010-09-14 22:50:30 +00:00
Cary Coutant
36171d64bf
* x86_64.cc (Target_x86_64::saw_tls_block_reloc_): Remove member.
...
(Target_x86_64::Relocate::relocate_tls): Replace check for
saw_tls_block_reloc_ with test for executable section.
2010-09-14 21:44:21 +00:00
Jan Kratochvil
a9e6a4bb4e
gdb/
...
* dwarf2read.c (dw2_map_ada_symtabs): Remove the internal_error.
Update the comment.
2010-09-14 21:28:53 +00:00
Kai Tietz
51ec954481
2010-09-14 Kai Tietz <kai.tietz@onevision.com>
...
* pe-x86_64.c (COFF_SECTION_ALIGNMENT_ENTRIES): Make
.rdata, .data, and .text partial matched section names.
* pei-x86_64.c: Likewise.
2010-09-14 20:40:39 +00:00
Kai Tietz
5174d0fb6d
2010-09-14 Kai Tietz <kai.tietz@onevision.com>
...
* peXXigen.c (sort_x64_pdata): New helper.
(_bfd_XXi_final_link_postscript): Do pdata sorting.
2010-09-14 20:25:34 +00:00
Tom Tromey
7155d5780a
gdb
...
PR symtab/8399:
* dwarf2loc.c (locexpr_describe_location_piece): Don't call error
for unrecognized frame base expression.
gdb/testsuite
PR symtab/8399:
* gdb.threads/tls.exp: Remove kfail. Update expected output.
2010-09-14 19:39:59 +00:00
Tom Tromey
515ed53230
gdb
...
PR exp/11803:
* value.c (value_static_field): Use value_of_variable.
gdb/testsuite
PR exp/11803:
* gdb.threads/tls.exp: Use C++.
(check_thread_local): Use K::another_thread_local.
* gdb.threads/tls.c (class K): New.
(another_thread_local): Now a member of K.
(spin): Update. No longer K&R C.
2010-09-14 19:08:30 +00:00
Jie Zhang
7ef07ba077
* doc/c-arm.texi: Document -mcpu=cortex-m4.
2010-09-14 09:16:21 +00:00
Pierre Muller
b467f5808f
* m32r-rom.c: Replace winsock.h with winsock2.h header.
...
* remote-m32r-sdi.c: Replace winsock.h by winsock2.h.
2010-09-14 08:01:12 +00:00
Alan Modra
b29607b4e7
daily update
2010-09-14 00:00:05 +00:00
gdbadmin
709bbda39a
*** empty log message ***
2010-09-14 00:00:03 +00:00
Sami Wagiaalla
450ca57cac
Fix PR 11992: C++ 'this' scope sometimes does not work
...
2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
PR symtab/11992:
* c-exp.y (classify_name): Check is_a_member_of_this before returning
UNKNOWN_CPP_NAME.
2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/koenig.cc: created class for testing member lookup.
* gdb.cp/koenig.exp: Added test for member lookup.
2010-09-13 20:41:05 +00:00
Joel Brobecker
1aee700988
[NEWS] Announce gdbserver support for x86-lynxos
...
This patch adjusts the NEWS entry for the LynxOS gdbserver to include
x86-lynxos to the list of supported platforms.
gdb/ChangeLog:
* NEWS: Add x86-lynxos to the list of platforms supported by
gdbserver.
2010-09-13 20:37:34 +00:00
Jan Kratochvil
dbd492a377
gdb/testsuite/
...
Fix false FAILs on sourcetree topdir directory containing "kill".
* gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
source line matching regexp.
2010-09-13 20:05:04 +00:00
Joel Brobecker
fa1bd1e4fb
Add support for x86 LynxOS
...
This patch adds support for x86 LynxOS (tested on LynxOS 5.0).
gdb/gdbserver/ChangeLog:
* lynx-i386-low.c: New file.
* configure.srv: Add handling of i[34567]86-*-lynxos* targets.
2010-09-13 19:11:03 +00:00
Joel Brobecker
5ec6ebf9c9
[NEWS] Announce support for PowerPC LynxOS 5.x.
...
This adjusts the news entry about ppc-lynxos to add version 5.x
of the OS to the list of supported versions...
gdb/ChangeLog:
* NEWS: Announce GDBserver support for version 5.x of ppc-lynxos.
2010-09-13 19:10:51 +00:00