aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-02-202008-02-20 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini8-721/+1261
PR bootstrap/32009 PR bootstrap/32161 * configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Compute here. * configure: Regenerate. * Makefile.def: Define stage_libcflags for all bootstrap stages. * Makefile.tpl (BOOT_LIBCFLAGS, STAGE2_LIBCFLAGS, STAGE3_LIBCFLAGS, STAGE4_LIBCFLAGS): New. (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Subst from autoconf, without $(SYSROOT_CFLAGS_FOR_TARGET) and $(DEBUG_PREFIX_CFLAGS_FOR_TARGET). (BASE_TARGET_EXPORTS): Append them here to C{,XX}FLAGS. (EXTRA_TARGET_FLAGS): Append them here to {LIB,}C{,XX}FLAGS. (configure-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags for target modules. Don't export LIBCFLAGS. (all-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags; pass $(BASE_FLAGS_TO_PASS) where [+args+] was passed, and [+args+] after the overridden CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET. (invocations of `all'): Replace $(TARGET_FLAGS_TO_PASS) with $(EXTRA_TARGET_FLAGS), $(FLAGS_TO_PASS) with $(EXTRA_HOST_FLAGS). * Makefile.in: Regenerate. config: 2008-02-20 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/32009 * mh-ppc-darwin (BOOT_CFLAGS): Reenable.
2008-02-20*** empty log message ***gdbadmin1-1/+1
2008-02-19daily updateAlan Modra1-1/+1
2008-02-19doc/Pedro Alves4-7/+20
* gdb.texinfo (vAttach, vRun): Remove requirement of the stub killing the inferior when it is already debugging a process. gdbserver/ * server.c (handle_v_requests): When handling the vRun and vAttach packets, if already debugging a process, don't kill it. Return an error instead.
2008-02-19 * MAINTAINERS: Add Vladimir Prus as MI maintainer.Daniel Jacobowitz2-0/+5
2008-02-19 * NEWS: Add entry describing Add support improvements.Joel Brobecker2-0/+15
2008-02-19 PR other/12618Ben Elliston2-1/+7
* testsuite/Makefile.in (mostlyclean): Remove any core file.
2008-02-19*** empty log message ***gdbadmin1-1/+1
2008-02-18daily updateAlan Modra1-1/+1
2008-02-182008-02-18 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-4/+37
* cfi/cfi.exp (gas_x86_64_check): New. (gas_x86_32_check): Likewise. Run 32bit and 64bit tests for x86 targets if they are supportd.
2008-02-18 * m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum byMarkus Deuling2-2/+6
M68K_FP0_REGNUM.
2008-02-182008-02-18 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-4/+11
* doc/c-i386.texi: Update -march= and .arch.
2008-02-18 * sentinel-frame.c (sentinel_frame_prev_register): Do not callMarkus Deuling4-25/+8
register_offset_hack anymore. * regcache.{c,h} (register_offset_hack): Remove.
2008-02-18 * hppa-tdep.h (find_global_pointer): Add gdbarch as parameter.Markus Deuling7-14/+39
* hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer): Likewise. Replace current_gdbarch by gdbarch. (hppa64_hpux_find_global_pointer): Likewise. * hppa-tdep.c (hppa_find_global_pointer): Likewise. (hppa32_push_dummy_call, hppa64_push_dummy_call): Update call for find_global_pointer. * hppabsd-tdep.c (hppabsd_find_global_pointer): Add gdbarch as parameter. * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise. * hppa-linux-nat.c (hppa_linux_register_addr): Use ARRAY_SIZE instead of gdbarch_num_regs. * hppa-hpux-tdep.c (hppa_hpux_sr_for_addr): Add gdbarch as parameter and replace current_gdbarch by gdbarch. (hppa_hpux_push_dummy_code): Update call for hppa_hpux_sr_for_addr.
2008-02-18 * scripttempl/armbpabi.sc (ENTRY): Do not define when performing aNick Clifton16-19/+37
relocatable link. * scripttempl/elf32cr16.sc: Likewise. * scripttempl/elf32cr16c.sc: Likewise. * scripttempl/elf32crx.sc: Likewise. * scripttempl/elf32sh-symbian.sc: Likewise. * scripttempl/elf_chaos.sc: Likewise. * scripttempl/elfd10v.sc: Likewise. * scripttempl/elfi370.sc: Likewise. * scripttempl/elfm68hc11.sc: Likewise. * scripttempl/elfm68hc12.sc: Likewise. * scripttempl/ip2k.sc: Likewise. * scripttempl/iq2000.sc: Likewise. * scripttempl/mep.sc: Likewise. * scripttempl/v850.sc: Likewise. * scripttempl/xstormy16.sc: Likewise.
2008-02-18 * cr16.h (cr16_num_optab): Declared.Nick Clifton4-2/+12
* cr16-opc.c (cr16_num_optab): Defined
2008-02-18 * lib/ld-lib.exp (run_dump_test): Don't apply prune_warningsHans-Peter Nilsson2-2/+7
for tool invocations where warnings or errors can be matched.
2008-02-18 * rs6000-nat.c (exec_one_dummy_insn, regmap): Add gdbarch as parameterMarkus Deuling4-24/+52
and replace current_gdbarch by gdbarch. (store_register): Update call for exec_one_dummy_insn. (fetch_register, store_register): Update call of regmap. * ppcnbsd-nat.c (getregs_supplies, getfpregs_supplies): Add gdbarch as parameter and replace current_gdbarch by gdbarch. (ppcnbsd_store_inferior_registers): Use get_regcache_arch to get at the current architecture. Update call for getregs_supplies and getfpregs_supplies. (ppcnbsd_fetch_inferior_registers): Likewise. * ppcobsd-nat.c (getfpregs_supplies): Add gdbarch as parameter and replace current_gdbarch by gdbarch. (ppcobsd_fetch_registers, ppcobsd_store_registers): Use get_regcache_arch to get at the current architecture. Update call for getfpregs_supplies.
2008-02-18 * arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarchMarkus Deuling2-2/+5
variables.
2008-02-18 * config/tc-mn10300.c (has_known_symbol_location): New function.Nick Clifton2-11/+36
Do not regard weak symbols as having a known location. (md_estimate_size_before_relax): Use new function. (md_pcrel_from): Do not compute a pcrel against a weak symbol.
2008-02-18gas/Jan Beulich8-0/+232
2008-02-18 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (match_template): Disallow 'l' suffix when currently selected CPU has no 32-bit support. (parse_real_register): Do not return registers not available on currently selected CPU. gas/testsuite/ 2008-02-18 Jan Beulich <jbeulich@novell.com> * gas/i386/att-regs.s, gas/i386/att-regs.d, gas/i386/intel-regs.s, gas/i386/intel-regs.d: New. * gas/i386/i386.exp: Run new tests.
2008-02-18*** empty log message ***gdbadmin1-1/+1
2008-02-17* elf.c (swap_out_syms): Avoid preprocessing directive withinMark Kettenis2-3/+12
macro arg.
2008-02-17daily updateAlan Modra1-1/+1
2008-02-17 * server.c (handle_query): Correct length check.Daniel Jacobowitz2-1/+5
2008-02-17* elf.c (assign_file_positions_for_load_sections): Set the type ofJan Kratochvil2-0/+9
PT_NOTE sections to SHT_NOTE.
2008-02-172008-02-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-9/+12
* config/tc-i386.c (process_immext): Fix format.
2008-02-17*** empty log message ***gdbadmin1-1/+1
2008-02-16 * simple.c (bfd_simple_get_relocated_section_contents): SetAlan Modra2-1/+7
link_info.output_bfd.
2008-02-16daily updateAlan Modra1-1/+1
2008-02-16gas/H.J. Lu5-49/+72
2008-02-16 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (inoutportreg): New. (process_immext): New. (md_assemble): Use it. (update_imm): Use imm16 and imm32s. (i386_att_operand): Use inoutportreg. opcodes/ 2008-02-16 H.J. Lu <hongjiu.lu@intel.com> * i386-gen.c (operand_type_init): Add OPERAND_TYPE_INOUTPORTREG. * i386-init.h: Regenerated.
2008-02-162008-02-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>Paolo Bonzini2-3/+12
PR libgcj/33085 * libtool.m4 (_LT_COMPILER_PIC) [ mingw, cygwin ] <GCJ>: Do not use -DDLL_EXPORT. Backport from upstream.
2008-02-16 * dwarf2.c (find_line): Don't trust debug information after anNathan Sidwell2-34/+40
unparseable compilation unit.
2008-02-16 PR ld/5761Alan Modra2-1/+8
* ldexp.c (fold_name <LOADADDR>): Check result of evaluating load_base before calling make_abs.
2008-02-16*** empty log message ***gdbadmin1-1/+1
2008-02-15daily updateAlan Modra1-1/+1
2008-02-15 PR 5765Alan Modra3-26/+32
* section.c (SEC_LINK_DUPLICATES): Correct. Renumber following flags. * bfd-in2.h: Regenerate.
2008-02-15Update attribution for PR 5713 patch.Nick Clifton1-1/+2
2008-02-15 PR binutils/5713Nick Clifton2-57/+17
* strings.c (integer_arg): Delete function. (string_min): Initialise to 4. (main): Use strtoul to parse integer arguments. Move check for an invalid string length to after all the arguments have been parsed. (usage): Use indentation to indicate that -<n> is a another form of the --bytes= command line option.
2008-02-15 * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id.Alan Modra5-29/+22
* emultempl/hppaelf.em (hppaelf_create_output_section_statements): Likewise. * emultempl/ppc64elf.em (ppc_create_output_section_statements): Likewise. * emultempl/ppc32elf.em (is_ppc_elf32_vec): Delete. Replace all uses with.. (is_ppc_elf): ..this new macro.
2008-02-15 * elf-bfd.h (enum elf_object_id): Add HPPA_ELF_TDATA.Alan Modra6-54/+55
* elf.c (bfd_elf_allocate_object): Don't check for already allocated tdata. * elf32-hppa.c (elf32_hppa_mkobject): New function. (bfd_elf32_mkobject): Define. * elf32-ppc.c (is_ppc_elf_target): Delete. Replace all uses with.. (is_ppc_elf): ..this new macro. * elf64-ppc.c (is_ppc64_elf_target): Delete. Replace all uses with.. (is_ppc64_elf): ..this new macro.
2008-02-15 * mips-linux-tdep.c (mips_linux_init_abi): Remove internal error.Markus Deuling2-1/+4
2008-02-15include/Alan Modra59-442/+575
* bfdlink.h (struct bfd_link_hash_table): Delete creator field. (struct bfd_link_info): Add output_bfd. bfd/ * elflink.c: Replace all accesses to hash->creator field with output_bfd->xvec. * cofflink.c: Likewise. * coff-h8300.c: Likewise. * ecoff.c: Likewise. * elf32-m68hc1x.c: Likewise. * elf32-ppc.c: Likewise. * elf64-alpha.c: Likewise. * elf64-ppc.c: Likewise. * elf64-sparc.c: Likewise. * elfxx-mips.c: Likewise. * i386linux.c: Likewise. * m68klinux.c: Likewise. * sparclinux.c: Likewise. * sunos.c: Likewise. * xcofflink.c: Likewise. * linker.c: Likewise. (_bfd_link_hash_table_init): Don't store creator. ld/ * ldmain.h (output_bfd): Delete. * ldmain.c (output_bfd): Delete. Replace all occurrences of output_bfd with link_info.output_bfd. * ldcref.c: Likewise. * ldctor.c: Likewise. * ldemul.c: Likewise. * ldexp.c: Likewise. * ldfile.c: Likewise. * ldlang.c: Likewise. * ldmisc.c: Likewise. * ldwrite.c: Likewise. * pe-dll.c: Likewise. * emultempl/aix.em: Likewise. * emultempl/alphaelf.em: Likewise. * emultempl/armcoff.em: Likewise. * emultempl/armelf.em: Likewise. * emultempl/avrelf.em: Likewise. * emultempl/beos.em: Likewise. * emultempl/elf-generic.em: Likewise. * emultempl/elf32.em: Likewise. * emultempl/gld960.em: Likewise. * emultempl/hppaelf.em: Likewise. * emultempl/irix.em: Likewise. * emultempl/linux.em: Likewise. * emultempl/lnk960.em: Likewise. * emultempl/m68hc1xelf.em: Likewise. * emultempl/mmix-elfnmmo.em: Likewise. * emultempl/mmo.em: Likewise. * emultempl/pe.em: Likewise. * emultempl/pep.em: Likewise. * emultempl/ppc32elf.em: Likewise. * emultempl/ppc64elf.em: Likewise. * emultempl/scoreelf.em: Likewise. * emultempl/sh64elf.em: Likewise. * emultempl/spuelf.em: Likewise. * emultempl/sunos.em: Likewise. * emultempl/vanilla.em: Likewise. * emultempl/vxworks.em: Likewise. * emultempl/xtensaelf.em: Likewise. * emultempl/z80.em: Likewise. * ldlang.c (open_output): Don't return output, instead write link_info_output_bfd directly. * emultempl/alphaelf.em: Replace occurrences of link_info.hash->creator with link_info.output_bfd->xvec. * emultempl/hppaelf.em: Likewise. * emultempl/ppc32elf.em: Likewise. * emultempl/ppc64elf.em: Likewise. * emultempl/spuelf.em: Likewise.
2008-02-15*** empty log message ***gdbadmin1-1/+1
2008-02-14daily updateAlan Modra1-1/+1
2008-02-142008-02-14 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-87/+165
* config/tc-i386.c (operand_type_all_zero): New. (operand_type_set): Likewise. (operand_type_equal): Likewise. (cpu_flags_all_zero): Likewise. (cpu_flags_set): Likewise. (cpu_flags_equal): Likewise. (UINTS_ALL_ZERO): Removed. (UINTS_SET): Likewise. (UINTS_CLEAR): Likewise. (UINTS_EQUAL): Likewise. (cpu_flags_match): Updated. (smallest_imm_type): Likewise. (set_cpu_arch): Likewise. (md_assemble): Likewise. (optimize_imm): Likewise. (match_template): Likewise. (process_suffix): Likewise. (update_imm): Likewise. (process_drex): Likewise. (process_operands): Likewise. (build_modrm_byte): Likewise. (i386_immediate): Likewise. (i386_displacement): Likewise. (i386_att_operand): Likewise. (parse_real_register): Likewise. (md_parse_option): Likewise. (i386_target_format): Likewise.
2008-02-14 * win32-low.c (do_initial_child_stuff): Add process handlePedro Alves2-45/+52
parameter. Set current_process_handle and current_process_id from the parameters. Clear globals. (win32_create_inferior): Don't set current_process_handle and current_process_id here. Instead pass them on the call to do_initial_child_stuff. (win32_attach): Likewise. (win32_clear_inferiors): New. (win32_kill): Don't close the current process handle or the current thread handle here. Instead call win32_clear_inferiors. (win32_detach): Don't open a new handle to the process. Call win32_clear_inferiors. (win32_join): Don't rely on current_process_handle; open a new handle using the process id. (win32_wait): Call win32_clear_inferiors when the inferior process has exited.
2008-02-142008-02-14 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-6/+13
* ld-shared/sh1.c (shlib_overriddencall2): Moved to ... * ld-shared/sh2.c (shlib_overriddencall2): Here. New.
2008-02-14 * NEWS: Mention pending breakpints in MIVladimir Prus2-0/+7
2008-02-14 * server.c (monitor_show_help): Add "exit".Daniel Jacobowitz2-4/+10