Craig Silverstein
5f494ea0d5
2008-06-18 Craig Silverstein <csilvers@google.com>
...
* powerpc.cc (Powerpc_relocate_functions::addr16_ha): cast
constant 0xFFFF to type Valtype.
(Powerpc_relocate_functions::rel16_ha): Likewise.
2008-06-18 22:32:37 +00:00
Joel Brobecker
59ddf1e792
* solib-osf.c (osf_solib_create_inferior_hook): Do nothing if
...
the target cannot run.
2008-06-18 21:30:50 +00:00
Joel Brobecker
ea8eedbe57
* solib-osf.c (osf_solib_create_inferior_hook): Do nothing if
...
we're attaching to a running process.
2008-06-18 21:26:07 +00:00
Ian Lance Taylor
944982cfb1
2008-06-18 Ian Lance Taylor <iant@google.com>
...
* src-release (BINUTILS_SUPPORT_DIRS): Add depcomp.
2008-06-18 20:06:36 +00:00
M R Swami Reddy
de73c6116d
elf32-cr16.c (ELF_MACHINE_ALT1): Define to EM_CR16_OLD.
2008-06-18 11:12:54 +00:00
M R Swami Reddy
1e1d9f39ae
elf32-cr16.c (ELF_MACHINE_ALT1): Define to EM_CR16_OLD.
2008-06-18 11:08:19 +00:00
M R Swami Reddy
b8a39af827
common.h (EM_CR16): Correct value.
...
(EM_CR16): Rename to EM_CR16_OLD.
2008-06-18 11:04:29 +00:00
M R Swami Reddy
f96e4c7fd5
common.h (EM_CR16): Correct value.
...
(EM_CR16): Rename to EM_CR16_OLD.
2008-06-18 11:03:03 +00:00
M R Swami Reddy
c118461958
Updated the readelf with Add EM_CR16_OLD.
2008-06-18 11:00:49 +00:00
M R Swami Reddy
6c03b1edc8
(guess_is_rela): Add EM_CR16_OLD.
...
(dump_relocations): Likewise.
(get_machine_name): Likewise.
(is_32bit_abs_reloc): Likewise.
2008-06-18 10:49:50 +00:00
Pierre Muller
7488902c73
* win32-nat.c (handle_load_dll): Give dll name and load address
...
if debug_events is on.
(handle_unload_dll): Likewise.
2008-06-18 06:27:34 +00:00
Ian Lance Taylor
f34787f832
* output.h (Output_section::Input_section): Initialize p2align_ to
...
zero for Output_section_data constructors.
(Output_section::Input_section::addralign): If not an input
section, return the alignment of the Output_section_data.
* testsuite/copy_test.cc: New file.
* testsuite/copy_test_1.cc: New file.
* testsuite/copy_test_2.cc: New file.
* testsuite/Makefile.am (check_PROGRAMS): Add copy_test.
(copy_test_SOURCES, copy_test_DEPENDENCIES): New variables.
(copy_test_LDFLAGS, copy_test_LDADD): New variables.
(copy_test_1_pic.o, copy_test_1.so): New targets.
(copy_test_2_pic.o, copy_test_2.so): New targets.
* testsuite/Makefile.in: Rebuild.
2008-06-18 04:39:41 +00:00
Ian Lance Taylor
c42e122ead
* script-sections.cc (Script_sections::place_orphan): Initialize
...
local variable exact.
2008-06-18 04:15:52 +00:00
DJ Delorie
c8536f380f
merge from gcc
2008-06-18 03:36:03 +00:00
Alan Modra
00a286e012
daily update
2008-06-18 00:00:05 +00:00
gdbadmin
a7abbf72b7
*** empty log message ***
2008-06-18 00:00:03 +00:00
Ralf Wildenhues
7a283e077b
* configure: Regenerate.
...
config/
* override.m4: Use m4_version_prereq throughout.
(_AC_ARG_VAR_VALIDATE, AC_MSG_FAILURE): Backport from git
Autoconf: output pwd along with fatal errors, so the right
config.log file is hinted at more prominently.
(PARSE_ARGS): Push setting of ac_pwd in this diversion.
(_GCC_AUTOCONF_VERSION): New, define to 2.59 if not defined.
(_GCC_AUTOCONF_VERSION_CHECK): New macro, require use of Autoconf
version _GCC_AUTOCONF_VERSION throughout the tree.
(m4_wrap): New override, fix for Posix semantics of m4wrap.
binutils/
* configure: Regenerate.
opcodes/
* configure: Regenerate.
bfd/
* configure: Regenerate.
gas/
* configure: Regenerate.
gprof/
* configure: Regenerate.
ld/
* config.in: Regenerate.
* configure: Regenerate.
2008-06-17 23:14:44 +00:00
Nick Clifton
0146fc9d1e
* app.c (do_scrub_chars): Do not UNGET an EOF value.
...
* ti.h (GET_SCNHDR_NLNNO): Provide an alternative version of this
macro which does not trigger an array bounds warning in gcc.
(PUT_SCNHDR_NLNNO): Likewise.
(GET_SCNHDR_FLAGS): Likewise.
(PUT_SCNHDR_FLAGS): Likewise.
(GET_SCNHDR_PAGE): Likewise.
(PUT_SCNHDR_PAGE): Likewise.
2008-06-17 16:01:28 +00:00
DJ Delorie
e7ddc19715
* m32c.opc (BRK, GDBBRK): Remove debug logic.
...
* main.c (main): Add option to set raw console.
* mem.h (m32c_use_raw_console): Declare.
* mem.c (m32c_sim_restore_console): Only restore console if it's
been previously set.
(m32c_use_raw_console): Define.
(mem_get_byte): Set raw console if m32c_use_raw_console is set.
2008-06-17 00:34:37 +00:00
gdbadmin
2bcebd8052
*** empty log message ***
2008-06-17 00:00:33 +00:00
Alan Modra
09500eca64
daily update
2008-06-17 00:00:05 +00:00
Ralf Wildenhues
5b553f7e9f
* configure.ac: Set TOPLEVEL_CONFIGURE_ARGUMENTS early, when
...
"$@" is still intact with both Autoconf 2.59 and 2.62.
* configure: Regenerate.
2008-06-16 21:38:13 +00:00
Ralf Wildenhues
675492f021
* Makefile.tpl: Fix comment errors.
...
* Makefile.in: Regenerate.
2008-06-16 21:30:58 +00:00
DJ Delorie
8d9223e50f
merge from gcc
2008-06-16 18:15:49 +00:00
Alan Modra
99302af9a2
bfd/
...
* elf32-spu.c (struct spu_link_hash_table): Add extra_stack_space.
(spu_elf_check_vma): Add extra_stack_space param, copy to htab.
(spu_elf_auto_overlay): Use it.
(RECURSE_UNMARK): Define as 0.
(unmark_overlay_section): Heed RECURSE_UNMARK.
* elf32-spu.h (spu_elf_check_vma): Update prototype.
ld/
* emultempl/spuelf.em (extra_stack_space): New variable.
(gld${EMULATION_NAME}_finish): Pass it to spu_elf_check_vma.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
PARSE_AND_LIST_ARGS_CASES): Handle --extra-stack-space.
* emultempl/spu_ovl.S: Mask interrupts during dma and update of
overlay manager structures.
* emultempl/spu_ovl.o: Regenerate.
2008-06-16 16:16:31 +00:00
Hans-Peter Nilsson
7a2de473a3
* ld.texinfo (@node MMIX): For the __.MMIX.start. prefix, only
...
mention it as being special for global symbols.
2008-06-16 15:10:13 +00:00
Hans-Peter Nilsson
465e2c43ad
PR gas/6607
...
* ld-mmix/loc10.d, ld-mmix/loc10.s, ld-mmix/loc10m.d, ld-mmix/loc8.d,
ld-mmix/loc8.s, ld-mmix/loc8m.d, ld-mmix/loc9.d, ld-mmix/loc9.s,
ld-mmix/loc9m.d: New tests.
2008-06-16 15:07:01 +00:00
Hans-Peter Nilsson
4758f280d4
PR gas/6607
...
* gas/mmix/err-loc-10.s, gas/mmix/err-loc-9.s, gas/mmix/loc-6.d,
gas/mmix/loc-6.s, gas/mmix/loc-7.d, gas/mmix/loc-7.s: New tests.
2008-06-16 15:05:55 +00:00
Hans-Peter Nilsson
1afc8defa6
PR gas/6607
...
* config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
text_section. Do the "stepping backwards" test for text_section
using unsigned operands.
2008-06-16 15:04:41 +00:00
Alan Modra
c4fbee410b
daily update
2008-06-16 00:00:05 +00:00
gdbadmin
3536d051d0
*** empty log message ***
2008-06-16 00:00:02 +00:00
DJ Delorie
83ef53a94d
merge from gcc
2008-06-15 18:33:29 +00:00
gdbadmin
8bb4c48c23
*** empty log message ***
2008-06-15 00:00:34 +00:00
Alan Modra
dea206f512
daily update
2008-06-15 00:00:05 +00:00
gdbadmin
4e23993f94
*** empty log message ***
2008-06-14 00:00:33 +00:00
Alan Modra
3d45c43596
daily update
2008-06-14 00:00:05 +00:00
Vladimir Prus
8f6a8e8417
Don't suppress *running when doing finish.
...
* infcall.c (call_function_by_hand): Set both
suppress_resume_observer and suppress_stop_observer.
* infcmd.c (suppress_run_stop_observers): Split into...
(suppress_resume_observer, suppress_stop_observer): ...those.
(finish_command_continuation): Clear suppress_stop_observer.
(finish_command): Set suppress_stop_observer.
* inferior.h (suppress_run_stop_observers): Split into...
(suppress_resume_observer, suppress_stop_observer): ...those.
* infrun.c (normal_stop): Check for suppress_stop_observer.
* thread.c (set_running): Check for suppress_resume_observer.
2008-06-13 20:19:19 +00:00
Peter Bergner
fa452fa683
include/opcode/
...
* ppc.h (ppc_cpu_t): New typedef.
(struct powerpc_opcode <flags>): Use it.
(struct powerpc_operand <insert, extract>): Likewise.
(struct powerpc_macro <flags>): Likewise.
gas/
* config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
(ppc_insert_operand): Likewise.
(ppc_machine): Likewise.
* config/tc-ppc.h: #include "opcode/ppc.h"
(struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
(ppc_cpu): Update extern decl.
opcodes/
* ppc-dis.c (print_insn_powerpc): Update prototye to use new
ppc_cpu_t typedef.
(struct dis_private): New.
(POWERPC_DIALECT): New define.
(powerpc_dialect): Renamed to...
(powerpc_init_dialect): This. Update to use ppc_cpu_t and
struct dis_private.
(print_insn_big_powerpc): Update for using structure in
info->private_data.
(print_insn_little_powerpc): Likewise.
(operand_value_powerpc): Change type of dialect param to ppc_cpu_t.
(skip_optional_operands): Likewise.
(print_insn_powerpc): Likewise. Remove initialization of dialect.
* ppc-opc.c (extract_bat, extract_bba, extract_bdm, extract_bdp,
extract_bo, extract_boe, extract_fxm, extract_mb6, extract_mbe,
extract_nb, extract_nsi, extract_rbs, extract_sh6, extract_spr,
extract_sprg, extract_tbr insert_bat, insert_bba, insert_bdm,
insert_bdp, insert_bo, insert_boe, insert_fxm, insert_mb6, insert_mbe,
insert_nsi, insert_ral, insert_ram, insert_raq, insert_ras, insert_rbs,
insert_sh6, insert_spr, insert_sprg, insert_tbr): Change the dialect
param to be of type ppc_cpu_t. Update prototype.
2008-06-13 20:16:00 +00:00
Vladimir Prus
6ae37fefeb
Robustify mi-simplerun.
...
* gdb.mi/basics.c (main): Add a call to sleep.
* gdb.mi/mi-cli.exp: Adjust for change in line numbers.
* gdb.mi/mi2-cli.exp: Likewise.
* gdb.mi/mi-break.exp: Likewise.
2008-06-13 19:53:42 +00:00
David Edelsohn
ce3ac18a8c
* powerpc.cc (Output_data_plt_powerpc::do_write): 8 + 4 = 0xC.
2008-06-13 17:15:52 +00:00
Julian Brown
b018a5d147
* configure.ac (arm*-*-linux-gnueabi): Don't disable building
...
of libobjc for ARM EABI Linux.
* configure: Regenerate.
2008-06-13 13:05:13 +00:00
Alan Modra
10b0b322be
daily update
2008-06-13 00:00:05 +00:00
gdbadmin
32500740e2
*** empty log message ***
2008-06-13 00:00:03 +00:00
Nick Clifton
dd3cbb7ef7
* mips.h: Document new field descriptors +Q.
...
(OP_SH_SEQI, OP_MASK_SEQI): New bit mask and shift count for SEQI.
opcodes/
* mips-dis.c (print_insn_args): Handle field descriptor +Q.
* mips-opc.c (mips_builtin_opcodes): Add Octeon instructions seq,
seqi, sne and snei.
gas/
* config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
(mips_ip): Likewise.
(macro_build): Likewise.
(CPU_HAS_SEQ): New macro.
(macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
gas/testsuite/
* gas/mips/octeon.s, gas/mips/octeon.d: Add tests for seq* and sne*.
* gas/mips/octeon-ill.s, gas/mips/octeon-ill.s: Add tests for seqi
and snei.
2008-06-12 21:44:54 +00:00
DJ Delorie
ff7eeb894e
* common.h (EM_M32C_NEW): Rename to EM_M32C.
...
(EM_M32C): Rename to EM_M32C_OLD.
* elf32-m32c.c (ELF_MACHINE_ALT1): Define as EM_M32C_OLD.
* readelf.c (guess_is_rela): Add EM_M32C_OLD.
(dump_relocations): Likewise.
(process_section_headers): Likewise.
(is_32bit_abs_reloc): Likewise.
(is_16bit_abs_reloc): Likewise.
2008-06-12 19:49:48 +00:00
David Edelsohn
310213e869
2008-06-12 David S. Miller <davem@davemloft.net>
...
David Edelsohn <edelsohn@gnu.org>
* configure.ac: Add powerpc*-*-* to gold supported targets.
* configure: Regenerate.
2008-06-12 17:07:34 +00:00
David Edelsohn
42cacb20ed
2008-06-12 David Edelsohn <edelsohn@gnu.org>
...
David S. Miller <davem@davemloft.net>
* powerpc.cc: New file.
* Makefile.am (TARGETSOURCES): Add powerpc.cc
(ALL_TARGETOBJS): Add powerpc.$(OBJEXT)
* configure.tgt: Add entries for powerpc-* and powerpc64-*.
* Makefile.in: Rebuild.
2008-06-12 17:02:17 +00:00
David Edelsohn
8da8e50a53
2008-06-12 David S. Miller <davem@davemloft.net>
...
* powerpc.h: New file.
* elfcpp.h (SHT_ORDERED): New enum constant.
(DT_PPC_GOT, DT_PPC64_GLINK, DT_PPC64_OPD, DT_PPC64_OPDSZ): Same.
2008-06-12 16:58:40 +00:00
Nick Clifton
bb35fb24c1
include/opcode/
...
* mips.h: Document new field descriptors +x, +X, +p, +P, +s, +S.
Update comment before MIPS16 field descriptors to mention MIPS16.
(OP_SH_BBITIND, OP_MASK_BBITIND): New bit mask and shift count for
BBIT.
(OP_SH_CINSPOS, OP_MASK_CINSPOS, OP_SH_CINSLM1, OP_MASK_CINSLM1):
New bit masks and shift counts for cins and exts.
gas/
* config/tc-mips.c (validate_mips_insn): Handle field descriptors
+x, +X, +p, +P, +s, +S.
(mips_ip): Likewise.
opcodes/
* mips-dis.c (print_insn_args): Handle field descriptors +x, +p,
+s, +S.
* mips-opc.c (mips_builtin_opcodes): Add Octeon instructions
baddu, bbit*, cins*, dmul, pop, dpop, exts*, mtm*, mtp*, syncs,
syncw, syncws, vm3mulu, vm0 and vmulu.
gas/testsuite/
* gas/mips/octeon.s, gas/mips/octeon.d: Add tests for baddu,
bbit*, cins*, dmul, pop, dpop, exts*, mtm*, mtp*, syncs, syncw,
syncws, vm3mulu, vm0 and vmulu.
* gas/mips/octeon-ill.s, gas/mips/octeon-ill.s: New test.
* gas/mips/mips.exp: Run it. Run octeon test with
run_dump_test_arches.
2008-06-12 16:14:52 +00:00
Joseph Myers
3c9a78e063
* common.h: Update e_machine table.
2008-06-12 12:44:01 +00:00