aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-02-11Add support for configuring *-*-kaos targets.Nick Clifton7-250/+290
2003-02-11 * elf64-ppc.c (ppc64_elf_check_relocs): Match versionedAlan Modra2-1/+22
.__tls_get_addr too. (ppc64_elf_tls_setup): Ensure cached tls_get_addr is not indirect.
2003-02-11 * hppaelf.em (group_size): Change default back to 1.Dave Anglin2-1/+5
2003-02-11*** empty log message ***gdbadmin1-1/+1
2003-02-10daily updateAlan Modra1-1/+1
2003-02-10 * ld-sh/tlstpoff-1.d: New.Kaz Kojima5-0/+99
* ld-sh/tlstpoff-2.d: New. * ld-sh/tlstpoff1.s: New. * ld-sh/tlstpoff2.s: New.
2003-02-10 * elf32-sh.c (elf_sh_dyn_relocs): Add tls_tpoff32 field.Kaz Kojima2-14/+50
(elf_sh_link_hash_entry): Remove tls_tpoff32 field. (sh_elf_link_hash_newfunc): Remove the initialization of tls_tpoff32 field. (allocate_dynrelocs): Keep dyn_relocs if it includes the entry for which tls_tpoff32 flag is set. (sh_elf_relocate_section): Covert to LE only if the dyn_relocs of the symbol includes the entry matched with the input_section and having tls_tpoff32 flag on. When linking statically, set symbol index of R_SH_TLS_TPOFF32 relocation to zero if the symbol is defined in this executable. (sh_elf_check_relocs): Set tls_tpoff32 flag appropriately.
2003-02-10 * elf32-s390.c (elf_s390_size_dynamic_sections): Set relocs to TRUEJakub Jelinek2-2/+7
even if there is just non-empty .rela.plt.
2003-02-10* dwarf2cfi.c: Reindented.Michal Ludvig2-34/+71
2003-02-10Add function to set machine number based on flags in header.Nick Clifton2-2/+20
2003-02-10Add support for marking ARM ELF binaries as support the Cirrus EP9312 MaverickNick Clifton11-5/+68
floating point co-processor.
2003-02-10*** empty log message ***gdbadmin1-1/+1
2003-02-09 * elf64-ppc.c: Rename assorted occurrences of tls_type and similarAlan Modra2-62/+81
variables, structure fields or function params to tls_mask or similar to better reflect usage. (struct got_entry): Comment. (struct ppc_link_hash_entry): Expand comment, and renumber TLS_*. (get_tls_mask): Rename from get_tls_type.
2003-02-09daily updateAlan Modra1-1/+1
2003-02-092003-02-09 Andrew Cagney <ac131313@redhat.com>Andrew Cagney4-2/+12
* interps.c (clear_interpreter_hooks): Convert function definition to ISO C. Index: mi/ChangeLog 2003-02-09 Andrew Cagney <ac131313@redhat.com> * mi-interp.c (mi_remove_notify_hooks): Convert function definition to ISO C.
2003-02-09 * ld-powerpc/tlslib.s: Give .__tls_get_addr function type.Alan Modra10-236/+307
* ld-powerpc/tlsexe.d: Update for changed handling of (invalid) ld var in dynamic lib. * ld-powerpc/tlsexe.g: Likewise. * ld-powerpc/tlsexe.r: Likewise. * ld-powerpc/tlsexe.t: Likewise. * ld-powerpc/tlsexetoc.d: Likewise. * ld-powerpc/tlsexetoc.g: Likewise. * ld-powerpc/tlsexetoc.r: Likewise. * ld-powerpc/tlsexetoc.t: Likewise.
2003-02-09 * emultempl/ppc64elf.em: Add "no-tls-optimize" option and support code.Alan Modra2-16/+32
2003-02-09 * elf64-ppc.c (TLS_GD_LD): Don't define..Alan Modra3-223/+359
(TLS_GD): ..define this instead and update all uses. (TLS_TPRELGD): Define. (ppc64_elf_link_hash_table_create): Tweak initialization of init_refcount and init_offset. (ppc64_elf_check_relocs): Add one extra element to t_symndx array. Mark second slot of GD or LD toc entries. (get_tls_type): Return an int. Distinguish toc GD and LD entries from other tls types. (ppc64_elf_tls_setup): New function, split out from.. (ppc64_elf_tls_optimize): ..here. Don't optimize when symbols are defined in a dynamic object. Fix LD optimization. Don't set TLS_TPREL on GD->IE optimization, use TLS_TPRELGD instead. Use get_tls_type return value to properly decide whether toc GD and LD entries can optimize away __tls_get_addr call. Check next reloc after DTPMOD64 to determine GD or LD rather than looking at TLS_LD flag. Don't attempt to adjust got entry tls_type here.. (allocate_dynrelocs): ..instead, adjust got entry tls_type here, and look for possible merges. (ppc64_elf_size_dynamic_sections): Adjust local got entries for optimization. (ppc64_elf_size_stubs): Tweak __tls_get_addr fudge. (ppc64_elf_relocate_section): Rename some vars to better reflect usage. Make use of return value from get_tls_type to properly detect GD and LD optimizations. Split tlsld/gd hi/ha from lo/ds case. Don't handle tls_get_addr removal when looking at REL24 relocs, do it when looking at the previous reloc. Check reloc after DTPMOD64 to determine GD or LD. * elf64-ppc.h (ppc64_elf_tls_setup): Declare.
2003-02-09*** empty log message ***gdbadmin1-1/+1
2003-02-08daily updateAlan Modra1-1/+1
2003-02-08gas/Richard Sandiford8-83/+220
* config/tc-mips.c (reloc_needs_lo_p): New function. (fixup_has_matching_lo_p): New function. (append_insn): Use reloc_needs_lo_p to check whether a relocation might need a matching %lo(). Reuse the head of mips_hi_fixup_list if that fixup already has a matching %lo(). Don't call frag_wane here. (macro): Call frag_wane here if the last unmatched hi was in the current frag. (pic_need_relax): New function, split out from... (md_estimate_size_before_relax): ...here. (mips_frob_file): Use reloc_needs_lo_p. Use pic_need_relax to test whether BFD_RELOC_MIPS_GOT16 fixups refer to global symbols. gas/testsuite/ * gas/mips/rel12.[sd], gas/mips/rel13.[sd]: New tests. * gas/mips/mips.exp: Run them.
2003-02-08 * elf32-hppa.c (group_sections): Don't share a stub section ifAlan Modra2-2/+11
stubs are for a large section.
2003-02-08 * elf32-hppa.c (elf32_hppa_size_stubs): Double the size left forAlan Modra2-16/+31
stubs if !stubs_always_before_branch.
2003-02-082003-02-07 David Carlton <carlton@math.stanford.edu>David Carlton2-1/+6
* gdb_mbuild.sh: Delete extra shift after parsing '-f'.
2003-02-08*** empty log message ***gdbadmin1-1/+1
2003-02-07daily updateAlan Modra1-1/+1
2003-02-07Move ``length'' from struct main_type to struct type.Kevin Buettner3-31/+60
2003-02-07 * hppaelf.em (group_size): Change default to -1.Dave Anglin2-1/+5
2003-02-07Add duplicate entry for no-pipeline-knowledge. This will prevent the getoptNick Clifton2-6/+14
package from thinking that there are any shorter abbreviations for --no-pipeline-knowledge.
2003-02-07 * config/tc-mips.c (my_getSmallExpression): Rework bracket handling.Richard Sandiford6-23/+66
testsuite/ * gas/mips/expr1.[sd]: New test. * gas/mips/mips.exp: Run it.
2003-02-07Generate an error message if a section cannot be found for a symbol.Nick Clifton2-3/+19
2003-02-07 * genscripts.sh (LIB_PATH): Don't append LIBPATH_SUFFIX to pathsJakub Jelinek2-7/+29
which already have it. Avoid duplicates.
2003-02-07 * elf64-alpha.c (elf64_alpha_relax_section): Don't crash ifJakub Jelinek2-1/+12
local_got_entries is NULL.
2003-02-072003-02-07 Andrew Cagney <ac131313@redhat.com>Andrew Cagney4-5/+11
* sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of <sys/stat.h>. * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
2003-02-072003-02-06 Andrew Cagney <ac131313@redhat.com>Andrew Cagney9-29/+48
* Makefile.in (symm-nat.o): Update dependencies. (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto. (lynx-nat.o, ia64-linux-nat.): Ditto. * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include "gdb_wait.h" instead of <wait.h> or <sys/wait.h>. * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
2003-02-072003-02-06 Andrew Cagney <ac131313@redhat.com>Andrew Cagney6-24/+69
* Makefile.in (inflow_h): Define. (procfs.o, inflow.o, procfs.o): Update dependencies. * inftarg.c (child_stop): Delete extern declaration of inferior_process_group. Include "inflow.h". * procfs.c (procfs_stop): Ditto. Include "inflow.h". * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ... * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file. (our_process_group, inferior_process_group): Extern declarations.
2003-02-072003-02-06 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-0/+3
* procfs.c: Include "gdb_assert.h".
2003-02-072003-02-06 Andrew Cagney <ac131313@redhat.com>Andrew Cagney13-23/+47
* linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>. * cp-valprint.c (cp_print_value_fields): Eliminate STREQN. * jv-typeprint.c (java_type_print_base): Ditto. * typeprint.c (typedef_print): Eliminate STREQ. * cli/cli-script.c (define_command, define_command): Ditto. * main.c (captured_main): Ditto. * values.c (lookup_internalvar): Ditto. * utils.c (safe_strerror, parse_escape): Eliminate assignment within `if' conditional. * linespec.c (decode_line_2): Ditto. * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto. (bfd_openw_with_cleanup): Ditto. Index: mi/ChangeLog 2003-02-06 Andrew Cagney <ac131313@redhat.com> * mi-cmd-env.c: Include "gdb_stat.h" instead of <sys/stat.h>.
2003-02-07*** empty log message ***gdbadmin1-1/+1
2003-02-06* x86-64-tdep.c (x86_64_init_abi): Set extract_return_value toMark Kettenis2-2/+8
legacy_extract_return_value and store_return_value to legacy_return_value.
2003-02-06 * elf-eh-frame.c (get_DW_EH_PE_signed): Define.Andreas Schwab2-9/+43
(read_value): Add parameter is_signed, use signed extraction if the value is signed. (_bfd_elf_write_section_eh_frame): Pass signed flag of the encoding to read_value.
2003-02-06daily updateAlan Modra1-1/+1
2003-02-06whitespace cleanupChristopher Faylor2-10/+10
2003-02-06Source Navigator is now on sourceforge...Keith Seitz6-303/+92
* Makefile.def: Remove "snavigator", "grep", and "db" modules. * Makefile.tpl: Remove "all-snavigator" and "all-grep". * Makefile.in: Regenerated. * configure.in: Remove all traces of snavigator, db, and grep. * configure: Regenerated.
2003-02-06* win32-nat.c (get_relocated_section_addrs): New function. Find section loadChristopher Faylor3-10/+198
addresses for symbol handling in relocated DLLs. (solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
2003-02-062003-02-06 Jason Molenda (jason-cl@molenda.com)Jason Molenda2-0/+9
* gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining why the code is written that way.
2003-02-06Checked in as obvious fixes. Also updated FSF copyright year to 2003Fred Fish4-7/+18
for remote-e7000.c and infttrace.c. 2003-02-05 Fred Fish <fnf@intrinsity.com> * remote-e7000.c (e7000_drain_command): Fix precedence problem with '=' and '!='. * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem with '&' and '=='. (angel_RDI_info): Ditto. * infttrace.c (threads_continue_all_but_one): Fix precedence problem with '&' and '!='. (threads_continue_all_with_signals): Ditto.
2003-02-06 * emulparams/elf64_s390.sh (LIBPATH_SUFFIX): Set to 64.Jakub Jelinek4-4/+10
* emulparams/elf_x86_64.sh (LIBPATH_SUFFIX): Likewise. * emulparams/elf64_sparc.sh (LIBPATH_SUFFIX): Set instead of suffix.
2003-02-06Commit Sh2E additionNick Clifton2-24/+32
2003-02-062003-02-05 Michael Chastain <mec@shout.net>Michael Chastain2-0/+5
* gdb.base/dump.exp: Add missing copyright line.