Maciej W. Rozycki
7a2d09ccbf
Correct ChangeLog.
2012-08-01 03:05:50 +00:00
Alan Modra
1c37913d09
* dwarf2.c (struct dwarf2_debug): Add close_on_cleanup.
...
(_bfd_dwarf2_slurp_debug_info): Set close_on_cleanup if we open
gnu_debuglink bfd.
(_bfd_dwarf2_cleanup_debug_info): Act on close_on_cleanup.
2012-08-01 01:29:12 +00:00
H.J. Lu
c2821c3e55
Properly handle by_none
2012-08-01 01:07:38 +00:00
H.J. Lu
b2e4da5a83
Don't call compare_section in case of by_none
...
PR ld/14156
* ldlang.c (wild_sort): Don't call compare_section in case of
by_none.
* scripttempl/elf.sc: Add SORT_NONE to .init and .fini sections.
* scripttempl/elf32msp430.sc: Likewise.
* scripttempl/elf32msp430_3.sc: Likewise.
* scripttempl/elfd10v.sc: Likewise.
* scripttempl/elfd30v.sc: Likewise.
* scripttempl/elfxtensa.sc: Likewise.
2012-08-01 01:03:47 +00:00
Alan Modra
488916061e
* h8300-dis.c: Fix printf arg warnings.
...
* i960-dis.c: Likewise.
* mips-dis.c: Likewise.
* pdp11-dis.c: Likewise.
* sh-dis.c: Likewise.
* v850-dis.c: Likewise.
* configure.in: Formatting.
* configure: Regenerate.
* rl78-decode.c: Regenerate.
* po/POTFILES.in: Regenerate.
2012-08-01 00:41:35 +00:00
gdbadmin
3a3617baaa
*** empty log message ***
2012-08-01 00:00:32 +00:00
Alan Modra
12d60edc82
daily update
2012-08-01 00:00:04 +00:00
Maciej W. Rozycki
03f66e8a8f
include/opcode/
...
* mips.h: Document microMIPS DSP ASE usage.
(MICROMIPSOP_MASK_DSPACC, MICROMIPSOP_SH_DSPACC): Update for
microMIPS DSP ASE support.
(MICROMIPSOP_MASK_DSPSFT, MICROMIPSOP_SH_DSPSFT): Likewise.
(MICROMIPSOP_MASK_SA3, MICROMIPSOP_SH_SA3): Likewise.
(MICROMIPSOP_MASK_SA4, MICROMIPSOP_SH_SA4): Likewise.
(MICROMIPSOP_MASK_IMM8, MICROMIPSOP_SH_IMM8): Likewise.
(MICROMIPSOP_MASK_IMM10, MICROMIPSOP_SH_IMM10): Likewise.
(MICROMIPSOP_MASK_WRDSP, MICROMIPSOP_SH_WRDSP): Likewise.
(MICROMIPSOP_MASK_BP, MICROMIPSOP_SH_BP): Likewise.
gas/
* config/tc-mips.c (macro_build) <'2'>: Handle microMIPS.
(macro) <M_BALIGN>: Update error handling.
(validate_micromips_insn) <'2', '3', '4', '5', '6'>: New cases.
<'7', '8', '0', '@', '^'>: Likewise.
(mips_ip) <'2', '3', '4', '5', '6', '7', '8'>: Handle microMIPS.
<'9'>: Fix formatting.
<'0', '@'>: Handle microMIPS.
<'^'>: New case.
gas/testsuite/
* gas/mips/micromips@mips32-dsp.d: New.
* gas/mips/micromips@mips32-dspr2.d: New.
* gas/mips/mips32-dsp.d: Remove -mips32r2.
* gas/mips/mips32-dspr2.d: Likewise.
* gas/mips/mips.exp: (mips_create_arch): Use -mips64r2
for micromips. Use run_dump_test_arches to run dsp tests.
opcodes/
* micromips-opc.c (WR_a, RD_a, MOD_a): New macros.
(DSP_VOLA): Likewise.
(D32, D33): Likewise.
(micromips_opcodes): Add DSP ASE instructions.
* micromips-dis.c (print_insn_micromips) <'2', '3'>: New cases.
<'4', '5', '6', '7', '8', '0', '^', '@'>: Likewise.
2012-07-31 21:38:54 +00:00
H.J. Lu
33fee3c9c6
Update gas/d30v/bittest.l
...
* gas/d30v/bittest.l: Updated.
2012-07-31 20:46:59 +00:00
H.J. Lu
0ac3caa958
Append "#pass" to gas/i386/rdseed-intel.d
...
* gas/i386/rdseed-intel.d: Append "#pass".
2012-07-31 20:46:07 +00:00
H.J. Lu
4b7e639504
Update PR ld/14156 tests
...
* ld-elf/fini0.s: Indent global directive.
* ld-elf/foo0.s: Likewise.
* ld-elf/init0.s: Likewise.
* ld-elf/pr14156c.t: Keep text section.
2012-07-31 20:45:01 +00:00
Andreas Schwab
f782ad9ba5
* ppc-linux-tdep.c (ppc_linux_init_abi): Register
...
linux_get_siginfo_type.
2012-07-31 19:46:51 +00:00
Pedro Alves
78a99e9119
2012-07-31 Pedro Alves <palves@redhat.com>
...
* server.c (process_point_options): Only skip tokens if we find
one that is unrecognized. Don't treat 'X' specially while
skipping unrecognized tokens.
2012-07-31 19:16:46 +00:00
Mike Frysinger
902e433550
libiberty/md5: fix strict alias warnings
...
Current libiberty md5 code triggers these warnings with gcc-4.7.1 for me:
libiberty/md5.c: In function âmd5_finish_ctxâ:
libiberty/md5.c:117:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
libiberty/md5.c:118:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
The change below fixes things for me. The optimized output (-O2) is the same
before/after my change on x86_64-linux. I imagine it'll be the same for most
targets. It seems simpler than using a union on the md5_ctx buffer since these
are the only two locations in the code where this occurs.
2012-07-31 09:02:35 +00:00
Jan Beulich
4a2608e354
The current error message for bad imm4 operands wasn't really helpful,
...
and was pointing at the wrong operand in Intel mode. Since non-constant
operands are being taken care of by other means anyway, adjust it to
simply state that the constant doesn't fit.
2012-07-31 Jan Beulich <jbeulich@suse.com>
* config/tc-i386.c (match_template): Adjust error message
for 'bad_imm4' case.
2012-07-31 07:45:48 +00:00
Jan Beulich
5a819eb989
Since the word to byte register conversion isn't active for x86-64
...
anyway, there's also no need to issue a separate, inconsistent
diagnostic in some of the cases - non-matching operands will be
complained about anyway.
2012-07-31 Jan Beulich <jbeulich@suse.com>
* config/tc-i386.c (check_byte_reg): Check for I/O port
register earlier, and just once. Drop diagnostic that got
issued only for some registers.
2012-07-31 07:43:38 +00:00
Jan Beulich
5614d22c1d
At the point where check_VecOperands()/VEX_check_operands() get run,
...
all other instruction attributes already matched, so any mismatch here
will tell the user more precisely what is wrong than using an eventual
(and very likely to occur) more generic error encountered on a
subsequent iteration through the template matching loop.
2012-07-31 Jan Beulich <jbeulich@suse.com>
* config/tc-i386.c (match_template): New local variable
'specific_error'. Set it from i.error after failed
check_VecOperands or VEX_check_operands. Use it if set in
preference to i.error when actually issuing disagnostic.
2012-07-31 07:41:39 +00:00
Jan Beulich
94948e646e
VMOVNTDQA was both misplaced and improperly tagged as being an AVX
...
instruction (instead of AVX2).
2012-07-31 Jan Beulich <jbeulich@suse.com>
* i386-opc.tbl (vmovntdqa): Move up into 256-bit integer AVX2
instruction group. Mark as requiring AVX2.
* i386-tbl.h: Re-generate.
2012-07-31 07:38:42 +00:00
Jan Kratochvil
75d9f9ff36
gdb/testsuite/
...
* gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
2012-07-31 07:35:18 +00:00
Jan Kratochvil
a14dd77ea7
gdb/
...
* infcall.c (call_function_by_hand): Move BP_ADDR comment to
AT_ENTRY_POINT.
(call_function_by_hand) <ON_STACK>: Call write_memory with
gdbarch_breakpoint_from_pc, if possible.
(call_function_by_hand) <AT_ENTRY_POINT>: The BP_ADDR comment is moved
here.
gdb/testsuite/
* gdb.base/valgrind-infcall.c: New file.
* gdb.base/valgrind-infcall.exp: New file.
2012-07-31 07:33:16 +00:00
Yao Qi
1467929f3f
gdb/
...
* tracepoint.c: Add 'static' for some variables.
2012-07-31 07:12:28 +00:00
Yao Qi
70976b6551
gdb/
...
* go32-nat.c: Declare _initialize_go32_nat.
* ser-go32.c: Declare _initialize_ser_dos.
* top.c (do_chdir_cleanup): Add 'static'.
2012-07-31 06:16:09 +00:00
Alan Modra
a8dafa24fb
daily update
2012-07-31 00:00:05 +00:00
gdbadmin
87088e6762
*** empty log message ***
2012-07-31 00:00:03 +00:00
Sean Keys
416cf80afb
2012-07-05 Sean Keys <skeys@ipdatasys.com>
...
* xgate-dis.c: Removed an IF statement that will
always be false due to overlapping operand masks.
* xgate-opc.c: Corrected 'com' opcode entry and
fixed spacing.
2012-07-30 21:49:06 +00:00
Sean Keys
3e26559742
2012-07-05 Sean Keys <skeys@ipdatasys.com>
...
* opcode/xgate.h: Changed the format string for mode
XGATE_OP_DYA_MON.
2012-07-30 21:44:51 +00:00
Sean Keys
8a4b034f5f
2012-07-27 Sean Keys <skeys@ipdatasys.com>
...
* gas/xgate/xgate.exp: Added hi/lo test.
* gas/xgate/hilo.d: New test file
* gas/xgate/hilo.s: Net test source file.
2012-07-30 21:39:06 +00:00
Sean Keys
6b0d957ec7
Added missing gas/ChangeLog entries for previous XGATE commits.
2012-07-30 21:29:59 +00:00
Keith Seitz
eff9c3e636
* linespec.c (linespec_lex_number): A number followed
...
by quotes is a valid number, too.
* gdb.linespec/ls-errs.exp: Check some quote-enclosed
linespecs.
2012-07-30 17:45:37 +00:00
Tom Tromey
728400d769
* remote-sim.c (gdb_os_poll_quit): Don't check immediate_quit.
2012-07-30 17:16:10 +00:00
H.J. Lu
db7c7ead66
Update gas/i386/inval-equ-2.l
...
* gas/i386/inval-equ-2.l: Updated.
2012-07-30 17:11:39 +00:00
Doug Evans
85220e0181
* gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
...
* gdb.dwarf2/pr13961.S: Ditto.
2012-07-30 16:56:04 +00:00
Sean Keys
204d254e64
2012-07-27 James Murray <jsm@jsm-net.demon.co.uk>
...
* config/tc-m68hc11.c: Replace binary with hex for cygwin.
2012-07-30 16:49:05 +00:00
Doug Evans
7f9b20344e
* gdb.dwarf2/dw4-sig-types.exp: Fix typo.
2012-07-30 16:33:18 +00:00
Ulrich Weigand
fcf303aba3
ChangeLog:
...
* arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Do not
attempt to 4-byte-align HW breakpoint addresses for Thumb.
gdbserver/ChangeLog:
* linux-arm-low.c (arm_linux_hw_point_initialize): Do not attempt
to 4-byte-align HW breakpoint addresses for Thumb.
2012-07-30 15:05:43 +00:00
Andrew Burgess
4e969b4f01
http://sourceware.org/ml/gdb-patches/2012-07/msg00551.html
...
Re-evaluate floating variables as part of variable invalidate to remove
references to type structures that might have been freed.
2012-07-30 12:10:23 +00:00
Nick Clifton
a6dc81d2ab
Updated translations
2012-07-30 08:43:46 +00:00
Alan Modra
06948bacc4
daily update
2012-07-30 00:00:04 +00:00
gdbadmin
97e548a9fe
*** empty log message ***
2012-07-30 00:00:03 +00:00
Alan Modra
d59b9bb415
* gprof.h: Don't include gconfig.h twice. Undef conflicting
...
PACKAGE_* defines.
2012-07-29 04:09:18 +00:00
gdbadmin
7038524624
*** empty log message ***
2012-07-29 00:00:32 +00:00
Alan Modra
3b00177415
daily update
2012-07-29 00:00:04 +00:00
Kai Tietz
ee6f770801
* rcparse.y (FILEVERSION): Use optcnumexpr instead of cnumexpr.
...
(PRODUCTVERSION): Likewise.
* binutils-all/windres/version_small.rc: New test.
* binutils-all/windres/version_small.rsd: Likewise.
2012-07-28 08:21:48 +00:00
Alan Modra
1d875643b9
daily update
2012-07-28 00:00:04 +00:00
gdbadmin
310846bf6e
*** empty log message ***
2012-07-28 00:00:02 +00:00
Sean Keys
8d8ad4eb57
2012-07-27 Sean Keys <skeys@ipdatasys.com>
...
gas/config/
* tc-xgate.c: Consolidated inc/dec/hi/low modifieres into
one function.
(xgate_parse_operand): Added %hi and %lo handling.
gas/testsuite/gas/xgate
* xgate.exp: Added hi/lo test.
* hilo.d: New test file
* hilo.s: Net test source file.
2012-07-27 22:33:22 +00:00
Jan Kratochvil
e7de8362c1
gdb/testsuite/
...
Fix testsuite regression after --use-deprecated-index-sections removal.
* gdb.base/annota1.exp (run until main breakpoint): Update the expect
string.
* gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
2012-07-27 21:34:30 +00:00
Jan Kratochvil
c4bfde41c4
gdb/
...
* copying.awk: Print buffer-read-only and vi ro markers.
* copying.c: Rebuild.
* gdbarch.sh (copyright): Print buffer-read-only and vi ro markers.
* gdbarch.c, gdbarch.h: Rebuild.
* target-descriptions.c (maint_print_c_tdesc_cmd): Print
buffer-read-only and vi ro markers.
* features/arm-with-iwmmxt.c: Rebuild.
* features/arm-with-m-fpa-layout.c: Rebuild.
* features/arm-with-m-vfp-d16.c: Rebuild.
* features/arm-with-m.c: Rebuild.
* features/arm-with-neon.c: Rebuild.
* features/arm-with-vfpv2.c: Rebuild.
* features/arm-with-vfpv3.c: Rebuild.
* features/i386/amd64-avx-linux.c: Rebuild.
* features/i386/amd64-avx.c: Rebuild.
* features/i386/amd64-linux.c: Rebuild.
* features/i386/amd64.c: Rebuild.
* features/i386/i386-avx-linux.c: Rebuild.
* features/i386/i386-avx.c: Rebuild.
* features/i386/i386-linux.c: Rebuild.
* features/i386/i386-mmx-linux.c: Rebuild.
* features/i386/i386-mmx.c: Rebuild.
* features/i386/i386.c: Rebuild.
* features/i386/x32-avx-linux.c: Rebuild.
* features/i386/x32-avx.c: Rebuild.
* features/i386/x32-linux.c: Rebuild.
* features/i386/x32.c: Rebuild.
* features/mips-dsp-linux.c: Rebuild.
* features/mips-linux.c: Rebuild.
* features/mips64-dsp-linux.c: Rebuild.
* features/mips64-linux.c: Rebuild.
* features/rs6000/powerpc-32.c: Rebuild.
* features/rs6000/powerpc-32l.c: Rebuild.
* features/rs6000/powerpc-403.c: Rebuild.
* features/rs6000/powerpc-403gc.c: Rebuild.
* features/rs6000/powerpc-405.c: Rebuild.
* features/rs6000/powerpc-505.c: Rebuild.
* features/rs6000/powerpc-601.c: Rebuild.
* features/rs6000/powerpc-602.c: Rebuild.
* features/rs6000/powerpc-603.c: Rebuild.
* features/rs6000/powerpc-604.c: Rebuild.
* features/rs6000/powerpc-64.c: Rebuild.
* features/rs6000/powerpc-64l.c: Rebuild.
* features/rs6000/powerpc-7400.c: Rebuild.
* features/rs6000/powerpc-750.c: Rebuild.
* features/rs6000/powerpc-860.c: Rebuild.
* features/rs6000/powerpc-altivec32.c: Rebuild.
* features/rs6000/powerpc-altivec32l.c: Rebuild.
* features/rs6000/powerpc-altivec64.c: Rebuild.
* features/rs6000/powerpc-altivec64l.c: Rebuild.
* features/rs6000/powerpc-cell32l.c: Rebuild.
* features/rs6000/powerpc-cell64l.c: Rebuild.
* features/rs6000/powerpc-e500.c: Rebuild.
* features/rs6000/powerpc-e500l.c: Rebuild.
* features/rs6000/powerpc-isa205-32l.c: Rebuild.
* features/rs6000/powerpc-isa205-64l.c: Rebuild.
* features/rs6000/powerpc-isa205-altivec32l.c: Rebuild.
* features/rs6000/powerpc-isa205-altivec64l.c: Rebuild.
* features/rs6000/powerpc-isa205-vsx32l.c: Rebuild.
* features/rs6000/powerpc-isa205-vsx64l.c: Rebuild.
* features/rs6000/powerpc-vsx32.c: Rebuild.
* features/rs6000/powerpc-vsx32l.c: Rebuild.
* features/rs6000/powerpc-vsx64.c: Rebuild.
* features/rs6000/powerpc-vsx64l.c: Rebuild.
* features/rs6000/rs6000.c: Rebuild.
* features/s390-linux32.c: Rebuild.
* features/s390-linux32v1.c: Rebuild.
* features/s390-linux32v2.c: Rebuild.
* features/s390-linux64.c: Rebuild.
* features/s390-linux64v1.c: Rebuild.
* features/s390-linux64v2.c: Rebuild.
* features/s390x-linux64.c: Rebuild.
* features/s390x-linux64v1.c: Rebuild.
* features/s390x-linux64v2.c: Rebuild.
* features/tic6x-c62x-linux.c: Rebuild.
* features/tic6x-c62x.c: Rebuild.
* features/tic6x-c64x-linux.c: Rebuild.
* features/tic6x-c64x.c: Rebuild.
* features/tic6x-c64xp-linux.c: Rebuild.
* features/tic6x-c64xp.c: Rebuild.
2012-07-27 20:23:05 +00:00
Tom Tromey
826f00411d
* c-exp.y (classify_name): Avoid assignment in condition.
2012-07-27 19:22:17 +00:00
Pedro Alves
84552b164d
2012-07-27 Roland Schwingel <roland.schwingel@onevision.com>
...
* amd64-windows-tdep.c: Include "frame.h".
(amd64_windows_skip_trampoline_code): New function.
(amd64_windows_init_abi): Add trampoline registration.
2012-07-27 17:24:31 +00:00