aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-08-082005-08-08 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini5-514/+857
* configure.in (CC_FOR_TARGET, CXX_FOR_TARGET, GCJ_FOR_TARGET, GCC_FOR_TARGET, RAW_CXX_FOR_TARGET, GFORTRAN_FOR_TARGET): Find them with NCN_STRICT_CHECK_TARGET_TOOL, like the other target tools; remove code to manually set them. (Target tools): Look in the environment for them. * Makefile.tpl (CC_FOR_TARGET, CXX_FOR_TARGET, GCJ_FOR_TARGET, GCC_FOR_TARGET, RAW_CXX_FOR_TARGET, GFORTRAN_FOR_TARGET): Redefine. (AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): Look into gcc build directory. (CONFIGURED_CC_FOR_TARGET, CONFIGURED_CXX_FOR_TARGET, CONFIGURED_GCJ_FOR_TARGET, CONFIGURED_GCC_FOR_TARGET, CONFIGURED_GFORTRAN_FOR_TARGET, USUAL_CC_FOR_TARGET, USUAL_CXX_FOR_TARGET, USUAL_GCJ_FOR_TARGET, USUAL_GCC_FOR_TARGET, USUAL_RAW_CXX_FOR_TARGET, USUAL_GFORTRAN_FOR_TARGET): New. (CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, RECURSE_FLAGS): Delete. * configure: Regenerate. * Makefile.in: Regenerate.
2005-08-082005-08-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+14
PR gas/1118 * as.c (parse_args): Handle -al=<FILE>.
2005-08-08*** empty log message ***gdbadmin1-1/+1
2005-08-08daily updateAlan Modra1-1/+1
2005-08-07Reviewed and approved by Nick Clifton <nickc@redhat.com>Fred Fish2-1/+6
2005-08-05 Fred Fish <fnf@specifix.com> * dwarf2.c (read_rangelist): Use addr_size instead of offset_size to determine how many bytes to read from each rangelist entry.
2005-08-07(s_app_line): Accept a line number of 0 for compatibility with gcc's outputNick Clifton2-2/+15
for assembler-with-cpp files.
2005-08-07*** empty log message ***gdbadmin1-1/+1
2005-08-07daily updateAlan Modra1-1/+1
2005-08-06daily updateAlan Modra1-1/+1
2005-08-06*** empty log message ***gdbadmin1-1/+1
2005-08-05Reviewed and approved by Mark Kettenis <mark.kettenis@xs4all.nl>Fred Fish3-6/+12
2005-08-02 Fred Fish <fnf@specifix.com> * defs.h (parse_frame_specification): Remove prototype. * stack.c (parse_frame_specification): Add prototype and make function static. (frame_info): Move common code outside if..then..else.
2005-08-05 * ChangeLog: Fix typo in last change.Dave Anglin1-1/+1
2005-08-05 * gas/hppa/reloc/reloc.exp (do_function_reloc_bug): Add "L%" to regexp.Dave Anglin2-1/+5
2005-08-05 * hppa-dis.c (print_insn_hppa): Prefix 21-bit values with "L%".Dave Anglin2-0/+5
2005-08-052005-08-05 Paul Brook <paul@codesourcery.com>Paul Brook2-0/+48
* gas/arm/thumb32.s: Use correct conditional suffixes inside IT blocks. * gas/arm/thumb2_it.d, gas/arm/thumb2_it.s: New test.
2005-08-05bfd/H.J. Lu10-10/+76
2005-08-05 H.J. Lu <hongjiu.lu@intel.com> * bfd.c (bfd_hide_symbol): New. * bfd-in2.h: Regenerated. ld/ 2005-08-05 H.J. Lu <hongjiu.lu@intel.com> * ld.texinfo: Document PROVIDE_HIDDEN. * ldexp.c (exp_fold_tree_1): Hide a provided symbol if asked. (exp_provide): Add and set hidden. * ldexp.h (etree_type): Add hidden to assign. * ldgram.y (PROVIDE_HIDDEN): New. * ldlex.l (PROVIDE_HIDDEN): Likewise. * scripttempl/elf.sc: Use PROVIDE_HIDDEN on array bound symbols.
2005-08-05 * emulparams/elf_x86_64.sh: Revert last change.Alan Modra3-24/+29
* scripttempl/elf.sc (REL_LARGE, LARGE_SECTIONS): Define here.
2005-08-052005-08-05 Paul Brook <paul@codesourcery.com>Paul Brook4-70/+166
gas/ * config/tc-arm.c (current_it_mask, current_cc): New variables. (do_t_add_sub): Use correct encodings inside IT block. (do_t_arit3c): Ditto. (do_t_it): Simplify logic. Set current_it_mask and current_cc. (md_assemble): Verify conditional suffixes agains IT blocks. gas/testsuite/ * gas/arm/thumb32.s: Use correct conditional suffixes inside IT blocks. * gas/arm/thumb2_it.d, gas/arm/thumb2_it.s: New test.
2005-08-052005-08-05 Paul Brook <paul@codesourcery.com>Paul Brook5-13/+34
gas/ * config/tc-arm.c (encode_thumb32_immediate): Only accept shifted constants. (encode_thumb32_shifted_operand): Prohibit register shifts. (encode_thumb32_addr_mode): Fix typo. (insns): Correct thumb2 ldm and stm opcodes. gas/testsuite/ * gas/arm/thumb32.d: Update ldm/stm dests. * gas/arm/thumb32.s: Ditto.
2005-08-05 * emulparams/armelf.sh (OTHER_BSS_END_SYMBOLS): Split out fromAlan Modra20-74/+104
OTHER_END_SYMBOLS. * emulparams/armelf_linux.sh: Likewise. * emulparams/armnto.sh: Likewise. * emulparams/criself.sh: Likewise. * emulparams/elf32mcore.sh: Likewise. * emulparams/criself.sh (OTHER_SYMBOLS): Define. * emulparams/crislinux.sh (OTHER_SYMBOLS): Define. (OTHER_END_SYMBOLS): Don't define. * emulparams/elf32fr30.sh: Likewise. * emulparams/elf64mmix.sh: Likewise. * emulparams/hppa64linux.sh: Likewise. * emulparams/m32relf.sh: Likewise. * emulparams/vxworks.sh: Likewise. * scripttempl/armbpabi.sc (OTHER_BSS_SECTIONS): Delete. (OTHER_BSS_END_SYMBOLS): Add. (OTHER_END_SYMBOLS): Move before current end sym definitions. (OTHER_SYMBOLS): Replace OTHER_END_SYMBOLS near end of script. * scripttempl/elf.sc: Likewise. * scripttempl/elf32sh-symbian.sc: Likewise. * scripttempl/elf_chaos.sc: Likewise. * scripttempl/elfxtensa.sc: Likewise. * scripttempl/iq2000.sc: Likewise. * scripttempl/xstormy16.sc: Likewise. * scripttempl/elf.sc (LBSS, LARGE_SECTIONS): Delete. (REL_LDATA, REL_LBSS, REL_LRODATA): Delete. (REL_LARGE, LARGE_SECTIONS): Add. * emulparams/elf_x86_64.sh (LARGE_SECTIONS): Define as script text. (REL_LARGE): Define. * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define. (LARGE_SECTIONS): Define. * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define. (LARGE_SECTIONS): Define.
2005-08-05*** empty log message ***gdbadmin1-1/+1
2005-08-05daily updateAlan Modra1-1/+1
2005-08-04 * readelf.c (get_parisc_dynamic_type): Add new dynamic types.Dave Anglin2-2/+37
(get_dynamic_type): Use old values for DT_LOOS and DT_HIOS when e_machine is EM_PARISC. (get_parisc_segment_type): Add new segment types. (get_parisc_section_type_name): Add new section names. (dynamic_section_parisc_val): Add new table entries.
2005-08-04 * hppa.h (PF_HP_CODE, PF_HP_MODIFY, PF_HP_LAZYSWAP): Revise defines.Dave Anglin2-16/+65
(PF_HP_CODE_DEPR, PF_HP_MODIFY_DEPR, PF_HP_LAZYSWAP_DEPR): New deprecated defines. (DT_HP_EPLTREL, DT_HP_EPLTRELSZ, DT_HP_FILTERED, DT_HP_FILTER_TLS, DT_HP_COMPAT_FILTERED, DT_HP_LAZYLOAD, DT_HP_BIND_NOW_COUNT, DT_PLT, DT_PLT_SIZE, DT_DLT, DT_DLT_SIZE, DT_HP_BIND_DEPTH_FIRST, DT_HP_GST, DT_HP_SHLIB_FIXED, DT_HP_MERGE_SHLIB_SEG, DT_HP_NODELETE, DT_HP_GROUP, DT_HP_PROTECT_LINKAGE_TABLE, PT_HP_OPT_ANNOT, PT_HP_HSL_ANNOT, PT_HP_STACK, PT_HP_CORE_UTSNAME, NT_HP_COMPILER, NT_HP_COPYRIGHT, NT_HP_VERSION, NT_HP_SRCFILE_INFO, NT_HP_LINKER, NT_HP_INSTRUMENTED, NT_HP_UX_OPTIONS): Define.
2005-08-042005-08-04 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-12/+21
* elf64-x86-64.c (elf64_x86_64_merge_symbol): When mixing a large common symbol and a normal common symbol, always turn the large common symbol into a normal one.
2005-08-04bfd/Alan Modra26-242/+190
* elf32-ppc.c (struct elf_linker_section): Replace sym_val field with sym. (ppc_elf_relocate_section): Adjust for above. (create_sdata_sym): New function. (ppc_elf_create_linker_section): Call it. (ppc_elf_check_relocs): Correct has_sda_refs and non_got_refs. Create sdata syms for all SDA relocs. (ppc_elf_adjust_dynamic_symbol): Don't special case _SDA_BASE_ and _SDA2_BASE_. (ppc_elf_set_sdata_syms): Delete. * elflink.c (bfd_elf_size_dynamic_sections): Don't create DT_INIT and DT_FINI tags unless associated section has input. (bfd_elf_set_symbol, _bfd_elf_provide_symbol): Delete. (_bfd_elf_provide_section_bound_symbols): Delete. * bfd-in.h (_bfd_elf_provide_symbol): Delete. (_bfd_elf_provide_section_bound_symbols): Delete. * bfd-in2.h: Regenerate. ld/ * ldemul.c (ldemul_do_assignments, do_assignments_default): Delete. * ldemul.h (ldemul_do_assignments, do_assignments_default): Delete. (struct ld_emulation_xfer_struct): Remove do_assignments field. * ldlang.c (lang_do_assignments): Don't call ldemul_do_assignments. * emulparams/elf32ppc.sh (SDATA_START_SYMBOLS): New. (SDATA2_START_SYMBOLS, SBSS_START_SYMBOLS, SBSS_END_SYMBOLS): New. * emultempl/aix.em (ld_*_emulation): Delete do_assignments init. * emultempl/armcoff.em: Likewise. * emultempl/beos.em: Likewise. * emultempl/generic.em: Likewise. * emultempl/gld960.em: Likewise. * emultempl/gld960c.em: Likewise. * emultempl/linux.em: Likewise. * emultempl/lnk960.em: Likewise. * emultempl/m68kcoff.em: Likewise. * emultempl/pe.em: Likewise. * emultempl/sunos.em: Likewise. * emultempl/ticoff.em: Likewise. * emultempl/vanilla.em: Likewise. * emultempl/elf32.em: Likewise. (gld*_provide_bound_symbols): Delete. (gld*_provide_init_fini_syms): Delete. (gld*_before_allocation): Don't call ldemul_do_assignments. * emultempl/ppc32elf.em (ppc_do_assignments): Delete. (LDEMUL_DO_ASSIGNMENTS): Delete. * scripttempl/elf.sc: Provide init/fini syms. Add SBSS_START_SYMBOLS, SBSS_END_SYMBOLS, SDATA2_START_SYMBOLS.
2005-08-04 * Makefile.am (eelf32m32c.c): Fix dependencies.Alan Modra3-0/+7
* Makefile.in: Regenerate.
2005-08-042005-08-02 Bob Rossi <bob@brasko.net>Bob Rossi5-62/+112
* gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior. (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope. Change tests to inferior-tty-set/show. * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior. (47-exec-next): Use mi_gdb_test to get GDB and Inferior output. * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for inferior. Use mi_gdb_test to get GDB and Inferior output. * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY descriptor. (mi_inferior_tty_name): Add inferior PTY file name. (mi_gdb_start): Add INFERIOR_PTY parameter. (mi_gdb_test): Add IPATTERN parameter.
2005-08-04bfd/Alan Modra25-64/+104
* elflink.c (fix_syms, _bfd_elf_fix_excluded_sec_syms): Move to.. * linker.c (fix_syms, _bfd_fix_excluded_sec_syms): ..here. * bfd-in.h (_bfd_fix_excluded_sec_syms): Rename. * bfd-in2.h: Regenerate. ld/ * ldemul.c (ldemul_finish): Call ld_emulation->finish unconditionally. (finish_default): New function. * ldemul.h (finish_default): Declare. * emultempl/aix.em (gld*_before_allocation): Call before_allocation_default rather than strip_excluded_output_sections. (ld_*_emulation): Init finish field to finish_default. * emultempl/armcoff.em: Likewise. * emultempl/beos.em: Likewise. * emultempl/elf32.em: Likewise. * emultempl/generic.em: Likewise. * emultempl/gld960.em: Likewise. * emultempl/gld960c.em: Likewise. * emultempl/hppaelf.em: Likewise. * emultempl/linux.em: Likewise. * emultempl/lnk960.em: Likewise. * emultempl/m68kcoff.em: Likewise. * emultempl/mmo.em: Likewise. * emultempl/pe.em: Likewise. * emultempl/ppc64elf.em: Likewise. * emultempl/sunos.em: Likewise. * emultempl/ticoff.em: Likewise. * emultempl/vanilla.em: Likewise.
2005-08-042005-08-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+7
* elfxx-ia64.c (elfNN_ia64_relax_section): Resize .rela.got only if it isn't NULL.
2005-08-04daily updateAlan Modra1-1/+1
2005-08-04*** empty log message ***gdbadmin1-1/+1
2005-08-03bfd/H.J. Lu7-16/+50
2005-08-03 H.J. Lu <hongjiu.lu@intel.com> * elf32-i386.c (elf_howto_table): Undo the overflow change for R_386_PC16 made on 2005-07-18. * elf64-x86-64.c (x86_64_elf_howto_table): Undo the overflow change for R_X86_64_PC16 made on 2005-07-18. ld/testsuite/ 2005-08-03 H.J. Lu <hongjiu.lu@intel.com> * ld-i386/pcrel16.d: Updated. * ld-i386/pcrel16.s: Likewise. * ld-x86-64/pcrel16.d: Likewise.
2005-08-03 * hppa.h: Update copyright dates.Dave Anglin1-1/+1
2005-08-03config/tc-arm.c (do_iwmmxt_wldstd): Correct the offset range for WLDRD/WSTRDNick Clifton8-7/+36
instruction. gas/arm/iwmmxt-bad2.s: New file: Check for error messages about erroneous offsets in iwmmxt instructions. Cannot be part of iwmmxt-bad.s because the errors there stop the assembler before it gets to check the offsets in instructions. gas/arm/iwmmxt-bad2.d: New file. gas/arm/iwmmxt-bad2.l: New file: Expected error messages. gas/arm/iwmmxt.s: Change the offset values of the WLDRD, WSTRD and WSTRW instructions to be larger than +/-255. gas/arm/iwmmxt.d: Fix the expected results for these instructions.
2005-08-03 * ldlang.c (exp_init_os): Handle etree_provide.Alan Modra19-22/+42
* emulparams/armelf.sh (OTHER_END_SYMBOLS): Rename from.. (OTHER_BSS_END_SYMBOLS): ..this. * emulparams/armelf_linux.sh: Likewise. * emulparams/armnto.sh: Likewise. * emulparams/criself.sh: Likewise. * emulparams/crislinux.sh: Likewise. * emulparams/elf32frv.sh: Likewise. * emulparams/elf32mcore.sh: Likewise. * emulparams/elf32ppc.sh: Likewise. * emulparams/elf32ppclinux.sh: Likewise. * emulparams/hppa64linux.sh: Likewise. * scripttempl/armbpabi.sc: Substitute $OTHER_END_SYMBOLS, not $OTHER_BSS_END_SYMBOLS. * scripttempl/elf32sh-symbian.sc: Likewise. * scripttempl/elf_chaos.sc: Likewise. * scripttempl/iq2000.sc: Likewise. * scripttempl/xstormy16.sc: Likewise. * scripttempl/elf.sc: Likewise. Delete __bss_start comment. * scripttempl/elfxtensa.sc: Likewise.
2005-08-03daily updateAlan Modra1-1/+1
2005-08-03*** empty log message ***gdbadmin1-1/+1
2005-08-02 * elf32-ppc.c (struct ppc_elf_link_hash_table): Remove hgot. UseAlan Modra2-23/+27
elf.hgot throughout file.
2005-08-02 * elf32-ppc.c (ppc_elf_size_dynamic_sections): Correct value ofAlan Modra2-3/+11
_GLOBAL_OFFSET_TABLE_ for > 32k GOT.
2005-08-02 * elfxx-ia64.c (struct elfNN_ia64_allocate_data): Add only_got.Andreas Schwab2-43/+69
(elfNN_ia64_relax_section): Reallocate .rela.got when .got has changed. (allocate_dynrel_entries): Look only at GOT relocations when only_got is true. (elfNN_ia64_size_dynamic_sections): Set only_got to false before calling allocate_dynrel_entries.
2005-08-02 * interp.c (strswaplen): Add one for '\0' delimiter.Joern Rennecke2-1/+9
2005-08-022005-08-02 Bob Rossi <bob@brasko.net>Bob Rossi4-21/+46
* gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE parameter to mi_gdb_test. * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
2005-08-02PR 1147Nick Clifton2-17/+124
* elf32-arm.c (struct _arm_elf_section_data): Turn into a typedef and make the mapcount field unsigned. (struct section_list): New: Used to keep track of which sections have an _arm_elf_section_data structure. (record_section_with_arm_elf_section_data): New function. (get_arm_elf_section_data): New function. (unrecord_section_with_arm_elf_section_data): New function. (elf32_arm_output_symbol_hook): Use get_arm_elf_section_data. (elf32_arm_new_section_hook): Call record_section_with_arm_elf_section_data. (elf32_arm_write_section): Use get_arm_elf_section_data and unrecord_section_with_arm_elf_section_data.
2005-08-02 * config/tc-ppc.c (md_apply_fix <ELF>): Don't warn on overflowAlan Modra2-0/+12
if emitting a reloc.
2005-08-02 * value.c (value_contents_writeable): Use value_contents_raw.Daniel Jacobowitz2-1/+5
2005-08-02 Suggested by Shaun Jackman <sjackman@gmail.com>:Daniel Jacobowitz5-27/+57
* defs.h (print_transfer_performance): Update prototype. * m32r-rom.c (m32r_load, m32r_upload_command): Use gettimeofday for print_transfer_performance. * remote-m32r-sdi.c (m32r_load): Likewise. * symfile.c (generic_load): Likewise. (report_transfer_performance): Create a dummy struct timeval. (print_transfer_performance): Use a more accurate measure of performance.
2005-08-02*** empty log message ***gdbadmin1-1/+1
2005-08-02daily updateAlan Modra1-1/+1
2005-08-01Reviewed/approved by Daniel Jacobowitz <dan@codesourcery.com>Fred Fish2-16/+5
2005-08-01 Fred Fish <fnf@specifix.com> * stack.c (parse_frame_specification_1): Remove use of obsolete SETUP_ARBITRARY_FRAME macro.