Alan Modra
de866fccd8
* ppc-opc.c (powerpc_opcodes): Order and format.
2008-03-06 23:00:34 +00:00
Alan Modra
34dcdc15f3
daily update
2008-03-06 23:00:04 +00:00
Nick Clifton
9e44863147
* emulparams/m68kelf.sh (GENERATE_PIE_SCRIPT): Define.
...
(COMMONPAGESIZE): Define.
2008-03-06 12:29:52 +00:00
Andreas Krebbel
98c3d90597
2008-03-06 Florian Krohm <fkrohm@us.ibm.com>
...
* s390-opc.c (INSTR_RSL_R0RD): Fix operands.
* s390-opc.txt (cmpsc): Duplicate entry removed.
(dxr, sqdr, sqer, cxfbr, cdfbr, cefbr, lzer, lzdr, lzxr,
cegbr, cdgbr, cxgbr, cegr, cdgr, cxgr, cxfr, cdfr, cefr, fixr, fidr,
fier, cu42, cu41): Fix operand format.
2008-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
* gas/s390/esa-g5.d (cdfbr, cdfr, cefbr, cefr, cxfbr, cxfr,
dxr, fidr, fier, fixr, lzdr, lzer, lzxr, sqdr, sqer, tp): Fix
operand format.
* gas/s390/esa-g5.s: Likewise.
* gas/s390/zarch-z900.d (cdgbr, cdgr, cegbr, cegr, cxgbr,
cxgr): Likewise.
* gas/s390/zarch-z900.s: Likewise.
* gas/s390/zarch-z9-109.d (cu41, cu42): Remove mask operand.
* gas/s390/zarch-z9-109.s: Likewise.
2008-03-06 12:01:13 +00:00
Ian Lance Taylor
6be6f3bdcd
Use absolute address for relocations when not doing a relocatable
...
link.
2008-03-06 06:10:44 +00:00
Ian Lance Taylor
a4d4b13f68
Use N_ for option help strings, and call gettext when printing them.
2008-03-06 05:51:42 +00:00
Ian Lance Taylor
09ffbbe0d4
From Craig Silverstein: accept any string for input format, warn if
...
thread options when not supported.
2008-03-06 00:53:37 +00:00
Ian Lance Taylor
7dfac99ff1
Don't use the user-specified output format unless the user actually
...
specified one.
2008-03-06 00:17:43 +00:00
Ian Lance Taylor
13670ee669
Support --hash-style=gnu.
2008-03-06 00:15:04 +00:00
gdbadmin
94633a5094
*** empty log message ***
2008-03-06 00:00:03 +00:00
Alan Modra
a1ef897c9e
daily update
2008-03-05 23:00:05 +00:00
Daniel Jacobowitz
b803fb0f0f
* Makefile.in (mingw-hdep.o, posix-hdep.o, remote-fileio.o): Update.
...
* event-loop.c (call_async_signal_handler): New.
* event-loop.h (call_async_signal_handler)
(gdb_call_async_signal_handler): Declare.
(mark_async_signal_handler): Add comments.
* event-top.c (handle_sigint): Use gdb_call_async_signal_handler.
* mingw-hdep.c (sigint_event, sigint_handler): New.
(gdb_select): Use them. Wait for the readline signal handler
to finish.
(gdb_call_async_signal_handler, _initialize_mingw_hdep): New functions.
* posix-hdep.c (gdb_call_async_signal_handler): New function.
* remote-fileio.c (sigint_fileio_token, async_remote_fileio_interrupt):
New.
(remote_fileio_ctrl_c_signal_handler): Use
gdb_call_async_signal_handler.
(initialize_remote_fileio): Initialize sigint_fileio_token.
* remote.c (initialize_sigint_signal_handler, handle_remote_sigint): Do
not initialize tokens here.
(handle_remote_sigint_twice): Likewise. Reinstall
handle_remote_sigint.
(async_remote_interrupt_twice): Just call interrupt_query.
(cleanup_sigint_signal_handler): Do not delete tokens.
(remote_interrupt, remote_interrupt_twice): Use
gdb_call_async_signal_handler.
(interrupt_query): Reinstall the default signal handler.
(_initialize_remote): Initialize tokens here.
2008-03-05 17:21:10 +00:00
Paul Brook
7e8064706d
2008-03-04 Paul Brook <paul@codesourcery.com>
...
gas/
* config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
(arm_ext_v7m): Rename...
(arm_ext_m): ... to this. Include v6-M.
(do_t_add_sub): Allow narrow low-reg non flag setting adds.
(do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
(md_assemble): Allow wide msr instructions.
(insns): Add classifications for v6-m instructions.
(arm_cpu_option_table): Add cortex-m1.
(arm_arch_option_table): Add armv6-m.
(cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
gas/testsuite/
* gas/arm/archv6m.d: New test.
* gas/arm/archv6m.s: New test.
* gas/arm/t16-bad.s: Test low register non flag setting add.
* gas/arm/t16-bad.l: Update expected output.
include/opcode/
* arm.h (ARM_EXT_V6M, ARM_EXT_BARRIER, ARM_EXT_THUMB_MSR): Define.
(ARM_AEXT_V6T2, ARM_AEXT_V7_ARM, ARM_AEXT_V7M): Use new flags.
(ARM_AEXT_V6M, ARM_ARCH_V6M): Define.
2008-03-05 01:31:26 +00:00
gdbadmin
fb66452df4
*** empty log message ***
2008-03-05 00:00:02 +00:00
Ian Lance Taylor
ee1fe73e11
From Craig Silverstein: rework option handling to make it easier to
...
add a new option.
2008-03-04 23:10:38 +00:00
Alan Modra
3954eb47e1
daily update
2008-03-04 23:00:05 +00:00
Joel Brobecker
8f4d54ed1b
* features/rs6000/power-core.xml, features/rs6000/power64-core.xml,
...
features/rs6000/powerpc-601.xml, features/rs6000/rs6000.xml:
Change the type of the lr register to code_ptr.
* features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c,
features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c,
features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c,
features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c,
features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c,
features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c,
features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c: Regenerate.
2008-03-04 20:13:10 +00:00
Ian Lance Taylor
7cc619c3b1
From Craig Silverstein: rename some option functions in preparation
...
for reworking option handling.
2008-03-04 18:21:43 +00:00
Jim Wilson
95ece42831
* MAINTAINERS: Update my email address.
2008-03-04 00:20:34 +00:00
Jim Wilson
4b3be0b69d
* MAINTAINERS: Update my email address.
2008-03-04 00:07:45 +00:00
gdbadmin
ffb0d9e9fe
*** empty log message ***
2008-03-04 00:00:32 +00:00
Ian Lance Taylor
021777a2ec
Remove partial implementation that was never completed. This was
...
replaced by the Stringpool<> class.
2008-03-03 23:47:14 +00:00
Keith Seitz
686a5eed5d
From Dave Murphy <davem@devkitpro.org>:
...
* configure.ac: Set tcl configdir to win under mingw.
* configure: Regenerate.
2008-03-03 23:24:22 +00:00
Bob Wilson
77cba8a32b
bfd/
...
* xtensa-isa.c (xtensa_isa_num_pipe_stages): Make max_stage static and
only compute its value once.
gas/
* config/tc-xtensa.c (xtensa_num_pipe_stages): New.
(md_begin): Initialize it.
(resources_conflict): Use it.
2008-03-03 23:23:41 +00:00
Alan Modra
332fbd6f66
daily update
2008-03-03 23:00:05 +00:00
Bob Wilson
58502fec59
2008-03-03 Sterling Augustine <sterling@tensilica.com>
...
* config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
2008-03-03 22:14:45 +00:00
H.J. Lu
d0548f348f
gas/
...
2008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
H.J. Lu <hongjiu.lu@intel.com>
PR gas/5543
* read.c (pseudo_set): Don't allow global register symbol.
* symbols.c (S_SET_EXTERNAL): Don't allow register symbol
global.
2008-03-03 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5543
* write.c (write_object_file): Don't allow symbols which were
equated to register. Stop if there is an error.
gas/testsuite/
2008-03-03 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5543
* gas/i386/i386.exp: Run inval-equ-1 and inval-equ-2.
* gas/i386/inval-equ-1.l: New.
* gas/i386/inval-equ-1.s: Likewise.
* gas/i386/inval-equ-2.l: Likewise.
* gas/i386/inval-equ-2.s: Likewise.
2008-03-03 15:28:58 +00:00
Daniel Jacobowitz
fa4727a64f
* breakpoint.c (fetch_watchpoint_value): New function.
...
(update_watchpoint): Set and clear val_valid. Use
fetch_watchpoint_value. Handle unreadable values on the
value chain. Correct check for user-requested array watchpoints.
(breakpoint_init_inferior): Clear val_valid.
(watchpoint_value_print): New function.
(print_it_typical): Use it. Do not free or clear old_val. Print
watchpoints even if old_val == NULL.
(watchpoint_check): Use fetch_watchpoint_value. Check for values
becoming readable or unreadable.
(watch_command_1): Use fetch_watchpoint_value. Set val_valid.
(do_enable_watchpoint): Likewise.
* breakpoint.h (struct breakpoint): Update comment for val. Add
val_valid.
* NEWS: Mention watchpoints on inaccessible memory.
* gdb.base/watchpoint.c (global_ptr, func4): New.
(main): Call func4.
* gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
(test_inaccessible_watchpoint): New.
* gdb.texinfo (Set Watchpoints): Mention watchpoints on
unreadable memory. Delete obsolete SPARClite reference.
2008-03-03 13:24:12 +00:00
Nick Clifton
35d60fe406
* dwarf2.h: (enum dwarf_location_atom): Add new DW_OP,
...
DW_OP_PGI_omp_thread_num.
* dwarf.c (decode_location_expression): Handle
DW_OP_PGI_omp_thread_num.
2008-03-03 10:19:01 +00:00
Alan Modra
4a628337a0
* elf32-spu.c (struct got_entry): Add "addend" field.
...
(count_stub, build_stub): Use a new stub if relocation addend
differs from existing stubs for this symbol.
(process_stubs): Deal with addends.
(spu_elf_relocate_section, spu_elf_output_symbol_hook): Likewise.
2008-03-03 10:03:40 +00:00
gdbadmin
451993d3c1
*** empty log message ***
2008-03-03 00:00:03 +00:00
Alan Modra
5e6d36ba3c
daily update
2008-03-02 23:00:04 +00:00
H.J. Lu
d95edcac72
2008-03-02 H.J. Lu <hongjiu.lu@intel.com>
...
PR ld/5789
* elflink.c (_bfd_elf_symbol_refs_local_p): Always return true
for hidden and local symbols.
2008-03-02 22:26:09 +00:00
Alan Modra
89200bf844
* elf32-ppc.c (allocate_dynrelocs): Discard relocs on
...
undefined symbols with internal or hidden visibility.
(ppc_elf_relocate_section): Likewise. Use SYMBOL_CALLS_LOCAL
rather than SYMBOL_REFERENCES_LOCAL on branches. Don't
return immediately on dynamic reloc error.
2008-03-02 22:15:39 +00:00
gdbadmin
a42dfef462
*** empty log message ***
2008-03-02 00:00:03 +00:00
H.J. Lu
28dbc07952
gas/testsuite/
...
2008-03-01 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/x86-64-branch.s: Add tests for 16-bit near indirect
branches.
* gas/i386/x86-64-inval.s: Remove tests for 16-bit near indirect
branches.
* gas/i386/x86-64-branch.d: Updated.
* gas/i386/x86-64-inval.l: Likewise.
opcodes/
2008-03-01 H.J. Lu <hongjiu.lu@intel.com>
* i386-opc.tbl: Allow 16-bit near indirect branches for x86-64.
* i386-tbl.h: Regenerated.
2008-03-01 23:30:51 +00:00
Alan Modra
f22390e572
daily update
2008-03-01 23:00:05 +00:00
Alan Modra
783de16343
* config/tc-ppc.h (struct _ppc_fix_extra): New.
...
(ppc_cpu): Declare.
(TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
* config/tc-ppc.c (ppu_cpu): Make global.
(ppc_insert_operand): Add ppu_cpu parameter.
(md_assemble): Adjust for above change.
(md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
2008-03-01 07:24:47 +00:00
Alan Modra
d253b6540f
* objdump.c (objdump_print_addr): Initialise "sym".
2008-03-01 07:19:06 +00:00
Alan Modra
176a0d42d0
bfd/
...
* elf64-ppc.c (build_plt_stub): Add relocs on plt call stubs
if emitrelocations.
(get_relocs): New function, split out from..
(ppc_build_one_stub): ..here. Add relocs on plt_branch stubs if
emitrelocations. Remove indx temp.
(ppc_size_one_stub): Count new stub relocs.
(ppc64_elf_size_stubs): Count new glink reloc.
(ppc64_elf_build_stubs): Emit glink reloc if emitrelocations.
(ppc64_elf_finish_dynamic_sections): Output glink relocs.
* elf32-ppc.c (ppc_elf_finish_dynamic_sections): Describe non-pic
glink code.
ld/testsuite/
* ld-powerpc/relbrlt.d: Update. Also check .branch_lt section.
2008-03-01 06:52:52 +00:00
Daniel Jacobowitz
c03374d554
* Makefile.in (i386-nat.o): Update.
...
* amd64-linux-nat.c (_initialize_amd64_linux_nat): Call
i386_use_watchpoints.
* i386-linux-nat.c (_initialize_i386_linux_nat): Call
i386_use_watchpoints.
* i386-nat.c (i386_stopped_data_address): Take two arguments.
(i386_stopped_by_watchpoint): Update call.
(i386_can_use_hw_breakpoint, i386_use_watchpoints): New.
* config/i386/nm-i386.h: Conditionalize definitions on
! I386_WATCHPOINTS_IN_TARGET_VECTOR.
(i386_use_watchpoints): Declare.
(i386_stopped_data_address): Update.
* config/i386/nm-linux.h (I386_WATCHPOINTS_IN_TARGET_VECTOR): Define.
* config/i386/nm-linux64.h (I386_WATCHPOINTS_IN_TARGET_VECTOR): Define.
2008-03-01 04:39:36 +00:00
gdbadmin
16fb4e2d3a
*** empty log message ***
2008-03-01 00:00:07 +00:00
Alan Modra
32f420ee5a
daily update
2008-02-29 23:00:05 +00:00
Ian Lance Taylor
7d1a9ebbf2
Remove gcc 3.2 compatibility hacks.
2008-02-29 19:19:17 +00:00
gdbadmin
c24d74257b
Record GDB 6.8 branch creation. Bump version number to 6.8.50.20080229-cvs.
2008-02-29 18:20:47 +00:00
Maciej W. Rozycki
2f34202fde
* lib/gdb.exp (gdb_expect): Of all the timeouts provided always
...
select the largest.
2008-02-29 15:40:20 +00:00
Nick Clifton
7b2185f945
Change accreditation for patch for PR3134
2008-02-29 14:43:17 +00:00
Ian Lance Taylor
8f2eb564dd
Permit scripts to refer to the addresses of output sections which were
...
not created.
2008-02-29 00:04:06 +00:00
gdbadmin
46132b50a2
*** empty log message ***
2008-02-29 00:00:33 +00:00
Alan Modra
b6d8e665bc
daily update
2008-02-28 23:00:05 +00:00