OSDN Git Service
ciceron [Sun, 1 Dec 2002 11:02:08 +0000 (11:02 +0000)]
Fix Bug savannah/1825:
* config/tc-m68hc11.h (md_relax_frag): Define to support relaxations
that are not pc-relative.
(m68hc11_relax_frag): Declare.
* config/tc-m68hc11.c (build_indexed_byte): Use a frag_var to handle
the offsetable indexed addressing modes (n,r).
(build_insn): Cleanup some locals.
(m68hc11_relax_frag): New function imported from tc-cris.c to handle
relaxation of difference between two symbols of same section.
(md_convert_frag): For INDEXED_OFFSET relaxs, use the displacement
only when this is a PC-relative operand and the offset is not absolute.
(md_estimate_size_before_relax): Convert the INDEXED_OFFSET,UNDEF frag
to INDEXED_OFFSET,STATE_BITS5 when the symbol is absolute; this will
be handled by m68hc11_relax_frag.
ciceron [Sun, 1 Dec 2002 10:20:05 +0000 (10:20 +0000)]
* config/tc-m68hc11.c (elf_flags): Set default ABI to gcc default
(32-bit int, 64-bit double).
(md_longopts): New options -mshort, -mlong, -mshort-double and
-mlong-double to control the ABI.
(md_show_usage): Update.
(md_parse_option): Handle new options.
* doc/as.texinfo (Overview): Document new options for HC11/HC12.
ciceron [Sun, 1 Dec 2002 09:53:21 +0000 (09:53 +0000)]
* m68hc11-dis.c (PC_REGNUM): Define.
(print_indexed_operand): Need an adjustment for some PC-relative
operand modes; print the final address of PC-relative modes.
(print_insn): Take into account movw/movb to adjust the PC-relative
operand addresses.
amodra [Sun, 1 Dec 2002 03:18:49 +0000 (03:18 +0000)]
* symbols.c (report_op_error): New function, broken out of ...
(resolve_symbol_value): ... here. Use for both monadic and dyadic
operators.
gdbadmin [Sun, 1 Dec 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 30 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update
cgf [Sat, 30 Nov 2002 22:23:00 +0000 (22:23 +0000)]
* fhandler_tty.cc (fhandler_pty_master::accept_input): Move read_retval
assignment to prevent race condition. Remove read_retval from return
statement.
cagney [Sat, 30 Nov 2002 18:01:30 +0000 (18:01 +0000)]
2002-11-30 Andrew Cagney <cagney@redhat.com>
* simops.c: Use int, 1, 0 instead of boolean, true and false.
* sim-main.h: Ditto.
cagney [Sat, 30 Nov 2002 17:49:20 +0000 (17:49 +0000)]
2002-11-30 Andrew Cagney <
ac131313@redhat.com>
* generic/gdbtk-stack.c: Replace selected_frame with
deprecated_selected_frame.
* generic/gdbtk-register.c: Ditto.
* generic/gdbtk-cmds.c (gdb_loc): Replace selected_frame with
deprecated_selected_frame. Use get_frame_pc and find_frame_sal.
hp [Sat, 30 Nov 2002 17:04:53 +0000 (17:04 +0000)]
* doc/rtl.texi (Model variants): Mention current limitations for
unit inputs and outputs.
(Hardware elements) <attribute PROFILE>: Be slightly more
verbose.
(Instructions) <timing>: input/output overrides have a direction
operand.
cagney [Sat, 30 Nov 2002 16:33:55 +0000 (16:33 +0000)]
2002-11-30 Andrew Cagney <cagney@redhat.com>
* exec.c (xfer_memory): Replace boolean with int.
* p-exp.y: Use 0 instead of false.
* corelow.c (gdb_check_format): Change return type to int from
boolean.
* utils.c: Don't include <curses.h> or <term.h> first.
kkojima [Sat, 30 Nov 2002 14:09:08 +0000 (14:09 +0000)]
* config/tc-sh.c (md_apply_fix3): Take account of fx_offset
for BFD_RELOC_32_PLT_PCREL.
* sh/gas/sh/pic.s: Add a test for ".long foo@PLT+.-2-label".
* sh/gas/sh/pic.d: Add expected output.
amodra [Sat, 30 Nov 2002 09:00:36 +0000 (09:00 +0000)]
* configure.host: Correct dynamic-linker for powerpc64 hosts.
amodra [Sat, 30 Nov 2002 08:56:22 +0000 (08:56 +0000)]
* Makefile.am (eelf32ppcwindiss.c): Correct dependencies.
* Makefile.in: Regenerate.
amodra [Sat, 30 Nov 2002 08:39:33 +0000 (08:39 +0000)]
s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
neroden [Sat, 30 Nov 2002 01:59:39 +0000 (01:59 +0000)]
2002-11-30 Nathanael Nerode <neroden@gcc.gnu.org>
(Continuing slow-motion replay)
* configure: More autoconf-style substitutions.
* Makefile.tpl: More autoconf-style substitutions.
* Makefile.in: Regenerate.
2002-11-30 Nathanael Nerode <neroden@gcc.gnu.org>
(Continuing slow-motion replay)
* configure: Substitute more variables in a more autoconf-friendly
way. Simplify slightly.
* Makefile.tpl: Make more variables substitutable in an
autoconf-friendly way.
* Makefile.in: Regenerate.
gdbadmin [Sat, 30 Nov 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 29 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update
neroden [Fri, 29 Nov 2002 21:38:33 +0000 (21:38 +0000)]
2002-11-29 Nathanael Nerode <neroden@gcc.gnu.org>
(Continuing slow-motion replay)
* configure.in (v810*): Remove special setting of tools.
* configure: Add support for extra required flags for ar or nm.
* configure.in (aix4.3+): Use above support for target-specific
issues, rather than using config/mt-aix43.
neroden [Fri, 29 Nov 2002 21:33:10 +0000 (21:33 +0000)]
2002-11-29 Nathanael Nerode <neroden@gcc.gnu.org>
(Starting slow-motion replay merge from gcc 3.4 b-i-b branch)
* configure: Remove 'removing', which doesn't work. Replace $subdir
with . everywhere. Replace $subdirs with ''. Replace $makesrcdir
with $srcdir. Reformat indentation. Substitute some variables
formerly hard-coded in the Makefile for build=host.
* Makefile.tpl: Autogenerate more; make more autoconf-friendly.
* Makefile.def: Autogenerate more.
* Makefile.in: Regenerate.
nickc [Fri, 29 Nov 2002 21:00:49 +0000 (21:00 +0000)]
Allow BKPT instruction to be specified without an operand. Add a test for this.
ciceron [Fri, 29 Nov 2002 20:42:14 +0000 (20:42 +0000)]
* m68hc11-tdep.c (m68hc11_register_raw_size): Remove.
(m68hc11_register_byte): Remove.
(m68hc11_gdbarch_init): Don't set the above.
cagney [Fri, 29 Nov 2002 19:40:29 +0000 (19:40 +0000)]
2002-11-29 Andrew Cagney <cagney@redhat.com>
* remote-mips.c (mips_initialize): Force a selected frame rebuild
by calling get_selected_frame.
* ocd.c (ocd_start_remote): Use get_selected frame instead of
set_current_frame, create_new_frame, select_frame and
get_current_frame.
* remote-e7000.c (e7000_start_remote): Ditto.
* remote-mips.c (common_open): Ditto
* remote-rdp.c (remote_rdp_open): Ditto.
schwab [Fri, 29 Nov 2002 19:33:16 +0000 (19:33 +0000)]
* m68k-tdep.c (m68k_frame_chain, m68k_frame_saved_pc)
(altos_skip_prologue, delta68_frame_saved_pc, isi_frame_num_args)
(delta68_frame_num_args, news_frame_num_args, m68k_skip_prologue)
(m68k_frame_init_saved_regs, m68k_saved_pc_after_call): Use
read_memory_unsigned_integer instead of read_memory_integer when
dealing with addresses and instruction opcodes.
* m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc)
(m68k_linux_frame_saved_pc): Likewise.
cagney [Fri, 29 Nov 2002 19:15:13 +0000 (19:15 +0000)]
2002-11-29 Andrew Cagney <
ac131313@redhat.com>
* stack.c (selected_frame, select_frame): Move from here ...
* frame.c (selected_frame, select_frame): ... to here. Include
"language.h".
* Makefile.in (frame.o): Update dependencies.
* frame.c (get_selected_frame): New function.
* frame.h (get_selected_frame): Declare.
(deprecated_selected_frame): Rename selected_frame.
* ada-lang.c, ada-tasks.c, breakpoint.c, corelow.c: Update.
* eval.c, f-valprint.c, findvar.c, frame.c, frame.h: Update.
* h8300-tdep.c, h8500-tdep.c, hppa-tdep.c, infcmd.c: Update.
* inflow.c, infrun.c, macroscope.c, mips-tdep.c: Update.
* mn10300-tdep.c, ocd.c, regcache.h, remote-e7000.c: Update.
* remote-mips.c, remote-rdp.c, sh-tdep.c, sparc-tdep.c: Update.
* stack.c, thread.c, tracepoint.c, valops.c, varobj.c: Update.
* z8k-tdep.c, cli/cli-cmds.c: Update.
Index: mi/ChangeLog
2002-11-29 Andrew Cagney <
ac131313@redhat.com>
* mi/mi-cmd-stack.c, mi/mi-main.c: Update to use
deprecated_selected_frame.
Index: tui/ChangeLog
2002-11-29 Andrew Cagney <
ac131313@redhat.com>
* tui/tui-hooks.c: Update to use deprecated_selected_frame.
* tui/tui.c, tui/tuiDisassem.c, tui/tuiRegs.c: Ditto.
* tui/tuiSource.c, tui/tuiSourceWin.c, tui/tuiWin.c: Ditto.
cagney [Fri, 29 Nov 2002 15:39:50 +0000 (15:39 +0000)]
2002-11-29 Andrew Cagney <
ac131313@redhat.com>
* frame.h (get_selected_block): Add comments.
cgf [Fri, 29 Nov 2002 07:05:25 +0000 (07:05 +0000)]
* pinfo.h (winpids::set): Renamed from init.
(winpids::init): New declaration.
(winpids::cs): Ditto.
(winpids::winpids): Use set rather than init.
* external.cc (fillout_pinfo): Ditto.
* dcrt0.cc (dll_crt0_1): Call winpids::init.
* pinfo.cc (winpids::set): Renamed from init. Wrap calls in critical section.
(winpids::init): New function.
(winpids::cs): Define.
bje [Fri, 29 Nov 2002 06:05:57 +0000 (06:05 +0000)]
2002-11-29 Ben Elliston <bje@redhat.com>
* common-xml/interface.xml (print-insn-summary!): New pin.
* common-xml/behavior.xml (tracing): Mention print-insn-summary!.
bje [Fri, 29 Nov 2002 05:52:42 +0000 (05:52 +0000)]
2002-11-29 Ben Elliston <bje@redhat.com>
* sidcpuutil.h (basic_cpu::print_insn_summary_pin): New pin.
(basic_cpu::print_insn_summary): New virtual method.
(basic_cpu::basic_cpu): Construct print_insn_summary_pin and
instantiate it with add_pin().
bje [Fri, 29 Nov 2002 05:33:13 +0000 (05:33 +0000)]
2002-11-26 Ben Elliston <bje@redhat.com>
* lib/cpudefs.exp (run-sid-tests-raw): Process all configline
directives (not just the last), appending to conf-line.
cagney [Fri, 29 Nov 2002 01:59:08 +0000 (01:59 +0000)]
Fix tipo in changelog.
cagney [Fri, 29 Nov 2002 01:52:01 +0000 (01:52 +0000)]
2002-11-28 Andrew Cagney <
ac131313@redhat.com>
* frame.c (pc_notcurrent): New function.
(find_frame_sal): New function.
* frame.h (find_frame_sal): Declare.
(struct symtab_and_line): Add opaque declaration.
* stack.c (print_frame_info_base): Use find_pc_line instead of
find_frame_sal.
(frame_info): Ditto.
* ada-lang.c (find_printable_frame): Ditto.
Index: tui/ChangeLog
2002-11-28 Andrew Cagney <
ac131313@redhat.com>
* tuiStack.c (tuiShowFrameInfo): Use find_frame_sal instead of
find_pc_line.
cgf [Fri, 29 Nov 2002 00:43:50 +0000 (00:43 +0000)]
* sigproc.cc (sig_dispatch_pending): Remove assertion.
brobecke [Fri, 29 Nov 2002 00:30:06 +0000 (00:30 +0000)]
* configure.in: Check that the pthdebug library is recent enough
before enabling thread support on native AiX.
* configure: Regenerate.
* config/powerpc/aix432.mh (NATDEPFILES): Remove aix-thread.o
from the list of object files as it is now appended by configure
if thread support is enabled.
(NAT_CLIBS): Removed as -lpthdebug is also appended by configure
if thread support is enabled.
brobecke [Fri, 29 Nov 2002 00:29:27 +0000 (00:29 +0000)]
* configure.in: Check that the pthdebug library is recent enough
before enabling thread support on native AiX.
* configure: Regenerate.
* config/powerpc/aix432.mh (NATDEPFILES): Remove aix-thread.o
from the list of object files as it is now appended by configure
if thread support is enabled.
(NAT_CLIBS): Removed as -lpthdebug is also appended by configure
if thread support is enabled.
cagney [Fri, 29 Nov 2002 00:15:47 +0000 (00:15 +0000)]
2002-11-28 Andrew Cagney <cagney@redhat.com>
* stack.c (get_selected_block): In-line get_current_block.
* frame.h (get_current_block): Delete declaration.
* blockframe.c (get_current_block): Delete function.
jakub [Fri, 29 Nov 2002 00:03:30 +0000 (00:03 +0000)]
* readelf.c Replace occurrences of Elf32_Internal_* and
Elf64_Internal_* with Elf_Internal_*.
(slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
Zero r_addend fields.
(dump_relocations): Remove relas variable, change Elf_Internal_Rel to
Elf_Internal_Rela.
gdbadmin [Fri, 29 Nov 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
kkojima [Thu, 28 Nov 2002 23:57:58 +0000 (23:57 +0000)]
* config/tc-sh.c (md_apply_fix3): Call S_SET_THREAD_LOCAL
for TLS relocations.
jakub [Thu, 28 Nov 2002 23:32:59 +0000 (23:32 +0000)]
* config/tc-ia64.c (md_apply_fix3): Add default case.
amodra [Thu, 28 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update
cagney [Thu, 28 Nov 2002 21:38:42 +0000 (21:38 +0000)]
2002-11-28 Andrew Cagney <
ac131313@redhat.com>
* gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Rename
USE_GENERIC_DUMMY_FRAMES.
* gdbarch.h, gdbarch.c: Regenerate.
* valops.c, frame.c: Update.
* config/z8k/tm-z8k.h, config/mn10200/tm-mn10200.h: Update.
* config/m32r/tm-m32r.h, config/h8500/tm-h8500.h: Update.
* config/pa/tm-hppa.h, blockframe.c: Update.
* vax-tdep.c, sparc-tdep.c, ns32k-tdep.c: Ditto.
* m68k-tdep.c, alpha-tdep.c: Ditto.
* arm-tdep.c: Eliminate USE_GENERIC_DUMMY_FRAMES as always 1.
* mips-tdep.c: Ditto.
Index: doc/ChangeLog
2002-11-28 Andrew Cagney <
ac131313@redhat.com>
* gdbint.texinfo (Host Definition): Delete documentation on
USE_GENERIC_DUMMY_FRAMES.
cagney [Thu, 28 Nov 2002 18:15:55 +0000 (18:15 +0000)]
2002-11-27 Andrew Cagney <
ac131313@redhat.com>
* gdbarch.sh (CALL_DUMMY_LOCATION): Default to AT_ENTRY_POINT.
(USE_GENERIC_DUMMY_FRAMES): Default to true.
(PC_IN_CALL_DUMMY): Default to generic_pc_in_call_dummy.
* gdbarch.c, gdbarch.h: Re-generate.
* inferior.h (USE_GENERIC_DUMMY_FRAMES): Delete macro definition.
(CALL_DUMMY_LOCATION): Delete macro definition.
(PC_IN_CALL_DUMMY): Delete macro definitions.
* arm-tdep.c (arm_gdbarch_init): Do not set pc_in_call_dummy,
default is already generic_pc_in_call_dummy.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* arm-tdep.c (arm_gdbarch_init): Do not set
use_generic_dummy_frames, default is already 1.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
* x86-64-tdep.c (x86_64_gdbarch_init): Ditto.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
call_dummy_location, default is already AT_ENTRY_POINT.
* x86-64-tdep.c (x86_64_gdbarch_init): Ditto.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* sparc-tdep.c (sparc_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* arm-tdep.c (arm_gdbarch_init): Ditto.
* alpha-tdep.c (alpha_gdbarch_init): Ditto.
cagney [Thu, 28 Nov 2002 18:08:26 +0000 (18:08 +0000)]
2002-11-28 Andrew Cagney <cagney@redhat.com>
* sim-main.h: Only include "idecode.h" once.
* Makefile.in (SIM_EXTRA_DEPS): Define.
cagney [Thu, 28 Nov 2002 17:11:41 +0000 (17:11 +0000)]
2002-11-28 Andrew Cagney <cagney@redhat.com>
* frame.h: Update comments on set_current_frame, create_new_frame,
flush_cached_frames, reinit_frame_cache, select_frame and
selected_frame.
cagney [Thu, 28 Nov 2002 17:11:08 +0000 (17:11 +0000)]
2002-11-28 Andrew Cagney <cagney@redhat.com>
* frame.h: Update comments on set_current_frame, create_new_frame,
flush_cached_frames, reinit_frame_cache, select_frame and
selected_frame.
ezannoni [Thu, 28 Nov 2002 16:46:31 +0000 (16:46 +0000)]
2002-11-28 Elena Zannoni <ezannoni@redhat.com>
* Makefile.in (install): Move install-info to here...
(all): ...from here.
jakub [Thu, 28 Nov 2002 14:15:49 +0000 (14:15 +0000)]
* symbols.c (S_SET_THREAD_LOCAL): New function.
* symbols.h (S_SET_THREAD_LOCAL): New prototype.
* config/tc-i386.c (md_apply_fix3): Call S_SET_THREAD_LOCAL
for TLS relocations.
* config/tc-ia64.c (md_apply_fix3): Likewise.
* config/tc-alpha.c (md_apply_fix3): Likewise.
* ld-i386/tlsnopic.rd: Change NOTYPE to TLS for UND sg* symbols.
jakub [Thu, 28 Nov 2002 14:15:44 +0000 (14:15 +0000)]
* symbols.c (S_SET_THREAD_LOCAL): New function.
* symbols.h (S_SET_THREAD_LOCAL): New prototype.
* config/tc-i386.c (md_apply_fix3): Call S_SET_THREAD_LOCAL
for TLS relocations.
* config/tc-ia64.c (md_apply_fix3): Likewise.
* config/tc-alpha.c (md_apply_fix3): Likewise.
* ld-i386/tlsnopic.rd: Change NOTYPE to TLS for UND sg* symbols.
jakub [Thu, 28 Nov 2002 14:13:51 +0000 (14:13 +0000)]
* write.c (subsegs_finish): For SEC_MERGE sections pad last fragment
to entsize.
amodra [Thu, 28 Nov 2002 11:55:34 +0000 (11:55 +0000)]
include/elf/ChangeLog
* internal.h (elf32_internal_ehdr, Elf32_Internal_Ehdr,
elf64_internal_ehdr, Elf64_Internal_Ehdr, elf32_internal_phdr,
Elf32_Internal_Phdr, elf64_internal_phdr, Elf64_Internal_Phdr,
elf32_internal_shdr, Elf32_Internal_Shdr, elf64_internal_shdr,
Elf64_Internal_Shdr, elf32_internal_sym, elf64_internal_sym,
Elf32_Internal_Sym, Elf64_Internal_Sym, Elf32_Internal_Note,
elf32_internal_note, elf32_internal_rel, Elf32_Internal_Rel,
elf64_internal_rel, Elf64_Internal_Rel, elf32_internal_rela,
elf64_internal_rela, Elf32_Internal_Rela, Elf64_Internal_Rela,
elf32_internal_dyn, elf64_internal_dyn, Elf32_Internal_Dyn,
Elf64_Internal_Dyn, elf32_internal_verdef, elf64_internal_verdef,
elf32_internal_verdaux, elf64_internal_verdaux, elf32_internal_verneed,
elf64_internal_verneed, elf32_internal_vernaux, elf64_internal_vernaux,
elf32_internal_versym, elf64_internal_versym, Elf32_Internal_Verdef,
Elf64_Internal_Verdef, Elf32_Internal_Verdaux, Elf64_Internal_Verdaux,
Elf32_Internal_Verneed, Elf64_Internal_Verneed, Elf32_Internal_Vernaux,
Elf64_Internal_Vernaux, Elf32_Internal_Versym, Elf64_Internal_Versym,
Elf32_Internal_Syminfo, Elf64_Internal_Syminfo): Delete.
(Elf_Internal_Rel): Delete.
bfd/ChangeLog
* elf-bfd.h: Replace occurrences of Elf32_Internal_* and
Elf64_Internal_* with Elf_Internal_*. Replace Elf_Internal_Rel
with Elf_Internal_Rela.
* elf-hppa.h, elf-m10200.c, elf-m10300.c, elf32-arc.c, elf32-arm.h,
elf32-avr.c, elf32-cris.c, elf32-d10v.c, elf32-d30v.c, elf32-dlx.c,
elf32-fr30.c, elf32-frv.c, elf32-gen.c, elf32-h8300.c, elf32-hppa.c,
elf32-i370.c, elf32-i386.c, elf32-i860.c, elf32-i960.c, elf32-ip2k.c,
elf32-m32r.c, elf32-m68hc11.c, elf32-m68hc12.c, elf32-m68k.c,
elf32-mcore.c, elf32-mips.c, elf32-openrisc.c, elf32-or32.c,
elf32-ppc.c, elf32-s390.c, elf32-sh.c, elf32-v850.c, elf32-vax.c,
elf32-xstormy16.c, elf64-alpha.c, elf64-gen.c, elf64-hppa.c,
elf64-mips.c, elf64-mmix.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c,
elf64-sparc.c, elf64-x86-64.c, elfarm-nabi.c, elfarm-oabi.c,
elfcode.h, elflink.h, elfn32-mips.c, elfxx-ia64.c, elfxx-mips.c: Ditto.
* elf-hppa.h (elf_hppa_internal_shdr): Delete. Use Elf_Internal_Shdr
throughout instead.
* elf.c (_bfd_elf_no_info_to_howto_rel): Delete.
* elfcode.h (elf_swap_reloca_in): Pass source operand as a bfd_byte *.
Remove INLINE keyword.
(elf_swap_reloc_in): Likewise. Also clear r_addend.
(elf_swap_reloc_out, elf_swap_reloca_out): Pass destination operand
as a bfd_byte *.
(elf_write_relocs): Consolidate REL and RELA code.
(elf_slurp_reloc_table_from_section): Simplify REL code.
(NAME(_bfd_elf,size_info)): Populate reloc swap entries.
* elf-bfd.h (MAX_INT_RELS_PER_EXT_REL): Define.
* elflink.h (elf_link_read_relocs_from_section): Consolidate REL and
RELA code.
(elf_link_adjust_relocs): Likewise. Don't malloc space for temp
reloc array, use a fixed size of MAX_INT_RELS_PER_EXT_REL.
(elf_link_output_relocs): Likewise.
(elf_reloc_link_order): Likewise.
(elf_finish_pointer_linker_section): Likewise.
(struct elf_link_sort_rela): Remove union.
(elf_link_sort_cmp1): Update to suit.
(elf_link_sort_cmp2): Here too.
(elf_link_sort_relocs): Consolidate REL and RELA code. Fix memory
over-allocation for int_rels_per_ext_rel != 1 case.
* elf32-arm.h: Update all bfd_elf32_swap_reloc_out calls.
* elf32-i386.c: Likewise.
* elf32-cris.c: Likewise for bfd_elf32_swap_reloca_out.
* elf32-hppa.c, elf32-i370.c, elf32-m68k.c, elf32-ppc.c, elf32-s390.c,
elf32-sh.c, elf32-vax.c, elfxx-mips.c: Likewise.
* elf64-alpha.c: Likewise for bfd_elf64_swap_reloca_out.
* elf64-hppa.c, elf64-mips.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c,
elf64-sparc.c, elf64-x86-64.c: Likewise.
* elfxx-ia64.c: Likewise for bfd_elfNN_swap_reloca_out.
* elfxx-mips.c (sort_dynamic_relocs): Likewise for
bfd_elf32_swap_reloc_in.
* elf32-arm.h: Update elf32_arm_info_to_howto calls.
* elf32-mips.c: Likewise for mips_info_to_howto_rel.
(mips_elf64_swap_reloc_in): Zero r_addend.
(mips_elf64_be_swap_reloc_in): Likewise.
(mips_elf64_slurp_one_reloc_table): Simplify.
* elf64-alpha.c (alpha_elf_size_info): Populate reloc swap entries.
* elf64-hppa.c (hppa64_elf_size_info): Likewise.
* elf64-sparc.c (sparc64_elf_size_info): Likewise.
kkojima [Thu, 28 Nov 2002 08:37:13 +0000 (08:37 +0000)]
* elf32-sh.c (sh_elf_relocate_section): Don't complain about
unresolved debugging relocs in dynamic applications.
* elf64-sh64.c (sh_elf64_relocate_section): Likewise.
* ld-sh/refdbg-0-dso.d: New test.
* ld-sh/refdbg-1.d: Likewise.
* ld-sh/refdbg.s: Likewise.
* ld-sh/refdbglib.s: Likewise.
brobecke [Thu, 28 Nov 2002 04:41:33 +0000 (04:41 +0000)]
* configure: Regenerate with the proper version of autoconf.
obrien [Thu, 28 Nov 2002 02:10:38 +0000 (02:10 +0000)]
2002-11-27 David O'Brien <obrien@FreeBSD.org>
* configure.host: Fix generic FreeBSD configuration entry.
cgd [Thu, 28 Nov 2002 01:32:03 +0000 (01:32 +0000)]
2002-11-27 Richard Sandiford <rsandifo@redhat.com>
* sim-fpu.c (sim_fpu_inv): Use sim_fpu_div.
cgf [Thu, 28 Nov 2002 00:41:02 +0000 (00:41 +0000)]
revert botched checkin
cgf [Thu, 28 Nov 2002 00:40:19 +0000 (00:40 +0000)]
* include/cygwin/version.h: Bump DLL minor number.
gdbadmin [Thu, 28 Nov 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Wed, 27 Nov 2002 23:44:13 +0000 (23:44 +0000)]
* fhandler_socket.cc (fhandler_socket::sendto): Fix potential unitialized value
return.
amodra [Wed, 27 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update
kevinb [Wed, 27 Nov 2002 21:28:31 +0000 (21:28 +0000)]
Add mips64-linux targets.
cagney [Wed, 27 Nov 2002 20:44:09 +0000 (20:44 +0000)]
2002-11-27 Andrew Cagney <cagney@redhat.com>
* config/z8k/tm-z8k.h (PC_IN_CALL_DUMMY): Update definition to use
deprecated pc_in_call_dummy function.
* config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Ditto.
* config/sparc/tm-sp64.h (PC_IN_CALL_DUMMY): Ditto.
* config/pa/tm-hppa.h (PC_IN_CALL_DUMMY): Ditto.
* config/mn10200/tm-mn10200.h (PC_IN_CALL_DUMMY): Ditto.
* config/h8500/tm-h8500.h (PC_IN_CALL_DUMMY): Ditto.
hjl [Wed, 27 Nov 2002 19:42:09 +0000 (19:42 +0000)]
2002-11-27 H.J. Lu <hjl@gnu.org>
* ld.texinfo: Add the missing `;' to sample version scripts.
hunt [Wed, 27 Nov 2002 19:13:07 +0000 (19:13 +0000)]
2002-11-26 Martin M. Hunt <hunt@redhat.com>
* Makefile.in: Remove Tix dependencies.
* acinclude.m4: Ditto.
* aclocal.m4: Ditto.
* configure.in: Ditto.
* configure: Regenerated.
hunt [Wed, 27 Nov 2002 19:09:17 +0000 (19:09 +0000)]
2002-11-27 Martin M. Hunt <hunt@redhat.com>
* generic/gdbtk.c (gdbtk_init): Don't call Tix_Init.
Don't include tix.h
* generic/gdbtk-hooks.c: Don't include tix.h.
* generic/gdbtkj-cmds.c: Don't include tix.h.
cgf [Wed, 27 Nov 2002 18:10:13 +0000 (18:10 +0000)]
* libc/string/memset.c (memset): Fix comment.
cgf [Wed, 27 Nov 2002 16:11:38 +0000 (16:11 +0000)]
* cygwin.din: Export pthread_getsequence_np.
* include/cygwin/version.h: Bump API minor version.
cagney [Wed, 27 Nov 2002 15:50:30 +0000 (15:50 +0000)]
2002-11-26 Andrew Cagney <
ac131313@redhat.com>
* gdbarch.sh (TARGET_FLOAT_FORMAT): Print the float format name.
(TARGET_DOUBLE_FORMAT, TARGET_LONG_DOUBLE_FORMAT): Ditto.
* gdbarch.c: Re-generate.
cagney [Wed, 27 Nov 2002 15:29:52 +0000 (15:29 +0000)]
2002-11-27 Andrew Cagney <cagney@redhat.com>
* generic/gdbtk-stack.c (get_frame_name): Use get_frame_type
instead of deprecated_frame_in_dummy.
* generic/gdbtk-cmds.c (gdb_loc): Ditto.
dannysmith [Wed, 27 Nov 2002 03:41:25 +0000 (03:41 +0000)]
* mingwex/math/lgamma.c: New file.
* mingwex/math/lgammaf.c: New file.
* mingwex/math/lgammal.c: New file.
* mingwex/math/tgamma.c: New file.
* mingwex/math/tgammaf.c: New file.
* mingwex/math/tgammal.c: New file.
* mingwex/math/cephes_mconf (polevlf): Add float version.
(p1evlf): Likewise.
Define _CEPHES_USE_ERRNO.
* mingwex/Makefile.in (MATH_DISTFILES): Add new files.
(MATH_OBJS): Add new objects.
* include/math.h (lgamma[fl]): Add prototypes.
(tgamma[fl]): Add prototypes.
hunt [Wed, 27 Nov 2002 02:45:06 +0000 (02:45 +0000)]
2002-11-26 Martin M. Hunt <hunt@redhat.com>
* Makefile.in: Remove Tix references.
* library/Makefile.in: Remove Tix references.
* src/Makefile.in: Remove Tix references.
cgf [Wed, 27 Nov 2002 02:26:44 +0000 (02:26 +0000)]
white space
cgf [Wed, 27 Nov 2002 02:12:50 +0000 (02:12 +0000)]
* cygwin.din: Export nl_langinfo().
* include/cygwin/version.h: Bump API minor version.
cagney [Wed, 27 Nov 2002 01:08:48 +0000 (01:08 +0000)]
2002-11-26 Andrew Cagney <
ac131313@redhat.com>
* config/h8500/tm-h8500.h (CALL_DUMMY_LOCATION): Define as ON_STACK.
(USE_GENERIC_DUMMY_FRAMES): Define as zero.
(PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_on_stack.
* config/mn10200/tm-mn10200.h (PC_IN_CALL_DUMMY): Define as
pc_in_call_dummy_at_entry_point.
* config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Define as ON_STACK.
(USE_GENERIC_DUMMY_FRAMES): Define as zero.
(PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_on_stack.
* config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Delete undefine.
* config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Define as
pc_in_call_dummy_on_stack.
* config/sparc/tm-sp64.h (PC_IN_CALL_DUMMY): Redefine as
pc_in_call_dummy_at_entry_point and pc_in_call_dummy_on_stack.
* config/z8k/tm-z8k.h (CALL_DUMMY_LOCATION): Define as ON_STACK.
(USE_GENERIC_DUMMY_FRAMES): Define as zero.
(PC_IN_CALL_DUMMY): Defile as pc_in_call_dummy_on_stack.
gdbadmin [Wed, 27 Nov 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 26 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update
ezannoni [Tue, 26 Nov 2002 22:44:37 +0000 (22:44 +0000)]
2002-11-26 Elena Zannoni <ezannoni@redhat.com>
Fix PR gdb/723 and PR gdb/245.
* Makefile.in (install-info): Run the install-info command as part
of the post install steps only.
(uninstall-info): New target.
(uninstall): New target.
ezannoni [Tue, 26 Nov 2002 22:33:21 +0000 (22:33 +0000)]
2002-11-26 Elena Zannoni <ezannoni@redhat.com>
* Makefile.in (INFO_DEPS): Define.
(all): Add install-info to the rule.
(info): Unse INFO_DEPS.
(install-info): Rewrite.
(uninstall-info): New.
(uninstall): New.
dj [Tue, 26 Nov 2002 21:55:14 +0000 (21:55 +0000)]
* dwarf2dbg.c (scale_addr_delta): New.
(size_inc_line_addr): Use it.
(emit_inc_line_addr): Use it.
cgf [Tue, 26 Nov 2002 20:32:39 +0000 (20:32 +0000)]
* fhandler_tty.cc (fhandler_pty_master::accept_input): Just use a normal Sleep
or suffer amazing pauses when other tty apps are running.
(fhandler_pty_master::process_slave_output): Ditto.
hunt [Tue, 26 Nov 2002 20:01:35 +0000 (20:01 +0000)]
Initial revision
hunt [Tue, 26 Nov 2002 19:47:46 +0000 (19:47 +0000)]
touched all sources to ease next import
cagney [Tue, 26 Nov 2002 19:01:29 +0000 (19:01 +0000)]
2002-11-26 Andrew Cagney <
ac131313@redhat.com>
* inferior.h (deprecated_pc_in_call_dummy_before_text_end): Rename
pc_in_call_dummy_before_text_end
(deprecated_pc_in_call_dummy_after_text_end): Rename
pc_in_call_dummy_after_text_end.
(deprecated_pc_in_call_dummy_on_stack): Rename
pc_in_call_dummy_on_stack.
(deprecated_pc_in_call_dummy_at_entry_point): Rename
pc_in_call_dummy_at_entry_point.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_gdbarch_init): Update.
* vax-tdep.c (vax_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* i386-tdep.c (i386_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Update.
* blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
(deprecated_pc_in_call_dummy_after_text_end)
(deprecated_pc_in_call_dummy_on_stack)
(deprecated_pc_in_call_dummy_at_entry_point): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
cgf [Tue, 26 Nov 2002 18:11:50 +0000 (18:11 +0000)]
* libc/string/memset.c (memset): Move initialization of 'd' earlier in
function.
amodra [Tue, 26 Nov 2002 11:53:58 +0000 (11:53 +0000)]
* elf-eh-frame.c (ENSURE_NO_RELOCS): Disregard R_*_NONE relocs.
(_bfd_elf_discard_section_eh_frame): Don't discard duplicate CIEs
on a relocatable link. Comment typos.
* elf.c (_bfd_elf_link_hash_newfunc): Assign elements of structure
in the order they are declared. Clear elf_hash_value too.
(_bfd_elf_link_hash_table_init): Likewise assign in order. Clear
eh_info and tls_segment.
* elflink.h (elf_link_input_bfd <emit_relocs>): Keep reloc offsets
sorted when discarding relocs by turning them into R_*_NONE.
* libbfd.c (warn_deprecated): Comment spelling.
* po/SRC-POTFILES.in: Regenerate.
hp [Tue, 26 Nov 2002 08:21:34 +0000 (08:21 +0000)]
* config/tc-cris.c (cris_relax_frag): Fix typo in comment.
(md_assemble): Don't pass on branches to constants as relaxable.
Tweak comment.
hp [Tue, 26 Nov 2002 08:19:08 +0000 (08:19 +0000)]
* gas/cris/rd-bcnst.d, gas/cris/rd-bcnst.d: New test.
drow [Tue, 26 Nov 2002 01:23:45 +0000 (01:23 +0000)]
* acconfig.h (HAVE_PREAD64): Add.
* configure.in: Check for pread64.
* config.in: Regenerated.
* configure: Regenerated.
* lin-lwp.c (lin_lwp_xfer_memory): Call linux_proc_xfer_memory.
* linux-proc.c (linux_proc_xfer_memory): New function.
* config/nm-linux.h (linux_proc_xfer_memory): Add prototype.
dannysmith [Tue, 26 Nov 2002 00:11:05 +0000 (00:11 +0000)]
Add strtold and wcstold to libmingwex.a
* mingwex/strtold.c: New file.
* mingwex/wcstold.c: New file.
* mingwex/ldtoa.c: New file.
* mingwex/math/cephes_emath.h: New file.
* mingwex/math/cephes_emath.c: New file.
* mingwex/Makefile.in (DISTFILES): Add new files.
(MATH_DISTFILES): Ditto.
(STDLIB_OBJS): New. Define as strtold.c wcstold.c.
(MATH_OBJS): Add cephes_emath.o.
(LIB_OBJS): Add $(STDLIB_OBJS).
* include/stdlib.h (strtold, wcstold): Add prototypes.
* include/wchar.h (wcstold): Add prototype.
Add missing ChangeLog entry for 2002-11-09.
gdbadmin [Tue, 26 Nov 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 25 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update
carlton [Mon, 25 Nov 2002 22:01:38 +0000 (22:01 +0000)]
2002-11-25 David Carlton <carlton@math.stanford.edu>
* dwarf2read.c (scan_partial_symbols): Descend into namespace
pdi's with no name.
earnie [Mon, 25 Nov 2002 21:15:50 +0000 (21:15 +0000)]
* include/w32api.h: Increment to version 2.2
* Makefile.in: Ditto.
dj [Mon, 25 Nov 2002 21:15:40 +0000 (21:15 +0000)]
* gas/xstormy16/allinsn.d: Fix sdiv/sdivlh encodings.
dj [Mon, 25 Nov 2002 21:15:23 +0000 (21:15 +0000)]
* xstormy16-decode.cxx: Regenerate.
dj [Mon, 25 Nov 2002 21:15:04 +0000 (21:15 +0000)]
* xstormy16-opc.c: Regenerate.
dj [Mon, 25 Nov 2002 21:14:15 +0000 (21:14 +0000)]
* xstormy16.cpu (sdiv, divlh, sdivlh): Fix sdivlh/divlh encodings.
cgf [Mon, 25 Nov 2002 21:11:57 +0000 (21:11 +0000)]
* libc/string/memset.c (memset): Minor optimization: Use new 'd' variable,
introduced below, everywhere.
cagney [Mon, 25 Nov 2002 21:07:49 +0000 (21:07 +0000)]
2002-11-25 Andrew Cagney <
ac131313@redhat.com>
* MAINTAINERS: Mark h8500 as broken. Breakage occured Fri Nov 5
16:32:04 1999 Andrew Cagney <cagney@b1.cygnus.com>.
jimb [Mon, 25 Nov 2002 21:00:51 +0000 (21:00 +0000)]
* symfile.c (init_objfile_sect_indices): New function.
(default_symfile_offsets): Move the section-index-initializing
stuff into init_objfile_sect_indices, and call that.