Kai Tietz
a29a8af823
ChangeLog bfd
...
2012-10-18 Kai Tietz <ktietz@redhat.com>
PR binutils/14067
* coff-i386.c (bfd_target): Add section flag SEC_EXCLUDE.
Allow BFD_COMPRESS and BFD_DECOMPRESS flags.
* coff-x86_64.c: Likewise.
* coffcode.h (DOT_ZDEBUG): New define.
(sec_to_styp_flags): Check for .zdebug.
(styp_to_sec_flags): Likewise.
* coffgen.c (make_a_section): Handle .debug_* section
compression/decompression flags.
* cofflink.c (mark_relocs): Ignore relocations
for a section, which isn't marked as used.
(_bfd_coff_link_input_bfd): Add support of compressed
debug sections.
* compress.c (decompress_contents): Loop as long
as there is input available and there is room for
output.
* bfd/pe-arm.c: Add .zdebug_ partial match entry.
* pe-i386.c: Likewise.
* pe-x86_64.c: Likewise.
* peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't clear all
data-directories as this might destroy content.
* coff-i386.c (_bfd_generic_find_nearest_line_discriminator):
define as coff_find_nearest_line_discriminator.
* libcoff-in.h (coff_find_nearest_line_discriminator): New
* libcoff.h: Regenerated.
* coff-x86_64.c: Likewise.
* coffgen.c (coff_find_nearest_line_discriminator): New function.
prototype.
ChangeLog binutils
2012-10-18 Kai Tietz <ktietz@redhat.com>
* objdump.c (dump_bfd): Call dump headers after
call of slurp_symtab.
ChangeLog ld
2012-10-18 Kai Tietz <ktietz@redhat.com>
PR binutils/14067
* NEWS: Menition new feature.
* scripttempl/pep.sc: Add zdebug sections.
* scripttempl/pe.sc: L
2012-10-18 17:42:29 +00:00
Kai Tietz
4fc8b8950a
* objcopy.c (is_strip_section_1): Don't strip
...
.reloc section by default.
2012-10-18 17:29:54 +00:00
Kai Tietz
c207c2c6cf
* config/obj-coff.c: Add include of struc-symbol.h header.
...
(coff_frob_symbol): Check that function-aux entries are generated for
defined symbols only.
2012-10-18 17:00:56 +00:00
Tom Tromey
9a176a4afc
* tic54x-dis.c (print_instruction): Don't use K&R style.
...
(print_parallel_instruction, sprint_dual_address)
(sprint_indirect_address, sprint_direct_address, sprint_mmr)
(sprint_cc2, sprint_condition): Likewise.
2012-10-18 15:28:06 +00:00
Tom Tromey
fff106847e
* valprint.c (generic_emit_char, generic_printstr): Pass size of
...
gdb_wchar_t to convert_between_encodings.
2012-10-18 15:26:01 +00:00
Kai Tietz
4ad3b7ef02
* aarch64-asm.c (aarch64_ins_ldst_reglist): Initialize
...
value with a default.
(do_special_encoding): Likewise.
(aarch64_ins_ldst_elemlist): Pre-initialize QSsize, and opcodeh2
variables with default.
* arc-dis.c (write_comments_): Don't use strncat due
size of state->commentBuffer pointer isn't predictable.
2012-10-18 06:53:16 +00:00
Kai Tietz
70e0ee1a27
* doc/as.texinfo: Add missing documentation about section flag
...
exclude.
2012-10-18 06:46:51 +00:00
Alan Modra
1698990d32
PR gold/14727
...
* object.cc (Relobj::is_section_name_included): Also match
.sdata personality section.
2012-10-18 05:36:02 +00:00
Alan Modra
168a472611
* target-reloc.h (class Default_comdat_behavior): New, package up..
...
(get_comdat_behaviour): ..this.
(relocate_section): Add Relocate_comdat_behavior template arg,
adjust code to suit.
* arm.cc (Target_arm::relocate_section): Adjust to suit.
(Target_arm::scan_reloc_section): Likewise.
* i386.cc (Target_i386::relocate_section): Likewise.
* sparc.cc (Target_sparc::relocate_section): Likewise.
* tilegx.cc (Target_tilegx::relocate_section): Likewise.
* x86_64.cc (Target_x86_64::relocate_section): Likewise.
* powerpc.cc (class Relocate_comdat_behavior): New.
(Target_powerpc::relocate_section): Don't zap opd relocs. Supply
gold::relocate_section with new template arg.
2012-10-18 04:18:18 +00:00
gdbadmin
522307fe68
*** empty log message ***
2012-10-18 00:00:32 +00:00
Alan Modra
f8bfb3c5e1
daily update
2012-10-17 23:00:03 +00:00
Alan Modra
acc276d812
* powerpc.cc (Target_powerpc::Scan::local, global): Always emit
...
dynamic relocs for GOT_TPREL got entries, without symbol if
resolving locally.
(Target_powerpc::do_gc_add_reference): Don't add for dynamic objects.
(Target_powerpc::scan_relocs): Define _GLOBAL_OFFSET_TABLE_ early.
(Target_powerpc::Relocate:relocate): REL32 reloc may be unaligned.
2012-10-17 14:33:41 +00:00
Alan Modra
e10f987022
PR gold/14726
...
* gold.cc (queue_middle_tasks): Call gc_mark_symbol on _init and _fini.
2012-10-17 11:58:39 +00:00
Yao Qi
8de0566d7a
gdb:
...
* breakpoint.c (invalidate_bp_value_on_memory_change): Add one
more parameter 'inferior'.
* corefile.c (write_memory_with_notification): Caller update.
* mi/mi-cmd-var.c: Include "mi-main.h".
(mi_cmd_var_assign): Set mi_suppress_notification.data_write_memory
to 1 and restore it later.
* mi/mi-cmds.c (mi_cmd mi_cmds): Update for "data-write-memory"
and "data-write-memory-bytes.
* mi/mi-interp.c: Include objfiles.h.
(mi_interpreter_init): Call observer_attach_memory_changed.
(mi_memory_changed): New.
* mi/mi-main.h (struct mi_suppress_notification) <memory>:
New field.
* NEWS: Mention new MI notification "memory-changed".
gdb/doc:
* observer.texi (GDB Observers): Update observer
'memory_changed'.
* gdb.texinfo (GDB/MI Async Records): Document for
"memory-changed" notification.
gdb/testsuite:
* gdb.mi/mi-memory-changed.exp: New.
2012-10-17 00:53:24 +00:00
gdbadmin
b1fecbf125
*** empty log message ***
2012-10-17 00:00:33 +00:00
Alan Modra
617a460292
daily update
2012-10-16 23:00:04 +00:00
Joel Brobecker
1239a68ada
Add missing ChangeLog entry for previous commit:
...
2012-10-16 Joel Brobecker <brobecker@adacore.com>
* coff64-rs6000.c (rs6000coff64_vec): Set _close_and_cleanup
field to _bfd_archive_close_and_cleanup.
(aix5coff64_vec): Likewise.
2012-10-16 22:57:50 +00:00
Joel Brobecker
329e5cac87
dangling pointer in coff64-rs6000 archive cache.
...
bfd/ChangeLog:
* coff64-rs6000.c (rs6000coff64_vec): Set _close_and_cleanup
field to _bfd_archive_close_and_cleanup.
(aix5coff64_vec): Likewise.
2012-10-16 22:56:55 +00:00
Joel Brobecker
e3f9f6d818
Dangling bfd pointer in archive cache.
...
This dandling pointer eventually leads to a crash when trying to run
on ppc-aix a program using threading...
bfd/ChangeLog:
* coff-rs6000.c (rs6000coff_vec): Set _close_and_cleanup
field to _bfd_archive_close_and_cleanup.
(pmac_xcoff_vec): Likewise.
2012-10-16 22:47:03 +00:00
Sriraman Tallam
ae034989da
2012-10-16 Sriraman Tallam <tmsriram@google.com>
...
* layout.cc (Layout::include_section): Keep sections marked
SHF_EXCLUDE when doing relocatable links.
2012-10-16 16:50:32 +00:00
Yufeng Zhang
bb3f9ed8ba
Fixed AArch64 TLS relocation resolution.
...
bfd/
* elf64-aarch64.c (elf64_aarch64_tls_howto_table): Fix shift value for
R_AARCH64_TLSIE_LD_GOTTPREL_PREL19, R_AARCH64_TLSLE_MOVW_TPREL_G2,
R_AARCH64_TLSLE_MOVW_TPREL_G1, R_AARCH64_TLSLE_MOVW_TPREL_G1_NC,
R_AARCH64_TLSLE_ADD_TPREL_HI12.
(elf64_aarch64_tlsdesc_howto_table): Fix shift value for
R_AARCH64_TLSDESC_LD64_PREL19 and R_AARCH64_TLSDESC_OFF_G1.
(elf64_aarch64_final_link_relocate): Add signed_addend when resolving
AARCH64_TLSLE_*_TPREL_* relocations.
ld/testsuite/
* ld-aarch64/tlsle-symbol-offset.s: New file.
* ld-aarch64/tlsle-symbol-offset.d: New file.
* ld-aarch64/aarch64-elf.exp: Add tlsle-symbol-offset test.
2012-10-16 16:36:50 +00:00
Yao Qi
448835468f
gdb/testsuite/
...
* gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
returns true.
Call gdb_load_shlibs.
* gdb.reverse/solib-reverse.exp: Likewise.
2012-10-16 13:14:36 +00:00
Jan Kratochvil
6235cdd10c
gdb/
...
* dwarf2loc.c (dwarf_expr_reg_to_entry_parameter): Remove comment.
2012-10-16 08:46:58 +00:00
Alan Modra
65e911f9f0
* elf32-xtensa.c (free_section_cache): Renamed from
...
clear_section_cache. Don't zero cache.
(section_cache_section): Remove ineffectual zero of cache.
Call init_section_cache instead.
2012-10-16 01:42:42 +00:00
Alan Modra
f3a0ed298a
* powerpc.cc (Target_powerpc::define_save_restore_funcs): New func.
...
(Target_powerpc::do_finalize_sections): Call it.
(Output_data_save_res): New class and supporting functions.
(Target_powerpc::symval_for_branch): Only look up .opd entry for
normal symbols defined in object files.
2012-10-16 00:23:00 +00:00
gdbadmin
49cf4c5b60
*** empty log message ***
2012-10-16 00:00:33 +00:00
Alan Modra
60151bd509
daily update
2012-10-15 23:00:04 +00:00
Keith Seitz
345f514a93
* lib/cp-support.exp (cp_test_ptype_class): Add support
...
for class typedefs.
* gdb.cp/derivation.exp: Add tests for g_instance.
2012-10-15 22:32:50 +00:00
Doug Evans
07540c156d
New option -nh: inhibit loading of ~/.gdbinit.
...
* NEWS: Mention -nh.
* main.c (captured_main): Recognize and process -nh.
(print_gdb_help): Mention -nh.
* gdb.1: Mention -nh. Remove erroneous docs on -nx behavior.
doc/
* gdb.texinfo (Mode Options): Document -nh.
Elaborate on docs for -nx.
2012-10-15 21:45:04 +00:00
H.J. Lu
eab09350a3
Remove sp_regnum_from_eax and pc_regnum_from_eax
...
PR backtrace/14646
PR gdb/14647
* i386-tdep.h (gdbarch_tdep): Remove sp_regnum_from_eax and
pc_regnum_from_eax.
* i386-tdep.c (i386_gdbarch_init): Don't use sp_regnum_from_eax
nor pc_regnum_from_eax.
* amd64-tdep.c (amd64_x32_init_abi): Don't set sp_regnum_from_eax
nor pc_regnum_from_eax.
2012-10-15 20:37:39 +00:00
Doug Evans
a9a72a6552
* elf.c (special_sections_d): Add comment.
2012-10-15 20:36:12 +00:00
Jan Kratochvil
9e3a7d65fb
gdb/
...
Fix entry values resolving in inlined frames.
* dwarf2loc.c (dwarf_expr_reg_to_entry_parameter): Move func_addr,
gdbarch and caller_frame initialization later. Skip INLINE_FRAME
entries of FRAME.
gdb/testsuite/
Fix entry values resolving in inlined frames.
* gdb.arch/amd64-entry-value-inline.S: New file.
* gdb.arch/amd64-entry-value-inline.c: New file.
* gdb.arch/amd64-entry-value-inline.exp: New file.
2012-10-15 19:15:57 +00:00
Jan Kratochvil
21a7b08989
gdb/testsuite/
...
Fix recent gdb_breakpoint regression.
* gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
braces from the parameter.
* gdb.java/jprint.exp: Likewise.
2012-10-15 19:11:56 +00:00
Doug Evans
2c47921e64
* lib/gdb.exp (runto): Fix call to gdb_breakpoint.
2012-10-15 17:35:54 +00:00
Joel Brobecker
89398707cd
Remove trailing '#' in gdb.dwarf2/dw2-icc-opaque.S
...
gdb/testsuite/ChangeLog:
* gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
2012-10-15 17:26:14 +00:00
Joel Brobecker
c83393b9a8
Build with -DMS_WIN64 on amd64-windows if Python enabled...
...
... and building with GCC.
gdb/ChangeLog:
* configure.ac: Build with -DMS_WIN64 if building with Python
enabled using GCC on amd64-windows.
* configure: Regenerate.
2012-10-15 17:17:54 +00:00
Tom Tromey
801e418523
PR python/14635:
...
* python/py-symtab.c (del_objfile_sal): Set 'symtab' field
to Py_None.
testsuite
* gdb.python/py-symtab.exp: Test sal and symtab destructors.
2012-10-15 15:23:47 +00:00
Tom Tromey
74f910c87c
PR python/14634:
...
* python/py-symbol.c (sympy_dealloc): Check for NULL symbol.
testsuite
* gdb.python/py-symbol.exp: Test symbol destructor.
2012-10-15 15:20:27 +00:00
Yufeng Zhang
b7a54b5525
Updated the system register table.
...
opcodes/
* aarch64-opc.c (aarch64_sys_regs): Add rmr_el1, rmr_el2 and
rmr_el3; remove daifset and daifclr.
gas/testsuite/
* gas/aarch64/sysreg-1.s: Add tests of rmr_el1, rmr_el2 and rmr_el3.
* gas/aarch64/sysreg-1.d: Update.
* gas/aarch64/illegal.s: Add tests of daifset and daifclr.
* gas/aarch64/illegal.d: Update.
2012-10-15 15:07:49 +00:00
Yufeng Zhang
9b61754a3f
Added the changelog for the previous commit.
2012-10-15 14:57:31 +00:00
Yufeng Zhang
9de794e148
Added missing alignment check to load/store uimm12 immediate offset.
...
opcodes/
* aarch64-opc.c (operand_general_constraint_met_p): Change to check
the alignment of addr.offset.imm instead of that of shifter.amount for
operand type AARCH64_OPND_ADDR_UIMM12.
gas/testsuite/
* gas/aarch64/illegal-2.s: Add test case.
* gas/aarch64/illegal-2.l: Likewise.
2012-10-15 14:52:06 +00:00
Dave Anglin
f05682d460
* hppa.h (pa_opcodes): Use "cX" completer instead of "cx" in fstqx
...
opcodes. Likewise, use "cM" instead of "cm" in fstqs opcodes.
2012-10-15 00:22:35 +00:00
gdbadmin
864562f620
*** empty log message ***
2012-10-15 00:00:33 +00:00
Dave Anglin
8c57c7995f
* config/tc-hppa.c (pa_get_number): New.
...
(pa_get_absolute_expression): Simplify.
(pa_ip): Use pa_get_number instead of pa_get_absolute_expression
to get SOP, SFU and COPR identifiers.
2012-10-14 23:59:39 +00:00
Dave Anglin
26cbfa82ad
* config/tc-hppa.c (pa_ip): Reject double floating point stores and
...
loads that reference the right half of a floating point register.
2012-10-14 23:27:38 +00:00
Dave Anglin
767b2c6712
* gas/hppa/basic/fmemLRbug.s: Remove double load and store instructions
...
which reference the right half of a floating point register.
* gas/hppa/basic/basic.exp: Adjust expected results.
2012-10-14 23:25:17 +00:00
Alan Modra
5a6c2d4f39
daily update
2012-10-14 23:00:04 +00:00
Yao Qi
91567807f8
gdb/testsuite/
...
* gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
* gdb.mi/mi-cli.exp: New.
* gdb.mi/mi2-basics.exp: Remove.
* gdb.mi/mi2-break.exp: Remove.
* gdb.mi/mi2-console.exp: Remove.
* gdb.mi/mi2-disassemble.exp: Remove.
* gdb.mi/mi2-eval.exp: Remove.
* gdb.mi/mi2-file.exp: Remove.
* gdb.mi/mi2-hack-cli.exp: Remove.
* gdb.mi/mi2-pthreads.exp: Remove.
* gdb.mi/mi2-read-memory.exp: Remove.
* gdb.mi/mi2-regs.exp: Remove.
* gdb.mi/mi2-return.exp: Remove.
* gdb.mi/mi2-simplerun.exp: Remove.
* gdb.mi/mi2-stack.exp: Remove.
* gdb.mi/mi2-stepi.exp: Remove.
* gdb.mi/mi2-syn-frame.exp: Remove.
* gdb.mi/mi2-until.exp: Remove.
* gdb.mi/mi2-watch.exp: Remove.
* gdb.mi/mi2-var-block.exp: Remove.
* gdb.mi/mi2-var-cmd.exp: Remove.
* gdb.mi/mi2-var-display.exp: Remove.
2012-10-14 12:24:08 +00:00
gdbadmin
088aad051f
*** empty log message ***
2012-10-14 00:00:03 +00:00
Alan Modra
499a7a6c74
daily update
2012-10-13 23:00:04 +00:00