Commit Graph

58301 Commits

Author SHA1 Message Date
Alan Modra 7c39fb20ea * elf32-spu.c (needs_ovl_stub): Correctly return nonovl_stub for
non-branch insns.
2008-06-19 16:16:58 +00:00
Alan Modra b129575789 update 2008-06-19 16:15:17 +00:00
Alan Modra 9f1a3ddfb4 * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Make "can not
build overlay stubs" a fatal error.
2008-06-19 16:14:53 +00:00
Alan Modra f3c29e8aee * elf32-spu.c (build_stub): Allow wraparound on stub branches.
(allocate_spuear_stubs, build_spuear_stubs): Return value from
	count_stub/build_stub.
	(spu_elf_build_stubs): Correct location of stub reloc error message.
2008-06-19 16:14:15 +00:00
Eric Blake 2c19758174 2008-06-19 Eric Blake <ebb9@byu.net>
Adjust strsignal to POSIX 200x prototype.
	* strsignal.c (strsignal): Remove const.
2008-06-19 15:17:56 +00:00
Pierre Muller 17526a8c50 * win32-nat.c (win32_pid_to_str): Use capital T for "Thread". 2008-06-19 06:36:45 +00:00
gdbadmin dad28c3cb1 *** empty log message *** 2008-06-19 00:00:33 +00:00
Alan Modra 61daf88db1 daily update 2008-06-19 00:00:05 +00:00
Ian Lance Taylor 662c6704d3 * src-release (BINUTILS_SUPPORT_DIRS): Remove mkdep and depcomp. 2008-06-18 23:20:43 +00:00
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