Alan Modra [Tue, 12 Jul 2005 11:39:42 +0000 (11:39 +0000)]
* elf32-ppc.c (ppc_elf_set_sdata_syms): Correct __sbss_start value.
DJ Delorie [Tue, 12 Jul 2005 10:35:00 +0000 (10:35 +0000)]
merge from gcc
gdbadmin [Tue, 12 Jul 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 12 Jul 2005 00:00:07 +0000 (00:00 +0000)]
daily update
Mark Kettenis [Mon, 11 Jul 2005 20:27:09 +0000 (20:27 +0000)]
* bsd-kvm.c: Include <paths.h>.
(bsd_kvm_corefile): New variable.
(core_kd, bsd_kvm_paddr, bsd_kvm_supply_pcb, bsd_kvm_ops): Make
static.
(bsd_kvm_open): Set bsd_kvm_corefile.
(bsd_kvm_files_info): New function.
(bsd_kvm_add_target): Set to_files_info.
H.J. Lu [Mon, 11 Jul 2005 17:40:25 +0000 (17:40 +0000)]
2005-07-11 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (_bfd_elf_symbol_refs_local_p): Revert the last
change.
DJ Delorie [Mon, 11 Jul 2005 16:48:34 +0000 (16:48 +0000)]
merge from gcc:
2005-07-11 Jakub Jelinek <jakub@redhat.com>
* Makefile.def (target_modules): Add libssp.
* configure.in (target_libraries): Add target-libssp.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
Paolo Bonzini [Mon, 11 Jul 2005 08:03:32 +0000 (08:03 +0000)]
2005-07-11 Paolo Bonzini <bonzini@gnu.org>
PR ada/22340
* Makefile.def: Sync with gcc.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Fix pasto.
* Makefile.in: Regenerate.
Nick Clifton [Mon, 11 Jul 2005 07:49:07 +0000 (07:49 +0000)]
Remove a29k-*-rtems*, hppa*-*-rtems*,i386-go32-rtems*, i386-*-rtemscoff*,
sparc-*-rtemsaout*.
Nick Clifton [Mon, 11 Jul 2005 07:43:53 +0000 (07:43 +0000)]
Remove sparc*-*-rtemsaout*, i[3-7]86-go32-rtems*, i[3-7]86-*-rtemscoff*,
hppa*-*-rtems*, mips*el-*-rtems*, powerpcle-*-rtems*.
Dave Anglin [Mon, 11 Jul 2005 02:31:34 +0000 (02:31 +0000)]
* hppa.h (pa_opcode): Don't set FLAG_STRICT in pa10 loads and stores.
Alan Modra [Mon, 11 Jul 2005 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 11 Jul 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Ben Elliston [Sun, 10 Jul 2005 23:26:04 +0000 (23:26 +0000)]
* callback.h: Remove ANSI_PROTOTYPES conditional code.
Mark Kettenis [Sun, 10 Jul 2005 20:49:38 +0000 (20:49 +0000)]
* gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
-stack-select-frame without arguments.
(test_stack_frame_listing): Add test for newly implemented command
-stack-info-frame.
H.J. Lu [Sun, 10 Jul 2005 16:54:01 +0000 (16:54 +0000)]
gas/
2005-07-10 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (optimize_disp): Optimize signed 32bit
displacements.
testsuite/gas/
2005-07-10 H.J. Lu <hongjiu.lu@intel.com>
* i386/x86_64.s: Add absolute siged 32bit addressing tests for
mov.
* i386/x86_64.d: Updated.
Hans-Peter Nilsson [Sun, 10 Jul 2005 15:23:42 +0000 (15:23 +0000)]
* sim-load.c (xprintf, eprintf): Remove fallout from ANSI_PROTOTYPES
change.
Christopher Faylor [Sun, 10 Jul 2005 01:33:13 +0000 (01:33 +0000)]
* emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Enable runtime
relocation by default.
(compute_dll_image_base): Avoid linking into cygwin dll address space.
gdbadmin [Sun, 10 Jul 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 10 Jul 2005 00:00:06 +0000 (00:00 +0000)]
daily update
DJ Delorie [Sat, 9 Jul 2005 13:05:49 +0000 (13:05 +0000)]
merge from gcc
Ben Elliston [Sat, 9 Jul 2005 06:56:27 +0000 (06:56 +0000)]
* memcpy.c: Remove ANSI_PROTOTYPES conditional code.
* memmove.c: Likewise.
* objalloc.c: Likewise.
Alan Modra [Sat, 9 Jul 2005 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 9 Jul 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Paul Koning [Fri, 8 Jul 2005 21:42:33 +0000 (21:42 +0000)]
2005-07-08 Paul Koning <pkoning@equallogic.com>
* dwarf2.c (read_address): Check sign_extend_vma to handle targets
where addresses are sign extended.
Ian Lance Taylor [Fri, 8 Jul 2005 18:46:23 +0000 (18:46 +0000)]
* sim-fpu.c (sim_fpu_abs): Always clear the sign bit.
Ian Lance Taylor [Fri, 8 Jul 2005 18:42:15 +0000 (18:42 +0000)]
* tconfig.in (SIM_QUIET_NAN_NEGATED): Define.
Ian Lance Taylor [Fri, 8 Jul 2005 18:41:54 +0000 (18:41 +0000)]
* sim-fpu.c (pack_fpu): If SIM_QUIET_NAN_NEGATED is defined, use a
different fraction for a quiet NaN.
(unpack_fpu): Likewise.
H.J. Lu [Fri, 8 Jul 2005 16:20:24 +0000 (16:20 +0000)]
2005-07-08 H.J. Lu <hongjiu.lu@intel.com>
* ld-ia64/tlsbin.rd: Update for empty section removal change.
* ld-ia64/tlsbin.sd: Likewise.
* ld-ia64/tlspic.dd: Likewise.
* ld-ia64/tlspic.rd: Likewise.
* ld-ia64/tlspic.sd: Likewise.
* ld-x86-64/tlspic.dd: Likewise.
* ld-x86-64/tlspic.rd: Likewise.
Nick Clifton [Fri, 8 Jul 2005 11:17:16 +0000 (11:17 +0000)]
Mark i960-*-rtems*, or32-*-rtems* as obsolete.
Mark a29k-*rtems*, hppa*-*-rtems*, *-go32-rtems*, i[3-7]86*-*-rtemscoff*,
mips*el-*-rtems*, powerpcle-*-rtems*, sparc*-*-rtemsaout* as removed
Ben Elliston [Fri, 8 Jul 2005 08:05:35 +0000 (08:05 +0000)]
* callback.c: Remove ANSI_PROTOTYPES conditional code.
* sim-load.c: Likewise.
* syscall.c: Likewise.
Ben Elliston [Fri, 8 Jul 2005 08:04:54 +0000 (08:04 +0000)]
* func.c: Remove ANSI_PROTOTYPES conditional code.
Alan Modra [Fri, 8 Jul 2005 06:22:04 +0000 (06:22 +0000)]
* ld-cris/pv32.s: Give expobj a size.
* ld-cris/pv32-1.d: Update.
* ld-alpha/tlsbin.dd: Update for empty section removal change.
* ld-alpha/tlsbin.sd: Likewise.
* ld-alpha/tlsbin.td: Likewise.
* ld-alpha/tlsbinr.dd: Likewise.
* ld-alpha/tlsbinr.rd: Likewise.
* ld-alpha/tlspic.dd: Likewise.
* ld-alpha/tlspic.rd: Likewise.
* ld-alpha/tlspic.sd: Likewise.
* ld-alpha/tlspic.td: Likewise.
* ld-arm/tls-lib.d: Likewise.
* ld-arm/tls-lib.r: Likewise.
* ld-cris/gotplt2.d: Likewise.
* ld-cris/gotplt3.d: Likewise.
* ld-cris/hiddef1.d: Likewise.
* ld-cris/libdso-10.d: Likewise.
* ld-cris/libdso-11.d: Likewise.
* ld-cris/libdso-12.d: Likewise.
* ld-cris/libdso-14.d: Likewise.
* ld-cris/libdso-2.d: Likewise.
* ld-i386/tlsnopic.dd: Likewise.
* ld-i386/tlsnopic.rd: Likewise.
* ld-i386/tlsnopic.sd: Likewise.
* ld-i386/tlspic.rd: Likewise.
* ld-mmix/bpo-10.d: Likewise.
* ld-mmix/bpo-22.d: Likewise.
* ld-mmix/sec-7m.d: Likewise.
* ld-powerpc/tlsexe.r: Likewise.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlsso.g: Likewise.
* ld-powerpc/tlsso.r: Likewise.
* ld-powerpc/tlsso32.d: Likewise.
* ld-powerpc/tlsso32.g: Likewise.
* ld-powerpc/tlsso32.r: Likewise.
* ld-powerpc/tlstocso.g: Likewise.
* ld-powerpc/tlstocso.r: Likewise.
Alan Modra [Fri, 8 Jul 2005 06:20:16 +0000 (06:20 +0000)]
* ldlang.c (wild_sort): Formatting.
(strip_excluded_output_sections): Strip zero size sections here.
* emultempl/elf32.em (gld*_strip_empty_sections): Delete.
(gld*_finish): Don't call the above.
* emultempl/hppaelf.em (hppaelf_finish): Likewise.
* emultempl/ppc64elf.em (ppc_finish): Likewise.
Alan Modra [Fri, 8 Jul 2005 06:20:06 +0000 (06:20 +0000)]
* elf-hppa.h (elf_hppa_final_link): Use gp val of zero when none
of the usual sections are found.
* elf-m10300.c (_bfd_mn10300_elf_size_dynamic_sections): Tidy.
Strip .dynbss if it is zero size.
* elf32-arm.c (elf32_arm_size_dynamic_sections): Likewise.
* elf32-cris.c (elf_cris_size_dynamic_sections): Likewise.
* elf32-hppa.c (elf32_hppa_size_dynamic_sections): Likewise.
* elf32-i370.c (i370_elf_size_dynamic_sections): Likewise, and
.dynsbss.
(i370_elf_finish_dynamic_sections): Don't attempt to write .got
when it is zero size.
* elf32-i386.c (elf_i386_size_dynamic_sections): Correct handling
of .dynbss and zero size sections.
* elf32-m32r.c (m32r_elf_size_dynamic_sections): Strip .dynbss if
it is zero size.
* elf32-m68k.c (elf_m68k_size_dynamic_sections): Tidy. Strip
.dynbss if zero size.
* elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise, .dynsbss
too.
* elf32-s390.c (elf_s390_size_dynamic_sections): Likewise.
* elf32-sh.c (sh_elf_size_dynamic_sections): Likewise.
* elf32-vax.c (elf_vax_size_dynamic_sections): Likewise.
* elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Tidy. Strip
.plt.* and .got.plt.* if zero size.
* elf64-alpha.c (elf64_alpha_size_dynamic_sections): Tidy. Strip
.got* and .dynbss if zero size.
* elf64-hppa.c (elf64_hppa_size_dynamic_sections): Tidy. Strip
* elf64-ppc.c (create_linkage_sections): Create branch lookup table
in .data.rel.ro.brlt or .rodata.brlt, and similarly for associated
reloc section.
(create_got_section): Always create new .got and .rela.got sections.
(ppc64_elf_size_dynamic_sections): Tidy. Strip .dynbss if zero size.
* elf64-s390.c (elf_s390_size_dynamic_sections): Likewise.
* elf64-sh64.c (sh64_elf64_size_dynamic_sections): Likewise.
* elf64-x86-64.c (elf64_x86_64_size_dynamic_sections): Handle
dynamic bss sections correctly.
* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Tidy.
* elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections): Tidy. Strip
.dynbss if zero size.
Ben Elliston [Fri, 8 Jul 2005 05:57:21 +0000 (05:57 +0000)]
* frags.h: Remove ANSI_PROTOTYPES conditional code.
* config/obj-elf.h: Likewise.
* config/tc-h8300.h: Likewise.
* config/tc-h8500.h: Likewise.
* config/tc-i370.h: Likewise.
* config/tc-i386.h: Likewise.
* config/tc-m68hc11.h: Likewise.
* config/tc-m68k.h: Likewise.
* config/tc-ppc.h: Likewise.
* config/tc-s390.h: Likewise.
* config/tc-sh.h: Likewise.
* config/tc-sparc.h: Likewise.
* config/tc-tic30.c: Likewise.
* config/tc-w65.h: Likewise.
* config/tc-xtensa.h: Likewise.
Ben Elliston [Fri, 8 Jul 2005 05:44:53 +0000 (05:44 +0000)]
* elf32-xtensa.c: Include <stdarg.h> unconditionally, not only
when ANSI_PROTOTYPES is defined. Remove #ifdef logic.
Ben Elliston [Fri, 8 Jul 2005 05:32:46 +0000 (05:32 +0000)]
* bucomm.h: Include <stdarg.h> unconditionally, not only when
ANSI_PROTOTYPES is defined. Remove #ifdef logic.
* dlltool.c: Likewise.
* dllwrap.c: Likewise.
Hans-Peter Nilsson [Fri, 8 Jul 2005 03:54:30 +0000 (03:54 +0000)]
PR gas/1049
* config/tc-cris.h (MD_APPLY_SYM_VALUE): Define.
Hans-Peter Nilsson [Fri, 8 Jul 2005 03:53:12 +0000 (03:53 +0000)]
PR gas/1049
* gas/cris/rd-pic-2.d, gas/cris/rd-pic-2.s: New test.
* gas/cris/rd-abs32-1.d: Tweak for not emitting reloc-related
garbage for global symbols.
H.J. Lu [Fri, 8 Jul 2005 00:26:53 +0000 (00:26 +0000)]
2005-07-07 H.J. Lu <hongjiu.lu@intel.com>
* elf-bfd.h (elf_backend_data): Add special_sections.
* elf.c (_bfd_elf_get_sec_type_attr): Check special_sections
first.
* elf32-arm.c (elf_backend_get_sec_type_attr): Removed.
(elf_backend_special_sections): New. Defined.
* elf32-m32r.c: Likewise.
* elf32-m68hc11.c: Likewise.
* elf32-m68hc12.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-sh64.c: Likewise.
* elf32-v850.c: Likewise.
* elf32-xtensa.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-sh64.c: Likewise.
* elfxx-ia64.c: Likewise.
* elfxx-mips.c: Likewise.
* elfxx-mips.h: Likewise.
* elfxx-target.h (elf_backend_special_sections): New.
(elfNN_bed): Initialize special_sections.
Alan Modra [Fri, 8 Jul 2005 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 8 Jul 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Bob Wilson [Thu, 7 Jul 2005 21:50:57 +0000 (21:50 +0000)]
* xtensa-modules.c: Update tables with Xtensa MMU features.
Jim Wilson [Thu, 7 Jul 2005 19:27:52 +0000 (19:27 +0000)]
Kaveh Ghazi's printf format attribute checking patch.
bfd:
* elf32-xtensa.c (vsprint_msg): Add format attribute. Fix
format bugs.
* vms.h (_bfd_vms_debug): Add format attribute.
(_bfd_vms_debug, _bfd_hexdump): Fix typos.
binutils:
* bucomm.h (report): Add format attribute.
* dlltool.c (inform): Likewise.
* dllwrap.c (display, inform, warn): Likewise.
* objdump.c (objdump_sprintf): Likewise.
* readelf.c (error, warn): Likewise. Fix format bugs.
gas:
* config/tc-tic30.c (debug): Add format attribute. Fix format
bugs.
include:
* dis-asm.h (fprintf_ftype): Add format attribute.
opcodes:
* arc-dis.c, arm-dis.c, cris-dis.c, crx-dis.c, d10v-dis.c,
d30v-dis.c, fr30-dis.c, h8300-dis.c, h8500-dis.c, i860-dis.c,
ia64-dis.c, ip2k-dis.c, m10200-dis.c, m10300-dis.c,
m88k-dis.c, mcore-dis.c, mips-dis.c, ms1-dis.c, or32-dis.c,
ppc-dis.c, sh64-dis.c, sparc-dis.c, tic4x-dis.c, tic80-dis.c,
v850-dis.c: Fix format bugs.
* ia64-gen.c (fail, warn): Add format attribute.
* or32-opc.c (debug): Likewise.
H.J. Lu [Thu, 7 Jul 2005 17:44:58 +0000 (17:44 +0000)]
2005-07-07 H.J. Lu <hongjiu.lu@intel.com>
PR 975
* elflink.c (_bfd_elf_symbol_refs_local_p): Only undefined
symbol with default visibility is local.
Andreas Schwab [Thu, 7 Jul 2005 15:38:42 +0000 (15:38 +0000)]
* Makefile.def (flags_to_pass): Add CFLAGS_FOR_BUILD.
* Makefile.tpl (EXTRA_GCC_FLAGS): Don't pass CFLAGS_FOR_BUILD here.
* Makefile.in: Regenerated.
H.J. Lu [Thu, 7 Jul 2005 15:08:20 +0000 (15:08 +0000)]
Fix the date of the last checkin.
Andreas Schwab [Thu, 7 Jul 2005 13:11:16 +0000 (13:11 +0000)]
* observer.sh: Use different temporary file name depending on mode
of operation to avoid clash during parallel build.
Ben Elliston [Thu, 7 Jul 2005 12:12:40 +0000 (12:12 +0000)]
* config.bfd: Mark m68*-*-rtemscoff as obsolete.
Nick Clifton [Thu, 7 Jul 2005 11:37:10 +0000 (11:37 +0000)]
arm-dis.c (opcode32 arm_opcodes): Fix ARM VFP fadds instruction disassembly
pattern.
vfp1xD.d: Adjust expected fadds disassemblies now that the dissassembler has
been fixed.
Kazu Hirata [Thu, 7 Jul 2005 02:24:02 +0000 (02:24 +0000)]
* configure.in: Add --enable-libssp and --disable-libssp.
* configure: Regenerate with autoconf-2.13.
Kelley Cook [Thu, 7 Jul 2005 02:21:57 +0000 (02:21 +0000)]
2005-07-07 Kelley Cook <kcook@gcc.gnu.org>
* config.table: Delete file. Move former contents into ...
* configure.ac: ... here and escape any brackets for m4.
* Makefile.in (config.status): Remove dependency on config.table.
* configure: Regenerate.
Kelley Cook [Thu, 7 Jul 2005 02:19:14 +0000 (02:19 +0000)]
2005-07-07 Kelley Cook <kcook@gcc.gnu.org>
* config.in: Regenerate for 6/20 change.
Geoffrey Keating [Thu, 7 Jul 2005 01:14:34 +0000 (01:14 +0000)]
* configure.in: Don't build sim or rda when targetting darwin.
* configure: Regenerate.
Alan Modra [Thu, 7 Jul 2005 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 7 Jul 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
H.J. Lu [Wed, 6 Jul 2005 19:11:01 +0000 (19:11 +0000)]
2005-07-06 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (cpu_arch): Add sse3.
* config/tc-i386.h (CpuSSE3): Renamed from ...
(CpuPNI): This. Defined as CpuSSE3.
* doc/c-i386.texi: Document .sse3.
Bob Rossi [Wed, 6 Jul 2005 14:54:37 +0000 (14:54 +0000)]
Index: gdb/ChangeLog
+2005-07-06 Bob Rossi <bob@brasko.net>
+
+ * fork-child.c (fork-inferior): Use accessor function for
+ inferior_io_terminal.
+ * infcmd.c (inferior_io_terminal): Make static.
+ (set_inferior_io_terminal): New function.
+ (get_inferior_io_terminal): Ditto.
+ (tty_command): Use accessor function.
+ (_initialize_infcmd): Add inferior_tty setshow variable.
+ (_initialize_infcmd): Remove tty command.
+ (_initialize_infcmd): Add a tty command that is an alias.
+ * inferior.h (set_inferior_io_terminal): New prototype.
+ (get_inferior_io_terminal): Ditto.
+ (new_tty_prefork): Add const qualifier to parameter.
+ * inflow.c (inferior_thisrun_terminal): Add const qualifier.
+ (new_tty_prefork): Add const qualifier to parameter.
+ * nto-procfs (procfs_create_inferior): Use accessor function.
+ (procfs_create_inferior): Add const qualifier to locals.
+ * win32-nat.c (child_create_inferior): Ditto.
+ * mi/mi-cmd-env.c (mi_cmd_inferior_tty_set): New function.
+ (mi_cmd_inferior_tty_set): Ditto.
+ * mi/mi-cmds.c (mi_cmds): Add inferior-tty-set and inferior-tty-show
+ * mi/mi-cmds.h (mi_cmd_inferior_tty_set): Add prototype.
+ (mi_cmd_inferior_tty_show): Ditto.
Index: gdb/doc/ChangeLog
+2005-07-06 Bob Rossi <bob@brasko.net>
+
+ * gdb.texinfo (GDB/MI Miscellaneous Commands): Add -inferior-tty-set
+ and -inferior-tty-show.
+ (Input/Output): Document "set/show inferior-tty" and tty alias.
Index: gdb/testsuite/ChangeLog
+2005-07-06 Bob Rossi <bob@brasko.net>
+
+ * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
+ command.
+ (Copyright): Update copyright.
H.J. Lu [Wed, 6 Jul 2005 13:43:21 +0000 (13:43 +0000)]
2005-07-06 H.J. Lu <hongjiu.lu@intel.com>
* dwarf2.c (varinfo): Add addr.
(lookup_symbol_in_variable_table): Also check addr.
(scan_unit_for_symbols): Set addr for variable.
(comp_unit_find_line): Updated.
Nick Clifton [Wed, 6 Jul 2005 10:35:41 +0000 (10:35 +0000)]
coff-alpha.c (alpha_adjust_reloc_in): Issue an informative error message if an
unknown reloc is encountered.
(alpha_relocate_section): Likewise.
ecoff.c (_bfd_ecoff_write_object_contents): Cope with a reloc with a missing
howto field.
Jan Beulich [Wed, 6 Jul 2005 08:31:50 +0000 (08:31 +0000)]
gas/
2005-07-06 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (nop): Use zero for L-unit pseudo-nop.
Alan Modra [Wed, 6 Jul 2005 08:19:39 +0000 (08:19 +0000)]
* Makefile.am (stamp-m32r): Fix path to cpu files.
(stamp-m32r, stamp-iq2000): Likewise.
* Makefile.in: Regenerate.
* m32r-asm.c: Regenerate.
* po/POTFILES.in: Remove arm-opc.h. Add ms1-asm.c, ms1-desc.c,
ms1-desc.h, ms1-dis.c, ms1-ibld.c, ms1-opc.c, ms1-opc.h.
Alan Modra [Wed, 6 Jul 2005 08:18:52 +0000 (08:18 +0000)]
* iq2000.cpu: Include from binutils cpu dir.
Alan Modra [Wed, 6 Jul 2005 08:18:13 +0000 (08:18 +0000)]
* po/SRC-POTFILES.in: Add cpu-ms1.c, elf32-ms1.c, elf-vxworks.c,
elfxx-sparc.c.
Wu Zhou [Wed, 6 Jul 2005 07:25:36 +0000 (07:25 +0000)]
* tui/tui-win.c (parse_scrolling_args): Fix SEGV error with invalid
scroll commands.
Wu Zhou [Wed, 6 Jul 2005 06:52:25 +0000 (06:52 +0000)]
* f-exp.y (yyparse): Add code to support exponentiation expression.
(yylex): Add code to scan exponentiation operator.
* eval.c (evaluate_subexp_standard): Add support for BINOP_EXP.
* valarith.c (value_binop): Reset errno to 0 before calling pow
to do exponentiation operation.
Wu Zhou [Wed, 6 Jul 2005 06:11:54 +0000 (06:11 +0000)]
* gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
tests to evaluate exponentiation expression.
Alan Modra [Wed, 6 Jul 2005 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 6 Jul 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Paul Brook [Tue, 5 Jul 2005 16:52:48 +0000 (16:52 +0000)]
2005-07-05 Paul Brook <paul@codesourcery.com>
* elf32-ppc.c (ppc_elf_vxworks_special_sections): Remove.
(ppc_elf_vxworks_get_sec_type_attr): New function.
(elf_backend_special_sections): Remove vxwords definition.
(elf_backend_get_sec_type_attr): Define for vxworks.
Nick Clifton [Tue, 5 Jul 2005 15:07:46 +0000 (15:07 +0000)]
Fix compile time warnings from a GCC 4.0 compiler
Paul Brook [Tue, 5 Jul 2005 13:25:56 +0000 (13:25 +0000)]
2005-05-07 Paul Brook <paul@codesourcery.com>
bfd/
* config.bfd: Add separate case for ppc-vxworks.
* configure: Regenerate.
* configure.in: Include elf-vxworks.lo on ppc targets.
* elf-vxworks.c (elf_vxworks_final_write_processing): Handle
.rela.plt.unloaded.
* elf32-ppc.c: Add VxWorks target vec. Include elf-vxworks.h.
(PLT_ENTRY_SIZE, PLT_INITIAL_ENTRY_SIZE, PLT_SLOT_SIZE): Remove.
(VXWORKS_PLT_ENTRY_SIZE, ppc_elf_vxworks_plt_entry,
ppc_elf_vxworks_pic_plt_entry, VXWORKS_PLT_INITIAL_ENTRY_SIZE,
ppc_elf_vxworks_plt0_entry, ppc_elf_vxworks_pic_plt0_entry,
VXWORKS_PLT_NON_JMP_SLOT_RELOCS, VXWORKS_PLTRESOLVE_RELOCS,
VXWORKS_PLTRESOLVE_RELOCS_SHLIB): New.
(ppc_elf_link_hash_table): Add srelplt2, sgotplt, hgot, hplt,
is_vxworks, plt_entry_size, plt_slot_size, plt_initial_entry_size.
(ppc_elf_link_hash_table_create): Initialize hadtab plt fields.
(ppc_elf_create_got): Create .got.plt for VxWorks.
(ppc_elf_create_dynamic_sections): Create unloaded plt relocation
section for VxWorks.
(ppc_elf_select_plt_layout): Handle VxWorks plt format.
(allocate_got): VxWorks does not need a got header.
(allocate_dynrelocs): Handle VxWorks plt format.
(ppc_elf_size_dynamic_sections): Save _G_O_T_ and _P_L_T_ symbols for
VxWorks. Handle VxWorks plt/got.
(ppc_elf_finish_dynamic_sections): Fill in VxWorks plt.
(ppc_elf_vxworks_special_sections): New.
(ppc_elf_vxworks_link_hash_table_create,
ppc_elf_vxworks_add_symbol_hook,
elf_i386_vxworks_link_output_symbol_hook,
ppc_elf_vxworks_final_write_processing): New functions.
* targets.c (bfd_elf32_powerpc_vxworks_vec): Declare.
(_bfd_target_vector): Use it.
gas/
* config/tc-ppc.c (ppc_target_format): Add VxWorks.
gas/testsuite/
* gas/ppc/altivec.d: Match all powerpc target vecs.
* gas/ppc/booke.d: Ditto.
* gas/ppc/e500.d: Ditto.
ld/
* Makefile.am (ALL_EMULATIONS): Add eelf32ppcvxworks.o.
(eelf32ppcvxworks.o): Add dependencies.
* Makefile.in: Regenerate.
* configure.tgt: Add entry for powerpc-vxworks.
* emulparams/elf32-ppc.c: Mention elf32ppcvxworks.sh in comment.
* emulparams/elf32ppcvxworks.sh: New file.
* emultempl/ppc32elf.em (bfd_elf32_powerpc_vxworks_vec): Declare.
(is_ppc_elf32_vec): New function.
(ppc_after_open, ppc_before_allocation,
gld${EMULATION_NAME}_after_allocation): Use it.
Aldy Hernandez [Tue, 5 Jul 2005 13:08:08 +0000 (13:08 +0000)]
* config/tc-ms1.c: New.
* config/tc-ms1.h: New.
* testsuite/gas/ms1/allinsn.d: New.
* testsuite/gas/ms1/allinsn.s: New.
* testsuite/gas/ms1/badinsn.s: New.
* testsuite/gas/ms1/badinsn1.s: New.
* testsuite/gas/ms1/badoffsethigh.s: New.
* testsuite/gas/ms1/badoffsetlow.s: New.
* testsuite/gas/ms1/badorder.s: New.
* testsuite/gas/ms1/badreg.s: New.
* testsuite/gas/ms1/badsignedimmhigh.s: New.
* testsuite/gas/ms1/badsignedimmlow.s: New.
* testsuite/gas/ms1/badsyntax.s: New.
* testsuite/gas/ms1/badsyntax1.s: New.
* testsuite/gas/ms1/badunsignedimmhigh.s: New.
* testsuite/gas/ms1/badunsignedimmlow.s: New.
* testsuite/gas/ms1/errors.exp: New.
* testsuite/gas/ms1/ldst.s: New.
* testsuite/gas/ms1/misc.d: New.
* testsuite/gas/ms1/misc.s: New.
* testsuite/gas/ms1/ms1-16-003.d: New.
* testsuite/gas/ms1/ms1-16-003.s: New.
* testsuite/gas/ms1/ms1.exp: New.
* testsuite/gas/ms1/msys.d: New.
* testsuite/gas/ms1/msys.s: New.
* testsuite/gas/ms1/relocs.d: New.
* testsuite/gas/ms1/relocs.exp: New.
* testsuite/gas/ms1/relocs1.s: New.
* testsuite/gas/ms1/relocs2.s: New.
Nick Clifton [Tue, 5 Jul 2005 12:17:55 +0000 (12:17 +0000)]
(GENERATE_PIE_SCRIPT): Define as "yes".
Nick Clifton [Tue, 5 Jul 2005 11:43:55 +0000 (11:43 +0000)]
Add check to avoid corrupt input files whose section sizes are greater than
the size of the input file.
Jakub Jelinek [Tue, 5 Jul 2005 09:45:54 +0000 (09:45 +0000)]
* libbfd-in.h (struct artdata): Add extended_names_size field.
* libbfd.h: Rebuilt.
* coff-rs600.c (_bfd_xcoff_archive_p): Don't clear fields in freshly
allocated object by bfd_zalloc.
* coff64-rs6000.c (xcoff64_archive_p): Likewise.
* ecoff.c (_bfd_ecoff_archive_p): Likewise.
* archive.c (_bfd_generic_mkarchive, bfd_generic_archive_p): Likewise.
(get_extended_arelt_filename): Fail if index is bigger or equal to
extended_names_size.
(_bfd_generic_read_ar_hdr_mag): Don't set bfd_error_malformed_archive,
get_extended_arelt_filename already did that.
(_bfd_slurp_extended_name_table): Initialize extended_names_size field.
Allocate one extra byte and clear it, in case extended names table
is not terminated.
Jakub Jelinek [Tue, 5 Jul 2005 09:44:20 +0000 (09:44 +0000)]
* libbfd-in.h (bfd_malloc2, bfd_realloc2, bfd_zmalloc2, bfd_alloc2,
bfd_zalloc2): New prototypes.
* bfd-in.h (HALF_BFD_SIZE_TYPE): Define.
* libbfd.c (bfd_malloc2, bfd_realloc2, bfd_zmalloc2): New functions.
* opncls.c (bfd_alloc2, bfd_zalloc2): New functions.
* elf.c (bfd_elf_get_elf_syms, setup_group, assign_section_numbers,
elf_map_symbols, map_sections_to_segments,
assign_file_positions_for_segments, copy_private_bfd_data,
swap_out_syms, _bfd_elf_slurp_version_tables): Use bfd_*alloc2
where appropriate.
* bfd-in2.h: Rebuilt.
* libbfd.h: Rebuilt.
* elf.c (_bfd_elf_print_private_bfd_data): Don't crash on bogus
verdef or verneed section.
(_bfd_elf_slurp_version_tables): Handle corrupt verdef and/or
verneed sections gracefully.
* elfxx-sparc.c (_bfd_sparc_elf_info_to_howto_ptr): Don't crash on
bogus relocation values.
* elf64-ppc.c (ppc64_elf_info_to_howto): Likewise.
* elf64-s390.c (elf_s390_info_to_howto): Likewise.
* elf32-s390.c (elf_s390_info_to_howto): Likewise.
* elf64-x86-64.c (elf64_x86_64_info_to_howto): Likewise.
* elfxx-ia64.c (lookup_howto): Likewise.
Jakub Jelinek [Tue, 5 Jul 2005 09:38:45 +0000 (09:38 +0000)]
* elf.c (bfd_elf_get_str_section): Allocate an extra byte after
the end of strtab and clear it.
(elf_read): Remove.
Nick Clifton [Tue, 5 Jul 2005 09:17:22 +0000 (09:17 +0000)]
Add Vietnamese translation.
Nick Clifton [Tue, 5 Jul 2005 09:14:14 +0000 (09:14 +0000)]
(elf32_arm_size_dynamic_sections): Fix a typo and touchup logic like i386/ppc.
Jan Beulich [Tue, 5 Jul 2005 07:16:54 +0000 (07:16 +0000)]
gas/
2005-07-05 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.h (CpuSVME): New.
(CpuUnknownFlags): Include CpuSVME.
* config/tc-i386.c (cpu_arch): Add .pacifica and .svme. Add opteron
as alias of sledgehammer.
(md_assemble): Include invlpga in the check for insns with two source
operands.
(process_operands): Include SVME insns in the check for ignored
segment overrides. Adjust diagnostic.
(i386_index_check): Special-case SVME insns with memory operands.
gas/testsuite/
2005-07-05 Jan Beulich <jbeulich@novell.com>
* gas/i386/svme.d: New.
* gas/i386/svme.s: New.
* gas/i386/svme64.d: New.
* gas/i386/i386.exp: Run new tests.
include/opcode/
2005-07-05 Jan Beulich <jbeulich@novell.com>
* i386.h (i386_optab): Add new insns.
opcodes/
2005-07-05 Jan Beulich <jbeulich@novell.com>
* i386-dis.c (SVME_Fixup): New.
(grps): Use it for the lidt entry.
(PNI_Fixup): Call OP_M rather than OP_E.
(INVLPG_Fixup): Likewise.
Alan Modra [Tue, 5 Jul 2005 06:23:37 +0000 (06:23 +0000)]
* elf.c (special_sections): Move const qualifier.
(special_sections_b..special_sections_t): Likewise.
* elf32-arm.c (elf32_arm_symbian_get_sec_type_attr): Remove duplicate
const.
(elf32_arm_symbian_special_sections): Move const qualifier.
* elf32-m32r.c: Similarly.
* elf32-m68hc11.c: Similarly.
* elf32-m68hc12.c: Similarly.
* elf32-mcore.c: Similarly.
* elf32-ppc.c: Similarly.
* elf32-sh64.c: Similarly.
* elf32-v850.c: Similarly.
* elf32-xtensa.c: Similarly.
* elf64-alpha.c: Similarly.
* elf64-hppa.c: Similarly.
* elf64-ppc.c: Similarly.
* elf64-sh64.c: Similarly.
* elfxx-ia64.c: Similarly.
* elfxx-mips.c: Similarly.
gdbadmin [Tue, 5 Jul 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 5 Jul 2005 00:00:06 +0000 (00:00 +0000)]
daily update
H.J. Lu [Mon, 4 Jul 2005 17:51:36 +0000 (17:51 +0000)]
2005-07-04 H.J. Lu <hongjiu.lu@intel.com>
* tic30-dis.c (cnvt_tmsfloat_ieee): Use HUGE_VALF if defined.
Paul Brook [Mon, 4 Jul 2005 14:58:52 +0000 (14:58 +0000)]
2005-07-04 Zack Weinberg <zack@codesourcery.com>
* lib/gas-defs.exp (run_dump_tests): New proc.
(run_dump_test): Add support for new options: target, not-target,
skip, not-skip, error-output. Document stderr. Tidy a
little.
(slurp_options): If a line doesn't match the option regexp, but
does begin with #, ignore it; don't stop parsing options.
* gas/arm/arm.exp: Remove most code. Use run_dump_tests.
* gas/arm/archv6t2-bad.d, gas/arm/armv1.d, gas/arm/iwmmxt-bad.d
* gas/arm/r15-bad.d, gas/arm/req.d, gas/arm/t16-bad.d
* gas/arm/undefined.d, gas/arm/undefined_coff.d, gas/arm/vfp-bad.d:
New files.
* gas/arm/bignum1.d, gas/arm/mapping.d, gas/arm/pic.d:
Only run on ELF targets.
* gas/arm/tls.d, gas/arm/unwind.d: Only run on ELF targets.
Skip on VxWorks.
* gas/arm/tls_vxworks.d, gas/arm/unwind_vxworks.d: New files.
* gas/arm/thumb.d, gas/arm/thumb32.d: Don't run on aout or pe.
* gas/arm/le-fpconst.d: Only run on *-*-pe.
* gas/arm/inst.d: Skip on WinCE.
* gas/arm/wince_inst.d: Skip unless WinCE.
* gas/arm/el_segundo.d: Mark up for actual use; adjust
expectations.
* gas/arm/el_segundo.s: Remove irrelevant junk. Add padding
for a.out's sake.
Nick Clifton [Mon, 4 Jul 2005 14:36:02 +0000 (14:36 +0000)]
Fix typo
Nick Clifton [Mon, 4 Jul 2005 14:27:07 +0000 (14:27 +0000)]
Fix compile time warning messages about signed/unsigned conflicts reported
by GCC 4.0
Nick Clifton [Mon, 4 Jul 2005 13:54:36 +0000 (13:54 +0000)]
m32r-linux-ld support for position independent executables
Mark Kettenis [Mon, 4 Jul 2005 13:38:55 +0000 (13:38 +0000)]
* i386nbsd-nat.c (i386nbsd_supply_pcb): Cast to 'gdb_byte *' in
read_memory call.
* bsd-uthread.c (bsd_uthread_wait): Use gdb_byte for byte buffer.
Mark Kettenis [Mon, 4 Jul 2005 13:29:13 +0000 (13:29 +0000)]
* bsd-kvm.c (bsd_kvm_open): Properly cast sentinel in concat call.
* coffread.c (patch_type, process_coff_symbol): Likewise.
* corelow.c (core_open): Likewise.
* dwarf2read.c (dwarf_decode_lines, dwarf2_start_subfile):
* language.c (set_lang_str, set_type_str, set_range_str)
(set_case_str): Likewise.
* source.c (add_path, openp): Likewise.
* stabsread.c: Likewise.
* top.c (init_history): Likewise.
* utils.c (xfullpath): Likewise.
* value.c (lookup_internalvar): Likewise.
* cli/cli-cmds.c (cd_command): Likewise.
* cli/cli-dump.c (add_dump_command): Likewise.
Alan Modra [Mon, 4 Jul 2005 10:30:09 +0000 (10:30 +0000)]
PR 1042
* elf.c (assign_file_positions_for_segments): Remove excluded
sections from the segment map.
Mark Kettenis [Mon, 4 Jul 2005 10:17:40 +0000 (10:17 +0000)]
* i387-tdep.c (print_i387_value, print_i387_ext, i387_tag): Change
type of first argument to `const gdb_byte *'.
(i387_print_float_info, i387_register_to_value)
(i387_value_to_register, i387_supply_fsave, i387_collect_fsave)
(i387_supply_fxsave, i387_collect_fxsave): Use gdb_byte for byte
buffers.
Alan Modra [Mon, 4 Jul 2005 04:04:19 +0000 (04:04 +0000)]
* emultempl/elf32.em: Enable use of ld.so.conf for *-*-k*bsd-*.
Alan Modra [Mon, 4 Jul 2005 01:53:44 +0000 (01:53 +0000)]
PR 1004
bfd/
* elf-bfd.h (struct elf_backend_data): Add get_sec_type_attr. Delete
special_sections.
(_bfd_elf_get_special_section): Declare.
(bfd_elf_special_section): Update prototype.
* elf.c (special_sections): Remove unused outer entries.
(get_special_section): Delete.
(_bfd_elf_get_special_section): New function.
(_bfd_elf_get_sec_type_attr): Replace "name" arg with "sec". Update
special_sections indexing.
(_bfd_elf_new_section_hook): Call backend get_sec_type_attr.
* elf32-arm.c (symbian_special_sections_d): Delete.
(symbian_special_sections_g, symbian_special_sections_h): Delete.
(symbian_special_sections_i, symbian_special_sections_f): Delete.
(symbian_special_sections_p): Delete.
(elf32_arm_symbian_special_sections): Merge above to here.
(elf32_arm_symbian_get_sec_type_attr): New function.
(elf_backend_special_sections): Don't define.
(elf_backend_get_sec_type_attr): Define.
* elf32-m32r.c: Similarly to elf32-arm.c.
* elf32-m68hc11.c: Likewise.
* elf32-m68hc12.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-sh64.c: Likewise.
* elf32-v850.c: Likewise.
* elf32-xtensa.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-sh64.c: Likewise.
* elfxx-ia64.c: Likewise.
* elfxx-mips.c: Likewise.
* elf32-ppc.c: Likewise.
(bfd_elf_special_section ppc_alt_plt): New. Use it if .plt loadable.
* elfxx-mips.h (_bfd_mips_elf_get_sec_type_attr): Declare.
(_bfd_mips_elf_special_sections, elf_backend_special_sections): Delete.
(elf_backend_get_sec_type_attr): Define.
* elfxx-target.h (elf_backend_get_sec_type_attr): Define.
(elf_backend_special_sections): Don't define.
(elfNN_bed): Update.
binutils/
* objcopy.c (copy_object): Use bfd_make_section_with_flags.
(write_debugging_info): Likewise.
(setup_section): Use bfd_make_section_anyway_with_flags.
gas/
* config/obj-elf.c (obj_elf_change_section): Use backend
get_sec_type_attr.
gdbadmin [Mon, 4 Jul 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 4 Jul 2005 00:00:04 +0000 (00:00 +0000)]
daily update
Ben Elliston [Sun, 3 Jul 2005 20:46:50 +0000 (20:46 +0000)]
* Makefile.in (RUNTEST): Set to runtest.
Ben Elliston [Sun, 3 Jul 2005 20:43:40 +0000 (20:43 +0000)]
* src-release (do-proto-toplev): Remove dejagnu bits.
(DEJAGNU_SUPPORT_DIRS): Remove.
(dejagnu.tar.bz2, dejagnu.tar): Likewise.
(GDBD_SUPPORT_DIRS): Likewise.
(gdb+dejagnu.tar.bz2, gdb+dejagnu.tar): Likewise.
(INSIGHTD_SUPPORT_DIRS): Likewise.
(insight+dejagnu.tar.bz2, insight+dejagnu.tar): Likewise.