OSDN Git Service
nickc [Tue, 6 Jul 2004 16:58:35 +0000 (16:58 +0000)]
Add support for sh-symbian-elf target
nickc [Tue, 6 Jul 2004 16:42:02 +0000 (16:42 +0000)]
(output_file_create): Report the target format chosen when bfd_openw reports
that it is invalid.
corinna [Tue, 6 Jul 2004 15:33:46 +0000 (15:33 +0000)]
* winbase.h (IsWow64Process): Add missing WINAPI qualifier.
nickc [Tue, 6 Jul 2004 15:30:24 +0000 (15:30 +0000)]
(coff_pseudo_table): Only define the weak pseudo for BFD based assemblers.
cagney [Tue, 6 Jul 2004 15:08:51 +0000 (15:08 +0000)]
2004-07-06 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
cagney [Tue, 6 Jul 2004 14:24:03 +0000 (14:24 +0000)]
2004-07-06 Andrew Cagney <cagney@gnu.org>
Patch from Bart Robinson.
* corelow.c (core_open): Add variable "flags", or in O_LARGEFILE.
(O_LARGEFILE): Define to 0, if not defined.
gdbadmin [Tue, 6 Jul 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 6 Jul 2004 00:00:05 +0000 (00:00 +0000)]
daily update
danglin [Mon, 5 Jul 2004 20:00:11 +0000 (20:00 +0000)]
* emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
* emulparams/hppalinux.sh: Likewise.
* scripttempl/elf.sc: Place .plt just before .got when .plt is in
data segment and PLT_BEFORE_GOT is defined.
jjohnstn [Mon, 5 Jul 2004 18:44:54 +0000 (18:44 +0000)]
2004-07-05 Jeff Johnston <jjohnstn@redhat.com>
* libc/Makefile.am (libc.dvi): Add target and specify
same dependencies as libc.info.
* libc/Makefile.in: Regenerated.
* libm/Makefile.am (libm.dvi): Add target and specify
same dependencies as libm.info.
* libm/Makefile.in: Regenerated.
kettenis [Mon, 5 Jul 2004 15:31:35 +0000 (15:31 +0000)]
* gdb.texinfo (BSD libkvm Interface): New node (section)
(Native): Add it to the menu.
amylaar [Mon, 5 Jul 2004 13:35:41 +0000 (13:35 +0000)]
2004-06-30 Andrew Stubbs <andrew.stubbs@superh.com>
bfd:
* elf32-sh.c: Include ../opcodes/sh-opc.h .
* Makefile.am: Ran make dep-am .
* Makefile.in: Ran make dep-in .
gas:
* config/tc-sh.c (md_assemble): Change isspace to ISSPACE.
(md_parse_option): Remove redundant -isa testing.
Make bfd_arch variable const.
(md_show_usage): Make bfd_arch variable const.
gdbadmin [Mon, 5 Jul 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 5 Jul 2004 00:00:05 +0000 (00:00 +0000)]
daily update
wilson [Sun, 4 Jul 2004 00:29:20 +0000 (00:29 +0000)]
Emit error for unaligned instructions.
* config/tc-ia64.c (emit_one_bundle): Check and set insn_addr.
* config/tc-ia64.h (md_frag_check): Define.
gdbadmin [Sun, 4 Jul 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 4 Jul 2004 00:00:07 +0000 (00:00 +0000)]
daily update
cgf [Sat, 3 Jul 2004 16:07:45 +0000 (16:07 +0000)]
2004-07-04 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
* bfd/cofflink.c (_bfd_coff_generic_relocate_section): Resolve PE weak
externals properly.
* src/gas/config/obj-coff.c (obj_coff_weak): New .weak syntax for PE weak
externals.
* binutils/doc/binutils.texi (nm): Clarify weak symbol description.
* gas/config/tc-i386.c (tc_gen_reloc): Use addend for weak symbols in TE_PE.
* gas/doc/as.texinfo (Weak): Document PE weak symbols.
* ld/ld.texinfo (WIN32): Document PE weak symbols.
rsandifo [Sat, 3 Jul 2004 15:20:52 +0000 (15:20 +0000)]
* config/tc-mips.c (HAVE_IN_PLACE_ADDENDS): New macro.
(reloc_needs_lo_p): Only return true if HAVE_IN_PLACE_ADDENDS.
(mips_frob_file): Rework so that only a single pass through the
relocs is needed. Allow %lo()s to have higher offsets than their
corresponding %hi()s or %got()s.
testsuite/
* gas/mips/elf{,el}-rel.d: Adjust so that the earliest %hi() matches
the earliest %lo().
* gas/mips/elf-rel11.d: Don't expect the relocs to be reordered.
* gas/mips/elf-rel20.[sd]: New test.
* gas/mips/mips.exp: Run it.
rsandifo [Sat, 3 Jul 2004 15:17:42 +0000 (15:17 +0000)]
2004-07-03 Maciej W. Rozycki <macro@linux-mips.org>
* gas/mips/elf-rel9.[sd]: Fix typo in %lo() expression.
kettenis [Sat, 3 Jul 2004 15:14:46 +0000 (15:14 +0000)]
* m68kbsd-nat.c: Include "gdbcore.h", <sys/types.h>,
<machine/pcb.h> and "bsd-kvm.h".
(PCB_REGS_FP, PCB_REGS_SP): Define if not already defined.
(m68kbsd_supply_pcb): New function.
(_initialize_m68kbsd_nat): New prototype and function.
* Makefile.in (m68kbsd-nat.o): Update dependencies.
* config/m68k/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
* config/m68k/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
kettenis [Sat, 3 Jul 2004 13:17:33 +0000 (13:17 +0000)]
* bsd-kvm.c (bsd_kvm_cmdlist): Remove unecessary initialization.
kettenis [Sat, 3 Jul 2004 13:11:38 +0000 (13:11 +0000)]
* bsd-kvm.c: Include "cli/cli-cmds.h", "command.h", "value.h" and
<sys/proc.h>.
(bsd_kvm_cmdlist): New variable.
(bsd_kvm_cmd, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): New functions.
(bsd_kvm_add_target): Register "kvm" command prefix, "kvm pcb"
command and "kvm proc" command.
* Makefile.in (bsd-kvm.o): Update dependencies.
amodra [Sat, 3 Jul 2004 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 3 Jul 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
hunt [Fri, 2 Jul 2004 23:09:31 +0000 (23:09 +0000)]
2004-07-02 Martin Hunt <hunt@redhat.com>
* library/targetselection.itb: Use /dev/comX for
cygwin instead of just comX.
* library/interface.tcl (gdbtk_tcl_preloop): Set baud rate.
hunt [Fri, 2 Jul 2004 22:00:55 +0000 (22:00 +0000)]
2004-07-02 Martin Hunt <hunt@redhat.com>
* generic/gdbtk-cmds.c (symtab_to_filename): New function. Like
symtab_to_fullname() but returns the filename if the fullname
cannot be found.
* generic/gdbtk-cmds.c (gdb_find_file_command): Revert
patch of 2004-06-11. Use symtab_to_filename() again.
(gdb_loc): Ditto.
(gdb_loadfile): Ditto.
* generic/gdbtk-bp.c (gdb_get_breakpoint_info): Ditto.
(gdb_get_tracepoint_info): Ditto.
* generic/gdbtk-cmds.h: Declare symtab_to_filename().
kettenis [Fri, 2 Jul 2004 21:27:15 +0000 (21:27 +0000)]
* osabi.c: Update copyright year.
(generic_elf_osabi_sniffer): Tweak comment. Look for OS-specific
notes if EI_OSABI is set to ELFOSABI_HPUX.
brobecke [Fri, 2 Jul 2004 21:09:45 +0000 (21:09 +0000)]
Fix ChangeLog entry for the last change to i386-cygwin-tdep.c.
sky [Fri, 2 Jul 2004 14:11:57 +0000 (14:11 +0000)]
* config.bfd: Add want64 to configuration target s390-*-linux*.
kkojima [Fri, 2 Jul 2004 11:25:52 +0000 (11:25 +0000)]
* emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
* ld-elf/frame.exp: Don't run on sh*-*-elf*.
* ld-sh/shared-1.d: Adjust for section reordering changes.
* ld-sh/shared-2.d: Likewise.
* ld-sh/tlsbin-2.d: Likewise.
* ld-sh/tlspic-2.d: Likewise.
* ld-sh/sh64/abi32.xd: Likewise.
* ld-sh/sh64/abi64.xd: Likewise.
* ld-sh/sh64/cmpct1.xd: Likewise.
* ld-sh/sh64/crange1.rd: Likewise.
* ld-sh/sh64/crange2.rd: Likewise.
* ld-sh/sh64/crange3-cmpct.rd: Likewise.
* ld-sh/sh64/crange3-media.rd: Likewise.
* ld-sh/sh64/crange3.rd: Likewise.
* ld-sh/sh64/gotplt.d: Likewise.
* ld-sh/sh64/init-cmpct.d: Likewise.
* ld-sh/sh64/init-media.d: Likewise.
* ld-sh/sh64/init64.d: Likewise.
* ld-sh/sh64/mix1.xd: Likewise.
* ld-sh/sh64/mix2.xd: Likewise.
* ld-sh/sh64/shdl32.xd: Likewise.
* ld-sh/sh64/shdl64.xd: Likewise.
nickc [Fri, 2 Jul 2004 11:12:28 +0000 (11:12 +0000)]
(md_apply_fix3:BFD_RELOC_ARM_IMMEDIATE): Do not allow values which have come
from undefined symbols.
Always consider this fixup to have been processed as a reloc cannot be
generated for it.
dannysmith [Fri, 2 Jul 2004 10:01:50 +0000 (10:01 +0000)]
2 * mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c,
(MATH_OBJS): Remove pow,o.
* include/math.h (pow): Declare with _CRTIMP.
Add comment on how to avoid excess precision problems.
bonzini [Fri, 2 Jul 2004 07:56:06 +0000 (07:56 +0000)]
2004-07-01 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (build_modules): Add bison, byacc, flex,
m4, texinfo.
(flags_to_pass): Add FLEX.
* Makefile.tpl (BUILD_DIR_PREFIX, BASE_EXPORTS): New.
(BUILD_EXPORTS, HOST_EXPORTS, BASE_TARGET_EXPORTS): Include it.
(DEFAULT_YACC, USUAL_YACC, DEFAULT_LEX, USUAL_LEX, DEFAULT_M4,
DEFAULT_MAKEINFO): Remove.
(CONFIGURED_YACC, CONFIGURED_FLEX, CONFIGURED_BISON,
CONFIGURED_LEX, CONFIGURED_M4, CONFIGURED_MAKEINFO): Substitute.
(YACC, FLEX, BISON, LEX, M4, MAKEINFO): Define to look into
objdir or else use configured tool.
(all-build): New.
(all): Depend on it.
(Build module dependencies): Add.
* Makefile.in: Regenerate.
* configure.in: Better support for multiple build modules,
matching what is done for host/target modules. Do not look
for "plausible" locations of build tools if Canadian cross.
Use autoconf's AC_PROG_CC to find a C compiler. Define
BUILD_DIR_PREFIX. Look for flex, makeinfo and m4.
* configure: Regenerate.
amodra [Fri, 2 Jul 2004 06:46:17 +0000 (06:46 +0000)]
* ld-discard/static.d: Accept both original sym and section sym.
amodra [Fri, 2 Jul 2004 06:40:18 +0000 (06:40 +0000)]
* frags.h (struct frag): Add has_code and insn_addr fields.
* write.c (cvt_frag_to_fill): Invoke md_frag_check.
* config/tc-ppc.c (md_assemble): Check and set insn_addr.
* config/tc-ppc.h (md_frag_check): Define.
chastain [Fri, 2 Jul 2004 04:18:12 +0000 (04:18 +0000)]
2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
* lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
* lib/compiler.cc: Likewise.
hjl [Fri, 2 Jul 2004 02:01:22 +0000 (02:01 +0000)]
2004-07-01 H.J. Lu <hongjiu.lu@intel.com>
* gas/ia64/group-1.d: New.
* gas/ia64/group-1.s: Likewise.
* gas/ia64/ia64.exp: Add group-1 to test comdat group.
hjl [Fri, 2 Jul 2004 01:39:31 +0000 (01:39 +0000)]
bfd/
2004-07-01 H.J. Lu <hongjiu.lu@intel.com>
* bfd.c (bfd_get_section_ident): New.
* elflink.c (elf_link_read_relocs_from_section): Call
bfd_get_section_ident to identify the section when reporting
error.
(_bfd_elf_link_output_relocs): Likewise.
(elf_link_output_extsym): Likewise.
(elf_link_input_bfd): Likewise.
(bfd_elf_gc_record_vtinherit): Likewise.
* bfd-in2.h: Regenerated.
ld/
2004-07-01 H.J. Lu <hongjiu.lu@intel.com>
* ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
the section.
amodra [Fri, 2 Jul 2004 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 2 Jul 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
msnyder [Thu, 1 Jul 2004 21:33:59 +0000 (21:33 +0000)]
2004-07-01 Michael Snyder <msnyder@redhat.com>
* win32-nat.c (core_dll_symbols_add): Re-indent a small section
that seems to have gotten whacked out of line.
kettenis [Thu, 1 Jul 2004 20:25:49 +0000 (20:25 +0000)]
* dbxread.c (process_one_symbol) [PCC_SOL_BROKEN]: Remove dead
code.
brolley [Thu, 1 Jul 2004 16:55:40 +0000 (16:55 +0000)]
2004-07-01 Dave Brolley <brolley@redhat.com>
* sidcomp.cache/misaligned.exp: 16 bit access should now be a hit.
brolley [Thu, 1 Jul 2004 16:55:09 +0000 (16:55 +0000)]
2004-07-01 Dave Brolley <brolley@redhat.com>
* cache.cxx (write_any): Allow misaligned access. Return
bus::misaligned for accesses which cross line boundary.
(read_any): Ditto.
brolley [Thu, 1 Jul 2004 16:54:47 +0000 (16:54 +0000)]
2004-07-01 Dave Brolley <brolley@redhat.com>
* gdb.cxx (read_bus_word): Now returns bus::status. Return status
from bus->read.
(write_bus_word): Ditto for status from bus->write.
(process_get_mem): Back out previous patch. Retry access
one byte at a time if bus::misaligned is returned from downstream.
(process_set_mem): Ditto.
jakub [Thu, 1 Jul 2004 16:24:50 +0000 (16:24 +0000)]
* ld-sparc/tlssunpic32.rd: Adjust for section reordering changes
and removal of unneeded STT_SECTION symbols from .dynsym.
* ld-sparc/tlssunbin32.rd: Likewise.
* ld-sparc/tlssunpic32.dd: Likewise.
* ld-sparc/tlssunpic32.sd: Likewise.
* ld-sparc/tlssunbin32.dd: Likewise.
* ld-sparc/tlssunbin32.sd: Likewise.
* ld-sparc/tlssunbin32.td: Likewise.
nickc [Thu, 1 Jul 2004 14:53:39 +0000 (14:53 +0000)]
(_bfd_mips_elf_final_link): Pass the correct number of section symbols to
mips_elf_sort_hash_table ().
amodra [Thu, 1 Jul 2004 13:48:49 +0000 (13:48 +0000)]
bfd/
* elflink.c (elf_section_ignore_discarded_relocs): Revert last
change. Comment.
(elf_section_complain_discarded): New function. Handle
.gcc_except_table too.
(elf_link_input_bfd): Rewrite handling of relocs against symbols
in discarded sections.
* elf-bfd.h (elf_discarded_section): Protect macro arg.
ld/testsuite/
* ld-discard/extern.d: Update.
* ld-discard/start.d: Update.
* ld-discard/static.d: Update.
hilfingr [Thu, 1 Jul 2004 10:30:53 +0000 (10:30 +0000)]
* ada-lang.c (decode_packed_array): Minor change to comment.
(ada_value_slice_ptr): New function.
(ada_value_slice): New function.
(ada_evaluate_subexp): Remove XVS-suffix code from subscripting
test. Don't know why it is there.
Change slice code to use ada_value_slice_ptr and ada_value_slice, and
to avoid dereferencing huge arrays from which one is slicing.
(empty_array): Correct to return an array rather than
a subrange value.
* ada-valprint.c (print_optional_low_bound): Don't print lower bound
on empty arrays (let'em use 'FIRST instead).
hilfingr [Thu, 1 Jul 2004 10:11:11 +0000 (10:11 +0000)]
Address complaints from gdb_ari.sh:
* ada-exp.y: Include gdb_string.h rather than string.h.
(convert_char_literal): Reformat declaration.
* ada-lang.h: Include opaque struct declaration for struct frame_info.
* ada-lex.l: Change use of free to xfree (the macro would do so
anyway, but this is harmless).
Include gdb_string.h rather than string.h.
* ada-valprint.c (ada_val_print_stub): Change PTR => void*.
* ada-lang.c (parse): Remove K&Rism in parameter list.
(is_name_suffix): Correct Linux => GNU/Linux in comment.
gdbadmin [Thu, 1 Jul 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 1 Jul 2004 00:00:06 +0000 (00:00 +0000)]
daily update
wilson [Wed, 30 Jun 2004 20:23:23 +0000 (20:23 +0000)]
Fix @pltoff linker segfault for non-shared link.
* elfxx-ia64.c (elfNN_ia64_check_relocs): New local pltoff. Initialize
to NULL. Call get_pltoff if NULL and NEED_PLTOFF is true.
kettenis [Wed, 30 Jun 2004 20:01:23 +0000 (20:01 +0000)]
* gdbint.texinfo (Target Architecture Definition): Remove
SUN_FIXED_LBRAC_BUG.
kettenis [Wed, 30 Jun 2004 19:44:18 +0000 (19:44 +0000)]
* dbxread.c (process_one_symbol) [SUN_FIXED_LBRAC_BUG]: Remove
dead code.
kettenis [Wed, 30 Jun 2004 19:23:18 +0000 (19:23 +0000)]
* alphabsd-nat.c: Update copyright year.
(getregs_supplies): Use ALPHA_PC_REGNUM instead of PC_REGNUM.
wilson [Wed, 30 Jun 2004 18:14:37 +0000 (18:14 +0000)]
Adjust for "mov rX=imm" changes.
* gas/ia64/dv-imply.d: Update.
* gas/ia64/dv-mutex.d: Likewise.
* gas/ia64/dv-safe.d: Likewise.
wilson [Wed, 30 Jun 2004 18:12:38 +0000 (18:12 +0000)]
Correctly assemble mov rX=imm.
* ia64-opc-a.c (ia64_opcodes_a): Delete mov immediate pseudo for adds.
* ia64-asmtab.c: Regnerate.
hjl [Wed, 30 Jun 2004 16:19:16 +0000 (16:19 +0000)]
bfd/
2004-06-30 H.J. Lu <hongjiu.lu@intel.com>
PR 233
* elflink.c (elf_link_input_bfd): Issue an error for non-debug
local references to discarded sections and report their
locations.
ld/testsuite/
2004-06-30 H.J. Lu <hongjiu.lu@intel.com>
PR 233
* ld-discard/extern.d: Updated.
* ld-discard/start.d: Likewise.
* ld-discard/static.d: Likewise.
corinna [Wed, 30 Jun 2004 16:00:31 +0000 (16:00 +0000)]
* times.cc (hires_ms::usecs): Don't overreact.
corinna [Wed, 30 Jun 2004 15:50:08 +0000 (15:50 +0000)]
* times.cc (hires_ms::usecs): Reinit timer when system time overflows.
amodra [Wed, 30 Jun 2004 13:42:44 +0000 (13:42 +0000)]
* elflink.c (elf_section_ignore_discarded_relocs): Don't test
sec_info_type, test section name instead.
chastain [Wed, 30 Jun 2004 08:01:32 +0000 (08:01 +0000)]
2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
* lib/compiler.cc: Work around string preprocessing problem
with old hp c++ compiler.
* lib/compiler.c: Likewise.
dannysmith [Wed, 30 Jun 2004 04:51:16 +0000 (04:51 +0000)]
2004-06-30 Kees Zeelenberg <kzlg@users.sourceforge.net>
Danny Smith <dannysmith@users.sourceforge.net>
* include/stdio.h (fopen64): Add inline function.
(fseeko64): Add prototype.
(ftello64): Add inline function.
* include/io.h (lseek64): Add inline function.
* include/sys/types (off64_t): Add typedef.
(fpos64_t): Add typedef.
* mingwex/fopen64.c: New file.
* mingwex/fseeko64.c: New file.
* mingwex/ftello64.c: New file.
* mingwex/lseek64.c: New file.
* mingwex/Makefile.in (STDIO_DISTFILES): Add fopen64.c,
fseeko.64.c, ftello64.c, lseek64.c.
(STDIO_OBJS): Add fopen64.o, fseeko.64.o, ftello64.o, lseek64.o.
2004-06-30 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdio.h (__mingw_fseeko64): Add prototype.
* mingwex/mingw-fseek.c (__mingw_fseeko64): Add definition.
(__mingw_fwrite): Handle huge files.
hjl [Wed, 30 Jun 2004 03:51:25 +0000 (03:51 +0000)]
2004-06-29 H.J. Lu <hongjiu.lu@intel.com>
PR 240
* elfxx-ia64.c (elfNN_ia64_relax_section): Don't relax branch
in .init/.fini sections.
gdbadmin [Wed, 30 Jun 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 30 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update
bwilson [Tue, 29 Jun 2004 22:03:31 +0000 (22:03 +0000)]
* elf32-xtensa.c (elf_xtensa_relocate_section): Use
bfd_get_section_limit.
jjohnstn [Tue, 29 Jun 2004 21:53:24 +0000 (21:53 +0000)]
2004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
* acinclude.m4: Move --enable-newlib-iconv option back here.
* configure.in: Remove --enable-newlib-iconv option. Don't
tie iconv support to --enable-newlib-mb.
* aclocal.m4: Regenerated.
* configure: Ditto.
* doc/aclocal.m4, doc/configure: Ditto.
* iconvdata/aclocal.m4, iconvdata/configure: Ditto.
* libm/*/aclocal.m4: Ditto.
* libm/*/configure: Ditto.
* libc/*/aclocal.m4: Ditto.
* libc/*/configure: Ditto.
bwilson [Tue, 29 Jun 2004 21:03:09 +0000 (21:03 +0000)]
* elf32-xtensa.c (elf_xtensa_combine_prop_entries): Don't change the
output section size.
macro [Tue, 29 Jun 2004 19:41:23 +0000 (19:41 +0000)]
* doc/Makefile.am (info): Rename goal to...
(info-local): ... this, to preserve implicit dependencies.
* doc/Makefile.in: Regenerate with automake 1.8.5.
scox [Tue, 29 Jun 2004 19:10:39 +0000 (19:10 +0000)]
* compLoader.cxx (generic_loader): Add eflags_pin.
(elf_loader): Add eflags.
(load_it): Set eflags.
* elfload.c (readElfFile): Add eflags.
* sidcpuutil.h (basic_cpu): Add eflags_set_pin, set_eflags.
* commonCfg.cxx (add_cpu): Add eflags-set pin.
brobecke [Tue, 29 Jun 2004 18:17:41 +0000 (18:17 +0000)]
* i386-cygwin-tdep.c (i386-cygwin-tdep.c): New function.
(i386_cygwin_in_solib_call_trampoline): New function.
(i386_cygwin_init_abi): Initialize the in_solib_call_trampoline
and skip_trampoline_code gdbarch methods.
corinna [Tue, 29 Jun 2004 17:52:49 +0000 (17:52 +0000)]
* gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
directives to conditionalize symbol prefixing.
* gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
additional_flags handling. Add underscore prefix for Cygwin.
* gdb.arch/i386-unwind.c: Use preprocessor directives to
conditionalize symbol prefixing.
* gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
additional_flags handling. Add underscore prefix for Cygwin.
jimb [Tue, 29 Jun 2004 17:19:46 +0000 (17:19 +0000)]
* Makefile.in (gdb_callback_h): Renamed from callback_h to the
name actually used in the dependency lists.
amylaar [Tue, 29 Jun 2004 16:35:04 +0000 (16:35 +0000)]
gas/testsuite:
Actually add these files:
2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
* testsuite/gas/sh/arch: New directory.
* testsuite/gas/sh/arch/arch.exp: New test script.
* testsuite/gas/sh/arch/arch_expected.txt: New file.
* testsuite/gas/sh/arch/sh.s: New file.
* testsuite/gas/sh/arch/sh2.s: New file.
* testsuite/gas/sh/arch/sh-dsp.s: New file.
* testsuite/gas/sh/arch/sh2e.s: New file.
* testsuite/gas/sh/arch/sh3-nommu.s: New file.
* testsuite/gas/sh/arch/sh3.s: New file.
* testsuite/gas/sh/arch/sh3-dsp.s: New file.
* testsuite/gas/sh/arch/sh3e.s: New file.
* testsuite/gas/sh/arch/sh4-nommu-nofpu.s: New file.
* testsuite/gas/sh/arch/sh4-nofpu.s: New file.
* testsuite/gas/sh/arch/sh4.s: New file.
* testsuite/gas/sh/arch/sh4a-nofpu.s: New file.
* testsuite/gas/sh/arch/sh4al-dsp.s: New file.
ld/testsuite:
Actually add these files:
2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
* testsuite/ld-sh/arch/arch.exp: New test script.
* testsuite/ld-sh/arch/arch_expected.txt: New file.
* testsuite/ld-sh/arch/sh.s: New file.
* testsuite/ld-sh/arch/sh2.s: New file.
* testsuite/ld-sh/arch/sh-dsp.s: New file.
* testsuite/ld-sh/arch/sh2e.s: New file.
* testsuite/ld-sh/arch/sh3-nommu.s: New file.
* testsuite/ld-sh/arch/sh3.s: New file.
* testsuite/ld-sh/arch/sh3-dsp.s: New file.
* testsuite/ld-sh/arch/sh3e.s: New file.
* testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file.
* testsuite/ld-sh/arch/sh4-nofpu.s: New file.
* testsuite/ld-sh/arch/sh4.s: New file.
* testsuite/ld-sh/arch/sh4a-nofpu.s: New file.
* testsuite/ld-sh/arch/sh4al-dsp.s: New file.
* testsuite/ld-sh/arch/sh4a.s: New file.
tausq [Tue, 29 Jun 2004 16:13:06 +0000 (16:13 +0000)]
2004-06-29 Randolph Chung <tausq@debian.org>
* NEWS (New native configurations): Mention GNU/Linux/hppa.
corinna [Tue, 29 Jun 2004 15:37:29 +0000 (15:37 +0000)]
* win32-nat.c (child_pid_to_exec_file): New function.
(init_child_ops): Add child_pid_to_exec_file as to_pid_to_exec_file
functionality.
cagney [Tue, 29 Jun 2004 15:22:28 +0000 (15:22 +0000)]
fix scrambled changelog
cagney [Tue, 29 Jun 2004 14:57:37 +0000 (14:57 +0000)]
2004-06-28 Andrew Cagney <cagney@gnu.org>
* defs.h (xstrvprintf): Declare.
* utils.c (xstrvprintf): New function.
(internal_vproblem, xstrprintf, xasprintf)
(vfprintf_maybe_filtered, vfprintf_unfiltered): Use xstrvprintf.
* serial.c (serial_printf): Ditto.
* complaints.c (vcomplaint): Ditto.
amodra [Tue, 29 Jun 2004 14:44:25 +0000 (14:44 +0000)]
* ld-elf/frame.exp: Don't run on mcore.
amodra [Tue, 29 Jun 2004 14:43:55 +0000 (14:43 +0000)]
* gas/m68k/mode5.s: Pad section.
* gas/m68k/mode5.d: Update.
amodra [Tue, 29 Jun 2004 14:13:43 +0000 (14:13 +0000)]
bfd/
* elf64-mmix.c (mmix_set_relaxable_size): Save original size in
rawsize.
(mmix_elf_perform_relocation): Adjust for above change.
(mmix_elf_relocate_section): Likewise.
(mmix_elf_relax_section): Likewise. Use output_section->rawsize.
(mmix_elf_get_section_contents): Delete.
(bfd_elf64_get_section_contents): Delete.
(mmix_elf_relocate_section): Zero stub area.
* linker.c (default_indirect_link_order): Alloc max of section size
and rawsize.
* simple.c (bfd_simple_get_relocated_section_contents): Likewise.
* section.c (bfd_malloc_and_get_section): Likewise.
(struct bfd_section): Update rawsize comment.
* bfd-in2.h: Regenerate.
ld/
* ldlang.c (lang_reset_memory_regions): Save last relax pass section
size in rawsize.
amodra [Tue, 29 Jun 2004 13:51:19 +0000 (13:51 +0000)]
* reloc16.c (bfd_coff_reloc16_relax_section): Set rawsize.
amodra [Tue, 29 Jun 2004 13:46:26 +0000 (13:46 +0000)]
* bfd-in.h (bfd_get_section_limit): Define.
* reloc.c (bfd_perform_relocation, bfd_install_relocation)
(_bfd_final_link_relocate): Use bfd_get_section_limit.
* aout-tic30.c (tic30_aout_final_link_relocate): Likewise.
* coff-arm.c (coff_arm_relocate_section): Likewise.
* coff-mips.c (mips_refhi_reloc, mips_gprel_reloc): Likewise.
* cpu-ns32k.c (do_ns32k_reloc): Likewise.
(bfd_ns32k_final_link_relocate): Likewise.
* elf32-d30v.c (bfd_elf_d30v_reloc, bfd_elf_d30v_reloc_21): Likwise.
* elf32-dlx.c (_bfd_dlx_elf_hi16_reloc): Likewise.
* elf32-i860.c (i860_howto_pc26_reloc, i860_howto_pc16_reloc)
(i860_howto_highadj_reloc, i860_howto_splitn_reloc): Likewise.
* elf32-m32r.c (m32r_elf_do_10_pcrel_reloc, m32r_elf_hi16_reloc)
(m32r_elf_generic_reloc, m32r_elf_relocate_section): Likewise.
* elf32-m68hc1x.c (m68hc11_elf_special_reloc): Likewise.
* elf32-mips.c (gprel32_with_gp, mips16_gprel_reloc): Likewise.
* elf32-or32.c (or32_elf_consth_reloc): Likewise.
* elf32-ppc.c (ppc_elf_addr16_ha_reloc): Likewise.
* elf32-s390.c (s390_elf_ldisp_reloc): Likewise.
* elf32-sh.c (sh_elf_reloc_loop): Likewise.
* elf32-sparc.c (sparc_elf_wdisp16_reloc): Likewise.
(sparc_elf_hix22_reloc, sparc_elf_lox10_reloc): Likwise.
* elf32-v850.c (v850_elf_reloc): Likewise.
* elf32-xstormy16.c (xstormy16_elf_24_reloc): Likewise.
* elf32-xtensa.c (bfd_elf_xtensa_reloc): Likewise.
* elf64-alpha.c (elf64_alpha_reloc_gpdisp): Likewise.
* elf64-mips.c (mips_elf64_gprel32_reloc)
(mips16_gprel_reloc): Likewise.
* elf64-mmix.c (mmix_elf_reloc): Likewise.
* elf64-s390.c (s390_elf_ldisp_reloc): Likewise.
* elf64-sparc.c (init_insn_reloc): Likewise.
* elfn32-mips.c (gprel32_with_gp, mips16_gprel_reloc): Likewise.
* elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp)
(_bfd_mips_elf_hi16_reloc, _bfd_mips_elf_lo16_reloc)
(_bfd_mips_elf_generic_reloc): Likewise.
* bfd-in2.h: Regenerate.
dj [Tue, 29 Jun 2004 12:51:55 +0000 (12:51 +0000)]
merge from gcc
corinna [Tue, 29 Jun 2004 06:39:05 +0000 (06:39 +0000)]
* infcmd.c (attach_command): Move call to target_terminal_inferior
behind loading symbol table.
corinna [Tue, 29 Jun 2004 06:34:49 +0000 (06:34 +0000)]
* gdb.base/bigcore.exp: Skip test on Cygwin.
cagney [Tue, 29 Jun 2004 01:01:27 +0000 (01:01 +0000)]
2004-06-28 Andrew Cagney <cagney@gnu.org>
* rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Revert 2004-06-24
change - add back extern deprecated_ui_loop_hook declaration.
cagney [Tue, 29 Jun 2004 00:53:59 +0000 (00:53 +0000)]
Index: mn10200/ChangeLog
2004-06-28 Andrew Cagney <cagney@gnu.org>
* interp.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
Index: d10v/ChangeLog
2004-06-28 Andrew Cagney <cagney@gnu.org>
* interp.c (sim_resume): Rename ui_loop_hook to
deprecated_ui_loop_hook.
Index: arm/ChangeLog
2004-06-28 Andrew Cagney <cagney@gnu.org>
* armemu.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
Index: common/ChangeLog
2004-06-28 Andrew Cagney <cagney@gnu.org>
* run.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
amodra [Tue, 29 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 29 Jun 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
cagney [Mon, 28 Jun 2004 23:59:25 +0000 (23:59 +0000)]
2004-06-26 Andrew Cagney <cagney@gnu.org>
* xcoffsolib.c (xcoff_solib_address): Replace xasprintf with
xstrprintf.
* varobj.c (varobj_gen_name, create_child, c_name_of_child)
(c_value_of_variable): Ditto.
* utils.c (internal_vproblem): Ditto.
* solib-aix5.c (build_so_list_from_mapfile): Ditto.
* remote.c (add_packet_config_cmd): Ditto.
* remote-rdp.c (rdp_set_command_line): Ditto.
* regcache.c (regcache_dump): Ditto.
* frv-tdep.c (new_variant, new_variant): Ditto.
* fbsd-proc.c (child_pid_to_exec_file): Ditto.
(fbsd_find_memory_regions): Ditto.
* breakpoint.c (create_thread_event_breakpoint)
(create_breakpoints): Ditto.
* aix-thread.c (aix_thread_pid_to_str): Ditto.
* ada-lang.c (is_package_name): Ditto. Also delete xmalloc call.
Index: doc/ChangeLog
2004-06-26 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Coding): Replace xasprintf with xstrprintf.
jjohnstn [Mon, 28 Jun 2004 22:42:19 +0000 (22:42 +0000)]
2004-06-27 Hideki Iwamoto <h-iwamoto@kit.hi-ho.ne.jp>
* Makefile.in: Support $(DESTDIR).
* arm/Makefile.in: Ditto.
* d30v/Makefile.in: Ditto.
* doc/Makefile.in: Ditto.
* fr30/Makefile.in: Ditto.
* frv/Makefile.in: Ditto.
* hp74x/Makefile.in: Ditto.
* i386/Makefile.in: Ditto.
* i960/Makefile.in: Ditto.
* iq2000/Makefile.in: Ditto.
* libnosys/Makefile.in: Ditto.
* m32r/Makefile.in: Ditto.
* m68hc11/Makefile.in: Ditto.
* m68k/Makefile.in: Ditto.
* mcore/Makefile.in: Ditto.
* mips/Makefile.in: Ditto.
* mn10200/Makefile.in: Ditto.
* mn10300/Makefile.in: Ditto.
* pa/Makefile.in: Ditto.
* rs6000/Makefile.in: Ditto.
* sparc/Makefile.in: Ditto.
* sparc/libsys/Makefile.in: Ditto.
* xstormy16/Makefile.in: Ditto.
brolley [Mon, 28 Jun 2004 21:18:07 +0000 (21:18 +0000)]
2004-06-28 Dave Brolley <brolley@redhat.com>
* gdb.cxx (process_get_mem): Use byte-at-a-time access for unaligned
requests.
(process_set_mem): Ditto.
aoliva [Mon, 28 Jun 2004 19:26:37 +0000 (19:26 +0000)]
sim/h8300/ChangeLog:
2003-07-23 Richard Sandiford <rsandifo@redhat.com>
* compile.c (sim_resume): Make sure that dst.reg refers to the
right register byte in mova/sz.l @(dd,RnL),ERn.
2003-07-21 Richard Sandiford <rsandifo@redhat.com>
* compile.c (sim_resume): Zero-extend immediate to muls, mulsu,
mulxs, divs and divxs.
sim/testsuite/sim/h8300/ChangeLog:
2003-07-22 Michael Snyder <msnyder@redhat.com>
* mul.s: Don't try to use negative immediate (it's always
unsigned).
* div.s: Ditto.
aoliva [Mon, 28 Jun 2004 19:25:43 +0000 (19:25 +0000)]
* compile.c (sim_load): Update sd->memory_size.
jimb [Mon, 28 Jun 2004 19:02:48 +0000 (19:02 +0000)]
* e500_registers.h (EVR): Cast the 32-bit value of the GPR to an
unsigned type before or-ing it with a 64-bit value.
brobecke [Mon, 28 Jun 2004 18:59:13 +0000 (18:59 +0000)]
* ada-lang.c: Re-indent file, with some massaging to help indent
a bit when the result is otherwise really too ugly.