Alan Modra
98ceb8ce1d
* elf32-hppa.c: (LONG_BRANCH_PIC_IN_SHLIB): Delete. Remove all
...
code handling this option.
(LONG_BRANCH_VIA_PLT): Likewise.
(RELATIVE_DYNRELOCS): Define as zero.
(struct elf32_hppa_dyn_reloc_entry): Add "sec", and
"pc_count" fields. Remove "section" field.
(elf32_hppa_link_hash_entry): Rename reloc_entries to dyn_relocs.
(elf32_hppa_check_relocs): Don't allocate space for dynamic
relocs here. Instead, record all needed dynamic relocs via
dyn_relocs and local_dynrel. Cache pointer to "sreloc" section
in elf_section_data.
(elf32_hppa_gc_sweep_hook): Sweep dyn_relocs and local_dynrel.
(allocate_plt_and_got_and_discard_relocs): Rename to
allocate_dynrelocs. Allocate rather than discarding dyn relocs.
(readonly_dynrelocs): New function.
(elf32_hppa_size_dynamic_sections): Mark output_bfd unused.
Call readonly_dynrelocs to determine need for DT_TEXTREL.
Rename "i" to "ibfd". Allocate space for local dyn relocs.
(elf32_hppa_relocate_section): Make use of cached sreloc.
(elf32_hppa_reloc_type_class): New function.
(elf_backend_reloc_type_class): Define.
2001-09-25 07:10:59 +00:00
Alan Modra
0c715baa72
* elf-bfd.h (struct bfd_elf_section_data): Add "local_dynrel"
...
and "sreloc" fields.
* elf32-i386.c (struct elf_i386_dyn_relocs): Add "sec", and
"pc_count" fields. Remove "section" field.
(elf_i386_check_relocs): Don't set DF_TEXTREL here. Don't
allocate space for dynamic relocs here. Instead, record all
needed dynamic relocs via dyn_relocs and local_dynrel. Cache
pointer to "sreloc" section in elf_section_data.
(elf_i386_gc_sweep_hook): Sweep dyn_relocs and local_dynrel.
(allocate_plt_and_got_and_discard_relocs): Rename to
allocate_dynrelocs. Allocate rather than discarding dyn relocs.
(readonly_dynrelocs): New function.
(elf_i386_size_dynamic_sections): Call readonly_dynrelocs.
Rename "i" to "ibfd". Allocate space for local dyn relocs.
(elf_i386_relocate_section): Make use of cached sreloc.
2001-09-25 04:34:50 +00:00
Andrew Cagney
4f3379724d
* maint.c (maintenance_set_cmdlist, maintenance_show_cmdlist): New
...
variables.
(maintenance_set_profile_cmd): New function.
(maintenance_show_cmd, maintenance_set_cmd): New functions.
(_initialize_maint_cmds): Add "maintenance set" and "maintenance
show" and, commented out, "maintenance set/show profile" commands.
2001-09-25 02:31:51 +00:00
gdbadmin
0163999c22
*** empty log message ***
2001-09-25 00:00:06 +00:00
DJ Delorie
99ee3a8f13
merge from gcc
2001-09-24 23:37:52 +00:00
Nick Clifton
85c774585e
Fix thinko
2001-09-24 21:16:47 +00:00
Nick Clifton
9cc16c3a6b
Remove spurious prototype.
2001-09-24 21:13:48 +00:00
Andrew Cagney
f76febae84
* findvar.c (read_var_value): For LOC_INDIRECT and LOC_REF_ARG
...
convert the pointer into a CORE_ADDRs.
2001-09-24 19:46:15 +00:00
Nick Clifton
c406afafb1
oops - frag omitted from previous patch application
2001-09-24 18:35:08 +00:00
Nick Clifton
aa3d9aba51
oops - omitted from previous delta
2001-09-24 18:21:24 +00:00
Andrew Cagney
96d2f608dc
* doublest.h (store_floating, extract_floating): Add comment
...
indicating these functions are deprecated.
(extract_typed_floating, store_typed_floating): Declare.
* doublest.c: Include "gdbtypes.h".
(extract_typed_floating, store_typed_floating): Define.
* stabsread.c (define_symbol): Use store_typed_floating.
* valarith.c (value_binop): Ditto.
* values.c (unpack_long): Use extract_typed_floating.
(unpack_double): Ditto.
2001-09-24 17:16:53 +00:00
Nick Clifton
2f8d8971c6
improve documenation about auto-import
2001-09-24 16:17:46 +00:00
Nick Clifton
72358f6568
Define and use pe_get_data_import_dll_name().
2001-09-24 15:03:01 +00:00
Nick Clifton
89b57c9acc
fix compile time warning messages
2001-09-24 14:47:10 +00:00
Orjan Friberg
7ab98e9e4f
2001-09-24 Orjan Friberg <orjanf@axis.com>
...
* cris-tdep.c (reg_mode_add_sub_cmp_and_or_move_op): Fetch operand1
from correct register.
2001-09-24 08:04:10 +00:00
Andreas Jaeger
1d50f91e28
* nlmconv.c: Fix warnings about unused attributes and function
...
prototypes.
* strings.c: Add prototype for get_char.
2001-09-24 06:07:52 +00:00
Alan Modra
f51e552e0e
* elf-bfd.h (elf_backend_reloc_type_class): Pass in the entire
...
reloc rather than just the type.
(_bfd_elf_reloc_type_class): Likewise.
* elf.c (_bfd_elf_reloc_type_class): Likewise.
* elf32-arm.h (elf32_arm_reloc_type_class): Likewise.
* elf32-cris.c (elf_cris_reloc_type_class): Likewise.
* elf32-i386.c (elf_i386_reloc_type_class): Likewise.
* elf32-m68k.c (elf32_m68k_reloc_type_class): Likewise.
* elf32-ppc.c (ppc_elf_reloc_type_class): Likewise.
* elf32-s390.c (elf_s390_reloc_type_class): Likewise.
* elf32-sh.c (sh_elf_reloc_type_class): Likewise.
* elf32-sparc.c (elf32_sparc_reloc_type_class): Likewise.
* elf64-alpha.c (elf64_alpha_reloc_type_class): Likewise.
* elf64-s390.c (elf_s390_reloc_type_class): Likewise.
* elf64-sparc.c (sparc64_elf_reloc_type_class): Likewise.
* elf64-x86-64.c (elf64_x86_64_reloc_type_class): Likewise.
* elfxx-ia64.c (elfNN_ia64_reloc_type_class): Likewise.
* elflink.h: Formatting fixes.
(elf_link_sort_relocs): Make "count" and "size" bfd_size_type.
Call bfd_zmalloc rather than calloc. Remove unnecessary cast of
o->contents to PTR. Update call to elf_backend_reloc_type_class.
2001-09-24 01:38:31 +00:00
gdbadmin
02ca6eb41d
*** empty log message ***
2001-09-24 00:00:33 +00:00
gdbadmin
5175008b28
*** empty log message ***
2001-09-23 00:00:03 +00:00
Nick Clifton
a80076a171
Fix compile time warnings
2001-09-22 09:23:31 +00:00
Alan Modra
0c35f01ab3
* elfcode.h (elf_object_p): Allow for no section header at all in
...
non-ET_REL files. Honor 0 for e_shnum, e_shstrndx, e_shoff.
2001-09-22 03:16:01 +00:00
gdbadmin
7e6922fd50
*** empty log message ***
2001-09-22 00:00:02 +00:00
Mark Kettenis
1dbeeb7b3b
* x86-64-linux-tdep.c (STRUCT_OFFSET): Removed.
2001-09-21 22:57:29 +00:00
Nick Clifton
1e738b87c8
Fix compile time warnings
2001-09-21 14:25:09 +00:00
Alan Modra
2ca0d95257
* arc-dis.c: Don't include <ctype.h>.
...
* openrisc-desc.c: Likewise.
* openrisc-ibld.c: Likewise.
2001-09-21 12:36:56 +00:00
Alan Modra
7146a6f592
* config/tc-openrisc.c: Don't include <ctype.h>.
2001-09-21 12:34:40 +00:00
Jiri Smid
c4d82c9662
* config/i386/x86-64linux.mh: New file.
...
* config/i386/x86-64linux.mt: New file.
* config/i386/nm-x86_64.h: New file.
* x86-64-linux-tdep.c: New file.
* x86-64-linux-nat.c: New file.
* x86-64-tdep.c: New file.
* x86-64-tdep.h: New file.
* i386-tdep.h: New file.
* i387-nat.c: Include i386-tdep.h when multiarch.
* i387-tdep.c: Ditto.
* config/djgpp/fnchange.lst: Add entries for x86_64-linux-tdep.c
and x86_64-linux-nat.c
* Makefile.in: Add x86_64-linux-tdep.o, x86_64-tdep.o,
x86_64-linux-tdep.o, x86_64-nat.o, update dependencies.
2001-09-21 12:24:55 +00:00
Jiri Smid
53e95fcfec
* config/i386/x86-64linux.mh: New file.
...
* config/i386/x86-64linux.mt: New file.
* config/i386/nm-x86_64.h: New file.
* x86-64-linux-tdep.c: New file.
* x86-64-linux-nat.c: New file.
* x86-64-tdep.c: New file.
* x86-64-tdep.h: New file.
* config/djgpp/fnchange.lst: Add entries for x86_64-linux-tdep.c
and x86_64-linux-nat.c
* Makefile.in: Add x86_64-linux-tdep.o, x86_64-tdep.o,
x86_64-linux-tdep.o, x86_64-nat.o, update dependencies.
2001-09-21 12:19:15 +00:00
Jiri Smid
9a82579f3d
* i386-tdep.h: New file.
...
* i387-nat.c: Include i386-tdep.h when multiarch.
* i387-tdep.c: Ditto.
2001-09-21 12:15:15 +00:00
Jiri Smid
cab16195fe
* MAINTAINERS: Add myself to the write-after-approval list.
...
* i386-nat.c (TARGET_HAS_DR_LEN_8, DR_LEN_8): Declare.
(i386_length_and_rw_bits, i386_handle_nonaligned_watchpoint,
i386_insert_watchpoint, i386_remove_watchpoint): Add support for
8-byte wide watchpoints.
(i386_show_dr): Debug message format string change.
2001-09-21 07:17:52 +00:00
Jiri Smid
e906b9a3a9
* i386-nat.c (TARGET_HAS_DR_LEN_8, DR_LEN_8): Declare.
...
(i386_length_and_rw_bits, i386_handle_nonaligned_watchpoint,
i386_insert_watchpoint, i386_remove_watchpoint): Add support for
8-byte wide watchpoints.
(i386_show_dr): Debug message format string change.
2001-09-21 07:16:03 +00:00
Jiri Smid
5f3b524877
* MAINTAINERS: Add myself to the write-after-approval list.
2001-09-21 07:14:31 +00:00
Nick Clifton
015cf42817
fix compile time warning messages
2001-09-21 06:52:20 +00:00
Alexandre Oliva
3f152009fa
* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET,
...
DLLTOOL_FOR_TARGET, WINDRES_FOR_TARGET, AR_FOR_TARGET,
RANLIB_FOR_TARGET, NM_FOR_TARGET): Don't use double quotes to
avoid quotes nesting problems.
(NATIVE_CHECK_MODULES): Ditto, just for consistency.
(DO_X): Export only variables that are set.
2001-09-21 05:14:32 +00:00
Alan Modra
923f08ff7a
* Makefile.am: Run "make dep-am".
...
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* aoutx.h: Formatting fixes.
* merge.c (_bfd_merged_section_offset): Break line at 80 chars.
* linker.c: Replace bfd_get_filename with bfd_archive_filename
in error message.
2001-09-21 02:12:29 +00:00
gdbadmin
a10bc936b8
*** empty log message ***
2001-09-21 00:00:35 +00:00
Alan Modra
8f615d0704
* bfd.c (bfd_archive_filename): New function.
...
* bfd-in2.h: Regenerate.
* aout-adobe.c: Replace bfd_get_filename with bfd_archive_filename
in error messages where the bfd is an input bfd.
* aout-cris.c: Likewise.
* coff-arm.c: Likewise.
* coff-mcore.c: Likewise.
* coff-ppc.c: Likewise.
* coff-rs6000.c: Likewise.
* coff-sh.c: Likewise.
* coff-tic54x.c: Likewise.
* coff-tic80.c: Likewise.
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* coffgen.c: Likewise.
* cofflink.c: Likewise.
* ecofflink.c: Likewise.
* elf-hppa.h: Likewise.
* elf.c: Likewise.
* elf32-arm.h: Likewise.
* elf32-cris.c: Likewise.
* elf32-gen.c: Likewise.
* elf32-hppa.c: Likewise.
* elf32-i370.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-m32r.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-mips.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-s390.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-sparc.c: Likewise.
* elf32-v850.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-gen.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-s390.c: Likewise.
* elf64-sparc.c: Likewise.
* elf64-x86-64.c: Likewise.
* elflink.h: Likewise.
* elfxx-ia64.c: Likewise.
* ieee.c: Likewise.
* ihex.c: Likewise.
* libbfd.c: Likewise.
* pdp11.c: Likewise.
* pe-mips.c: Likewise.
* peicode.h: Likewise.
* srec.c: Likewise.
* xcofflink.c: Likewise.
* elf32-arm.h: Make _bfd_error_handler calls K&R compatible.
* elflink.c (_bfd_elf_create_linker_section): Better grammar for
error message.
* coff-mcore.c (coff_mcore_relocate_section): Internalionalise
error message.
* elf64-sparc.c (sparc64_elf_add_symbol_hook): Constify stt_types.
Consolidate error messages, and split long messages to two lines.
2001-09-20 23:30:37 +00:00
Kevin Buettner
1c4dcb5771
Make set_solib_svr4_fetch_link_map_offsets() work as intended.
2001-09-20 20:07:55 +00:00
Nick Clifton
2c8721ecf3
oops - forgot to check for clean 64 bit build - fix compile time warning
2001-09-20 15:33:41 +00:00
Nick Clifton
fc05c67f12
Fix compile time warnings
2001-09-20 15:28:25 +00:00
Nick Clifton
16a419ba01
Add option -mwarn-areg-zero.
2001-09-20 10:59:42 +00:00
Nick Clifton
671bae9c92
coordinate info->symbolic and info->allow_shlib_undefined
2001-09-20 10:37:35 +00:00
Alan Modra
3a42e9d062
* coffread.c: Replace all occurrences of bfd_read with bfd_bread.
...
* dbxread.c: Likewise.
* dwarf2read.c: Likewise.
* dwarfread.c: Likewise.
* somread.c: Likewise.
* ultra3-nat.c: Likewise.
* xcoffread.c: Likewise.
2001-09-20 03:03:40 +00:00
gdbadmin
6bac1f1132
*** empty log message ***
2001-09-20 00:00:02 +00:00
Andrew Cagney
8535cb3839
* cris-tdep.c (cris_get_signed_offset): Change return type to an
...
explicitly signed char.
2001-09-19 21:59:41 +00:00
Andrew Cagney
e0441cf0e1
* config/mcore/tm-mcore.h (mcore_virtual_frame_pointer): Update
...
function signature to match recent tracepoint.c:encode_actions
changes.
* mcore-tdep.c (mcore_virtual_frame_pointer): Ditto.
2001-09-19 20:43:54 +00:00
Nick Clifton
d5b2f4d67c
Fix compile time warning messages
2001-09-19 17:40:28 +00:00
H.J. Lu
38131e6744
2000-09-19 H.J. Lu <hjl@gnu.org>
...
* doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
$(srcdir)/cxxfilt.man.
* doc/Makefile.in: Rebuild.
2001-09-19 17:02:38 +00:00
Frank Ch. Eigler
2015650dea
* approved by kseitz
...
2001-09-19 Frank Ch. Eigler <fche@redhat.com>
* lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
to localhost:NNN instead of :NNN, in case Xvfb is listening
only on TCP.
2001-09-19 15:39:54 +00:00
Corinna Vinschen
f3bcedc1a9
* gdb.base/recurse.exp: When checking leaving the watchpoint
...
scope, recognize when gdb is in function's epilogue and pass.
2001-09-19 08:21:17 +00:00