Anthony Green [Fri, 25 Mar 2005 20:40:02 +0000 (20:40 +0000)]
Fix memset thinkos.
Daniel Jacobowitz [Fri, 25 Mar 2005 20:38:55 +0000 (20:38 +0000)]
* lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
downloads.
* config/gdbserver.exp (gdb_load): Likewise.
Mark Mitchell [Fri, 25 Mar 2005 20:06:36 +0000 (20:06 +0000)]
* ser-base.c (ser_unix_write): Rename to ...
(ser_base_write): ... this.
(ser_unix_nop_flush_output): Rename to ...
(ser_base_flush_output): ... this.
(ser_unix_flush_input): Rename to ...
(ser_base_flush_input): ... this.
(ser_unix_nop_send_break): Rename to ...
(ser_base_send_break): ... this.
(ser_unix_nop_drain_output): Rename to ...
(ser_base_drain_output): ... this.
(ser_unix_nop_raw): Rename to ...
(ser_base_raw): ... this.
(ser_unix_nop_get_tty_state): Rename to ...
(ser_base_set_tty_state): ... this.
(ser_unix_nop_noflush_set_tty_state): Rename to ...
(ser_base_noflush_set_tty_state): ... this.
(ser_unix_nop_print_tty_state): Rename to ...
(ser_base_print_tty_state): ... this.
(ser_unix_nop_setbaudrate): Rename to ...
(ser_base_setbaudrate): ... this.
(ser_unix_nop_setstopbits): Rename to ...
(ser_base_setstopbits): ... this.
(ser_unix_async): Rename to ...
(ser_base_async): ... this.
* ser-base.h (ser_unix_write): Rename to ...
(ser_base_write): ... this.
(ser_unix_nop_flush_output): Rename to ...
(ser_base_flush_output): ... this.
(ser_unix_flush_input): Rename to ...
(ser_base_flush_input): ... this.
(ser_unix_nop_send_break): Rename to ...
(ser_base_send_break): ... this.
(ser_unix_nop_drain_output): Rename to ...
(ser_base_drain_output): ... this.
(ser_unix_nop_raw): Rename to ...
(ser_base_raw): ... this.
(ser_unix_nop_get_tty_state): Rename to ...
(ser_base_set_tty_state): ... this.
(ser_unix_nop_noflush_set_tty_state): Rename to ...
(ser_base_noflush_set_tty_state): ... this.
(ser_unix_nop_print_tty_state): Rename to ...
(ser_base_print_tty_state): ... this.
(ser_unix_nop_setbaudrate): Rename to ...
(ser_base_setbaudrate): ... this.
(ser_unix_nop_setstopbits): Rename to ...
(ser_base_setstopbits): ... this.
(ser_unix_async): Rename to ...
(ser_base_async): ... this.
* ser-pipe.c (_initialize_ser_pipe): Update accordingly.
* ser-tcp.c (_initialize_ser_tcp): Likewise.
* ser-unix.c (hardwire_flush_input): Likewise.
(_initializer_ser_hardwire): Likewise.
Mark Mitchell [Fri, 25 Mar 2005 19:47:23 +0000 (19:47 +0000)]
* Makefile.in (SFILES): Add ser-base.c.
(ser_base_h): New variable.
(ser-base.o): New target.
(ser-pipe.o): Depend on $(ser_base_h).
(ser-tcp.o): Likewise.
(ser-unix.o): Likewise. Do not depend on $(event_loop_h).
* configure.ac (SER_HARDWIRE): Include ser-base.o where
appropriate.
* ser-base.c: New file.
(push_event): Move from ser-unix.c.
(fd_event): Likewise.
(reschedule): Likewise.
(ser_unix_write): Likewise.
(ser_unix_nop_flush_output): Likewise.
(ser_unix_flush_input): Likewise.
(ser_unix_nop_send_break): Likewise.
(ser_unix_nop_drain_output): Likewise.
(ser_unix_nop_raw): Likewise.
(ser_unix_nop_get_tty_state): Likewise.
(ser_unix_nop_set_tty_state): Likewise.
(ser_unix_nop_noflush_set_tty_state): Likewise.
(ser_unix_nop_print_tty_state): Likewise.
(ser_unix_nop_setbaudrate): Likewise.
(ser_unix_nop_setstopbits): Likewise.
(ser_unix_async): Likewise.
* ser-base.h: New file.
* ser-pipe.c (ser-base.h): Include it.
* ser-tcp.c (ser-base.h): Likewise.
* ser-unix.h (ser_unix_nop_flush_output): Remove.
(ser_unix_flush_input): Likewise.
(ser_unix_nop_send_break): Likewise.
(ser_unix_nop_raw): Likewise.
(ser_unix_nop_get_tty_state): Likewise.
(ser_unix_nop_set_tty_state): Likewise.
(ser_unix_nop_print_tty_state): Likewise.
(ser_unix_nop_noflush_set_tty_state): Likewise.
(ser_unix_nop_setbaudrate): Likewise.
(ser_unix_nop_setstopbits): Likewise.
(ser_unix_nop_drain_output): Likewise.
(ser_unix_wait_for): Likewise.
(ser_unix_write): Likewise.
(ser_unix_async): Likewise.
* ser-unix.c (event-loop.h): Do not include it.
(push_event): Move to ser-base.c.
(fd_event): Likewise.
(reschedule): Likewise.
(ser_unix_write): Likewise.
(ser_unix_nop_flush_output): Likewise.
(ser_unix_flush_input): Likewise.
(ser_unix_nop_send_break): Likewise.
(ser_unix_nop_drain_output): Likewise.
(ser_unix_nop_raw): Likewise.
(ser_unix_nop_get_tty_state): Likewise.
(ser_unix_nop_set_tty_state): Likewise.
(ser_unix_nop_noflush_set_tty_state): Likewise.
(ser_unix_nop_print_tty_state): Likewise.
(ser_unix_nop_setbaudrate): Likewise.
(ser_unix_nop_setstopbits): Likewise.
(ser_unix_async): Likewise.
(ser_unix_wait_for): Make it static.
* configure: Regenerated.
Mark Kettenis [Fri, 25 Mar 2005 16:51:40 +0000 (16:51 +0000)]
* dwarf2-frame.h: Update copyrigh year.
(enum dwarf2_frame_reg_rule): Add DWARF2_FRAME_REG_RA_OFFSET.
* dwarf2-frame.c: Update copyright year.
(struct dwarf2_frame_cache): Add member `retaddr_reg'.
(dwarf2_frame_cache): Deal with DWARF2_FRAME_REG_RA_OFFSET.
(dwarf2_frame_prev_register): Handle DWARF2_FRAME_REG_RA_OFFSET.
Thiemo Seufer [Fri, 25 Mar 2005 16:20:01 +0000 (16:20 +0000)]
Update mail address.
Daniel Jacobowitz [Fri, 25 Mar 2005 15:42:29 +0000 (15:42 +0000)]
* BRANCHES: Add binutils-csl-arm-2005q1-branch and
binutils-2_16-branch.
Mark Kettenis [Fri, 25 Mar 2005 15:23:18 +0000 (15:23 +0000)]
* MAINTAINERS: Add myself as M88k maintainer.
Hans-Peter Nilsson [Fri, 25 Mar 2005 11:50:53 +0000 (11:50 +0000)]
* config/tc-mmix.c, config/tc-mmix.h: Convert to ISO C90.
Paolo Bonzini [Fri, 25 Mar 2005 09:02:30 +0000 (09:02 +0000)]
2005-03-25 Paolo Bonzini <bonzini@gnu.org>
* configure.in (RPATH_ENVVAR): Set to DYLD_LIBRARY_PATH on Darwin.
* configure: Regenerate.
DJ Delorie [Fri, 25 Mar 2005 04:57:08 +0000 (04:57 +0000)]
merge from gcc
DJ Delorie [Fri, 25 Mar 2005 04:27:21 +0000 (04:27 +0000)]
merge from gcc
Hans-Peter Nilsson [Fri, 25 Mar 2005 04:10:52 +0000 (04:10 +0000)]
* config/tc-cris.h: Convert to ISO C90.
* config/tc-cris.c: Ditto.
(md_estimate_size_before_relax): Remove obsolete comment for
parameter "segment_type".
(md_begin): Document reason for cast of hash_insert argument.
(md_atof): Correct type of parameter "type".
gdbadmin [Fri, 25 Mar 2005 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***
Mark Mitchell [Thu, 24 Mar 2005 23:36:03 +0000 (23:36 +0000)]
* config/default.exp: Do not load libpath.exp if it does not
exist.
(CC): Provide fallback definition.
(CFLAGS): Likewise.
(CXX): Likewise.
(CXXFLAGS): Likewise.
Eric Christopher [Thu, 24 Mar 2005 22:47:52 +0000 (22:47 +0000)]
2005-03-24 Eric Christopher <echristo@redhat.com>
* elfxx-mips.c: Revert previous patch.
2005-03-24 Eric Christopher <echristo@redhat.com>
* ld-mips-elf/rel32-n32.d: Revert changes.
* ld-mips-elf/rel32-o32.d: Ditto.
* ld-mips-elf/rel64.d: Ditto.
Danny Smith [Thu, 24 Mar 2005 21:26:21 +0000 (21:26 +0000)]
* winduni.c (unicode_from_ascii): Don't declare variables
's' and 'w' if _WIN32. Use MultiByteToWideChar to set the unicode
string len.
Nick Clifton [Thu, 24 Mar 2005 21:13:03 +0000 (21:13 +0000)]
Updated French translation
Nick Clifton [Thu, 24 Mar 2005 21:02:19 +0000 (21:02 +0000)]
(_bfd_target_vector): Only include the bfd_elf32_ia64_hpux_big_vec vector
when building a 64-bit BFD with all targets enabled.
Nick Clifton [Thu, 24 Mar 2005 20:40:28 +0000 (20:40 +0000)]
Convert unmaintained files over to ISO-C90 and fix formatting.
Dmitry Diky [Thu, 24 Mar 2005 18:04:38 +0000 (18:04 +0000)]
Add Dmitry Diky to maintainers list as msp430 maintainer
Nick Clifton [Thu, 24 Mar 2005 09:26:27 +0000 (09:26 +0000)]
(BFD32_BACKENDS): Delete elf32-ia64.lo.
(BFD64_BACKENDS): Add elf32-ia64.lo.
Hans-Peter Nilsson [Thu, 24 Mar 2005 06:12:42 +0000 (06:12 +0000)]
* cris/Makefile.in (stamp-v10fcpu, stamp-v32fcpu): Add kludge to
include cgen-ops.h in decodev10.c and decodev32.c.
* cris/sim-main.h: Don't include cgen-ops.h here.
* cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c,
cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c,
cris/decodev10.h, cris/decodev32.c, cris/decodev32.h,
cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c,
cris/semcrisv32f-switch.c: Regenerate.
Eric Christopher [Thu, 24 Mar 2005 01:30:47 +0000 (01:30 +0000)]
bfd/ChangeLog:
2005-03-23 Eric Christopher <echristo@redhat.com>
* elfxx-mips.c (MIPS_ELF_READONLY_SECTION): New.
(mips_elf_calculate_relocation): Use. Define DF_TEXTREL
after emitting relocation.
(_bfd_mips_elf_adjust_dynamic_symbol): Ditto.
(_bfd_mips_elf_check_relocs): Remove code to set DF_TEXTREL
and readonly_reloc.
ld/testsuite/ChangeLog:
2005-03-23 Eric Christopher <echristo@redhat.com>
* ld-mips-elf/textrel-1.s, ld-mips-elf/textrel-1.d: New
test.
* ld-mips-elf/mips-elf.exp: Call it.
* ld-mips-elf/rel32-n32.d: Update for DF_TEXTREL removal.
* ld-mips-elf/rel32-o32.d: Ditto.
* ld-mips-elf/rel64.d: Ditto.
Hans-Peter Nilsson [Thu, 24 Mar 2005 01:14:09 +0000 (01:14 +0000)]
* cris/traps.c (cris_break_13_handler) <case
TARGET_SYS_rt_sigaction>: Rename sa_handler, sa_flags,
sa_restorer, sa_mask_low, sa_mask_high to target_sa_handler etc.
Hans-Peter Nilsson [Thu, 24 Mar 2005 00:01:14 +0000 (00:01 +0000)]
* gas/cris/range-err-1.s: Adjust expected messages for hosts with
64-bit longs.
gdbadmin [Thu, 24 Mar 2005 00:01:07 +0000 (00:01 +0000)]
*** empty log message ***
H.J. Lu [Wed, 23 Mar 2005 19:21:16 +0000 (19:21 +0000)]
2005-03-23 H.J. Lu <hongjiu.lu@intel.com>
* cris-dis.c (print_with_operands): Use ~31L for long instead
of ~31.
Martin Hunt [Wed, 23 Mar 2005 19:17:42 +0000 (19:17 +0000)]
2005-03-23 Martin Hunt <hunt@redhat.com>
* configure.ac: Remove -fwritable-strings from CFLAGS.
* configure: Regenerate.
H.J. Lu [Wed, 23 Mar 2005 19:04:33 +0000 (19:04 +0000)]
2005-03-23 H.J. Lu <hongjiu.lu@intel.com>
* ld-cris/expdyn5.d: Updated for alignment change in elf.sc.
* ld-cris/expdyn6.d: Likewise.
* ld-cris/expdyn7.d: Likewise.
* ld-cris/gotplt1.d: Likewise.
* ld-cris/gotplt2.d: Likewise.
* ld-cris/gotplt3.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-cris/locref1.d: Likewise.
* ld-cris/locref2.d: Likewise.
* ld-cris/nodyn5.d: Likewise.
* ld-cris/pv32-1.d: Likewise.
* ld-cris/weakref2.d: Likewise.
Mark Kettenis [Wed, 23 Mar 2005 18:55:19 +0000 (18:55 +0000)]
From common/ChangeLog:
* aclocal.m4 Include ../../gettext.m4.
(CY_WITH_NLS, CY_GNU_GETTEXT, AM_PATH_PROG_WITH_TEST)
(AM_LC_MESSAGES): Remove.
* configure: Regenerate.
Regenerate all other configures.
Jim Blandy [Wed, 23 Mar 2005 15:49:02 +0000 (15:49 +0000)]
* config/tc-arm.c (arm_adjust_symtab): Fetch elf_sym's binding
attributes properly.
Nick Clifton [Wed, 23 Mar 2005 15:35:50 +0000 (15:35 +0000)]
Accept any C library to accompany a GNU Linux implementation, not just the GNU
C library.
Nick Clifton [Wed, 23 Mar 2005 14:49:45 +0000 (14:49 +0000)]
Undo previous delta
Nick Clifton [Wed, 23 Mar 2005 14:46:13 +0000 (14:46 +0000)]
(getopt): Allow full prototype when builind under FreeBSD.
Nick Clifton [Wed, 23 Mar 2005 11:18:14 +0000 (11:18 +0000)]
Convert to ISO C90 formatting
Nick Clifton [Wed, 23 Mar 2005 09:44:07 +0000 (09:44 +0000)]
Update French translation
H.J. Lu [Wed, 23 Mar 2005 04:14:46 +0000 (04:14 +0000)]
bfd/
2005-03-22 H.J. Lu <hongjiu.lu@intel.com>
* bfd-in.h (_bfd_elf_provide_symbol): New.
* bfd-in2.h: Regenerated.
* elf32-ppc.c (set_linker_sym): Moved to elflink.c.
(ppc_elf_set_sdata_syms): Call _bfd_elf_provide_symbol instead
of set_linker_sym.
* elflink.c (_bfd_elf_provide_symbol): New. Moved and renamed
from elf32-ppc.c.
ld/
2005-03-22 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): New
(gld${EMULATION_NAME}_finish): Call
gld${EMULATION_NAME}_provide_bound_symbols to provide
__preinit_array_start, __preinit_array_end, __init_array_start,
__init_array_end, __fini_array_start and __fini_array_end.
* scripttempl/elf.sc: Don't provide __preinit_array_start,
__preinit_array_end, __init_array_start, __init_array_end,
__fini_array_start nor __fini_array_end.
DJ Delorie [Wed, 23 Mar 2005 00:01:17 +0000 (00:01 +0000)]
merge from gcc
gdbadmin [Wed, 23 Mar 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 22 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Hans-Peter Nilsson [Tue, 22 Mar 2005 21:52:52 +0000 (21:52 +0000)]
* hash.c (strtab_hash_newfunc): Fix typo in allocated size.
Ben Elliston [Tue, 22 Mar 2005 19:51:31 +0000 (19:51 +0000)]
* dwarf.h: Merge with GCC's dwarf.h.
Bob Wilson [Tue, 22 Mar 2005 19:31:28 +0000 (19:31 +0000)]
include ChangeLog
* xtensa-isa.h: Update a comment and whitespace.
bfd ChangeLog
* xtensa-isa.c (xtensa_opcode_lookup, xtensa_state_lookup,
xtensa_sysreg_lookup_name, xtensa_interface_lookup,
xtensa_funcUnit_lookup): Skip bsearch call if count is zero.
(xtensa_opcode_decode): Rearrange code.
Nick Clifton [Tue, 22 Mar 2005 18:43:09 +0000 (18:43 +0000)]
Oops - fix typo in ISO-C90ifcation
Nick Clifton [Tue, 22 Mar 2005 18:03:26 +0000 (18:03 +0000)]
Oops - fix typos and finish of ISO-C90'fication of ieee.c
Nick Clifton [Tue, 22 Mar 2005 16:14:43 +0000 (16:14 +0000)]
Convert to ISO C90 formatting.
Daniel Jacobowitz [Tue, 22 Mar 2005 15:39:32 +0000 (15:39 +0000)]
* elf32-arm.c (elf32_arm_final_link_relocate): Don't fail for
unresolved symbols in R_ARM_NONE relocations.
Daniel Jacobowitz [Tue, 22 Mar 2005 15:39:08 +0000 (15:39 +0000)]
* elf32-arm.c (elf32_arm_final_link_relocate): Add
UNRESOLVED_RELOC_P argument. Set it appropriately.
(elf32_arm_relocate_section): Update call to
elf32_arm_final_link_relocate. Don't clobber RELOCATION; use
unresolved_reloc instead.
Alan Modra [Tue, 22 Mar 2005 14:49:16 +0000 (14:49 +0000)]
bfd/
* elflink.c (elf_link_add_object_symbols): Set SEC_EXCLUDE on
.gnu.warning.* sections.
ld/
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Set
SEC_EXCLUDE on .gnu.warning sections.
Alan Modra [Tue, 22 Mar 2005 14:20:38 +0000 (14:20 +0000)]
gas/testsuite/
* gas/elf/section5.s: Don't start directives in first column.
ld/testsuite/
* ld-elf/tbss.s: Don't start directives in first column.
* ld-scripts/weak1.s: Likewise.
* ld-scripts/weak2.s: Likewise.
* ld-undefined/weak-undef.s: Likewise.
* ld-undefined/undefined.exp: Enable tests for hppa-elf.
Alan Modra [Tue, 22 Mar 2005 13:32:57 +0000 (13:32 +0000)]
* elf32-ppc.c (elf_linker_section_pointers_t): Remove
written_address_p.
(ppc_elf_create_linker_section): Don't try to reuse existing section.
(elf_create_pointer_linker_section): Delete info parm. Don't make
h dynamic. Don't set written_address_p.
(ppc_elf_check_relocs): Adjust ppc_elf_create_linker_section calls.
(bfd_put_ptr): Delete.
(elf_finish_pointer_linker_section): Remove output_bfd and info parms.
Always write section contents. Assert global sym is def_regular.
Use offset bottom bit as a written flag.
(ppc_elf_relocate_section): Adjust elf_finish_pointer_linker_section
calls.
Nick Clifton [Tue, 22 Mar 2005 07:49:42 +0000 (07:49 +0000)]
Add Daniel Jacobwitz to the blanket write privileges list.
Alan Modra [Tue, 22 Mar 2005 03:23:51 +0000 (03:23 +0000)]
* elf32-ppc.c (ppc_elf_set_sdata_syms): New function, extracted from..
(ppc_elf_set_sdata_syms): ..here. Expand comment. Set .sbss start
and end syms.
Zack Weinberg [Tue, 22 Mar 2005 00:49:18 +0000 (00:49 +0000)]
top:
* Makefile.def: Remove libstdcxx_incdir, libsubdir, gxx_include_dir,
gcc_version, and gcc_version_trigger from set of flags to pass.
* Makefile.tpl: Remove definitions of above variables.
(config.status): Remove dependency on $(gcc_version_trigger).
* Makefile.in: Regenerate.
* configure.in: Do not reference config/gcc-version.m4 nor
config/gxx-include-dir.m4. Do not invoke TL_AC_GCC_VERSION nor
TL_AC_GXX_INCLUDE_DIR. Do not set gcc_version_trigger.
* configure: Regenerate.
config:
* gxx-include-dir.m4: In all substitutions, leave $(gcc_version)
to be expanded by the Makefile.
gdbadmin [Tue, 22 Mar 2005 00:01:39 +0000 (00:01 +0000)]
*** empty log message ***
Michael Snyder [Mon, 21 Mar 2005 23:23:32 +0000 (23:23 +0000)]
2005-03-21 Michael Snyder <msnyder@redhat.com>
* mn10300-prologue.c (fix_frame_pointer): Delete.
(set_movm_offsets) Don't return just because movm_args is
zero -- still need to save pc and sp in saved_regs.
(mn10300_analyze_prologue): Don't return prematurely without
calling set_movm_offsets (for pc and sp at minimum).
Alan Modra [Mon, 21 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Maciej W. Rozycki [Mon, 21 Mar 2005 21:59:34 +0000 (21:59 +0000)]
* config/tc-mips.c (mips_frob_file): Sort BFD_RELOC_MIPS16_LO16
relocations correctly as well.
(mips_fix_adjustable): Don't make BFD_RELOC_MIPS16_LO16
relocations in mergeable sections section-relative either.
Mark Mitchell [Mon, 21 Mar 2005 21:23:35 +0000 (21:23 +0000)]
* configure.ac (stat.st_blksize): Check for it.
(getuid): Likewise.
(getgid): Likewise.
* configure: Regenerated.
* config.in: Likewise.
* remote-fileio.c (remote_fileio_to_fio_stat): Check
HAVE_STRUCT_STAT_ST_BLKSIZE.
Christopher Faylor [Mon, 21 Mar 2005 19:54:15 +0000 (19:54 +0000)]
* win32-nat.c (do_initial_child_stuff): Don't clear the thread list here.
(do_initial_child_stuff): Move clearing of thread list to a place before a
thread ould be created.
(child_attach): Ditto.
Bob Wilson [Mon, 21 Mar 2005 19:46:01 +0000 (19:46 +0000)]
* config/tc-xtensa.c (md_apply_fix3): Recognize XTENSA_PLT relocations.
Michael Snyder [Mon, 21 Mar 2005 19:31:46 +0000 (19:31 +0000)]
2005-03-21 Michael Snyder <msnyder@redhat.com>
* mn10300-tdep.c (mn10300_frame_unwind_cache): Use func addr
instead of pc addr for frame_id. Otherwise "until" won't work.
Kevin Buettner [Mon, 21 Mar 2005 18:09:47 +0000 (18:09 +0000)]
* frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Fix typo in
comment.
Nick Clifton [Mon, 21 Mar 2005 15:43:38 +0000 (15:43 +0000)]
(coff_link_hash_entry): Only define for non WINCE targets.
(t2a1_bx_pc_insn): Likewise.
(t2a2_noop_insn): Likewise.
(t2a3_b_insn): Likewise.
(t2a1_push_insn): Likewise.
(t2a2_ldr_insn): Likewise.
(t2a3_mov_insn): Likewise.
(t2a4_bx_insn): Likewise.
(t2a5_pop_insn): Likewise.
(t2a6_bx_insn): Likewise.
(coff_arm_relocate_section): Only declare the high_address variable for non
WINCE targets.
Nick Clifton [Mon, 21 Mar 2005 15:35:34 +0000 (15:35 +0000)]
(sh_elf_final_processing): Fix compile time warning by providing a prototype
for sh_symbian_find_elf_flags.
Nick Clifton [Mon, 21 Mar 2005 15:31:37 +0000 (15:31 +0000)]
Fix typo introduced byprevious delta.
Nick Clifton [Mon, 21 Mar 2005 15:19:56 +0000 (15:19 +0000)]
Update instructions that use the "never" value in the conditional field to use
"le" instead. This is so that the disassembler will disassemble them.
Alan Modra [Mon, 21 Mar 2005 13:56:57 +0000 (13:56 +0000)]
bfd/
* elf32-ppc.c (ppc_elf_add_symbol_hook): Make htab->sbss
SEC_LINKER_CREATED. Attach to dynobj.
(ppc_elf_size_dynamic_sections): Strip htab->sbss if zero size.
ld/
* scripttempl/elf.sc (SBSS): Don't provide sbss start and end syms.
ld/testsuite/
* ld-powerpc/tlsexe32.r: Update.
* ld-powerpc/tlsso32.d: Update.
* ld-powerpc/tlsso32.g: Update.
* ld-powerpc/tlsso32.r: Update.
Alan Modra [Mon, 21 Mar 2005 13:23:15 +0000 (13:23 +0000)]
bfd/
* elf32-ppc.c (struct elf_linker_section): Remove sym_hash and
sym_offset. Add name, bss_name, sym_name, sym_val.
(struct ppc_elf_link_hash_table): Remove sdata and sdata2 pointers.
Add sdata array of elf_linker_section_t.
(ppc_elf_link_hash_table_create): Set name, sym_name, and bss_name.
(enum elf_linker_section_enum): Delete.
(ppc_elf_create_linker_section): Rewrite. Don't create syms here.
(ppc_elf_check_relocs): Delay ppc_elf_create_linker_section until
the special sections are needed. Adjust htab->sdata refs.
Ensure dynobj is set in sreloc code.
(ppc_elf_size_dynamic_sections): Strip sdata sections.
(ppc_elf_set_sdata_syms): New function.
(elf_finish_pointer_linker_section): Use 0x8000 for sym_offset.
(ppc_elf_relocate_section): Adjust references to htab->sdata. Use
sym_val instead of sym_hash.
* elf32-ppc.h (ppc_elf_set_sdata_syms): Declare.
ld/
* emultempl/ppc32elf.em (gld${EMULATION_NAME}_after_allocation): New
function.
(LDEMUL_AFTER_ALLOCATION): Define.
Alan Modra [Mon, 21 Mar 2005 12:24:10 +0000 (12:24 +0000)]
* elf32-ppc.c (is_ppc_elf_target): Move to linker part of file.
(ppc_elf_merge_private_bfd_data): Likewise.
Alan Modra [Mon, 21 Mar 2005 12:09:13 +0000 (12:09 +0000)]
* elf32-ppc.c (struct elf_linker_section): Remove rel_section.
(ppc_elf_create_linker_section): Don't create rel_section.
(elf_create_pointer_linker_section): Don't size relocs.
(elf_finish_pointer_linker_section): Remove relative_reloc parm.
Don't generate relocs.
(ppc_elf_relocate_section): Adjust calls to
elf_finish_pointer_linker_section.
Alan Modra [Mon, 21 Mar 2005 11:22:24 +0000 (11:22 +0000)]
* elf32-ppc.c (is_ppc_elf_target): New function.
(ppc_elf_merge_private_bfd_data): Use it rather than just testing
for bfd_target_elf_flavour. Do this test before endian check.
(ppc_elf_add_symbol_hook): Use is_pcc_elf_target.
(ppc_elf_size_dynamic_sections): Likewise.
Alan Modra [Mon, 21 Mar 2005 10:26:18 +0000 (10:26 +0000)]
* configure.tgt: Handle setting of bfd_gas for fmt=multi targets
along with other formats that set bfd_gas. Remove unnecessary
setting of bfd_gas. Delete strongarm cases in generic_target
switch.
Alan Modra [Mon, 21 Mar 2005 09:39:54 +0000 (09:39 +0000)]
ld/
* emultempl/ppc64elf.em (ppc_finish): Rename from
gld${EMULATION_NAME}_finish. Call gld${EMULATION_NAME}_finish.
(LDEMUL_FINISH): Update.
* emultempl/hppaelf.em (hppaelf_finish, LDEMUL_FINISH): Likewise.
* emultempl/m68hc1xelf.em (m68hc11elf_finish, LDEMUL_FINISH): Likewise.
ld/testsuite/
* ld-powerpc/tlsexe.r: Update.
* ld-powerpc/tlsexetoc.r: Update.
* ld-powerpc/tlsso.r: Update.
* ld-powerpc/tlstocso.r: Update.
Alan Modra [Mon, 21 Mar 2005 02:25:23 +0000 (02:25 +0000)]
PR gas/780
* config/tc-m68k.c (TRUNC, SEXT): Define.
(issbyte, isubyte, issword, isuword, isbyte, isword): Use the above.
(m68k_ip): Truncate or sign extend expressions as appropriate.
(get_num): Likewise.
(md_apply_fix3): Use SEXT.
Alan Modra [Mon, 21 Mar 2005 02:00:35 +0000 (02:00 +0000)]
* Makefile.am (OBJ_FORMAT_CFILES): Prune config/obj-vms.c.
(OBJ_FORMAT_HFILES): Prune config/obj-vms.h.
(obj-vms.o): Delete rule.
Run "make dep-am".
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* doc/Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.
gdbadmin [Mon, 21 Mar 2005 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***
H.J. Lu [Sun, 20 Mar 2005 23:36:19 +0000 (23:36 +0000)]
2005-03-20 H.J. Lu <hongjiu.lu@intel.com>
* elf-bfd.h (elf_backend_data): Add int to
elf_backend_section_from_shdr.
(bfd_elf_section_data): Update comment for this_idx.
(_bfd_elf_make_section_from_shdr): Add int.
* elfxx-mips.h (_bfd_mips_elf_section_from_shdr): Likewise.
* elf.c (_bfd_elf_make_section_from_shdr): Take section index
and use it to set this_idx in bfd_elf_section_data.
(bfd_section_from_shdr): Pass shindex to
_bfd_elf_make_section_from_shdr.
(_bfd_elf_section_from_bfd_section): Use this_idx in
bfd_elf_section_data to find section index.
* elf32-arm.c (elf32_arm_section_from_shdr): Take section
index and pass it to _bfd_elf_make_section_from_shdr.
* elf32-i370.c(i370_elf_section_from_shdr): Likewise.
* elf32-ppc.c (ppc_elf_section_from_shdr): Likewise.
* elf32-sh64.c (sh64_backend_section_from_shdr): Likewise.
* elf32-v850.c (v850_elf_section_from_shdr): Likewise.
* elf64-alpha.c (elf64_alpha_section_from_shdr): Likewise.
* elf64-hppa.c (elf64_hppa_section_from_shdr): Likewise.
* elf64-x86-64.c (elf64_x86_64_section_from_shdr): Likewise.
* elfxx-ia64.c (elfNN_ia64_section_from_shdr): Likewise.
* elfxx-mips.c (_bfd_mips_elf_section_from_shdr): Likewise.
Alan Modra [Sun, 20 Mar 2005 23:00:04 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Sun, 20 Mar 2005 20:30:35 +0000 (20:30 +0000)]
* dwarf2loc.c (dwarf_expr_tls_address): Mark addr as volatile.
* varobj.c (my_value_equal): Mark val2 as volatile.
Mark Kettenis [Sun, 20 Mar 2005 20:15:56 +0000 (20:15 +0000)]
Fix typo.
H.J. Lu [Sun, 20 Mar 2005 17:12:16 +0000 (17:12 +0000)]
2005-03-20 H.J. Lu <hongjiu.lu@intel.com>
* mmix-opc.c (O): Revert the last change.
(Z): Likewise.
H.J. Lu [Sun, 20 Mar 2005 17:00:14 +0000 (17:00 +0000)]
2005-03-20 H.J. Lu <hongjiu.lu@intel.com>
* ld-mmix/bpo-1.d: Updated for empty section removal.
* ld-mmix/bpo-10.d: Likewise.
* ld-mmix/bpo-11.d: Likewise.
* ld-mmix/bpo-14.d: Likewise.
* ld-mmix/bpo-16.d: Likewise.
* ld-mmix/bpo-17.d: Likewise.
* ld-mmix/bpo-18.d: Likewise.
* ld-mmix/bpo-19.d: Likewise.
* ld-mmix/bpo-2.d: Likewise.
* ld-mmix/bpo-3.d: Likewise.
* ld-mmix/bpo-4.d: Likewise.
* ld-mmix/bpo-5.d: Likewise.
* ld-mmix/bpo-6.d: Likewise.
* ld-mmix/bpo-9.d: Likewise.
* ld-mmix/bspec1.d: Likewise.
* ld-mmix/bspec2.d: Likewise.
* ld-mmix/greg-1.d: Likewise.
* ld-mmix/greg-19.d: Likewise.
* ld-mmix/greg-2.d: Likewise.
* ld-mmix/greg-3.d: Likewise.
* ld-mmix/greg-4.d: Likewise.
* ld-mmix/greg-5.d: Likewise.
* ld-mmix/greg-5s.d: Likewise.
* ld-mmix/greg-6.d: Likewise.
* ld-mmix/greg-7.d: Likewise.
* ld-mmix/loc1.d: Likewise.
* ld-mmix/loc2.d: Likewise.
* ld-mmix/loc3.d: Likewise.
* ld-mmix/loc4.d: Likewise.
* ld-mmix/loc6.d: Likewise.
* ld-mmix/local1.d: Likewise.
* ld-mmix/local12.d: Likewise.
* ld-mmix/local3.d: Likewise.
* ld-mmix/local5.d: Likewise.
* ld-mmix/local7.d: Likewise.
* ld-mmix/locdo-1.d: Likewise.
* ld-mmix/loct-1.d: Likewise.
* ld-mmix/locto-1.d: Likewise.
* ld-mmix/start-1.d: Likewise.
* ld-mmix/undef-3.d: Likewise.
Mark Kettenis [Sun, 20 Mar 2005 16:26:44 +0000 (16:26 +0000)]
* cp-names.y: Add prototype for yylex.
gdbadmin [Sun, 20 Mar 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 19 Mar 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Sat, 19 Mar 2005 19:44:10 +0000 (19:44 +0000)]
* dwarf2loc.c (dwarf_expr_tls_address): Initialize ADDR.
* gnu-v3-abi.c (gnuv3_baseclass_offset): Update type of
VALADDR.
H.J. Lu [Sat, 19 Mar 2005 18:29:14 +0000 (18:29 +0000)]
2005-03-19 H.J. Lu <hongjiu.lu@intel.com>
* mmix-opc.c (O): Use 24UL instead of 24 for unsigned long.
(Z): Likewise.
Danny Smith [Sat, 19 Mar 2005 06:48:31 +0000 (06:48 +0000)]
* peicode.h (pe_ILF_build_a_bfd): Strip only one prefix
character in IMPORT_NAME_UNDECORATE and IMPORT_NAME_NOPREFIX
cases. Add comment.
Hans-Peter Nilsson [Sat, 19 Mar 2005 04:23:24 +0000 (04:23 +0000)]
* mmix-opc.c (O, Z): Force expression as unsigned long.
gdbadmin [Sat, 19 Mar 2005 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***
H.J. Lu [Fri, 18 Mar 2005 23:51:21 +0000 (23:51 +0000)]
2005-03-18 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (elf_mark_used_section): Remove check for special
sections.
Alan Modra [Fri, 18 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Andreas Schwab [Fri, 18 Mar 2005 21:31:31 +0000 (21:31 +0000)]
* elfxx-ia64.c (elfNN_ia64_install_value): Change type of insn
from bfd_vma to ia64_insn, remove broken cast.
Kevin Buettner [Fri, 18 Mar 2005 21:03:39 +0000 (21:03 +0000)]
Move printing of TLS related error messages to dwarf2loc.c.
Mark Kettenis [Fri, 18 Mar 2005 20:46:38 +0000 (20:46 +0000)]
* utils.c (safe_strerror): Use xsnprintf instead of sprintf.
(decimal2str, octal2str): Change to return a string allocated by
get_cell. Use xsnprint instead of snprintf.
(paddr_u, paddr_d): Adjust for changed calling convention of
decimal2str.
(phex, phex_nz, hex_string): Use xsnprintf instead of snprintf.
(int_string): Likewise. Adjust for changed calling convention of
decimal2str and octal2str.
Kevin Buettner [Fri, 18 Mar 2005 20:23:28 +0000 (20:23 +0000)]
* frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Update comments.
Adjust incorrectly computed constant for realtime signal frame.
Mark Kettenis [Fri, 18 Mar 2005 18:59:17 +0000 (18:59 +0000)]
From Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.tgt: Add m68*-*-rtems*.
Nick Clifton [Fri, 18 Mar 2005 17:20:33 +0000 (17:20 +0000)]
Add support for generating PLT lookups for the ColdFire.