Alan Modra
239e1f3afa
* elf32-i386.c (elf_i386_relocate_section): Don't complain about
...
unresolved debugging relocs in dynamic applications.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
2002-07-11 05:33:28 +00:00
Alan Modra
7e8d4ab4d1
* config/tc-ppc.c (ppc_elf_frob_symbol): Delete.
...
(ppc_frob_file_before_adjust): New function.
* config/tc-ppc.h (tc_frob_symbol): Don't define.
(ppc_elf_frob_symbol): Don't declare.
(tc_frob_file_before_adjust): Define.
(ppc_frob_file_before_adjust): Declare.
2002-07-11 01:07:49 +00:00
Alan Modra
2b3c460271
* config/tc-ppc.c (md_pseudo_table): Warning fix.
...
(ppc_cpu): Make it unsigned long to agree with struct powerpc_opcode
flags.
(ppc_size): Delete.
(ppc_xcoff64): Rename to ppc_obj64.
(md_parse_option <m>): Encode old ppc_size value in ppc_cpu.
(ppc_set_cpu): Set PPC_OPCODE_32 too.
(ppc_arch): Use ppc_obj64 instead of ppc_size to select bfd_mach_ppc64
or bfd_mach_ppc.
(ppc_target_format): Use ppc_obj64 to select format.
(md_begin): Adjust for PPC_OPCODE_32/64 in ppc_cpu.
(ppc_insert_operand): Use ppc_obj64 instead of ppc_size.
(ppc_elf_suffix): Likewise. Don't depend on BFD_DEFAULT_TARGET_SIZE.
(tc_frob_symbol): Likewise.
(md_assemble): Use ppc_obj64 instead of ppc_size. Don't depend on
BFD_DEFAULT_TARGET_SIZE.
(ppc_tc): Likewise.
(ppc_is_toc_sym): Likewise.
(md_apply_fix3): Likewise.
* config/tc-ppc.h (TC_FORCE_RELOCATION): Don't depend on
BFD_DEFAULT_TARGET_SIZE.
(ELF_TC_SPECIAL_SECTIONS): Likewise.
(tc_frob_symbol): Likewise.
2002-07-11 01:06:58 +00:00
Joel Brobecker
52d309e45f
* gdb.base/attach.exp: Add patterns to match output from /proc-based
...
systems.
Move comments in expect statements to inside the actions, so that they
don't get matched against.
2002-07-11 00:51:37 +00:00
Alan Modra
6cce648081
daily update
2002-07-11 00:00:05 +00:00
gdbadmin
96aea4f7e4
*** empty log message ***
2002-07-11 00:00:02 +00:00
Mark Kettenis
ff683d9ee1
* gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
...
function when asleep" test.
2002-07-10 23:00:57 +00:00
Andrew Cagney
a6b6b089bd
* wince.c (_initialize_wince): Rename _initialize_inftarg.
...
* win32-nat.c (_initialize_win32_nat): Rename _initialize_inftarg.
2002-07-10 22:38:05 +00:00
Andrew Cagney
b535675370
* gdb.base/page.exp: Rewrite to handle problems with very long
...
`info set' output. Update copyright.
2002-07-10 21:57:56 +00:00
Grace Sainsbury
a1789893d3
* NEWS: Mention m68k, mcore multi-arching.
...
* MAINTAINERS: Change status of m68k, mcore to reflect
multi-arching.
2002-07-10 17:34:02 +00:00
Daniel Jacobowitz
02f0d45d87
2002-07-10 Daniel Jacobowitz <drow@mvista.com>
...
* valops.c (find_overload_match): Free oload_syms.
2002-07-10 17:18:16 +00:00
Joel Brobecker
4a2b4636a2
* gdb.texinfo (Create a release candiate): Add the location
...
where the proper version of autoconf can be retrieved.
2002-07-10 16:07:19 +00:00
Jakub Jelinek
047b22647d
* readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
...
DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
(get_section_type_name): Handle SHT_GNU_LIBLIST.
(process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
(process_gnu_liblist): New.
(process_file): Call it.
* elf/common.h (SHT_GNU_LIBLIST, DT_GNU_PRELINKED,
DT_GNU_CONFLICT*, DT_GNU_LIBLIST*): Define.
2002-07-10 15:28:34 +00:00
Alan Modra
f5e87a1da3
* elf64-ppc.c (ONES): Define.
...
(ppc64_elf_howto_table): Use ONES here to avoid warnings. Fill in
missing src_mask fields. Tweak R_PPC64_NONE, R_PPC64_COPY. Fill
in missing dst_mask fields on R_PPC64_PLT32, R_PPC64_PLTREL32.
2002-07-10 11:46:19 +00:00
Alan Modra
2f6d9989b7
* elf64-ppc.c (ppc64_elf_get_symbol_info): Delete.
...
(ppc64_elf_set_private_flags): Delete.
(ppc64_elf_section_from_shdr): Delete.
(ppc64_elf_merge_private_bfd_data): Remove flag checking/merging code.
(ppc64_elf_fake_sections): Delete.
(bfd_elf64_bfd_set_private_flags): Don't define.
(bfd_elf64_get_symbol_info): Likewise.
(elf_backend_section_from_shdr): Likewise.
(elf_backend_fake_sections): Likewise.
2002-07-10 10:28:44 +00:00
Alan Modra
0594c12d8e
* elf.c: (assign_section_numbers) Set sh_entsize for .stab only
...
when not already set.
* elf64-sparc.c: (sparc64_elf_fake_sections): New function.
(elf_backend_fake_sections): Define.
2002-07-10 04:59:42 +00:00
DJ Delorie
b851d07bfd
merge from gcc
2002-07-10 00:01:58 +00:00
gdbadmin
7b210f262f
*** empty log message ***
2002-07-10 00:00:33 +00:00
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