aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-12-04 * ld-x86-64/ifunc.d: New test (of STT_IFUNC for x86_64).Nick Clifton5-7/+227
* ld-x86-64/ifunc.s: Source file for new test. * ld-x86-64/x86-64.exp: Run the new test. * ld-i386/ifunc.d: Tidy up regexps for expected output.
2008-12-04opcodes/Ben Elliston17-471/+97
* ppc-dis.c (powerpc_init_dialect): Do not set PPC_OPCODE_BOOKE for -Mbooke. (print_ppc_disassembler_options): Update usage. * ppc-opc.c (DE, DES, DEO, DE_MASK): Remove. (BOOKE64): Remove. (PPCCHLK64): Likewise. (powerpc_opcodes): Remove all BOOKE64 instructions. gas/ * config/tc-ppc.c (parse_cpu): Remove booke64 support. Update usage strings. (ppc_setup_opcodes): Likewise, remove booke64 support. * doc/c-ppc.texi (PowerPC-Opts): Remove -mbooke32 and -mbooke64. * doc/as.texinfo (Overview): Likewise. binutils/ * doc/binutils.texi (objdump): Update booke documentation. * NEWS: Document user-visible changes to command line options.
2008-12-04* doc/as.texinfo (Type): Reword description of STT_IFUNC type.Nick Clifton2-2/+10
2008-12-042008-12-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel2-0/+8
* elf64-s390.c (elf_s390_check_relocs): Initialize htab->elf.dynobj if necessary.
2008-12-04* objdump.c (dump_reloc_set): Append "()" to symbol names whichNick Clifton4-22/+94
have the BSF_INDIRECT_FUNCTION type. * readelf.c (print_symbol): Fix handling of negative widths. (dump_relocations): Append "()" to symbol names which have the STT_IFUNC type. Display negative offsets as a positive number with a "-" prefix. (get_symbol_type): Return "IFUNC" for STT_IFUNC symbols. * doc/binutils.texi: Document 'i' symbol type.
2008-12-04daily updateAlan Modra1-1/+1
2008-12-04*** empty log message ***gdbadmin1-1/+1
2008-12-03include/elf/Nick Clifton32-156/+604
* common.h (STT_IFUNC): Define. elfcpp/ * elfcpp.h (enum STT): Add STT_IFUNC. bfd/ * syms.c (struct bfd_symbol): Add new flag BSF_INDIRECT_FUNCTION. Remove redundant flag BFD_FORT_COMM_DEFAULT_VALUE. Renumber flags to remove gaps. (bfd_print_symbol_vandf): Return 'i' for BSF_INDIRECT_FUNCTION. (bfd_decode_symclass): Likewise. * elf.c (swap_out_syms): Translate BSF_INDIRECT_FUNCTION into STT_IFUNC. (elf_find_function): Treat STT_IFUNC in the same way as STT_FUNC. (_bfd_elf_is_function_type): Likewise. * elf32-arm.c (arm_elf_find_function): Likewise. (elf32_arm_adjust_dynamic_symbol): Likewise. (elf32_arm_swap_symbol_in): Likewise. (elf32_arm_additional_program_headers): Likewise. * elf32-i386.c (is_indirect_symbol): New function. (elf_i386_check_relocs): Also generate dynamic relocs for relocations against STT_IFUNC symbols. (allocate_dynrelocs): Likewise. (elf_i386_relocate_section): Likewise. * elf64-x86-64.c (is_indirect_symbol): New function. (elf64_x86_64_check_relocs): Also generate dynamic relocs for relocations against STT_IFUNC symbols. (allocate_dynrelocs): Likewise. (elf64_x86_64_relocate_section): Likewise. * elfcode.h (elf_slurp_symbol_table): Translate STT_IFUNC into BSF_INDIRECT_FUNCTION. * elflink.c (_bfd_elf_adjust_dynamic_reloc_section): Add support for STT_IFUNC symbols. (get_ifunc_reloc_section_name): New function. (_bfd_elf_make_ifunc_reloc_section): New function. * elf-bfd.h (struct bfd_elf_section_data): Add indirect_relocs field. * bfd-in2.h: Regenerate. gas/ * config/obj-elf.c (obj_elf_type): Add support for STT_IFUNC type. * doc/as.texinfo: Document new feature. * NEWS: Mention new feature. gas/testsuite/ * gas/elf/type.s: Add test of STT_IFUNC symbol type. * gas/elf/type.e: Update expected disassembly. * gas/elf/elf.exp: Update grep of symbol types. ld/ * NEWS: Mention new feature. * pe-dll.c (process_def_file): Replace use of redundant BFD_FORT_COMM_DEFAULT_VALUE with 0. * scripttempl/elf.sc: Add .rel.ifunc.dyn and .rela.ifunc.dyn sections. ld/testsuite/ * ld-mips-elf/reloc-1-n32.d: Updated expected output for reloc descriptions. * ld-mips-elf/reloc-1-n64.d: Likewise. * ld-i386/ifunc.d: New test. * ld-i386/ifunc.s: Source file for the new test. * ld-i386/i386.exp: Run the new test.
2008-12-03daily updateAlan Modra1-1/+1
2008-12-03*** empty log message ***gdbadmin1-1/+1
2008-12-02 * infrun.c (handle_inferior_event): Remove redundant resetting ofDoug Evans2-2/+5
stepping_past_singlestep_breakpoint.
2008-12-02* Makefile.def: configure-target-boehm-gc depends onAndreas Schwab3-209/+216
all-target-libstdc++-v3. * Makefile.in: Regenerate.
2008-12-02 * target.h (target_get_osdata): Describe.Pedro Alves5-54/+83
* osdata.h (make_cleanup_osdata_free): Declare. * osdata.c (osdata_item_clear): Define even if HAVE_LIBEXPAT is not defined. (osdata_free_cleanup): New. (make_cleanup_osdata_free): New. (get_osdata): Fix leak. (info_osdata_command): Use make_cleanup_osdata_free. (info_processes_command): Delete. (_initialize_osdata): Drop undocumented "info processes" alias. * mi/mi-main.c (mi_cmd_list_thread_groups): Fix leak.
2008-12-02gdb/Jan Kratochvil7-10/+98
Fix resolving external references to TLS variables. * findvar.c: Include `objfiles.h'. (read_var_value <LOC_UNRESOLVED>): New variable `obj_section'. Handle SEC_THREAD_LOCAL variables. * printcmd.c (address_info <LOC_UNRESOLVED>): Handle SEC_THREAD_LOCAL variables. gdb/testsuite/ Test resolving external references to TLS variables. * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and FILE2_THREAD_LOCAL. (testfile2, srcfile2): New variables. * gdb.threads/tls.c (file2_thread_local) (function_referencing_file2_thread_local): New. * gdb.threads/tls2.c: New file.
2008-12-02 * infrun.c (handle_inferior_event): Delete unused local tp.Doug Evans2-2/+4
2008-12-022008-12-02 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2-1/+13
* pe-dll.c (make_runtime_pseudo_reloc): Make symtab big enough to hold relocations.
2008-12-022008-12-02 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+10
* config.bfd: Add x86_64-*-darwin*
2008-12-02 MI non-stop and multiprocess docs.Vladimir Prus2-18/+375
* gdb.texinfo (GDB/MI): New section 'GDB/MI General Design' (GDB/MI Output Records): New section 'GDB/MI Frame Information' Adjust documentation for *stopped, document =thread-created, =thread-exited, =thread-group-created and =thread-group-exited. (GDB/MI Thread Commands): Document the 'state' field in -thread-info output. (GDB/MI Program Execution): Mention --all and --thread-group options. (GDB/MI Variable Objects): Describe floating and fixed variable objects. (GDB/MI Miscellaneous Commands): Document -list-thread-groups.
2008-12-02 Implement -list-thread-groups --availableVladimir Prus22-7/+1093
* Makefile.in (XMLFILES): Add osdata.dtd. (SFILES): Add osdata.c. (COMMON_OBS): Add osdata.o. * linux-nat.c: Include pwd.h, sys/types.h, gdb_dirent.h and xml-support.h. (linux_nat_xfer_osdata): New function. (linux_xfer_partial): Handle TARGET_OBJECT_OSDATA. * osdata.c: New file. * osdata.h: New file. * remote.c (PACKET_qXfer_osdata): New packet enum. (remote_protocol_features): Add "qXfer:osdata:read". (remote_read_qxfer): Handle TARGET_OBJECT_OSDATA. (extended_remote_can_run): New. (init_extended_remote_ops): Set to_can_run to extended_remote_can_run. (_initialize_remote): Add packet config command for "qXfer:osdata:read". * xml-support.c (obstack_xml_printf): New function. * xml-support.h (obstack_xml_printf): Declare. * target.c (target_get_osdata): New function. * target.h (enum target_object): Add TARGET_OBJECT_OSDATA. (target_os_data): Declare. * features/osdata.dtd: New file. * mi/mi-main.c (mi_list_thread_groups): Handle the --available option.
2008-12-02* infrun.c (proceed): Delete unused local stop_signal.Doug Evans2-1/+4
2008-12-02 * config.sub, config.guess: Update from upstream sources.Ben Elliston3-7/+35
2008-12-02*** empty log message ***gdbadmin1-1/+1
2008-12-02daily updateAlan Modra1-1/+1
2008-12-01gold/ChangeLog:Cary Coutant4-4/+13
* plugin.cc (ld_plugin_message): Change format parameter to const. Fix mismatch between new[] and delete. include/ChangeLog: * plugin-api.h (ld_plugin_message): Change format parameter to const.
2008-12-01 * plugin-api.h: Fix syntax error when compiling with C++.Cary Coutant2-1/+5
2008-12-012008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-2/+6
* compile.c: Add const to remove warning.
2008-12-01*** empty log message ***gdbadmin1-1/+1
2008-12-01daily updateAlan Modra1-1/+1
2008-11-30*** empty log message ***gdbadmin1-1/+1
2008-11-30daily updateAlan Modra1-1/+1
2008-11-292008-11-29 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2-1/+6
* config/tc-i386.c (i386_target_format): For coff flavour in TE_PEP use "pe-i386" for 32-bit.
2008-11-29 * hpux-core.c: Don't include sys/file.h.Dave Anglin2-1/+4
2008-11-29daily updateAlan Modra1-1/+1
2008-11-29*** empty log message ***gdbadmin1-1/+1
2008-11-28 * gdb.ada/int_deref.exp: Convert the addresses into long_integerJoel Brobecker2-2/+8
rather than integer, as integer might not be big enough when on 64bit targets.
2008-11-282008-11-25 monitor.c (monitor_insert_breakpoint): Remove, already in log before.Jan Kratochvil1-1/+0
2008-11-28 * Makefile.am (ehopt.o): Add struc-symbol.h.Jakub Jelinek5-30/+66
* Makefile.in: Regenerated. * ehopt.c: Include struc-symbol.h. (check_eh_frame): For very small O_constant DW_CFA_advance_loc4 create correct DW_CFA_advance_loc. Handle O_subtract only for code alignment factor 1, otherwise handle O_divide or O_right_shift of O_subtract and O_constant. (eh_frame_estimate_size_before_relax): Always divide by ca. (eh_frame_convert_frag): Likewise. * dw2gencfi.c (output_cfi_insn): Scale DW_CFA_advance_loc1, DW_CFA_advance_loc2 and DW_CFA_advance_loc4 outputs.
2008-11-28 * aoutx.h (NAME): Add case statements for bfd_mach_mips14000,Thiemo Seufer13-1/+56
bfd_mach_mips16000. * archures.c (bfd_architecture): Add .#defines for bfd_mach_mips14000, bfd_mach_mips16000. * bfd-in2.h: Regenerate. * cpu-mips.c: Add enums I_mips14000, I_mips16000. (arch_info_struct): Add refs to R14000, R16000. * elfxx-mips.c (mips_set_isa_flags): Handle bfd_mach_mips14000, bfd_mach_mips16000. (mips_mach_extensions): Map R14000, R16000 to R10000. * config/tc-mips.c (hilo_interlocks): Handle CPU_R14000, CPU_R16000. (mips_cpu_info_table): Add r14000, r16000. * doc/c-mips.texi: Add entries for 14000, 16000. * mips-dis.c (mips_arch_choices): Add r14000, r16000. * mips.h: Define CPU_R14000, CPU_R16000. (OPCODE_IS_MEMBER): Include R14000, R16000 in test.
2008-11-28*** empty log message ***gdbadmin1-1/+1
2008-11-28daily updateAlan Modra1-1/+1
2008-11-27Merge from GCC:Joseph Myers3-17/+37
2008-11-21 Kai Tietz <kai.tietz@onevision.com> Fix PR/25502 * mh-mingw (BOOT_CFLAGS): Add -Wno-pedantic-ms-format switch. 2008-11-12 Steve Ellcey <sje@cup.hp.com> PR target/27880 * unwind_ipinfo.m4 (GCC_CHECK_UNWIND_GETIPINFO): Change from link test to target based test.
2008-11-27 Merge from GCC:Joseph Myers7-63/+2698
2007-12-02 Matthias Klose <doko@ubuntu.com> * config-ml.in: Remove 64bit configure tests. 2008-05-14 Rafael Espindola <espindola@google.com> * config-ml.in: don't handle --enable-shared and --enable-static. 2008-09-02 Sebastian Pop <sebastian.pop@amd.com> Tobias Grosser <grosser@fim.uni-passau.de> Jan Sjodin <jan.sjodin@amd.com> Harsha Jagasia <harsha.jagasia@amd.com> Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> Konrad Trifunovic <konrad.trifunovic@inria.fr> Adrien Eliche <aeliche@isty.uvsq.fr> Merge from graphite branch. * configure: Regenerate. * Makefile.in: Regenerate. * configure.ac (host_libs): Add ppl and cloog. Add checks for PPL and CLooG. * Makefile.def (ppl, cloog): Added modules and dependences. * Makefile.tpl (PPLLIBS, PPLINC, CLOOGLIBS, CLOOGINC): New. (HOST_PPLLIBS, HOST_PPLINC, HOST_CLOOGLIBS, HOST_CLOOGINC): New. 2008-09-03 Richard Guenther <rguenther@suse.de> * configure.ac: Always pass -DCLOOG_PPL_BACKEND to the cloog test. * configure: Re-generate. 2008-09-03 Sebastian Pop <sebastian.pop@amd.com> * configure.ac (--with-cloog-polylib): New. (--disable-cloog-version-check): New. (--disable-ppl-version-check): New. * configure: Re-generate. 2008-09-05 Richard Guenther <rguenther@suse.de> * configure.ac: Initialize clooglibs to -lcloog. * configure: Re-generate. 2008-10-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * configure.ac (MPFR check): Bump minimum version to 2.3.0 and recommended version to 2.3.2. * configure: Regenerate. 2008-10-31 Ben Elliston <bje@au.ibm.com> * configure.ac (spu-*-*): Remove special case. * configure: Regenerate. Complete comment text from GCC version of: 2008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com> * configure.ac (RPATH_ENVVAR): Use PATH on Windows. (GCC_SHLIB_SUBDIR): New. * Makefile.tpl (HOST_LIB_PATH_gcc): Use GCC_SHLIB_SUBDIR. * configure: Regenerate. * Makefile.in: Regenerate.
2008-11-272008-11-27 Tristan Gingold <gingold@adacore.com>Tristan Gingold3-2/+15
* configure.ac: Build gdb for i?86-*-darwin* * configure: Regenerated.
2008-11-27 * emultempl/cr16elf.em (cr16_after_open): New function to handleM R Swami Reddy4-0/+126
CR16 ELF embedded reloc creation (ld --embedded-relocs). (check_sections): New function. (LDEMUL_AFTER_OPEN): Define. * emulparams/elf32cr16.sh (EMBEDDED): Define. * NEWS: Add comment on cr16 new feature.
2008-11-27 * Add PIC support for CR16 target.M R Swami Reddy6-112/+1665
* elf32-cr16.c (R_CR16_GOT_REGREL20, R_CR16_GOTC_REGREL20 and R_CR16_GLOB_DAT): New macros (cr16_elf_howto_table): Add entries for for R_CR16_GOT_REGREL20, R_CR16_GOTC_REGREL20 and R_CR16_GLOB_DAT. (cr16_reloc_map): Ditto (_bfd_cr16_elf_create_got_section): New function to create GOT section. (_bfd_cr16_elf_create_dynamic_sections): New function to create dynamic section. (_bfd_cr16_elf_adjust_dynamic_symbol): New function to adjust symbol defined by dynamic object. (_bfd_cr16_elf_size_dynamic_sections): New function to find the size of dynamic section. (_bfd_cr16_elf_finish_dynamic_symbol): New function to handle dynamic symbols. (_bfd_cr16_elf_finish_dynamic_symbol): New function to handle dynamic sections. (bfd_cr16_elf32_create_embedded_relocs): New function to create embedded relocs in .emreloc section in memory for .data.rel section. (_bfd_cr16_elf_reloc_type_class): New function for classify reloc types. (cr16_elf_check_relocs): New function for checking reloc types in first phase. (cr16_elf_final_link_relocate): Update for handling the new reloc types R_CR16_GOT_REGREL20 and R_CR16_GOTC_REGREL20. (elf32_cr16_relax_section): Update relax implementation. * reloc.c (bfd_reloc_code_type): Add entries for R_CR16_GOT_REGREL20, R_CR16_GOTC_REGREL20 and R_CR16_GLOB_DAT. * bfd-in.h (bfd_boolean bfd_cr16_elf32_create_embedded_relocs): Declared * libbfd.h, bfd-in2.h: Regenerate.
2008-11-27 *c-cr16.texi (cr16-operand specifiers): Add got/GOT and cgot/cGOT.M R Swami Reddy1-0/+12
2008-11-27 * config/tc-cr16.h (GLOBAL_OFFSET_TABLE_NAME): DefinedM R Swami Reddy3-9/+123
* config/tc-cr16.c (md_pseudo_table): Add "4byte" directive to md_pseudo_table and accept @c prefix, same as long directive. (cr16_cons_fix_new): Initialize rtype to BFD_RELOC_UNUSED. config/tc-cr16.c (tc_gen_reloc): Declare a variable of type bfd_reloc_code_real_type and set it for GOT related relocations. (md_undefined_symbol): Defined (process_label_constant): Added checks for GOT/got and cGOT/cGOT prefixes with constant label and set the appropriate relocation type. * doc/c-cr16.texi (cr16-operand specifiers): Add got/GOT and cgot/cGOT.
2008-11-27 * gas/cr16/pic-1.s: New.M R Swami Reddy6-0/+96
* gas/cr16/pic-1.d: New. * gas/cr16/pic-2.s: New. * gas/cr16/pic-2.d: New. * gas/cr16/pic.exp: Run pic tests.
2008-11-27 * cr16.h (R_CR16_GOT_REGREL20, R_CR16_GOTC_REGREL20 andM R Swami Reddy2-0/+8
R_CR16_GLOB_DAT): New relocations.
2008-11-27 * cr16-dis.c (match_opcode): Truncate mcode to 32 bit andM R Swami Reddy2-1/+10
adjusted the mask for 32-bit branch instruction.