Clinton Popetz [Sat, 6 May 2000 01:47:18 +0000 (01:47 +0000)]
* xcoff.h: Rename to xcoff-target.h
* Makefile.am: Change all instances of xcoff.h to xcoff-target.h
* coff-rs6000.c: Ditto.
* coff64-rs6000.c: Ditto.
* coff-pmac.c: Ditto.
* Makefile.in: Regenerate.
Clinton Popetz [Sat, 6 May 2000 01:41:50 +0000 (01:41 +0000)]
bfd:
* coffcode.h (coff_set_arch_mach_hook, coff_set_flags):
Change U802TOC64MAGIC to U803XTOCMAGIC.
include:
* coff/rs6k64.h (U802TOC64MAGIC): Change to U803XTOCMAGIC.
Michael Snyder [Fri, 5 May 2000 21:50:23 +0000 (21:50 +0000)]
2000-04-28 Michael Snyder <msnyder@seadog.cygnus.com>
* gdb.base/break.exp: When compiled with -O2 optimization,
gdb may not stop at the first line of main, due to code motion.
Michael Snyder [Fri, 5 May 2000 20:56:10 +0000 (20:56 +0000)]
2000-05-05 Michael Snyder <msnyder@seadog.cygnus.com>
* procfs.c: Cleanup of procfs tracing. Move defines and
prototypes to proc-utils.h
* proc-utils.h: Define tracing macros. Declare trace functions.
* proc-api.c: Make procfs tracing a runtime option.
(prepare_to_trace): New function, abstracted out of several
places. Open a trace file if one is required.
(ioctl_with_trace, write_with_trace, open_with_trace,
close_with_trace, wait_with_trace, lseek_with_trace):
Report errno if an error occurs in a system call.
(write_with_trace): Make 2nd arg void *, to agree with write.
Elena Zannoni [Fri, 5 May 2000 19:09:27 +0000 (19:09 +0000)]
2000-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* elfread.c (elf_symtab_read): The calculation of 'offset'
must be done for each symbol, not just once. The index
used must be the index of the section where 'sym' resides,
not .text.
Michael Snyder [Fri, 5 May 2000 18:29:33 +0000 (18:29 +0000)]
2000-05-05 Michael Snyder <msnyder@seadog.cygnus.com>
* procfs.c (many functions): change int cmd; to long cmd;
Solaris /proc API calls this parameter a long, and requires it
for 64-bit hosts (where sizeof(long) != sizeof(int)). UnixWare
calls it an int, but on existing UnixWare hosts, int and long
are the same size. So long it must be. If a future UnixWare
version has problems with this, we'll have to use autoconf.
* proc-api.c (write_with_trace): use long instead of int.
Michael Snyder [Fri, 5 May 2000 18:14:27 +0000 (18:14 +0000)]
2000-05-03 Michael Snyder <msnyder@seadog.cygnus.com>
* solib.c (elf_locate_base, info_sharedlibrary_command):
Look at the bfd to determine if it is elf32 or elf64, rather
than using an ifdef. This makes it runtime teststable and
multi-arch.
Michael Snyder [Fri, 5 May 2000 18:12:53 +0000 (18:12 +0000)]
2000-05-04 Michael Snyder <msnyder@seadog.cygnus.com>
* elf.c (bfd_elf_get_arch_size): New function, return 32 | 64 | -1.
* bfd-in.h: Prototype bfd_elf_get_arch_size.
* bfd-in2.h: Prototype bfd_elf_get_arch_size.
Mark Kettenis [Thu, 4 May 2000 19:25:57 +0000 (19:25 +0000)]
* i386-linux-nat.c: Define PT_READ_U and PT_WRITE_U if they're not
already defined.
Mark Kettenis [Thu, 4 May 2000 17:32:49 +0000 (17:32 +0000)]
* infrun.c (handle_inferior_event): Add missing call to keep_going
and missing return when handling an ordinary signal from the
inferior.
Elena Zannoni [Thu, 4 May 2000 16:52:34 +0000 (16:52 +0000)]
Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* objfiles.h (SECT_OFF_DATA, SECT_OFF_TEXT, SECT_OFF_BSS,
SECT_OFF_RODATA): Define as functions of OBJFILE. Add
sect_index_text, sect_index_data, sect_index_rodata,
sect_index_bss to objfile structure.
* gdb-stabs.h (SECT_OFF_DATA, SECT_OFF_TEXT, SECT_OFF_BSS,
SECT_OFF_RODATA): Remove.
* objfiles.c (allocate_objfile): Initialize
sect_index_{text,data,bss,rodata} to -1, for error detection.
* symfile.c (default_symfile_offsets): Initialize
sect_index_{text,data,bss,rodata} from bfd information.
* xcoffread.c (xcoff_symfile_offsets): Ditto.
* somread.c (som_symfile_offsets): Initialize
sect_index_{text,data,bss,rodata}.
* coffread.c, dbxread.c, elfread.c, hp-psymtab-read.c,
hp-symtab-read.c, hpread.c, mdebugread.c, minsyms.c,
mipsread.c, objfiles.c, os9kread.c, pa64solib.c, partial-stab.h,
remote-os9k.c, remote-vx.c, remote.c, rs6000-nat.c, somsolib.c,
stabsread.c, symfile.c, xcoffread.c:
Update use of SECT_OFF_{TEXT,DATA,BSS,RODATA} to depend on the
current objfile.
* xcoffread.c: Add new field objfile to find_targ_sec_arg.
Andrew Cagney [Thu, 4 May 2000 14:16:51 +0000 (14:16 +0000)]
Remove more defunct macros.
Alan Modra [Thu, 4 May 2000 12:45:43 +0000 (12:45 +0000)]
Fix thinko in 2000-05-02 change.
Andrew Cagney [Thu, 4 May 2000 11:10:22 +0000 (11:10 +0000)]
Cleanups. Zap unused macros.
H.J. Lu [Thu, 4 May 2000 06:38:33 +0000 (06:38 +0000)]
2000-05-03 Martin v. Löwis <loewis@informatik.hu-berlin.de>
* elflink.h (elf_link_add_object_symbols): Reset dynindx for
hidden and internal symbols.
(elf_fix_symbol_flags): Clear NEEDS_PLT for symbols with
visibility.
* elflink.c (_bfd_elf_link_record_dynamic_symbol): Do not
assign a PLT or GOT entry to symbols with hidden and
internal visibility.
Alan Modra [Thu, 4 May 2000 03:53:00 +0000 (03:53 +0000)]
Just mention current year in printed copyright message.
J.T. Conklin [Wed, 3 May 2000 22:25:08 +0000 (22:25 +0000)]
* ppc-opc.c (VA, VB, VC, VD, VS, SIMM, UIMM, SHB): New macros, for
vector unit operands.
(VX, VX_MASK, VXA, VXA_MASK, VXR, VXR_MASK): New macros, for vector
unit instruction formats.
(PPCVEC): New macro, mask for vector instructions.
(powerpc_operands): Add table entries for above operand types.
(powerpc_opcodes): Add table entries for vector instructions.
* ppc-dis.c (print_insn_big_powerpc): Add PPC_OPCODE_ALTIVEC to mask.
(print_insn_little_powerpc): Likewise.
(print_insn_powerpc): Prepend 'v' when printing vector registers.
J.T. Conklin [Wed, 3 May 2000 22:23:01 +0000 (22:23 +0000)]
* config/tc-ppc.c (pre_defined_registers): Add entries for vector
unit registers.
(md_parse_option): Recognize -m7400.
J.T. Conklin [Wed, 3 May 2000 22:19:45 +0000 (22:19 +0000)]
* ppc.h (PPC_OPCODE_ALTIVEC): New opcode flag for vector unit.
(PPC_OPERAND_VR): New operand flag for vector registers.
Daniel Berlin [Wed, 3 May 2000 21:55:28 +0000 (21:55 +0000)]
Insert missing entry
Ian Lance Taylor [Wed, 3 May 2000 21:23:52 +0000 (21:23 +0000)]
* config/atof-ieee.c (gen_to_words): When adding carry back in,
don't permit lp to become less than the words array.
Mark Kettenis [Wed, 3 May 2000 20:16:05 +0000 (20:16 +0000)]
* infrun.c (handle_inferior_event): When doing a "next", and
stepping out of a signal handler into its calling trampoline
ignore the value of step_frame_address.
(step_over_function): Only modify step_resume_breakpoint->frame if
the value of step_frame_address is non-zero.
Nick Clifton [Wed, 3 May 2000 18:50:55 +0000 (18:50 +0000)]
Fix little endian relocs
Michael Snyder [Wed, 3 May 2000 18:21:52 +0000 (18:21 +0000)]
2000-05-03 Michael Snyder <msnyder@seadog.cygnus.com>
* monitor.c (monitor_fetch_register): MAX_REGISTER_RAW_SIZE
is not static in the MULTI_ARCH world, so don't use it in a
static array declaration.
Elena Zannoni [Wed, 3 May 2000 13:45:17 +0000 (13:45 +0000)]
Tue May 2 13:17:21 2000 Elena Zannoni (ezannoni@makita.cygnus.com)
* symtab.c (in_prologue): From Jim Blandy. Rewrite, more
intelligently, making sure we use the information from the
symbol tables fully.
Alan Modra [Wed, 3 May 2000 11:22:42 +0000 (11:22 +0000)]
Fix 64 bit target section start on 32 bit machine.
Andrew Cagney [Wed, 3 May 2000 09:26:07 +0000 (09:26 +0000)]
Add missing ChangeLog.
Sync with mitsu's version.
Alan Modra [Wed, 3 May 2000 06:38:40 +0000 (06:38 +0000)]
Update copyright message.
Alan Modra [Wed, 3 May 2000 04:25:33 +0000 (04:25 +0000)]
go32 bss alignment.
H.J. Lu [Tue, 2 May 2000 17:57:02 +0000 (17:57 +0000)]
2000-05-02 H.J. Lu <hjl@gnu.org>
* ia64-tdep.c (ia64_gdbarch_init): Reference to ELFOSABI_NONE
instead of ELFOSABI_SYSV.
H.J. Lu [Tue, 2 May 2000 17:54:32 +0000 (17:54 +0000)]
2000-05-02 H.J. Lu <hjl@gnu.org>
* readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
and ELFOSABI_OPENBSD.
H.J. Lu [Tue, 2 May 2000 17:51:36 +0000 (17:51 +0000)]
2000-05-02 H.J. Lu <hjl@gnu.org>
* elf.c (prep_headers): USe ELFOSABI_NONE instead of
ELFOSABI_SYSV.
H.J. Lu [Tue, 2 May 2000 17:49:32 +0000 (17:49 +0000)]
2000-05-02 H.J. Lu <hjl@gnu.org>
* common.h (ELFOSABI_NONE): Renamed from ELFOSABI_SYSV.
(ELFOSABI_MODESTO): Defined.
(ELFOSABI_OPENBSD): Likewise.
Ben Elliston [Tue, 2 May 2000 12:47:19 +0000 (12:47 +0000)]
Correct a typo in the author's surname!
Alan Modra [Tue, 2 May 2000 11:18:33 +0000 (11:18 +0000)]
Restore elf32-hppa target vec.
Andrew Cagney [Tue, 2 May 2000 09:36:57 +0000 (09:36 +0000)]
Multi-arch NPC_REGNUM NNPC_REGNUM.
Andrew Cagney [Tue, 2 May 2000 08:59:35 +0000 (08:59 +0000)]
revert 1.9. Not approved.
Andrew Cagney [Tue, 2 May 2000 08:57:21 +0000 (08:57 +0000)]
re-do how gdbarch provides non-multi arch defaults so that non-
multi-arch gdbservers can continue to compile.
Andrew Cagney [Tue, 2 May 2000 08:34:08 +0000 (08:34 +0000)]
Add JimB to global checkin list
Andrew Cagney [Tue, 2 May 2000 07:41:04 +0000 (07:41 +0000)]
Add ElenaZ to symtabs maintainers list.
Andrew Cagney [Tue, 2 May 2000 07:30:40 +0000 (07:30 +0000)]
Make Syd Polk principal maintainer.
Alan Modra [Tue, 2 May 2000 02:29:17 +0000 (02:29 +0000)]
fix gcc warnings
Jim Wilson [Tue, 2 May 2000 00:58:51 +0000 (00:58 +0000)]
Fix just added ia64-linux support to conform with others.
* configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
Jim Wilson [Tue, 2 May 2000 00:39:34 +0000 (00:39 +0000)]
Ld testsuite support for ia64-linux.
* configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
host "ia64-*-linux-gnu*".
Jim Wilson [Tue, 2 May 2000 00:23:54 +0000 (00:23 +0000)]
Fix IA-64 --enable-targets=all bug reports.
* Makefile.am (BFD32_BACKENDS): Add efi-app-ia32.lo.
(BFD32_BACKENDS_CFILES): Add efi-app-ia32.c.
(BFD64_BACKENDS): Delete coff-ia64.lo. Add efi-app-ia64.lo.
(BFD64_BACKENDS_CFILES): Delete coff-ia64.c. Add efi-app-ia64.c.
* Makefile.in: Rebuild.
Alan Modra [Tue, 2 May 2000 00:12:52 +0000 (00:12 +0000)]
Assorted code cleanup and fixes for hppa. Re-enable elf32-hppa as
it now compiles even if it doesn't work too well.
Alan Modra [Tue, 2 May 2000 00:00:27 +0000 (00:00 +0000)]
elf fixes.
Alan Modra [Mon, 1 May 2000 23:56:49 +0000 (23:56 +0000)]
Duplicate hppa*-*-*elf* behaviour for hppa*-*-linux*.
Fix elf tests for targets that define LABELS_WITHOUT_COLONS.
Nicholas Duffek [Mon, 1 May 2000 21:22:42 +0000 (21:22 +0000)]
* gdb.texinfo (Command Files): Mention -x, use @enumerate for
startup sequence, minor edits.
Nick Clifton [Mon, 1 May 2000 18:08:39 +0000 (18:08 +0000)]
Fix tests to remove leading zeroes from labels
Jeff Law [Mon, 1 May 2000 16:55:50 +0000 (16:55 +0000)]
* h8300.h (EOP): Add missing initializer.
Stan Shebs [Mon, 1 May 2000 16:12:10 +0000 (16:12 +0000)]
Remove obsolete Gould configuration:
* configure.host, configure.tgt: Remove Gould configs.
* Makefile.in: Remove Gould-related actions.
* gould-xdep.c, gould-tdep.c, config/gould/*: Remove files.
* NEWS: Mention removal.
Jim Blandy [Mon, 1 May 2000 16:12:01 +0000 (16:12 +0000)]
* gdbint.texinfo (RETURN_VALUE_ON_STACK): Document.
Catherine Moore [Mon, 1 May 2000 14:01:06 +0000 (14:01 +0000)]
* macro.c (macro_expand_body): Don't prepend macro number with zeroes.
Denis Chertykov [Mon, 1 May 2000 11:14:05 +0000 (11:14 +0000)]
* config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places.
More comments added.
(md_begin): Removed "construct symbols for each register name".
Because register names conflicts with GCC generated function
names.
(avr_operand): Now constant numbers can be used as a register
identifiers (0 as r0, 31 as r31).
(md_assemble): use skip_space () before parsing instruction
operands.
Denis Chertykov [Mon, 1 May 2000 08:48:32 +0000 (08:48 +0000)]
* config/tc-avr.c: New AVR_ISA_ defined.
(md_assemble): Handle opcodes with optional operands (lpm,elpm).
(avr_operand): Handle 'a', 'v' and 'z' constraint letters needed
for `fmul', `movw' and `lpm R,Z' instructions.
(avr_operands): Warn if current opcode is a two-word instruction
and previous opcode was cpse/sbic/sbis/sbrc/sbrs.
(avr_opcodes): New commands added.
(REGISTER_P): Check 'a' and 'v' constraint letters.
(mcu_types): New MCU added.
Denis Chertykov [Mon, 1 May 2000 08:45:11 +0000 (08:45 +0000)]
* avr-dis.c (reg_fmul_d): New. Extract destination register from
FMUL instruction.
(reg_fmul_r): New. Extract source register from FMUL instruction.
(reg_muls_d): New. Extract destination register from MULS instruction.
(reg_muls_r): New. Extract source register from MULS instruction.
(reg_movw_d): New. Extract destination register from MOVW instruction.
(reg_movw_r): New. Extract source register from MOVW instruction.
(print_insn_avr): Handle MOVW, MULS, MULSU, FMUL, FMULS, FMULSU,
EICALL, EIJMP, LPM r,Z, ELPM r,Z, SPM, ESPM instructions.
Eli Zaretskii [Mon, 1 May 2000 08:34:36 +0000 (08:34 +0000)]
* annotate.texi: Remove "@syncodeindex fn cp", it causes grief in
TeX.
* gdb.texinfo: Add "@syncodeindex fn cp". Convert all entries
"@kindex f" into "@kindex f (foo)", otherwise we get index entries
like `n' and `s' which look weird. Convert some of the @kindex to
@vindex, when they refer to variables, not commands.
Andrew Cagney [Mon, 1 May 2000 07:06:10 +0000 (07:06 +0000)]
* mips.igen (DMxC1): Fix format arguments for sim_io_eprintf call.
Denis Chertykov [Mon, 1 May 2000 06:53:41 +0000 (06:53 +0000)]
* readelf.c (guess_is_rela): AVR uses RELA relocations.
(get_machine_name): machine name for EM_AVR added.
Alan Modra [Mon, 1 May 2000 06:53:26 +0000 (06:53 +0000)]
Ensure all pe targets use bfd.
Andrew Cagney [Mon, 1 May 2000 05:45:36 +0000 (05:45 +0000)]
From 2000-04-28 Andreas Jaeger <aj@suse.de>:
Properly check for GCC version number.
Alan Modra [Mon, 1 May 2000 05:02:57 +0000 (05:02 +0000)]
Fix "incompatible types in return" gcc error.
Alan Modra [Mon, 1 May 2000 04:47:39 +0000 (04:47 +0000)]
Fix bfd_coff_small_swap_table initialisation.
Andrew Cagney [Mon, 1 May 2000 04:34:06 +0000 (04:34 +0000)]
Do not use @value{GDBN in @nodes.
Ben Elliston [Sun, 30 Apr 2000 15:04:58 +0000 (15:04 +0000)]
2000-04-30 Ben Elliston <bje@redhat.com>
* bfdint.texi (BFD generated files): Fix another typo.
Mark Kettenis [Sun, 30 Apr 2000 09:34:13 +0000 (09:34 +0000)]
2000-04-30 Mark Kettenis <kettenis@gnu.org>
Fix single-stepping out of signal trampolines.
* config/i386/nm-linux.h (CHILD_RESUME): Define.
* i386-linux-nat.c (child_resume): New function.
Clinton Popetz [Sat, 29 Apr 2000 14:41:30 +0000 (14:41 +0000)]
* xcoff.h: Forgot to cvs add in last patch.
Andrew Cagney [Sat, 29 Apr 2000 08:55:45 +0000 (08:55 +0000)]
Convert SKIP_PROLOGUE_FRAMELESS_P into PROLOGUE_FRAMELESS_P.
Clinton Popetz [Sat, 29 Apr 2000 02:45:34 +0000 (02:45 +0000)]
* libcoff.h: Sigh, whitespace differences after 'make headers'.
Clinton Popetz [Sat, 29 Apr 2000 02:41:36 +0000 (02:41 +0000)]
* coffcode.h Copy changes mistakenly done to libcoff.h in
4/24/2000 patch.
Alan Modra [Sat, 29 Apr 2000 00:56:29 +0000 (00:56 +0000)]
Correctly check gcc version.
Clinton Popetz [Fri, 28 Apr 2000 20:02:30 +0000 (20:02 +0000)]
* Makefile.am (BFD64_BACKENDS, BFD64_BACKENDS_CFILES): Add
coffdu-rs6000.{lo,c}.
(coff-pmac.lo, coff-rs6000.lo, coff64-rs6000.lo): Add dependency
on xcoff.h
* Makefile.in: Regenerate.
* xcoff.h: New file.
* coff-pmac.c: Use xcoff.h instead of coff-rs6000.c.
* coff-rs6000.c: Move all declarations and defines that are
common to the xcoff backends into xcoff.h
* coff64-rs6000.c: Ditto,
Clinton Popetz [Fri, 28 Apr 2000 13:50:57 +0000 (13:50 +0000)]
* coff-mips.c (mips_ecoff_backend_data): Add initialization of
_bfd_coff_force_symnames in strings and
_bfd_coff_debug_string_prefix_length to their default values.
* coff-sh.c: (bfd_coff_small_swap_table): Ditto.
Clinton Popetz [Fri, 28 Apr 2000 13:17:26 +0000 (13:17 +0000)]
* coff-alpha.c (alpha_ecoff_backend_data): Add initialization of
_bfd_coff_force_symnames in strings and
_bfd_coff_debug_string_prefix_length to their default values.
Andrew Cagney [Fri, 28 Apr 2000 06:13:46 +0000 (06:13 +0000)]
Provide more detailed traces of the event queue.
Andrew Cagney [Fri, 28 Apr 2000 06:02:51 +0000 (06:02 +0000)]
Fix event insertion when processing more than one event for the current time.
Andrew Cagney [Fri, 28 Apr 2000 05:59:25 +0000 (05:59 +0000)]
Cleanup tracing.
Andrew Cagney [Fri, 28 Apr 2000 05:50:19 +0000 (05:50 +0000)]
From "Serge Nikulin" <nikulin@actsw.amat.com>:
Don't trip on NULL function name in sigtramp.
Michael Snyder [Fri, 28 Apr 2000 05:21:23 +0000 (05:21 +0000)]
2000-04-27 Michael Snyder <msnyder@seadog.cygnus.com>
* gdbarch.sh (d10v_daddr_p, d10v_iaddr_p, d10v_convert_daddr_to_raw,
d10v_convert_iaddr_to_raw): make these multi-arch functions optional.
* gdbarch.c, gdbarch.h: regenerate
Andrew Cagney [Fri, 28 Apr 2000 03:10:44 +0000 (03:10 +0000)]
Cast function to correct type.
Michael Snyder [Thu, 27 Apr 2000 15:33:01 +0000 (15:33 +0000)]
2000-04-27 Michael Snyder <msnyder@seadog.cygnus.com>
* jv-valprint.c (java_val_print): Add arg declaration,
fix compiler warning.
* corelow.c (core_open): Call set_gdbarch_from_file so that
gdbarch becomes aware of the architecture encoded in the
corefile.
* findvar.c (write_register_gen): Export this useful interface.
* value.h (write_register_gen): Declare.
Elena Zannoni [Thu, 27 Apr 2000 15:11:14 +0000 (15:11 +0000)]
2000-04-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* cxux-nat.c (add_shared_symbol_files): Don't treat .text section
as special in the section_addr_info structure.
* pa64solib.c (pa64_solib_add_solib_objfile): Ditto.
* osfsolib.c (symbol_add_stub): Ditto.
* irix5-nat.c (symbol_add_stub): Ditto.
Andrew Cagney [Thu, 27 Apr 2000 04:25:45 +0000 (04:25 +0000)]
Include "arch-utils.h".
Michael Snyder [Thu, 27 Apr 2000 01:04:52 +0000 (01:04 +0000)]
2000-04-26 Michael Snyder <msnyder@seadog.cygnus.com>
* procfs.c (comments): Eliminate "???" in comments, which GCC
wants to interpret as a trigraph. (fill_gregset, supply_gregset,
fill_fpregset, supply_fpregset): declare.
(procfs_wait): Sysargs is a long, change printf format to match.
(test-mapping, mapping_test, test_mapping_cmd) Remove (test only).
Michael Snyder [Thu, 27 Apr 2000 00:53:41 +0000 (00:53 +0000)]
* proc-api.c (write_with_trace): Change 'arg' from long to int.
Treat 'off_t' and 'size_t' as unsigned long in printfs.
(lseek_with_trace): Treat 'off_t' as unsigned long in printf.
Michael Snyder [Thu, 27 Apr 2000 00:45:19 +0000 (00:45 +0000)]
2000-04-26 Michael Snyder <msnyder@seadog.cygnus.com>
* gdb.base/call-ar-st.exp: Bail out if target is sparclet.
This test depends on parsing the printf output from the target.
Since the sparclet stub doesn't do stdio, this will never work.
* gdb.base/call-rt-st.exp: ditto.
* gdb.base/call-strs: ditto.
Michael Snyder [Thu, 27 Apr 2000 00:41:49 +0000 (00:41 +0000)]
2000-04-26 Michael Snyder <msnyder@seadog.cygnus.com>
* wrapper.h: fix minor comment typo.
Alan Modra [Thu, 27 Apr 2000 00:31:17 +0000 (00:31 +0000)]
Reference count .plt and .got on x86 for garbage collection code. Fix a
couple of m68k and ppc bugs discovered while testing x86 gc.
Andrew Cagney [Thu, 27 Apr 2000 00:23:02 +0000 (00:23 +0000)]
Document IRIX->ARM cross compile problem.
Michael Snyder [Thu, 27 Apr 2000 00:15:14 +0000 (00:15 +0000)]
2000-04-26 Michael Snyder <msnyder@seadog.cygnus.com>
* utils.c (internal_verror): Call target_terminal_ours.
Andrew Cagney [Wed, 26 Apr 2000 23:39:53 +0000 (23:39 +0000)]
Add section discussing future changes to output syntax.
Clinton Popetz [Wed, 26 Apr 2000 21:35:19 +0000 (21:35 +0000)]
* config.bfd: Remove extraneous bfd_powerpc_64_arch.
Kevin Buettner [Wed, 26 Apr 2000 21:27:35 +0000 (21:27 +0000)]
Add mapping ia64-linux-nat.c -> ia64linux-nat.c.
Clinton Popetz [Wed, 26 Apr 2000 15:09:44 +0000 (15:09 +0000)]
Add XCOFF64 support.
bfd:
* Makefile.am (coff64-rs6000.lo): New rule.
* Makefile.in: Regenerate.
* coff-rs6000.c (xcoff_mkobject, xcoff_copy_private_bfd_data,
xcoff_is_local_label_name, xcoff_rtype2howto,
xcoff_reloc_type_lookup, xcoff_slurp_armap, xcoff_archive_p,
xcoff_read_ar_hdr, xcoff_openr_next_archived_file, xcoff_write_armap,
xcoff_write_archive_contents): No longer static, and prefix with _bfd_.
(NO_COFF_SYMBOLS): Define.
(xcoff64_swap_sym_in, xcoff64_swap_sym_out, xcoff64_swap_aux_in,
xcoff64_swap_aux_out): New functions; handle xcoff symbol tables
internally.
(MINUS_ONE): New macro.
(xcoff_howto_tabl, xcoff_reloc_type_lookup): Add 64 bit POS
relocation.
(coff_SWAP_sym_in, coff_SWAP_sym_out, coff_SWAP_aux_in,
coff_SWAP_aux_out): Map to the new functions.
* coff64-rs6000.c: New file.
* libcoff.h (bfd_coff_backend_data): Add new fields
_bfd_coff_force_symnames_in_strings and
_bfd_coff_debug_string_prefix_length.
(bfd_coff_force_symnames_in_strings,
bfd_coff_debug_string_prefix_length): New macros for above fields.
* coffcode.h (coff_set_arch_mach_hook): Handle XCOFF64 magic.
Set machine to 620 for XCOFF64. Use bfd_coff_swap_sym_in instead
of using coff_swap_sym_in directly.
(FORCE_SYMNAMES_IN_STRINGS): New macro, defined for XCOFF64.
(coff_set_flags) Set magic for XCOFF64.
(coff_compute_section_file_positions): Add symbol name length to
string section length if bfd_coff_debug_string_prefix_length is
true.
(coff_write_object_contents): Don't do reloc overflow for XCOFF64.
(coff_slurp_line_table): Use bfd_coff_swap_lineno_in instead of
using coff_swap_lineno_in directly.
(bfd_coff_backend_data): Add _bfd_coff_force_symnames_in_strings
and _bfd_coff_debug_string_prefix_length fields.
* coffgen.c (coff_fix_symbol_name, coff_write_symbols): Force
symbol names into strings table when
bfd_coff_force_symnames_in_strings is true.
* coffswap.h (MAX_SCNHDR_NRELOC, MAX_SCNHDR_NLNNO, GET_RELOC_VADDR,
SET_RELOC_VADDR): New macros.
(coff_swap_reloc_in, coff_swap_reloc_out): Use above macros.
(coff_swap_aux_in, coff_swap_aux_out): Remove RS6000COFF_C
code.
(coff_swap_aouthdr_in, coff_swap_aouthdr_out): Handle XCOFF64
changes within RS6000COFF_C specific code.
(coff_swap_scnhdr_out): Use PUT_SCNHDR_NLNNO, PUT_SCNHDR_NRELOC,
MAX_SCNHDR_NRELOC, and MAX_SCNHDR_NLNNO.
* reloc.c (bfd_perform_relocation, bfd_install_relocation):
Extend existing hack on target name.
* xcofflink.c (XCOFF_XVECP): Extend existing hack on
target name.
* coff-tic54x.c (ticof): Keep up to date with new fields
in bfd_coff_backend_data.
* config.bfd: Add bfd_powerpc_64_arch to targ_arch and define
targ_selvecs to include rs6000coff64_vec for rs6000.
* configure.in: Add rs6000coff64_vec case.
* cpu-powerpc.c: New bfd_arch_info_type.
gas:
* as.c (parse_args): Allow md_parse_option to override -a listing
option.
* config/obj-coff.c (add_lineno): Change type of offset parameter
from "int" to "bfd_vma."
* config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine."
(ppc_mach, ppc_subseg_align, ppc_target_format): New.
(ppc_change_csect): Align correctly for XCOFF64.
(ppc_machine): New function, which discards "ppc_machine" line.
(ppc_tc): Cons for 8 when code is 64 bit.
(md_apply_fix3): Don't check operand->insert. Handle 64 bit
relocations.
(md_parse_option): Handle -a64 and -a32.
(ppc_xcoff64): New.
* config/tc-ppc.h (TARGET_MACH): Define.
(TARGET_FORMAT): Move to function.
(SUB_SEGMENT_ALIGN): Use ppc_subseg_align.
include:
* include/coff/rs6k64.h: New file.
opcodes:
* configure.in: Add bfd_powerpc_64_arch.
* disassemble.c (disassembler): Use print_insn_big_powerpc for
64 bit code.
Philippe De Muyter [Wed, 26 Apr 2000 12:41:48 +0000 (12:41 +0000)]
* ax-gdb.c (agent_command): Remove now useless cast of
`free_current_contents' when passed to `make_cleanup'.
* coffread.c (coff_symfile_read): Ditto.
* dwarf2read.c (dwarf2_add_member_fn, read_array_type): Ditto.
(dwarf_decode_lines): Ditto.
* eval.c (parse_and_eval_address, parse_and_eval_address_1): Ditto.
(parse_and_eval, parse_to_comma_and_eval): Ditto.
* parse.c (parse_exp_1): Ditto.
* printcmd.c (print_command_1, output_command, set_command): Ditto.
(x_command, print_frame_args, printf_command): Ditto.
* top.c (execute_control_command): Ditto.
* tracepoint.c (validate_actionline): Ditto.
* typeprint.c (whatis_exp, ptype_command): Ditto.
(maintenance_print_type): Ditto.
Andrew Cagney [Wed, 26 Apr 2000 08:12:39 +0000 (08:12 +0000)]
Document bfd/doc/Makefile.in TEXINPUTS problem.
Kevin Buettner [Wed, 26 Apr 2000 07:16:15 +0000 (07:16 +0000)]
Add arch-utils.h to IA-64 *-tdep.c files.
Michael Snyder [Wed, 26 Apr 2000 02:53:02 +0000 (02:53 +0000)]
2000-04-25 Michael Snyder <msnyder@seadog.cygnus.com>
* blockframe.c: Fix a minor typo in a comment.
Kevin Buettner [Tue, 25 Apr 2000 23:18:35 +0000 (23:18 +0000)]
Recognize store instructions in examine_prologue().