Alan Modra
e59b4d067a
daily update
2002-07-10 00:00:04 +00:00
Alan Modra
699cb9b870
* merge.c (_bfd_merge_section): Remove redundant output_section check.
...
Formatting.
(_bfd_merge_sections): Don't set SEC_EXCLUDE on unused sections.
2002-07-09 23:47:22 +00:00
Joel Brobecker
f15f768ee5
Define HAVE_SYS_PROC_H if sys/proc.h exists
...
* configure.in: Add check for sys/proc.h
* config.in: Regenerate.
* configure: Regenerate.
2002-07-09 22:59:36 +00:00
Grace Sainsbury
902a713992
2002-07-09 Grace Sainsbury <graces@redhat.com>
...
* config/m68k/tm-m68k.h: Remove macros wrapped in
#if !GDB_MULTI_ARCH.
2002-07-09 19:48:40 +00:00
David O'Brien
82e0fd9831
2002-07-09 David O'Brien <obrien@FreeBSD.org>
...
* gdbserver/gdbreplay.c (stdlib.h, unistd.h): Conditionaly include.
(perror_with_name, remote_close, remote_open, expect, play): Static.
2002-07-09 17:38:58 +00:00
Don Howard
a71ec26521
2002-07-09 Don Howard <dhoward@redhat.com>
...
* gdb.texinfo (Command Files): Further describe the behavior of
sourced command files.
2002-07-09 15:59:18 +00:00
Thiemo Seufer
aec421e08b
* config/tc-mips.c (macro_build): Handle MIPS16 insns.
...
(mips_ip): Likewise.
* mips.h (INSN_MIPS16): New define.
* mips-dis.c (mips_isa_type): Add MIPS16 insn handling.
* mips-opc.c (I16): New define.
(mips_builtin_opcodes): Make jalx an I16 insn.
2002-07-09 14:21:40 +00:00
Andrew Cagney
a534e424ef
* config.in, configure: Regenerate.
2002-07-09 14:17:39 +00:00
Alan Modra
c66827056d
* config/tc-i386.c (md_pseudo_table <file>): Warning fix.
...
(BFD_RELOC_8, BFD_RELOC_8_PCREL): Define for non-BFD.
(md_apply_fix3): Formatting. Remove redundant test.
(tc_gen_reloc): Remove redundant code.
(tc_i386_force_relocation): Delete. Movy body of function to..
* config/tc-i386.h (TC_FORCE_RELOCATION): .. here.
2002-07-09 09:46:18 +00:00
Richard Sandiford
ad42262f8f
* ld-scripts/dynamic-sections*: New test.
2002-07-09 08:47:24 +00:00
Alan Modra
0d2ddeb220
* emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file.
2002-07-09 08:13:06 +00:00
Alan Modra
554690edf3
oops, forgot to commit.
2002-07-09 07:49:49 +00:00
Hans-Peter Nilsson
0a4787a081
* elf32-cris.c (cris_elf_relocate_section): Move sanity-check for
...
NULL sym_hashes to just before use.
<case R_CRIS_32_GOTREL>: In test for local symbol, accept also
symbol with non-default visibility.
<case R_CRIS_32_GOTREL, case R_CRIS_32_PLT_GOTREL>: Ditto.
<case R_CRIS_8_PCREL, case R_CRIS_16_PCREL, case R_CRIS_32_PCREL>:
Ditto.
(cris_elf_gc_sweep_hook): Only decrease h->plt.refcount for
symbol with non-default visibility.
(cris_elf_check_relocs): At tests for local symbol before
increasing h->plt.refcount, also check for non-default
visibility. Ditto when checking for local symbol to eliminate
pc-relative runtime relocs.
2002-07-09 03:49:27 +00:00
Hans-Peter Nilsson
57a4c58413
* ld-cris/libdso-3.d, ld-cris/dso-3.s, ld-cris/noglob1.s,
...
ld-cris/noglob1.d: New tests.
2002-07-09 03:46:49 +00:00
Alan Modra
c29ef4b56a
* configure.tgt: Add hppaobsd.o.
...
* Makefile.am: Add support for alpha-*-openbsd*, hppa-*-openbsd*,
powerpc-*-openbsd* and sparc64-*-openbsd*.
* Makefile.in: Regenerate.
* emulparams/hppaobsd.sh: New file.
2002-07-09 02:42:13 +00:00
Alan Modra
03111e8359
* configure.in: Add hppa-*-openbsd* target, change
...
alpha*-*-openbsd* format to elf, and use elf for sparc-*-openbsd*
with sparc64 cpu.
* configure: Regenerate.
2002-07-09 02:41:16 +00:00
Hans-Peter Nilsson
def7023cdf
Fix typo last change
2002-07-09 02:41:15 +00:00
DJ Delorie
2a9dffbf14
merge from gcc
2002-07-09 01:01:18 +00:00
Hans-Peter Nilsson
6030b50afa
* ld-cris/libdso-1.d: Tweak for change in size of dynamic sections.
2002-07-09 00:50:01 +00:00
Maciej W. Rozycki
78d32a179d
* config/tc-mips.c (macro): Shift the 32-bit address range
...
accessible with a lone "lui" down by 32768.
2002-07-09 00:42:57 +00:00
gdbadmin
f2f8f9957e
*** empty log message ***
2002-07-09 00:00:08 +00:00
Alan Modra
2b8f7433db
daily update
2002-07-09 00:00:06 +00:00
Maciej W. Rozycki
3a482fd523
* config/tc-mips.c (load_address): Use non-trapping "daddu"
...
instead of "dadd" in address calculations.
(macro): Likewise.
2002-07-08 22:42:09 +00:00
DJ Delorie
5b53c3368b
* configure.in: Don't build grez.
...
* Makefile.in: Ditto.
2002-07-08 22:18:40 +00:00
Mark Kettenis
9b94f7bfd5
* dwarf2cfi.c: Include "gcore.h".
...
(execute_stack_op): Fix implementation of the
DW_OP_deref and DW_OP_deref_size operators by letting do their
lookup in the target.
2002-07-08 20:53:45 +00:00
DJ Delorie
c74222f7de
* Makefile.in: Remove references to bsp, cygmon, libstub.
...
* configure.in: Ditto.
* configure.in: Remove leftover reference to gdbtest.
2002-07-08 20:43:20 +00:00
DJ Delorie
edd1b227cd
* configure.in (gxx_include_dir): Change to match versioned
...
C++ headers if --enable-version-specific-runtime-libs is used.
2002-07-08 17:14:04 +00:00
Alan Modra
be66c492b9
* gas/i386/intel16.s: New.
...
* gas/i386/intel16.d: New.
* gas/i386/i386.exp: Run it.
2002-07-08 10:40:37 +00:00
Alan Modra
cd61ebfe13
gas/ChangeLog
...
* config/tc-i386.c (process_suffix): Remove intel mode movsx and
movzx fudges.
(md_assemble): Instead, zap the suffix here.
include/opcode/ChangeLog
* i386.h: Remove IgnoreSize from movsx and movzx.
2002-07-08 10:03:11 +00:00
Alan Modra
aecc8f8acd
* elf.c: Formatting.
...
(IS_SOLARIS_PT_INTERP): Add p_paddr and p_memsz checks.
(INCLUDE_SECTION_IN_SEGMENT): Remove IS_SOLARIS_PT_INTERP.
(copy_private_bfd_data): Set p_vaddr on broken Solaris PT_INTERP
segments.
2002-07-08 08:13:37 +00:00
Mark Mitchell
e9168c1e2b
* cofflink.c (_bfd_coff_final_link): On PE COFF systems, take into
...
account the impact of relocation count overflow when computing
section offsets.
* coffcode.h (coff_write_relocs): Use obj_pe when deciding whether
or not to apply the PE COFF reloc overflow handling. Fix a
fencepost error in deciding whether or not to use that technique.
2002-07-08 05:34:08 +00:00
Alan Modra
d1e122bd6a
daily update
2002-07-08 00:00:06 +00:00
gdbadmin
f6c966b6c0
*** empty log message ***
2002-07-08 00:00:05 +00:00
Mark Kettenis
1d34db4151
From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>:
...
* i386-sol2-tdep.c (i386_sol2_init_abi): Correct value for
tdep->sc_sp_offset.
2002-07-07 21:31:06 +00:00
Alan Modra
6cdc0ccc12
* elf-bfd.h (struct elf_reloc_cookie): Remove locsym_shndx,
...
change type of locsyms.
(bfd_elf_get_elf_syms): Declare.
* elf.c (bfd_elf_get_elf_syms): New function.
(group_signature): Use bfd_elf_get_elf_syms.
(bfd_section_from_r_symndx): Likewise.
* elfcode.h (elf_slurp_symbol_table): Likewise.
* elflink.h (elf_link_is_defined_archive_symbol): Likewise.
(elf_link_add_object_symbols): Likewise. Reorganise to increase
locality of various data structures. Properly free internal relocs.
(elf_bfd_final_link): Properly free internal relocs.
(elf_link_check_versioned_symbol): Use bfd_elf_get_elf_syms.
(elf_link_input_bfd): Likewise.
(elf_gc_mark): Likewise. Properly free internal relocs.
(elf_gc_sweep): Properly free internal relocs.
(elf_reloc_symbol_deleted_p): No need to swap syms in.
(elf_bfd_discard_info): Use bfd_elf_get_elf_syms. Properly free
internal relocs.
* elf-m10200.c (mn10200_elf_relax_section): Use bfd_elf_get_elf_syms.
Properly free possibly cached info.
(mn10200_elf_relax_delete_bytes): Remove symbol swapping code.
(mn10200_elf_symbol_address_p): Pass in internal syms. Remove
symbol swapping code.
(mn10200_elf_get_relocated_section_contents): Use bfd_elf_get_elf_syms.
Properly free possibly cached info.
* elf-m10300.c (mn10300_elf_relax_section): As above for elf-m10200.c.
(mn10300_elf_relax_delete_bytes): Likewise.
(mn10300_elf_symbol_address_p): Likewise.
(mn10300_elf_get_relocated_section_contents): Likewise.
* elf32-h8300.c (elf32_h8_relax_section): As above for elf-m10200.c.
(elf32_h8_relax_delete_bytes): Likewise.
(elf32_h8_symbol_address_p): Likewise.
(elf32_h8_get_relocated_section_contents): Likewise.
* elf32-m32r.c (m32r_elf_relax_section): As above for elf-m10200.c.
(m32r_elf_relax_delete_bytes): Likewise.
(m32r_elf_get_relocated_section_contents): Likewise.
* elf32-sh.c (sh_elf_reloc_loop): Free section contents using
elf_section_data to determine whether cached.
(sh_elf_relax_section): As above for elf-m10200.c.
(sh_elf_relax_delete_bytes): Likewise.
(sh_elf_get_relocated_section_contents): Likewise.
* elf32-xstormy16.c (xstormy16_elf_relax_section): As above.
* elf64-alpha.c (elf64_alpha_relax_section): As above. Also delay
reading of local syms.
* elf64-mmix.c (mmix_elf_relax_section): Likewise.
* elf64-sh64.c (sh_elf64_get_relocated_section_contents): As above.
* elfxx-ia64.c (elfNN_ia64_relax_section): As above.
* elfxx-mips.c (_bfd_mips_elf_check_relocs): Properly free internal
relocs.
* elf32-arm.h (bfd_elf32_arm_process_before_allocation): Properly
free internal relocs and section contents. Don't read symbols.
* elf32-hppa.c (get_local_syms): Use bfd_elf_get_elf_syms.
(elf32_hppa_size_stubs): Don't free local syms.
* elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Delay
reading of local syms. Use bfd_elf_get_elf_syms. Properly free
possibly cached info.
* elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Likewise.
* elf64-hppa.c (elf64_hppa_check_relocs): Use bfd_elf_get_elf_syms.
* elf64-ppc.c (struct ppc_link_hash_table): Delete bfd_count and
all_local_syms.
(get_local_syms): Delete function.
(edit_opd): Use bfd_elf_get_elf_syms. Free on error exit. Cache
on exit.
(ppc64_elf_size_stubs): Use bfd_elf_get_elf_syms. Free/cache on exit.
2002-07-07 09:10:41 +00:00
gdbadmin
d8462f1281
*** empty log message ***
2002-07-07 00:00:07 +00:00
Alan Modra
fcb95fb109
daily update
2002-07-07 00:00:06 +00:00
Alan Modra
f558386d13
daily update
2002-07-06 00:00:05 +00:00
gdbadmin
31ba7b97bb
*** empty log message ***
2002-07-06 00:00:03 +00:00
Jim Wilson
b3212001ca
This makes gprof work with non-standard text sections.
...
* syms.c (decode_section_type): New.
(bfd_decode_symclass): Call decode_section_type.
2002-07-05 20:29:38 +00:00
Daniel Jacobowitz
79d5b63a45
2002-07-05 Daniel Jacobowitz <drow@mvista.com>
...
Fix PR gdb/595, gdb/602
* gnu-v3-abi.c (gnuv3_baseclass_offset): Remove unused variables.
Don't call value_cast, just read the vtable pointer; update comments
to match.
2002-07-05 16:23:13 +00:00
Grace Sainsbury
3bb912e83b
* config/mcore/tm-mcore.h: Remove file.
...
* config/mcore/mcore.mt: Remove definition of TM_FILE
* configure.tgt: Set gdb_multi_arch to yes for the mcore target.
2002-07-05 15:09:49 +00:00
Nick Clifton
630ace253a
Add checks to catch invaliud XScale MIA, MIAPH and MIAxy instructions.
2002-07-05 14:12:01 +00:00
Alan Modra
34786259b8
* ldlang.c (print_wild_statement): Fix output formatting.
2002-07-05 12:54:28 +00:00
Alan Modra
6d0d2cd21e
daily update
2002-07-05 00:00:05 +00:00
gdbadmin
08273c8ad1
*** empty log message ***
2002-07-05 00:00:03 +00:00
Mark Kettenis
ca39387d67
* i386bsd-tdep.c: Include "gdb_string.h".
2002-07-04 22:59:01 +00:00
Alexandre Oliva
486186e3ec
* ltcf-cxx.sh (hpux*): Modify to support ia64-*-hpux*.
2002-07-04 22:51:16 +00:00
Grace Sainsbury
efdc1108e7
* config/mcore/tm-mcore.h (GDB_MULTI_ARCH): Set to 2.
...
(PR_REGNUM, FIRST_ARGREG, LAST_ARGREG,RETVAL_REGNUM): Move to
mcore-tdep.
(REG_STRUCT_HAS_ADDR, USE_STRUCT_CONVENTION, GET_SAVED_REGISTER)
(TARGET_VIRTUAL_FRAME_POINTER, BELIEVE_PCC_PROMOTION): Remove.
* mcore-tdep.c (PR_REGNUM, FIRST_ARGREG, LAST_ARGREG)
(RETVAL_REGNUM): Move macros from tm-mcore.h
(mcore_reg_struct_has_addr): New function.
(mcore_gdbarch_init): Added initializations for the macros removed
from tm-mcore.h.
2002-07-04 16:45:53 +00:00
Jakub Jelinek
894bb1ee03
* merge.c (_bfd_merged_section_offset): Avoid accessing byte before
...
section content start.
Reported by Michael Schumacher <mike@hightec-rt.com>.
2002-07-04 15:57:24 +00:00