H.J. Lu
af89796ad5
Increment length by 1 if the relocation token is removed
...
gas/
PR gas/15019
* config/tc-i386.c (lex_got): Increment length by 1 if the
relocation token is removed.
gas/testsuite/
PR gas/15019
* gas/i386/reloc32.s: Add tests for "xtrn@got -/+ 4".
* gas/i386/reloc64.s: Likewise.
* gas/i386/ilp32/reloc64.s: Likewise.
* gas/i386/reloc32.d: Updated.
* gas/i386/reloc64.d: Likewise.
* gas/i386/ilp32/reloc64.d: Likewise.
2013-01-15 20:34:11 +00:00
H.J. Lu
1e53645179
Define R_X86_64_standard with R_X86_64_RELATIVE64
...
* elf64-x86-64.c (R_X86_64_standard): Replace R_X86_64_IRELATIVE
with R_X86_64_RELATIVE64.
2013-01-15 17:30:49 +00:00
Jan Kratochvil
22fc223eb8
gdb/testsuite/
...
* gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
2013-01-15 15:11:09 +00:00
Alan Modra
cb566e3aa8
PR binutils/15018
...
* stabs.c (parse_stab_members): Always set physname here to avoid
gcc warning..
(parse_stab_argtypes): ..and don't duplicate the init here.
2013-01-15 13:41:05 +00:00
Nick Clifton
dd42f06036
* config/tc-v850.c (md_assemble): Allow signed values for
...
V850E_IMMEDIATE.
* gas/v850/basic.exp: Allow for variations in reloc names.
* gas/v850/split-lo16.d: Likewise.
* gas/v850/v850e1.s: Add more tests of the PREPARE insn.
* gas/v850/v850e1.d: Update expected disassembly.
* v850-dis.c (get_operand_value): Sign extend V850E_IMMEDIATE
values.
* v850-opc.c (IMM16LO): Add V850_OPERAND_SIGNED attribute.
2013-01-15 08:45:45 +00:00
Nick Clifton
77bf820f91
Fix spelling typo.
2013-01-15 08:35:39 +00:00
Alan Modra
e245874365
bfd/
...
* elf64-ppc.c (ppc64_elf_size_stubs): Default shared libs to
plt-thread-safe.
gold/
* powerpc.cc (Target_powerpc::do_relax): Default shared libs to
plt-thread-safe.
ld/testsuite/
* ld-powerpc/tlsso.d: Adjust for plt-thread-safe stubs.
* ld-powerpc/tlsso.g: Likewise.
* ld-powerpc/tlsso.r: Likewise.
* ld-powerpc/tlstocso.d: Likewise.
* ld-powerpc/tlstocso.g: Likewise.
2013-01-15 06:13:26 +00:00
Alan Modra
4d490e4206
* ld-plugin/lto-16a.d: Match powerpc64 function symbol type.
...
* ld-plugin/lto-16b.d: Likewise.
* ld-plugin/lto-17a.d: Likewise.
* ld-plugin/lto-17b-2.d: Likewise.
2013-01-15 05:05:26 +00:00
gdbadmin
c7176ed465
*** empty log message ***
2013-01-15 00:00:34 +00:00
Alan Modra
431ed302a8
* testsuite/Makefile.am (final_layout_script.lds): Handle .got section.
...
* testsuite/Makefile.in: Regenerate.
2013-01-14 23:11:56 +00:00
Alan Modra
c56e69a0ca
daily update
2013-01-14 23:00:05 +00:00
Tom Tromey
44478ab340
* cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
...
set command.
* command.h (add_setshow_string_noescape_cmd): Update.
* corefile.c (set_gnutarget_command): Remove trailing whitespace.
(complete_set_gnutarget): New function.
(_initialize_core): Set the "set gnutarget" completer.
gdb/testsuite
* gdb.base/completion.exp: Add "set gnutarget" test.
2013-01-14 21:05:07 +00:00
Tom Tromey
06d66ee9d9
PR symtab/14442:
...
* c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
(c_type_print_modifier): Likewise.
* dwarf2read.c (read_tag_restrict_type): New function.
(read_type_die_1): Handle DW_TAG_restrict_type.
* gdbtypes.c (make_restrict_type): New function.
(recursive_dump_type): Handle TYPE_RESTRICT.
* gdbtypes.h (enum type_flag_values): Renumber.
(enum type_instance_flag_value): Add
TYPE_INSTANCE_FLAG_RESTRICT.
(TYPE_RESTRICT): New macro.
(make_restrict_type): Declare.
gdb/testsuite
* gdb.dwarf2/dw2-restrict.S: New file.
* gdb.dwarf2/dw2-restrict.c: New file.
* gdb.dwarf2/dw2-restrict.exp: New file.
2013-01-14 20:59:27 +00:00
Tom Tromey
c9bf062262
PR symtab/14931:
...
* psymtab.c (struct psymtab_state): New.
(discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
functions.
* psympriv.h (make_cleanup_discard_psymtabs): Declare.
* dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
gdb/testsuite
* gdb.dwarf2/dw2-error.exp: New file.
* gdb.dwarf2/dw2-error.c: New file.
* gdb.dwarf2/dw2-error.S: New file.
2013-01-14 20:51:48 +00:00
Pedro Alves
44d594fd82
2013-01-14 Richard Sharman <richard_sharman@mitel.com>
...
Pedro Alves <palves@redhat.com>
PR remote/14786
* remote.c (remote_threads_info): Make a copy of the reply from
qfThreadInfo and use that instead of rs->buf.
2013-01-14 18:06:21 +00:00
Alan Modra
0d705e9f94
* ld.texinfo (-Tldata-segment): Describe.
...
* ldlex.h (OPTION_TLDATA_SEGMENT): New enum value.
* lexsup.c (ld_options): Add -Tldata-segment.
(parse_args): Handle OPTION_TLDATA_SEGMENT.
* scripttempl/elf.sc: Support LARGE_DATA_ADDR.
2013-01-14 13:37:10 +00:00
Alan Modra
d6391ce5a6
* ld-elf/pr14926.d: Disable for d10v, msp, xstormy.
...
* ld-elf/sec-to-seg.exp: Choose correct variant output to suit
updated microblaze page size.
2013-01-14 13:23:05 +00:00
Alan Modra
405bf443e5
PR binutils/14813
...
* bfdio.c (struct bfd_iovec <bclose>): Revert 2012-11-06.
(memory_bclose): Likewise. Return 0 on success.
* cache.c (cache_bclose): Likewise.
* opncls.c (opncls_bclose, bfd_close): Likewise.
* vms-lib.c (vms_lib_bclose): Likewise.
* libbfd.h: Regenerate.
2013-01-14 13:14:08 +00:00
Alan Modra
130b4629e4
* gas/v850/basic.exp (reloc part 1): Pass -mgcc-abi to gas.
...
* gas/v850/split-lo16.d: Likewise.
2013-01-14 13:11:31 +00:00
Alan Modra
0ec6429be3
* testsuite/Makefile.am (MOSTLYCLEANFILES): Add various output files.
...
* testsuite/Makefile.in: Regenerate.
2013-01-14 12:56:39 +00:00
Nick Clifton
a4533ed80a
* metag-dis.c (REG_WIDTH): Increase to 64.
...
* gas/metag/metadsp21.d: Fix expected MMOV disassembly.
2013-01-14 11:22:06 +00:00
Yao Qi
442e4d9c87
gdb/
...
2013-01-14 Yao Qi <yao@codesourcery.com>
* dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
(dbx_psymtab_to_symtab): Likewise.
* dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
* mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
* xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
2013-01-14 10:39:33 +00:00
Alan Modra
7765a960b3
* gas/ppc/htm.s: Use .text rather than .section ".text".
...
* gas/ppc/power8.s: Likewise.
* gas/ppc/htm.d: Don't match file format.
* gas/ppc/power8.d: Likewise.
2013-01-14 06:42:00 +00:00
gdbadmin
2f8132d61f
*** empty log message ***
2013-01-14 00:00:03 +00:00
Alan Modra
30be67bc7d
daily update
2013-01-13 23:00:05 +00:00
Jan Kratochvil
5b12a61c76
gdb/
...
* parse.c (parse_exp_in_context): New variable inner_chain. Call
make_cleanup_restore_current_language. Call set_language. Move
OLD_CHAIN and INNER_CHAIN cleanups.
* utils.c (do_restore_current_language)
(make_cleanup_restore_current_language): New functions.
* utils.h (make_cleanup_restore_current_language): New declaration.
gdb/testsuite/
* gdb.cp/parse-lang.cc: New file.
* gdb.cp/parse-lang.exp: New file.
2013-01-13 18:57:01 +00:00
Jan Kratochvil
57b3c00c27
gdb/
...
* source.c (symtab_to_fullname): Do not prepend DIRNAME for
non-existing files if FILENAME is already absolute.
2013-01-13 18:53:51 +00:00
Jan Kratochvil
f0a4b570b4
gdb/
...
* source.c (symtab_to_fullname): Apply rewrite_source_path also for
non-existing files.
gdb/testsuite/
* gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
(set substitute-path): New test.
(fullname present): Remove content.
(substituted fullname): New test.
2013-01-13 18:52:45 +00:00
Alan Modra
ee659f1f4b
* elf-bfd.h (struct elf_link_hash_entry): Delete dynamic_weak.
...
Add ref_dynamic_nonweak.
* elflink.c (_bfd_elf_mark_dynamic_def_weak): Delete.
(_bfd_elf_merge_symbol): Don't call above function. Move
setting of ref_dynamic_nonweak and dynamic_def earlier. Don't
clear dynamic_def.
(elf_link_add_object_symbols): Delete redundant "override" test.
Don't set dynamic_def here.
(elf_link_output_extsym): Update.
2013-01-13 12:32:10 +00:00
Joel Brobecker
f751cc976c
Fix gdb.python/py-finish-breakpoint.exp ERROR.
...
This patch fixes the following error, when running gdb.python/
py-finish-breakpoint.exp:
ERROR: can't read "gdb_py_is_py24": no such variable
while executing
"if { $gdb_py_is_py24 == 1 } {
gdb/testsuite/ChangeLog:
* gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
check. Move $gdb_py_is_py24 value check right after.
2013-01-13 08:24:22 +00:00
H.J. Lu
68c4a57ee6
Set bfd errror for normal and TLS symbol access
...
* elf32-i386.c (elf_i386_check_relocs): Set bfd errror for
normal and TLS symbol access.
* elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
2013-01-13 00:30:20 +00:00
gdbadmin
98cc398724
*** empty log message ***
2013-01-13 00:00:03 +00:00
Alan Modra
c5f0f53c45
daily update
2013-01-12 23:00:05 +00:00
Jan-Benedict Glaw
1b4f418d5a
* ChangeLog: Fix typo.
2013-01-12 03:46:44 +00:00
gdbadmin
fc35658155
*** empty log message ***
2013-01-12 00:00:03 +00:00
Alan Modra
8d06c1cf64
daily update
2013-01-11 23:00:06 +00:00
Jan Kratochvil
daefa85476
gdb/
...
* macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
fputs_filtered. Append trailing newline.
2013-01-11 21:34:29 +00:00
Sean Keys
464e3686c0
* config/tc-xgate.c (md_begin): Fix mistake made when going from
...
git to cvs.
2013-01-11 21:12:34 +00:00
Jan Kratochvil
04164e8e6d
gdb/testsuite/
...
* gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
targets.
2013-01-11 15:21:14 +00:00
Joel Brobecker
bf51454b45
Sync the root .gitignore file with GCC's.
2013-01-11 15:17:35 +00:00
Ian Lance Taylor
0bf402d505
Fix mingw gold build with plugins enabled
...
* Makefile.am: Replace -ldl with @DLOPEN_LIBS@.
* configure.ac: Export DLOPEN_LIBS and add headers check.
* plugin.cc: Handle non-dlfcn case.
* Makefile.in: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* testsuite/Makefile.in: Regenerate.
2013-01-11 14:36:36 +00:00
Alan Modra
02be4619f1
* elf-bfd.h (_bfd_elf_strtab_refcount): Declare.
...
* elf-strtab.c (_bfd_elf_strtab_refcount): New function.
* elflink.c (elf_add_dt_needed_tag): Use _bfd_elf_strtab_refcount.
2013-01-11 14:09:59 +00:00
Alan Modra
a4542f1b23
PR ld/12549
...
* elf-bfd.h (_bfd_elf_strtab_clear_refs): Declare.
(_bfd_elf_strtab_clear_all_refs): Define.
* elf-strtab.c (_bfd_elf_strtab_clear_refs): New function.
(_bfd_elf_strtab_clear_all_refs): Delete.
* elflink.c (elf_link_add_object_symbols): Clear out added
strtab refs. Correct handling of warning common symbols.
2013-01-11 13:55:02 +00:00
Jan-Benedict Glaw
c2e5e6d74e
* ChangeLog: Fix "Dito" to "Ditto".
2013-01-11 13:10:17 +00:00
Jan-Benedict Glaw
c841a2be54
* config.sub: Update from config repo.
2013-01-11 12:57:41 +00:00
Eric Botcazou
d7b9dae92f
* Makefile.tpl (BOOT_ADAFLAGS): Remove -gnata.
...
* Makefile.in: Regenerate.
2013-01-11 11:48:54 +00:00
Nick Clifton
2624489484
oops - omitted from previous delta
2013-01-11 09:53:22 +00:00
Peter Bergner
5817ffd1f8
include/opcode/
...
* ppc.h (PPC_OPCODE_POWER8): New define.
(PPC_OPCODE_HTM): Likewise.
opcodes/
* ppc-dis.c (ppc_opts): Add "power8", "pwr8" and "htm" entries.
* ppc-opc.c (HTM_R, HTM_SI, XRTRB_MASK, XRTRARB_MASK, XRTLRARB_MASK,
XRTARARB_MASK, XRTBFRARB_MASK, XRCL, POWER8, PPCHTM): New defines.
(SH6): Update.
<"tabort.", "tabortdc.", "tabortdci.", "tabortwc.",
"tabortwci.", "tbegin.", "tcheck", "tend.", "trechkpt.",
"treclaim.", "tsr.">: Add POWER8 HTM opcodes.
<"tendall.", "tresume.", "tsuspend.">: Add POWER8 HTM extended opcodes.
gas/
* doc/as.texinfo (Target PowerPC): Document -mpower8 and -mhtm.
* doc/c-ppc.texi (PowerPC-Opts): Likewise.
* config/tc-ppc.c (md_show_usage): Likewise.
(ppc_handle_align): Handle power8's group ending nop.
gas/testsuite/
* gas/ppc/htm.d: New test.
* gas/ppc/htm.s: Likewise.
* gas/ppc/power8.d: Likewise.
* gas/ppc/power8.s: Likewise.
* gas/ppc/ppc.exp: Run them.
2013-01-11 02:25:36 +00:00
Yao Qi
ca9c6ee2b7
gdb/
...
2013-01-11 Yao Qi <yao@codesourcery.com>
Stan Shebs <stan@codesourcery.com>
* psymtab.c (init_psymbol_list): Clarify the comment.
2013-01-11 00:56:05 +00:00
Yao Qi
f28045c2aa
gdb/
...
* breakpoint.c (print_one_breakpoint_location): Remove dead code.
(update_dprintf_command_list): Assert that 'printf_line' is
non-null. Remove condition check.
2013-01-11 00:41:08 +00:00