Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2008-11-26 | include/ | Alan Modra | 10 | -89/+127 | |
PR 7047 * bfdlink.h (struct bfd_elf_version_expr): Delete "symbol". Add "literal". bfd/ PR 7047 * configure.in: Bump version. * configure: Regenerate. * elflink.c (_bfd_elf_link_assign_sym_version): Continue matching against version nodes when a global match is a wildcard. Similarly continue matching on local wildcard matches, rather than only continuing for "*". Have any global wildcard match override a local wildcard match. Correct logic hiding unversioned symbol. (bfd_elf_size_dynamic_sections): Update for changes to struct bfd_elf_version_expr. ld/ PR 7047 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Update for changes to struct bfd_elf_version_expr. * ldlang.c (lang_vers_match, version_expr_head_hash): Likewise. (version_expr_head_eq, lang_finalize_version_expr_head): Likewise. (lang_register_vers_node): Likewise. (lang_new_vers_pattern): Likewise. Ensure "literal" is set when no glob chars found in "pattern". (realsymbol): Correct backslash quote logic. * ld.texinfo (VERSION): Warn about global wildcards. | |||||
2008-11-26 | daily update | Alan Modra | 1 | -1/+1 | |
2008-11-26 | *** empty log message *** | gdbadmin | 1 | -1/+1 | |
2008-11-25 | * config/tc-m32c.c (md_convert_frag): Fix ADJNZ reloc math. | DJ Delorie | 2 | -4/+8 | |
2008-11-25 | * configure.in: Deactivate large-file support on native x86-solaris | Joel Brobecker | 3 | -6/+14 | |
as well unless the user explicitly requested it. * configure: Regenerate. | |||||
2008-11-25 | bfd: | Joseph Myers | 6 | -2/+34 | |
* elf32-arm.c (elf32_arm_final_link_relocate): Do not turn branches to undefine weak symbols into branches to the next instruction if creating PLT entries for those symbols. ld/testsuite: * ld-arm/thumb2-bl-undefweak.d, ld-arm/thumb2-bl-undefweak.s: New. * ld-arm/arm-elf.exp: Run thumb2-bl-undefweak test. | |||||
2008-11-25 | * elflink.c (is_reloc_section): New function. Returns true if the | Nick Clifton | 23 | -727/+289 | |
given name matches the name of the reloc-containing section associated with the given section. (get_dynamic_reloc_section_name): New function. Computes the name of the section that contains the dynamic relocs associated with the given section. (_bfd_elf_get_dynamic_reloc_section): New function. Returns a pointer to the section containing the dynamic relocs associated with the given section. (_bfd_elf_make_dynamic_reloc_section): New function. Creates a section to contain the dynamic relocs associated with a given section. * elf-bfd.h: Prototype the new functions. * elf-m10300.c (mn10300_elf_check_relocs): Use new functions. (mn10300_elf_final_link_relocs): Likewise. * elf32-arm.c (reloc_section_p): Delete - replaced by new functions. (elf32_arm_final_link_relocate): Use new functions. (elf32_arm_check_relocs): Likewise. * elf32-cris.c (cris_elf_relocate_section): Likewise. (elf_cris_check_relocs): Likewise. * elf32-hppa.c (elf32_hppa_check_relocs): Likewise. * elf32-i370.c (i370_elf_check_relocs): Likewise. (i370_elf_relocate_section): Likewise. * elf32-i386.c (elf_i386_check_relocs): Likewise. * elf32-m32r.c (m32r_elf_relocate_section): Likewise. (m32r_elf_check_relocs): Likewise. * elf32-m68k.c (elf_m68k_check_relocs): Likewise. * elf32_ppc.c (ppc_elf_check_relocs): Likewise. (ppc_elf_relocate_section): Likewise. * elf32-s390.c (elf_s390_check_relocs): Likewise. * elf32-sh.c (sh_elf_relocate_section): Likewise. (sh_elf_check_relocs): Likewise. * elf32-vax.c (elf_vax_check_relocs): Likewise. (elf_vax_relocate_section): Likewise. * elf64-alpha.c (elf64_alpha_check_relocs): Likewise. * elf64-ppc.c (ppc64_elf_check_relocs): Likewise. * elf64-s390.c (elf_s390_check_relocs): Likewise. * elf64-sh64.c (sh_elf64_relocate_section): Likewise. * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise. * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise. * elf32-bfin.c (bfin_check_relocs): Remove redundant local variable 'sreloc'. (bfin_relocate_section): Likewise. * elf32-v850.c (v850_elf_check_relocs): Likewise. | |||||
2008-11-25 | * m68k-dis.c: Rewrite to remove use of setjmp/longjmp. | Nick Clifton | 2 | -168/+252 | |
2008-11-25 | PR7044 | Nick Clifton | 3 | -5/+15 | |
* dlltool.c (run): Use formatting string to avoid compile time warning. (gen_exp_file): Check return value from fread. * windmc.c (main): Check return value from fread. | |||||
2008-11-25 | * ld-cris/got7.s, ld-cris/init.s, ld-cris/pic-gc-72.d, | Hans-Peter Nilsson | 137 | -0/+3464 | |
ld-cris/pic-gc-72.s, ld-cris/pic-gc-73.d, ld-cris/pic-gc-73.s, ld-cris/tls-dso-x1x2-1.d, ld-cris/tls-dso-xz-1.d, ld-cris/tls-dtprelm.s, ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d, ld-cris/tls-e-22.d, ld-cris/tls-e-23.d, ld-cris/tls-e-66.d, ld-cris/tls-err-20x.d, ld-cris/tls-err-24.d, ld-cris/tls-err-25.d, ld-cris/tls-err-26.d, ld-cris/tls-err-27.d, ld-cris/tls-err-28.d, ld-cris/tls-err-29.d, ld-cris/tls-err-31.d, ld-cris/tls-err-33.d, ld-cris/tls-err-35.d, ld-cris/tls-err-37.d, ld-cris/tls-err-39.d, ld-cris/tls-err-40.d, ld-cris/tls-err-41.d, ld-cris/tls-err-43.d, ld-cris/tls-err-44.d, ld-cris/tls-err-45.d, ld-cris/tls-err-47.d, ld-cris/tls-err-48.d, ld-cris/tls-err-49.d, ld-cris/tls-err-51.d, ld-cris/tls-err-52.d, ld-cris/tls-err-53.d, ld-cris/tls-err-55.d, ld-cris/tls-err-55.s, ld-cris/tls-err-56.d, ld-cris/tls-err-56.s, ld-cris/tls-err-62.d, ld-cris/tls-err-62.s, ld-cris/tls-err-65.d, ld-cris/tls-err-67.d, ld-cris/tls-gc-68.d, ld-cris/tls-gc-69.d, ld-cris/tls-gc-70.d, ld-cris/tls-gc-71.d, ld-cris/tls-gc-71.s, ld-cris/tls-gc-75.d, ld-cris/tls-gc-76.d, ld-cris/tls-gc-76.s, ld-cris/tls-gd-1.d, ld-cris/tls-gd-1.s, ld-cris/tls-gd-1h.d, ld-cris/tls-gd-2.d, ld-cris/tls-gd-2.s, ld-cris/tls-gd-2h.d, ld-cris/tls-gd-3.d, ld-cris/tls-gd-3.s, ld-cris/tls-gd-3h.d, ld-cris/tls-gdgotrelm.s, ld-cris/tls-global-74.d, ld-cris/tls-gottprelm.s, ld-cris/tls-hx.s, ld-cris/tls-hx1x2.s, ld-cris/tls-ie-10.d, ld-cris/tls-ie-10.s, ld-cris/tls-ie-11.d, ld-cris/tls-ie-11.s, ld-cris/tls-ie-8.d, ld-cris/tls-ie-8.s, ld-cris/tls-ie-9.d, ld-cris/tls-ie-9.s, ld-cris/tls-ld-4.d, ld-cris/tls-ld-4.s, ld-cris/tls-ld-5.d, ld-cris/tls-ld-5.s, ld-cris/tls-ld-6.d, ld-cris/tls-ld-6.s, ld-cris/tls-ld-7.d, ld-cris/tls-ld-7.s, ld-cris/tls-ldgd-14.d, ld-cris/tls-ldgd-14.s, ld-cris/tls-ldgd-15.d, ld-cris/tls-ldgd-15.s, ld-cris/tls-ldgde-14.d, ld-cris/tls-ldgde-15.d, ld-cris/tls-ldgdex-14.d, ld-cris/tls-ldgdex-15.d, ld-cris/tls-ldgdx-14.d, ld-cris/tls-ldgdx-15.d, ld-cris/tls-le-12.d, ld-cris/tls-le-12.s, ld-cris/tls-le-12s.d, ld-cris/tls-le-12s.s, ld-cris/tls-le-13.d, ld-cris/tls-le-13.s, ld-cris/tls-le-13s.d, ld-cris/tls-le-13s.s, ld-cris/tls-legd-16.d, ld-cris/tls-legd-16.s, ld-cris/tls-legd-17.d, ld-cris/tls-legdx-16.d, ld-cris/tls-legdx-17.d, ld-cris/tls-leie-18.d, ld-cris/tls-leie-19.d, ld-cris/tls-leie-19.s, ld-cris/tls-local-54.d, ld-cris/tls-local-54.s, ld-cris/tls-local-57.d, ld-cris/tls-local-57.s, ld-cris/tls-local-58.d, ld-cris/tls-local-58.s, ld-cris/tls-local-59.d, ld-cris/tls-local-59.s, ld-cris/tls-local-60.d, ld-cris/tls-local-61.d, ld-cris/tls-local-63.d, ld-cris/tls-local-64.d, ld-cris/tls-ok-30.d, ld-cris/tls-ok-32.d, ld-cris/tls-ok-34.d, ld-cris/tls-ok-36.d, ld-cris/tls-tprelm.s, ld-cris/tls-und-38.d, ld-cris/tls-und-42.d, ld-cris/tls-und-46.d, ld-cris/tls-und-50.d, ld-cris/tls-x.s, ld-cris/tls-x1x2.s, ld-cris/tls-z.s, ld-cris/tls128.s, ld-cris/tls128g.s: New tests. | |||||
2008-11-25 | Implement TLS for CRIS. | Hans-Peter Nilsson | 2 | -72/+905 | |
* elf32-cris.c: Include limits.h. (TLSHOWTO16): Redefine in terms of and move contents to... (TLSHOWTO16X): New macro. (TLSHOWTO16S, LGOT_REG_NDX, LGOT_DTP_NDX, LGOT_ALLOC_NELTS_FOR) (elf_cris_hash_entry): New macros. (cris_elf_howto_table): Make R_CRIS_16_DTPREL, R_CRIS_16_GOT_TPREL, R_CRIS_16_TPREL check overflow for signed, not unsigned values. (cris_info_to_howto_rela): Make r_type a enum elf_cris_reloc_type, not unsigned int. (struct elf_cris_link_hash_entry): New members reg_got_refcount, tprel_refcount, and dtp_refcount. (struct elf_cris_link_hash_table): New member dtpmod_refcount. (elf_cris_link_hash_newfunc): Initialize new members. (elf_cris_link_hash_table_create): Similar. (cris_final_link_relocate, elf_cris_reloc_type_class): Use a temporary variable when testing the relocation type. (cris_elf_gc_mark_hook): Ditto. Add default case where needed. (cris_elf_gc_sweep_hook): Ditto. Handle reference-counting for the new assembly-generated relocs. Rewrite refcount handling to set temporary variables to pointers to reloc-specific variables and entry size and common code for the update. (additional_relocation_error_msg_count): New variable. (cris_elf_relocate_section): Use a function-local variable srelgot for the .rela.got section instead of looking it up for every need. Make r_type a enum elf_cris_reloc_type, not int. Actually set symname for non-local symbols. Handle new assembly-generated relocs. For overflow, emit additional messages for the new 16-bit relocs as well as R_CRIS_16_GOTPLT and R_CRIS_16_GOT. (elf_cris_finish_dynamic_symbol): Use elf_cris_finish_dynamic_symbol instead of plain casts. Check new hash entry member reg_got_refcount when checking whether to emit a GOT entry. (elf_cris_finish_dynamic_sections): Update head comment to warn about emitting relocs here. Use a temporary variable when testing the relocation type. (elf_cris_discard_excess_program_dynamics) (elf_cris_adjust_gotplt_to_got): Handle reference counting change regarding h->reg_got_refcount. (cris_elf_check_relocs): Rewrite refcount handling to set temporary variables and entry size and common code for the update for local symbols. Use new macro elf_cris_hash_entry. Adjust allocation for change in reference counting of GOT entries for local symbols. (elf_cris_size_dynamic_sections): Adjust calculated size of .got.plt and .rela.got if we need a GOT entry for a R_CRIS_DTPMOD relocation. (elf_cris_got_elt_size): New function. (elf_backend_got_elt_size): Define. | |||||
2008-11-25 | * cris.h (R_CRIS_32_TPREL): Correct comment. | Hans-Peter Nilsson | 2 | -5/+9 | |
(R_CRIS_DTPMOD): Open up for use elsewhere than the fourth GOT entry. | |||||
2008-11-25 | * ld-cris/start1.s: Prepend register name with $. | Hans-Peter Nilsson | 8 | -7/+15 | |
* ld-cris/dso-1.s, ld-cris/libdso-1.d, ld-cris/libdso-11.d, ld-cris/libdso-2.d, ld-cris/pv32.s, ld-cris/undef1.d: Correct .size expressions and adjust expected output accordingly. | |||||
2008-11-25 | *** empty log message *** | gdbadmin | 1 | -1/+1 | |
2008-11-25 | daily update | Alan Modra | 1 | -1/+1 | |
2008-11-24 | * ada-lang.c (value_from_contents_and_address): Move... | Tom Tromey | 5 | -24/+32 | |
* value.c: ... here. * ada-lang.h (value_from_contents_and_address): Move declaration... * value.h: ... here. | |||||
2008-11-24 | * Makefile.in (VERSION,DIST,LINT,LINTFLAGS): Delete, unused. | Doug Evans | 2 | -7/+4 | |
2008-11-24 | 2008-11-24 Paul Pluzhnikov <ppluzhnikov@google.com> | Tom Tromey | 2 | -4/+9 | |
* valprint.c (val_print_array_elements): Pass correct element address to val_print. | |||||
2008-11-24 | * server.c (handle_v_run): Always use the supplied argument list. | Daniel Jacobowitz | 2 | -16/+15 | |
2008-11-24 | Fix access of an already freed memory. | Jan Kratochvil | 3 | -1/+13 | |
* parse.c (parse_field_expression): Call xstrdup on `*name'. * completer.c (expression_completer): Free fieldname. | |||||
2008-11-24 | PR gdb/2474 | Daniel Jacobowitz | 2 | -6/+50 | |
* remote.c (remote_read_description_p): New function. (remote_start_remote): Try to fetch the target description before adding shared libraries. Try again later if the target is running but stopped. (remote_open_1): Mark extended targets as exited by default. (remote_read_description): Check target_has_execution. | |||||
2008-11-24 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind_cache): Use | Jerome Guitton | 2 | -1/+7 | |
the frame address in block instead of the return address to locate the mdebug PDR of the frame. | |||||
2008-11-24 | * ldlang.c (lang_record_phdrs): Don't add orphans to PT_INTERP header. | Alan Modra | 2 | -0/+8 | |
2008-11-24 | Fix typo last change | Hans-Peter Nilsson | 1 | -1/+1 | |
2008-11-24 | daily update | Alan Modra | 1 | -1/+1 | |
2008-11-24 | *** empty log message *** | gdbadmin | 1 | -1/+1 | |
2008-11-23 | * ld-cris/badgotr1.d: Robustify regexp. | Hans-Peter Nilsson | 2 | -1/+5 | |
2008-11-23 | daily update | Alan Modra | 1 | -1/+1 | |
2008-11-23 | *** empty log message *** | gdbadmin | 1 | -1/+1 | |
2008-11-22 | * gdb.texinfo (M68K Features): Fix typo. | Vladimir Prus | 2 | -1/+5 | |
2008-11-22 | Remove the unused BPSTAT_WHAT_CHECK_SHLIBS_RESUME_FROM_HOOK. | Joel Brobecker | 4 | -31/+30 | |
* breakpoint.h (enum bpstat_what_main_action): Remove BPSTAT_WHAT_CHECK_SHLIBS_RESUME_FROM_HOOK. * breakpoint.c (bpstat_what): Delete catch_shlib_event from enum class. Remove the BPSTAT_WHAT_CHECK_SHLIBS_RESUME_FROM_HOOK column from variable table. * infrun.c (wait_for_inferior): Remove handling of BPSTAT_WHAT_CHECK_SHLIBS_RESUME_FROM_HOOK. | |||||
2008-11-22 | *** empty log message *** | gdbadmin | 1 | -1/+1 | |
2008-11-22 | daily update | Alan Modra | 1 | -1/+1 | |
2008-11-21 | * configure: Rebuild. | Tom Tromey | 3 | -5212/+55 | |
* configure.ac: Merge calls to AC_CHECK_FUNCS, AC_CHECK_HEADERS, AC_CHECK_DECLS, and AC_CHECK_MEMBERS. | |||||
2008-11-21 | 2008-11-19 Sterling Augustine <sterling@tensilica.com> | Sterling Augustine | 2 | -1/+5 | |
* MAINTAINERS: Take over from Bob Wilson as Xtensa maintainer. | |||||
2008-11-21 | 2008-11-21 Sterling Augustine <sterling@tensilica.com> | Sterling Augustine | 7 | -5/+41 | |
* xtensa-isa.c (xtensa_state_is_shared_or): New function. 2008-11-21 Sterling Augustine <sterling@tensilica.com> * xtensa-isa-internal.h (XTENSA_STATE_IS_SHARED_OR): New flag. * xtensa-isa.h (xtensa_state_is_shared_or): New prototype. 2008-11-21 Sterling Augustine <sterling@tensilica.com> * config/tc-xtensa.c (check_t1_t2_reads_and_writes): Call xtensa_state_is_shared_or to allow multiple opcodes within a single FLIX bundle to write to these special states. | |||||
2008-11-21 | merge from gcc | DJ Delorie | 3 | -23/+18 | |
2008-11-21 | * python/python-internal.h (PyGILState_Ensure): New define. | Tom Tromey | 4 | -2/+67 | |
(PyGILState_Release): Likewise. (PyEval_InitThreads): Likewise. (PyThreadState_Swap): Likewise. (PyEval_InitThreads): Likewise. * python/python.c (_initialize_python): Initialize threads. Release GIL. (eval_python_from_control_command): Acquire GIL. (python_command): Likewise. * python/python-internal.h (make_cleanup_py_restore_gil): Declare. * python/python-utils.c (py_gil_restore): New function. (make_cleanup_py_restore_gil): Likewise. | |||||
2008-11-21 | (Chunk I forgot to commit on 2008-11-14). | Tristan Gingold | 3 | -18/+23 | |
2008-11-13 Tristan Gingold <gingold@adacore.com> * makefile.vms (OBJS): Update objects list. (CFLAGS): Update. (libiberty.olb): Remove alloca-conf.h dependency. * config.h-vms: Use new macro sets, use builtin alloca. | |||||
2008-11-21 | * elf-bfd.h (struct elf_backend_data): New member got_elt_size. | Hans-Peter Nilsson | 4 | -5/+46 | |
(_bfd_elf_default_got_elt_size): Declare. * elflink.c (struct alloc_got_off_arg): Replace member got_elt_size by new member info. (elf_gc_allocate_got_offsets): Adjust for calling bed->got_elt_size to get the element size instead of using a gofarg entry. (bfd_elf_gc_common_finalize_got_offsets): Similar. (_bfd_elf_default_got_elt_size): New function. * elfxx-target.h: New macro elf_backend_got_elt_size. (elfNN_bed): Use it. | |||||
2008-11-21 | *** empty log message *** | gdbadmin | 1 | -1/+1 | |
2008-11-21 | daily update | Alan Modra | 1 | -1/+1 | |
2008-11-20 | * frame.c (frame_debug_got_null_frame): Remove file arg. | Doug Evans | 2 | -8/+11 | |
All callers updated. | |||||
2008-11-20 | * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns | Andreas Schwab | 3 | -334/+348 | |
matching syscall entry point. * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow) (tcatch_vfork_then_child_follow): Likewise. Finish through vfork even if we stopped at the syscall trampoline. | |||||
2008-11-20 | * infrun.c (resume): If following a fork, also reset regcache, | Pedro Alves | 2 | -0/+11 | |
gdbarch and pc. | |||||
2008-11-20 | * printcmd.c (sym_info): Don't print the offset if it's zero. | Doug Evans | 4 | -18/+40 | |
* gdb.base/sepsymtab.exp: Update, old "info sym" format restored. | |||||
2008-11-20 | * infrun.c (resume): If following a fork, reread the current | Pedro Alves | 2 | -2/+11 | |
thread. Avoid dereferencing a possibly dangling pointer. | |||||
2008-11-20 | 2008-11-20 Tristan Gingold <gingold@adacore.com> | Tristan Gingold | 2 | -4/+6 | |
* bfdwin.c: Fix comment. | |||||
2008-11-20 | 2008-11-20 Tristan Gingold <gingold@adacore.com> | Tristan Gingold | 2 | -3/+7 | |
* bfd.c (is32bit): Use architecture information for non-ELF targets. | |||||
2008-11-20 | * elf32-ppc.c (allocate_dynrelocs): Always use tlsld_got for | Alan Modra | 2 | -39/+50 | |
TLS_LD even when symbol is used with other TLS reloc types. (ppc_elf_relocate_section): Bypass symbol checks when using tlsld_got. Leave addend zero on LD DTPMOD dynamic reloc. |