Christopher Faylor [Tue, 1 Nov 2005 00:40:09 +0000 (00:40 +0000)]
* win32-nat.c: Remove comment intended only for debugging.
gdbadmin [Tue, 1 Nov 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Mon, 31 Oct 2005 23:35:52 +0000 (23:35 +0000)]
* doublest.c (floatformat_normalize_byteorder): Handle
floatformat_vax.
(convert_doublest_to_floatformat): Use
floatformat_normalize_byteorder to swap bytes if necessary.
* vax-tdep.c: Include floatformat.h.
(vax_gdbarch_init): Set float_format, double_format,
long_double_format and long_double_bit.
* Makefile.in (vax-tdep.o): Update dependencies.
Alan Modra [Mon, 31 Oct 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Christopher Faylor [Mon, 31 Oct 2005 22:50:58 +0000 (22:50 +0000)]
Change child_ to win32_ throughout.
* win32-nat.c (win32_ops): New variable.
(win32_so_ops): Ditto.
(psapi_get_dll_name): Make function static.
(struct so_stuff): Delete.
(struct lm_info): New struct.
(solib_start, solib_end): Redefine as struct so_list.
(safe_symbol_file_add_stub): Use so_list rather than so_stuff.
(register_loaded_dll): Ditto. Special-case ntdll.dll. Fill in lm_info field
of so_list with information previously stored in so_stuff.
(get_image_name): Make function static.
(max_dll_name_len): Make variable static.
(win32_free_so): New function.
(win32_current_sos): Ditto.
(win32_relocate_section_addresses): Ditto.
(handle_unload_dll): Use so_list rather than so_stuff. Call free_so to delete
shared library.
(solib_address): Delete function.
(child_solib_loaded_library_pathname): Ditto.
(win32_clear_solib): Rename from child_clear_solibs. Use so_list rather than
so_stuff. Just clear win32-specific stuff.
(get_relocated_section_addrs): Delete.
(solib_symbols_add): Ditto.
(info_dll_command): Make static. Use lm_info field from so_list to retrieve
load address.
(fake_create_process): Make function static.
(win32_xfer_memory): Ditto.
(win32_kill_inferior): Ditto.
(win32_resume): Ditto.
(cygwin_pid_to_str): Ditto.
(do_initial_win32_stuff): Use win32_ops rather than deprecated_child_ops.
(child_detach): Ditto.
(win32_mourn_inferior): Ditto.
(_initialize_win32_nat): Ditto.
(init_win32_ops): Ditto. Fill out win32_so_ops and set current_target_so_ops
to win32_so_ops.
(core_dll_symbols_add): Delete.
(map_single_dll_code_section): Ditto.
(dll_code_sections_add): Ditto.
(core_section_load_dll_symbols): Ditto.
(child_solib_add): Ditto.
Mark Kettenis [Mon, 31 Oct 2005 20:33:22 +0000 (20:33 +0000)]
* gdb.asm/asm-source.exp: Use -e instead of --entry.
Andrew Stubbs [Mon, 31 Oct 2005 19:11:35 +0000 (19:11 +0000)]
2005-10-31 Andrew Stubbs <andrew.stubbs@st.com>
* tui/tui-command.c (tui_dispatch_ctrl_char): Test output of
getenv() before using it.
DJ Delorie [Mon, 31 Oct 2005 18:01:19 +0000 (18:01 +0000)]
merge from gcc
Mark Kettenis [Mon, 31 Oct 2005 16:00:46 +0000 (16:00 +0000)]
* gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
Alan Modra [Mon, 31 Oct 2005 06:10:33 +0000 (06:10 +0000)]
* arm-dis.c (print_insn): Warning fix.
Hans-Peter Nilsson [Mon, 31 Oct 2005 04:08:40 +0000 (04:08 +0000)]
PR ld/1501
* ld-mmix/bpo-10.d: Adjust for empty-section-removal.
gdbadmin [Mon, 31 Oct 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 30 Oct 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Mark Mitchell [Sun, 30 Oct 2005 18:08:52 +0000 (18:08 +0000)]
* as.c (show_usage): Document "@FILE".
* gprof.c (usage): Document "@FILE".
* lexsup.c (help): Document "@FILE".
H.J. Lu [Sun, 30 Oct 2005 17:40:28 +0000 (17:40 +0000)]
ld/
binutils/
opcodes/
2005-10-30 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.
* dep-in.sed: Replace " ./" with " ".
H.J. Lu [Sun, 30 Oct 2005 17:27:34 +0000 (17:27 +0000)]
2005-10-30 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (OBJ_FORMATS): Remove vms.
Run "make dep-am".
* Makefile.in: Regenerated.
* dep-in.sed: Replace " ./" with " ".
gdbadmin [Sun, 30 Oct 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
H.J. Lu [Sat, 29 Oct 2005 23:47:42 +0000 (23:47 +0000)]
2005-10-29 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.
* dep-in.sed: Replace " ./" with " ".
H.J. Lu [Sat, 29 Oct 2005 23:00:12 +0000 (23:00 +0000)]
2005-10-29 H.J. Lu <hongjiu.lu@intel.com>
* hpux-core.c: Include <machine/reg.h> only if HPUX_CORE is
define.
* osf-core.c: Include <sys/core.h> only if OSF_CORE is defined.
* sco5-core.c: Include <sys/paccess.h> and <sys/region.h> only
if SCO5_CORE is defined.
Alan Modra [Sat, 29 Oct 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Sat, 29 Oct 2005 21:31:45 +0000 (21:31 +0000)]
* hppa-tdep.h (HPPA_INSN_SIZE): New define.
* hppa-hpux-tdep.c (hppa_hpux_search_pattern)
(hppa64_hpux_search_dummy_call_sequence): Rewrite to avoid
assumption on sizeof(unsigned).
Mark Kettenis [Sat, 29 Oct 2005 21:22:39 +0000 (21:22 +0000)]
* inf-ttrace.c (inf_ttrace_wait): Comment out TARGET_WAITKIND_EXEC
code; return TARGET_WAITKIND_STOPPED instead.
Mark Kettenis [Sat, 29 Oct 2005 21:16:20 +0000 (21:16 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
Hans-Peter Nilsson [Sat, 29 Oct 2005 10:54:08 +0000 (10:54 +0000)]
PR gas/1630
* gas/all/gas.exp <weakref1, weakref1g, weakref1l, weakref1u,
weakref1w>: Xfail for cris-*-* and mmix-*-*.
Alan Modra [Sat, 29 Oct 2005 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 29 Oct 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Dave Brolley [Fri, 28 Oct 2005 19:58:11 +0000 (19:58 +0000)]
2005-10-28 Dave Brolley <brolley@redhat.com>
* cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
Contribute the following changes:
2003-09-29 Dave Brolley <brolley@redhat.com>
* frv-sim.h: Use CGEN_ATTR_VALUE_ENUM_TYPE in place of
CGEN_ATTR_VALUE_TYPE.
* mloop.in: Ditto.
* pipeline.c: Ditto.
* traps.c: Ditto.
Dave Brolley [Fri, 28 Oct 2005 19:49:22 +0000 (19:49 +0000)]
2005-10-28 Dave Brolley <brolley@redhat.com>
* All CGEN-generated sources: Regenerate.
Contribute the following changes:
2005-09-19 Dave Brolley <brolley@redhat.com>
* disassemble.c (disassemble_init_for_target): Add 'break' to case for
bfd_arch_tic4x. Use cgen_bitset_create and cgen_bitset_set for
bfd_arch_m32c case.
2005-02-16 Dave Brolley <brolley@redhat.com>
* cgen-dis.in: Rename CGEN_ISA_MASK to CGEN_BITSET. Rename
cgen_isa_mask_* to cgen_bitset_*.
* cgen-opc.c: Likewise.
2003-11-28 Richard Sandiford <rsandifo@redhat.com>
* cgen-dis.in (print_insn_@arch@): Fix comparison with cached isas.
* *-dis.c: Regenerate.
2003-06-05 DJ Delorie <dj@redhat.com>
* cgen-dis.in (print_insn_@arch@): Copy prev_isas, don't assign
it, as it may point to a reused buffer. Set prev_isas when we
change cpus.
2002-12-13 Dave Brolley <brolley@redhat.com>
* cgen-opc.c (cgen_isa_mask_create): New support function for
CGEN_ISA_MASK.
(cgen_isa_mask_init): Ditto.
(cgen_isa_mask_clear): Ditto.
(cgen_isa_mask_add): Ditto.
(cgen_isa_mask_set): Ditto.
(cgen_isa_supported): Ditto.
(cgen_isa_mask_compare): Ditto.
(cgen_isa_mask_intersection): Ditto.
(cgen_isa_mask_copy): Ditto.
(cgen_isa_mask_combine): Ditto.
* cgen-dis.in (libiberty.h): #include it.
(isas): Renamed from 'isa' and now (CGEN_ISA_MASK *).
(print_insn_@arch@): Use CGEN_ISA_MASK and support functions.
* Makefile.am (CGENDEPS): Add utils-cgen.scm and attrs.scm.
* Makefile.in: Regenerated.
Dave Brolley [Fri, 28 Oct 2005 19:41:01 +0000 (19:41 +0000)]
2005-10-28 Dave Brolley <brolley@redhat.com>
Contribute the following changes:
2003-09-29 Dave Brolley <brolley@redhat.com>
* dis-asm.h (disassemble_info): insn_sets now (void *) to allow for
more exotic underlying types to be used.
Dave Brolley [Fri, 28 Oct 2005 19:38:59 +0000 (19:38 +0000)]
2005-10-28 Dave Brolley <brolley@redhat.com>
Contribute the following changes:
2005-02-16 Dave Brolley <brolley@redhat.com>
* cgen-bitset.h: Rename CGEN_ISA_MASK to CGEN_BITSET. Rename
cgen_isa_mask_* to cgen_bitset_*.
* cgen.h: Likewise.
Dave Brolley [Fri, 28 Oct 2005 19:37:14 +0000 (19:37 +0000)]
2005-10-28 Dave Brolley <brolley@redhat.com>
Contribute the following change:
2005-09-19 Dave Brolley <brolley@redhat.com>
* config/tc-m32c.c (default_isa): New static variable.
(m32c_isa): Now of type CGEN_BITSET.
(md_begin): Pass &m32c_isa to m32c_cgen_cpu_open.
Dave Brolley [Fri, 28 Oct 2005 19:33:06 +0000 (19:33 +0000)]
2005-10-28 Dave Brolley <brolley@redhat.com>
Contribute the following change:
2003-09-24 Dave Brolley <brolley@redhat.com>
* frv.opc: Use CGEN_ATTR_VALUE_ENUM_TYPE in place of
CGEN_ATTR_VALUE_TYPE.
* m32c.opc (m32c_cgen_insn_supported): Use CGEN_INSN_BITSET_ATTR_VALUE.
Use cgen_bitset_intersect_p.
Mark Kettenis [Fri, 28 Oct 2005 18:23:32 +0000 (18:23 +0000)]
* ppc-tdep.h (PPC_INSN_SIZE): Define.
Mark Kettenis [Fri, 28 Oct 2005 18:20:35 +0000 (18:20 +0000)]
* inf-ttrace.c (inf_ttrace_mourn_inferior): Remove redundant cast.
(inf_ttrace_kill): Renamed from inf_ttrace_kill_inferior.
(inf_ttrace_target): Resort assignments.
Eli Zaretskii [Fri, 28 Oct 2005 17:20:03 +0000 (17:20 +0000)]
* gdb.texinfo (GDB/MI Variable Objects): Fix @pxref usage under
"The -var-update Command".
Joel Brobecker [Fri, 28 Oct 2005 16:25:48 +0000 (16:25 +0000)]
From Eric Botcazou <botcazou@adacore.com>
* coffcode.h (coff_compute_section_file_positions): Fix small
error in preprocessor directives.
Joel Brobecker [Fri, 28 Oct 2005 16:24:35 +0000 (16:24 +0000)]
Mostly from Eric Botcazou <botcazou@adacore.com>
* rs6000-core.c: ANSIfy all function definitions.
Add missing function prototypes.
(ptr_to_uint): New type.
(rs6000coff_core_p): Use it as intermediate step in casts.
(rs6000coff_core_file_matches_executable_p): Likewise.
* xcoff-target.h (rs6000coff_core_p): Fix prototype.
(rs6000coff_core_file_matches_executable_p): Likewise.
H.J. Lu [Fri, 28 Oct 2005 13:50:57 +0000 (13:50 +0000)]
2005-10-28 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/1472
* aoutx.h (NAME (aout, machine_type)): Handle
bfd_mach_sparc_v8plus, bfd_mach_sparc_v8plusa,
bfd_mach_sparc_v8plusb, bfd_mach_sparc_v9, bfd_mach_sparc_v9a
and bfd_mach_sparc_v9b.
Nick Roberts [Fri, 28 Oct 2005 03:26:19 +0000 (03:26 +0000)]
Sync with Emacs 22.0.50.
Nick Roberts [Fri, 28 Oct 2005 03:25:41 +0000 (03:25 +0000)]
*** empty log message ***
Paul Brook [Fri, 28 Oct 2005 00:50:03 +0000 (00:50 +0000)]
2005-10-28 Paul Brook <paul@codesourcery.com>
* config/tc-arm.c (aeabi_set_public_attributes): Use selected_cpu
instead of mcpu_cpu_opt.
Hans-Peter Nilsson [Fri, 28 Oct 2005 00:29:44 +0000 (00:29 +0000)]
PR ld/1567
* elf32-cris.c (cris_elf_howto_table) <R_CRIS_32>: Set
complain_on_overflow field to complain_overflow_dont.
Hans-Peter Nilsson [Fri, 28 Oct 2005 00:24:09 +0000 (00:24 +0000)]
PR ld/1567
* ld-cris/noov.s, ld-cris/noov.d: New test.
gdbadmin [Fri, 28 Oct 2005 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 28 Oct 2005 00:00:07 +0000 (00:00 +0000)]
daily update
DJ Delorie [Thu, 27 Oct 2005 23:54:17 +0000 (23:54 +0000)]
* m32c.cpu (Imm-8-s4n, Imm-12-s4n): New.
(arith-jnz16-imm4-dst-defn, arith-jnz32-imm4-dst-defn,
arith-jnz-imm4-dst-mach, arith-jnz-imm4-dst): Keep track of which
imm operand is needed.
(adjnz, sbjnz): Pass the right operands.
(unary-insn-defn, unary16-defn, unary32-defn, unary-insn-mach,
unary-insn): Add -g variants for opcodes that need to support :G.
(not.BW:G, push.BW:G): Call it.
(stzx16-imm8-imm8-dsp8sb, stzx16-imm8-imm8-dsp8fb,
stzx16-imm8-imm8-abs16): Fix operand typos.
* m32c.opc (m32c_asm_hash): Support bnCND.
(parse_signed4n, print_signed4n): New.
* m32c-asm.c: Regenerate.
* m32c-desc.c: Regenerate.
* m32c-desc.h: Regenerate.
* m32c-dis.c: Regenerate.
* m32c-ibld.c: Regenerate.
* m32c-opc.c: Regenerate.
* m32c-opc.h: Regenerate.
Bob Wilson [Thu, 27 Oct 2005 22:16:31 +0000 (22:16 +0000)]
* config/tc-xtensa.c (find_vinsn_conflicts): Change error messages to
refer to "ports" instead of "queues".
(check_t1_t2_reads_and_writes): Pass correct interface values to
xtensa_interface_inout.
Jan Beulich [Thu, 27 Oct 2005 13:34:14 +0000 (13:34 +0000)]
gas/testsuite/
2005-10-27 Jan Beulich <jbeulich@novell.com>
* gas/i386/equ.d: Fix typo.
* gas/i386/equ.s: Don't globalize r.
Jan Beulich [Thu, 27 Oct 2005 07:40:07 +0000 (07:40 +0000)]
gas/
2005-10-27 Jan Beulich <jbeulich@novell.com>
* read.c (assign_symbol): Also consider equates already defined.
* symbols.c (symbol_clone): Also clone the underlying BFD symbol.
* config/obj-coff.h (obj_symbol_clone_hook): New.
(coff_obj_symbol_clone_hook): Declare.
* config/obj-coff.c (coff_obj_symbol_clone_hook): New.
gas/testsuite/
2005-10-27 Jan Beulich <jbeulich@novell.com>
* gas/all/gas.exp: Don't xfail equiv1 test anymore.
Alan Modra [Thu, 27 Oct 2005 05:31:16 +0000 (05:31 +0000)]
PR 973
* cache.c (enum cache_flag): New.
(close_one): Save file mtime.
(bfd_cache_lookup): Add flag arg, adjust all users.
(bfd_cache_lookup_worker): Likewise.
(cache_btell): Use CACHE_NO_OPEN and return abfd->where if file
not open.
(cache_bflush): Similarly, and return success of file not open.
(cache_bseek): Use CACHE_NO_SEEK if SEEK_SET or SEEK_END.
(cache_bstat): Use CACHE_NO_SEEK_ERROR.
Alan Modra [Thu, 27 Oct 2005 04:06:35 +0000 (04:06 +0000)]
* bfdwin.c (bfd_get_file_window): Seek into file in place of
using bfd_cache_lookup.
Alan Modra [Thu, 27 Oct 2005 03:36:57 +0000 (03:36 +0000)]
* cache.c (BFD_CACHE_MAX_OPEN): Make private to this file.
(bfd_last_cache, bfd_cache_lookup, bfd_cache_lookup_worker): Likewise.
* libbfd-in.h (bfd_cache_lookup_worker, bfd_last_cache): Delete.
* libbfd.h: Regenerate.
Alan Modra [Thu, 27 Oct 2005 03:35:30 +0000 (03:35 +0000)]
* hppabsd-core.c (hppabsd_core_core_file_p): Use bfd_stat, not fstat.
* sco5-core.c (sco5_core_file_p): Likewise.
* trad-core.c (trad_unix_core_file_p): Likewise.
Alan Modra [Thu, 27 Oct 2005 03:22:13 +0000 (03:22 +0000)]
* cache.c: Reorganize file to avoid forward reference.
Alan Modra [Thu, 27 Oct 2005 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 27 Oct 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
DJ Delorie [Wed, 26 Oct 2005 20:42:00 +0000 (20:42 +0000)]
* config/tc-m32c.c (md_relax_table, subtype_mappings,
md_convert_frag): Add jsr.w support.
DJ Delorie [Wed, 26 Oct 2005 19:24:20 +0000 (19:24 +0000)]
* config/tc-m32c.c (md_assemble): Don't use errmsg as the format
itself.
(md_cgen_lookup_reloc): Add m32c bitbase operands. Add 8-s24
and imm-8-HI operands.
DJ Delorie [Wed, 26 Oct 2005 14:59:12 +0000 (14:59 +0000)]
* m32c.cpu (f-dsp-8-s24, Dsp-8-s24): New.
(mov-dspsp-dst-defn, mov-src-dspsp-defn, mov16-dspsp-dst-defn,
mov16-src-dspsp-defn, mov32-dspsp-dst-defn, mov32-src-dspsp-defn):
dsp8[sp] is signed.
(mov.WL:S #imm,A0/A1): dsp24 is signed (i.e. -0x800000..0xffffff).
(mov.BW:S r0,r1): Fix typo r1l->r1.
(tst): Allow :G suffix.
* m32c.opc (parse_signed24): New, for -0x800000..0xffffff.
* m32c-asm.c: Regenerate.
* m32c-desc.c: Regenerate.
* m32c-desc.h: Regenerate.
* m32c-dis.c: Regenerate.
* m32c-ibld.c: Regenerate.
* m32c-opc.c: Regenerate.
* m32c-opc.h: Regenerate.
Paul Brook [Wed, 26 Oct 2005 14:09:29 +0000 (14:09 +0000)]
2005-10-26 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (insns): Correct "sel" entry.
gas/testsuite/
* gas/arm/archv6.d: Adjust expected output.
opcodes/
* arm-dis.c (arm_opcodes): Correct "sel" entry.
Jan Beulich [Wed, 26 Oct 2005 12:29:44 +0000 (12:29 +0000)]
gas/
2005-10-26 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (i386_operand): Don't check register prefix here.
(parse_real_register): Rename from parse_register.
(parse_register): New.
(i386_parse_name): New.
(md_operand): New.
(intel_e11): Don't tolerate registers in offset expressions anymore.
(intel_get_token): Don't check register prefix here. Copy the actual
register token, not the canonical register name.
* config/tc-i386.h (md_operand): Delete.
(i386_parse_name): Declare.
(md_parse_name): Define.
gas/testsuite/
2005-10-26 Jan Beulich <jbeulich@novell.com>
* gas/i386/intel.s: Replace register used in offset expression.
* gas/i386/intel.e: Adjust.
* gas/i386/intelbad.l: Adjust.
* gas/i386/equ.[sed]: New.
* gas/i386/i386.exp: Run new test.
Alan Modra [Wed, 26 Oct 2005 12:17:42 +0000 (12:17 +0000)]
* cache.c (bfd_cache_lookup_worker): Don't abort on failing to
reopen file.
(cache_btell, cache_bseek, cache_bflush, cache_bstat): Return -1 on
bfd_cache_lookup failure.
(cache_bread, cache_bwrite): Return 0 on the same.
* bfdwin.c (bfd_get_file_window): Likewise.
* hppabsd-core.c (hppabsd_core_core_file_p): Likewise.
* sco5-core.c (sco5_core_file_p): Likewise.
* trad-core.c (trad_unix_core_file_p): Likewise.
Alan Modra [Wed, 26 Oct 2005 07:53:15 +0000 (07:53 +0000)]
* ld-elf/empty2.d: Allow more symbols.
Alan Modra [Wed, 26 Oct 2005 07:49:05 +0000 (07:49 +0000)]
* m32r.opc (parse_hi16): Do not assume a 32-bit host word size.
Alan Modra [Wed, 26 Oct 2005 07:38:25 +0000 (07:38 +0000)]
* cache.c (bfd_cache_lookup_worker): Use bfd_error_handler
rather than bfd_perror. Print file name. Internationalise.
Alan Modra [Wed, 26 Oct 2005 04:29:53 +0000 (04:29 +0000)]
* cache.c (bfd_open_file): Set bfd_error_system_call on failure
to open file.
(bfd_cache_lookup_worker): Remove check that file pos is in
unsigned long range. Print system error before aborting.
Hans-Peter Nilsson [Wed, 26 Oct 2005 01:34:05 +0000 (01:34 +0000)]
* ld-mmix/bpo-6.d, ld-mmix/bpo-19.d: Adjust for symbols between
section symbols and the _start symbol.
Hans-Peter Nilsson [Wed, 26 Oct 2005 01:32:25 +0000 (01:32 +0000)]
* gas/z80/z80.exp: Fix misplaced-open-brace typo.
Alan Modra [Wed, 26 Oct 2005 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 26 Oct 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
DJ Delorie [Tue, 25 Oct 2005 18:52:02 +0000 (18:52 +0000)]
* m32c.cpu (add16-bQ-sp,add16-wQ-sp): Fix to allow either width by
making one a macro of the other.
* m32c-asm.c: Regenerate.
* m32c-desc.c: Regenerate.
* m32c-desc.h: Regenerate.
* m32c-dis.c: Regenerate.
* m32c-ibld.c: Regenerate.
* m32c-opc.c: Regenerate.
* m32c-opc.h: Regenerate.
Nick Clifton [Tue, 25 Oct 2005 17:42:02 +0000 (17:42 +0000)]
oops - omitted from previous delta
Nick Clifton [Tue, 25 Oct 2005 17:40:19 +0000 (17:40 +0000)]
Add support for the Z80 processor family
Alan Modra [Tue, 25 Oct 2005 16:19:08 +0000 (16:19 +0000)]
PR ld/1540
* elf-bfd.h (elf_backend_copy_indirect_symbol): Replace pointer to
elf_backend_data with pointer to bfd_link_info.
(_bfd_elf_link_hash_copy_indirect): Likewise.
* elf.c (_bfd_elf_link_hash_copy_indirect): Likewise. Handle
direct and indirect symbols both having dynamic link info.
* elf32-arm.c (elf32_arm_copy_indirect_symbol): Likewise.
* elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise.
* elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
* elf32-m32r.c (m32r_elf_copy_indirect_symbol): Likewise.
* elf32-ppc.c (ppc_elf_copy_indirect_symbol): Likewise.
* elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise.
* elf32-sh.c (sh_elf_copy_indirect_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
* elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise.
* elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Likewise.
* elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise.
* elfxx-mips.c (_bfd_mips_elf_copy_indirect_symbol): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_copy_indirect_symbol): Likewise.
* elflink.c: Adjust all calls to bed->elf_backend_copy_indirect_symbol.
* elfxx-mips.h (_bfd_mips_elf_copy_indirect_symbol): Update prototype.
* elfxx-sparc.h (_bfd_sparc_elf_copy_indirect_symbol): Likewise.
H.J. Lu [Tue, 25 Oct 2005 14:07:44 +0000 (14:07 +0000)]
2005-10-25 H.J. Lu <hongjiu.lu@intel.com>
* write.c (adjust_reloc_syms): Undo the change made on
2005-04-26 to allow local symbol set to undefined symbol.
Andreas Schwab [Tue, 25 Oct 2005 11:11:08 +0000 (11:11 +0000)]
* regformats/reg-ia64.dat: Remove NAT registers.
gdbserver:
* server.c (main): Allocate mem_buf with PBUFSIZ bytes.
* linux-ia64-low.c (ia64_regmap): Remove NAT registers.
(ia64_num_regs): Reduce to 462.
H.J. Lu [Tue, 25 Oct 2005 04:48:04 +0000 (04:48 +0000)]
2005-10-24 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (bfin-parse.tab.h): Removed.
(bfin-parse.h): Added.
* Makefile.in: Regenerated.
Alan Modra [Tue, 25 Oct 2005 02:20:17 +0000 (02:20 +0000)]
Regenerate
gdbadmin [Tue, 25 Oct 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 25 Oct 2005 00:00:07 +0000 (00:00 +0000)]
daily update
Alan Modra [Mon, 24 Oct 2005 23:07:12 +0000 (23:07 +0000)]
* ld.texinfo (--reduce-memory-overheads): Fix typo.
Alan Modra [Mon, 24 Oct 2005 23:06:19 +0000 (23:06 +0000)]
* ld-elf/orphan.d: Adjust for mips.
Bernd Schmidt [Mon, 24 Oct 2005 18:42:37 +0000 (18:42 +0000)]
* gas/bfin/flow2.d: Match changed assembler behaviour.
* gas/bfin/reloc.d: Likewise.
Bernd Schmidt [Mon, 24 Oct 2005 18:35:59 +0000 (18:35 +0000)]
* config/tc-bfin.c (Expr_Node_Gen_Reloc): If have symbol + constant,
make a single reloc with an offset rather than a stack.
* config/tc-bfin.h (MD_APPLY_SYM_VALUE): Define to 0.
Bernd Schmidt [Mon, 24 Oct 2005 18:23:27 +0000 (18:23 +0000)]
Add self as Blackfin maintainer.
Alexandre Oliva [Mon, 24 Oct 2005 17:51:42 +0000 (17:51 +0000)]
gas/ChangeLog:
* read.c (potable): Add weakref.
(s_weakref): New.
* read.h (s_weakref): Declare.
* struc-symbol.h (struct symbol): Add sy_weakrefr and sy_weakrefd.
* symbols.c (colon): Clear weakrefr.
(symbol_find_exact): Rename to, and reimplement in terms of...
(symbol_find_exact_noref): ... new function.
(symbol_find): Likewise...
(symbol_find_noref): ... ditto.
(resolve_symbol_value): Resolve weakrefr without setting their
values.
(S_SET_WEAK): Call hook.
(S_GET_VALUE): Follow weakref link.
(S_SET_VALUE): Clear weakrefr.
(S_IS_WEAK): Follow weakref link.
(S_IS_WEAKREFR, S_SET_WEAKREFR, S_CLEAR_WEAKREFR): New.
(S_IS_WEAKREFD, S_SET_WEAKREFD, S_CLEAR_WEAKREFD): New.
(symbol_set_value_expression, symbol_set_frag): Clear weakrefr.
(symbol_mark_used): Follow weakref link.
(print_symbol_value_1): Print weak, weakrefr and weakrefd.
* symbols.h (symbol_find_noref, symbol_find_exact_noref): Declare.
(S_IS_WEAKREFR, S_SET_WEAKREFR, S_CLEAR_WEAKREFR): Declare.
(S_IS_WEAKREFD, S_SET_WEAKREFD, S_CLEAR_WEAKREFD): Declare.
* write.c (adust_reloc_syms): Follow weakref link. Do not
complain if target is undefined.
(write_object_file): Likewise. Remove weakrefr symbols. Drop
unreferenced weakrefd symbols.
* config/obj-coff.c (obj_frob_symbol): Do not force WEAKREFD
symbols EXTERNAL.
(pecoff_obj_set_weak_hook, pecoff_obj_clear_weak_hook): New.
* config/obj-coff.h (obj_set_weak_hook, obj_clear_weak_hook): Define.
* doc/as.texinfo: Document weakref.
* doc/internals.texi: Document new struct members, internal
functions and hooks.
gas/testsuite/ChangeLog:
* gas/all/weakref1.s, gas/all/weakref1.d: New test.
* gas/all/weakref1g.d, gas/all/weakref1l.d: New tests.
* gas/all/weakref1u.d, gas/all/weakref1w.d: New tests.
* gas/all/weakref2.s, gas/all/weakref3.s: New tests.
* gas/all/gas.exp: Run new tests.
Jie Zhang [Mon, 24 Oct 2005 16:31:22 +0000 (16:31 +0000)]
bfd/
* elf32-bfin.c (bfd_bfin_elf32_create_embedded_relocs): Fix signedness
warning.
gas/
* Makefile.am (bfin-parse.h): Renamed from bfin-parse.tab.h.
(EXTRA_DIST): Add bfin-parse.h and bfin-lex.c.
* Makefile.in: Regenerate.
* config/bfin-lex.l: Include bfin-parse.h instead of bfin-parse.tab.h.
* config/tc-bfin.c (md_chars_to_number): Change the type of first
argument from unsigned char * to char * to remove signedness warnings.
Jie Zhang [Mon, 24 Oct 2005 14:25:13 +0000 (14:25 +0000)]
* elf32-bfin.c (bfin_howto_table): Set src_mask to 0 for all relocs.
(bfin_imm16_reloc): Always add in the addend. Don't fetch existing
contents from section.
(bfin_relocate_section): Rework so as to not call special_functions.
Handle the relocation stack here. Treat pcrel24 relocs specially.
Alan Modra [Mon, 24 Oct 2005 11:24:31 +0000 (11:24 +0000)]
* elflink.c (elf_link_input_bfd): Don't use linker_mark and
SEC_EXCLUDE to test for sections dropped from output. Instead,
use bfd_section_removed_from_list on normal sections. Don't
attempt to handle symbols with unknown reserved section indices.
* linker.c (_bfd_generic_link_output_symbols): Don't use
linker_mark to test for symbols belonging to dropped sections.
Do allow absolute symbols.
Alan Modra [Mon, 24 Oct 2005 11:18:03 +0000 (11:18 +0000)]
* elf32-i370.c (i370_elf_fake_sections): Don't set SHF_EXCLUDE on
group sections.
Jan Beulich [Mon, 24 Oct 2005 07:48:47 +0000 (07:48 +0000)]
ld/testsuite/
2005-10-24 Jan Beulich <jbeulich@novell.com>
* ld-elf/empty2.[sd]: New.
Jan Beulich [Mon, 24 Oct 2005 07:42:50 +0000 (07:42 +0000)]
include/opcode/
2005-10-24 Jan Beulich <jbeulich@novell.com>
* ia64.h (enum ia64_opnd): Move memory operand out of set of
indirect operands.
bfd/
2005-10-24 Jan Beulich <jbeulich@novell.com>
* cpu-ia64-opc.c (elf64_ia64_operands): Move memory operand out of
set of indirect operands.
gas/
2005-10-24 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (enum reg_symbol): Delete IND_MEM.
(dot_rot): Change type of num_* variables. Check for positive count.
(ia64_optimize_expr): Re-structure.
(md_operand): Check for general register.
gas/testsuite/
2005-10-24 Jan Beulich <jbeulich@novell.com>
* gas/ia64/index.[sl]: New.
* gas/ia64/rotX.[sl]: New.
* gas/ia64/ia64.exp: Run new tests.
opcodes/
2005-10-24 Jan Beulich <jbeulich@novell.com>
* ia64-asmtab.c: Regenerate.
Jan Beulich [Mon, 24 Oct 2005 07:36:40 +0000 (07:36 +0000)]
gas/
2005-10-24 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (declare_register): Call symbol_create.
(md_begin): Remove local variables total, ar_base, and cr_base.
Start loops for registers at their respective first one. Don't
update md.regsym for alias names. Generate alias name tp for r13.
gas/testsuite/
2005-10-24 Jan Beulich <jbeulich@novell.com>
* gas/ia64/regs.pl: Also check tp alias of r13.
* gas/ia64/regs.s: Regenerate.
* gas/ia64/regs.d: Adjust.
Alan Modra [Mon, 24 Oct 2005 04:32:50 +0000 (04:32 +0000)]
* elf32-ppc.c (ppc_elf_fake_sections): Don't set SHF_EXCLUDE on
group sections.
H.J. Lu [Mon, 24 Oct 2005 02:50:27 +0000 (02:50 +0000)]
2005-10-23 H.J. Lu <hongjiu.lu@intel.com>
* coff-rs6000.c (rs6000coff_vec): Initialize
_bfd_init_private_section_data with
_bfd_generic_init_private_section_data.
(pmac_xcoff_vec): Likewise.
* coff64-rs6000.c (rs6000coff64_vec): Likewise.
(aix5coff64_vec): Likewise.
H.J. Lu [Mon, 24 Oct 2005 01:40:58 +0000 (01:40 +0000)]
bfd/
2005-10-23 H.J. Lu <hongjiu.lu@intel.com>
PR ld/1487
* elf-bfd.h (_bfd_generic_init_private_section_data): New.
(_bfd_elf_init_private_section_data): New.
* elf.c (elf_fake_sections): Don't set SHF_GROUP for
relocatable link.
(bfd_elf_set_group_contents): Don't handle relocatable link
specially.
(assign_section_numbers): If it isn't called by assembler,
use the output section of elf_linked_to_section for
SHF_LINK_ORDER.
(_bfd_elf_init_private_section_data): New.
(_bfd_elf_copy_private_section_data): Call it.
* libbfd-in.h (_bfd_generic_init_private_section_data): New.
* libbfd.c (_bfd_generic_init_private_section_data): New.
* targets.c (BFD_JUMP_TABLE_COPY): Add
_bfd_generic_init_private_section_data.
(bfd_init_private_section_data): Likewise.
* bfd-in2.h: Regenerated.
* libbfd.h: Likewise.
ld/
2005-10-23 H.J. Lu <hongjiu.lu@intel.com>
PR ld/1487
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
bfd_match_sections_by_type to match section types.
* ldlang.c (init_os): Take the input section. Call
bfd_init_private_section_data if the input section isn't NULL.
(exp_init_os): Pass NULL to init_os.
(map_input_to_output_sections): Likewise.
(lang_add_section): Pass the input section to init_os.
ld/testsuite/
2005-10-23 H.J. Lu <hongjiu.lu@intel.com>
PR ld/1487
* ld-ia64/tlspic.rd: Updated.
Alan Modra [Mon, 24 Oct 2005 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 24 Oct 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 23 Oct 2005 13:12:09 +0000 (13:12 +0000)]
* elf64-ppc.c (dec_dynrel_count): Don't report errors for local
syms in gc'd sections.
(ppc64_elf_edit_opd): Don't adjust reloc counts when NO_OPD_RELOCS.
(elf_backend_action_discarded): Define.
(ppc64_elf_action_discarded): New function.
gdbadmin [Sun, 23 Oct 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
This page took 0.040885 seconds and 4 git commands to generate.