Nick Clifton
d1cf510e5e
Add MIPS r12k support
2001-05-23 17:26:40 +00:00
Nick Clifton
6c426cf36e
Change PLT code to avoid using r2 - it used by GCC to return large startures
2001-05-23 16:38:36 +00:00
John Healy
e281c45770
2001-05-23 John Healy <jhealy@redhat.com>
...
* cgen.h: Increased CGEN_MAX_SYNTAX_ELEMENTS to 48.
2001-05-23 15:34:43 +00:00
Nick Clifton
d9bc7a4499
Replace sh_size/sh_entsize with NUM_SHDR_ENTRIES
2001-05-23 08:23:27 +00:00
Alan Modra
60edd2d3f1
* gas/elf/ehopt0.d: Tweak for bigendian targets.
2001-05-23 05:33:31 +00:00
Alan Modra
2c32d9a41f
More whitespace fixes.
2001-05-23 03:25:03 +00:00
Alan Modra
cba24d7dbd
* arc-opc.c: Whitespace changes.
2001-05-23 03:12:14 +00:00
Kevin Buettner
e4f237da05
* breakpoint.c (breakpoint_address_is_meaningful): New function.
...
(check_duplicates): Don't compare non-meaningful addresses.
2001-05-23 00:52:44 +00:00
Michael Snyder
5fd913cc66
2001-05-22 Michael Snyder <msnyder@redhat.com>
...
* thread-db.c: Allow for defunct zombie threads.
(attach_thread): Do not attempt to attach zombie thread.
(thread_db_thread_alive): Return false for defunct zombie thread.
(find_new_threads_callback): Don't add defunct zombie thread to list.
2001-05-23 00:06:15 +00:00
Jim Blandy
7ed49443c2
Add support for the GNU V3 C++ ABI.
...
(Includes changes by Dan Berlin.)
* gnu-v3-abi.c: New file.
* minsyms.c: #include "value.h" and "cp-abi.h".
(install_minimal_symbols): Check the minimal symbol table for
symbols that look mangled in the V3 style, and select the V3 ABI
if we find any.
* Makefile.in (SFILES): Add gnu-v3-abi.c.
(COMMON_OBS): Add gnu-v3-abi.o.
(gnu-v3-abi.o): Add new rule.
(minsyms.o): Depend on $(cp_abi_h) and $(value_h).
2001-05-22 21:02:41 +00:00
Nick Clifton
506eee2253
Improve Solaris compatability
2001-05-22 14:00:18 +00:00
Alan Modra
2d0441d962
* config/tc-arc.c (md_assemble): Use is_end_of_line instead of
...
testing for NULs.
2001-05-22 11:03:35 +00:00
Alexandre Oliva
186112268b
* ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag)
...
[aix4*|aix5*]: Prepend blank.
2001-05-22 10:40:29 +00:00
Alan Modra
6386f3a767
* symbols.c (resolve_symbol_value): Remove "finalize" param,
...
instead use finalize_syms directly. Don't treat expressions
specially with regard to finalize_syms. Update calls to self.
(resolve_local_symbol): Update call to resolve_symbol_value.
(S_GET_VALUE): Likewise. Return resolve_symbol_value if
!finalize_syms.
* symbols.h (resolve_symbol_value): Update prototype.
* config/obj-aout.c (obj_crawl_symbol_chain): Update call
to resolve_symbol_value.
* config/obj-bout.c (obj_crawl_symbol_chain): Likewise.
* config/obj-coff.c (do_relocs_for): Likewise.
(yank_symbols): Likewise.
(fixup_segment): Likewise.
* config/obj-vms.c (obj_crawl_symbol_chain): Likewise.
* config/tc-mips.c (md_convert_frag): Likewise.
* config/tc-ppc.c (ppc_frob_symbol): Likewise.
(ppc_fix_adjustable): Likewise.
* dwarf2dbg.c (dwarf2dbg_estimate_size_before_relax): Likewise.
(dwarf2dbg_convert_frag): Likewise.
* ehopt.c (eh_frame_estimate_size_before_relax): Likewise.
(eh_frame_convert_frag): Likewise.
* expr.c (make_expr_symbol): Likewise.
* write.c (adjust_reloc_syms): Likewise.
(write_object_file): Likewise.
(relax_segment): Likewise.
(fixup_segment): Likewise.
(finalize_syms): Init to zero, and update comment.
(write_object_file): Set finalize_syms to 1 rather than 2.
* doc/internals.texi (sy_value): Mention finalize_syms.
(S_GET_VALUE): Remove restriction on when S_GET_VALUE can be called.
2001-05-22 10:23:50 +00:00
Alan Modra
c801568a3a
* config/tc-m68k.c (relaxable_symbol): Only treat external symbols
...
as relaxable if embedded system, make weak syms non-relaxable.
Move definition..
(tc_m68k_fix_adjustable): ..so it can be used here.
(md_apply_fix_2): Sign extend without conditional.
2001-05-22 09:01:55 +00:00
Alan Modra
507c8a1a57
Update copyright date.
2001-05-22 08:41:10 +00:00
Kevin Buettner
6b0b0a9efb
* gdb.base/finish.exp (finish_void): Allow "finish" command to
...
stop on the call statement as well as the statement after the
call.
2001-05-22 00:25:27 +00:00
Jim Blandy
8d65888a44
* values.c (value_primitive_field): If we're extracting a base
...
class, then the type of the result should be the base class being
extracted, not the type of which it is a base class.
2001-05-21 20:08:59 +00:00
Jim Blandy
a44999d56d
* value.h (struct value): Doc fix, and rearrange members to place
...
them near their explanations.
2001-05-21 20:02:22 +00:00
Michael Snyder
6c3f2dbfeb
2001-05-21 Michael Snyder <msnyder@redhat.com>
...
* remote.c (remote_async_wait): Added new variable fieldsize.
Add fieldsize (return value of hex2bin) to string pointer p.
2001-05-21 18:48:26 +00:00
Andreas Jaeger
f5198f610d
* dwarf2.c (decode_line_info): Fix error message.
...
(read_abbrevs): Fix test for offset as suggested by Alan Modra and
adjust error message.
2001-05-21 11:52:42 +00:00
Jim Blandy
984e377c92
Formatting tweak.
2001-05-21 05:30:59 +00:00
Alexandre Oliva
6be7c12c05
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
...
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.254. Rebuilt a number
of subdir/configure scripts to use the new libtool.m4.
2001-05-20 19:02:56 +00:00
Stephane Carrez
81e09ed832
Improve HC11 simulator to support HC12
2001-05-20 15:40:27 +00:00
Stephane Carrez
11115521f6
* dv-m68hc11sio.c (m68hc11sio_tx_poll): Always check for
...
pending interrupts.
* interrupts.c (interrupts_process): Keep track of the last number
of masked insn cycles.
(interrupts_initialize): Clear last number of masked insn cycles.
(interrupts_info): Report them.
(interrupts_update_pending): Compute clear and set masks of
interrupts and clear the interrupt bits before setting them
(due to SCI interrupt sharing).
* interrupts.h (struct interrupts): New members last_mask_cycles
and xirq_last_mask_cycles.
2001-05-20 15:36:29 +00:00
Stephane Carrez
b4fa4770b8
* m68hc11-tdep.c (m68hc11_pop_frame): Fix stack pointer computation.
...
(m68hc11_analyze_instruction): Update the pc correctly.
(m68hc11_guess_from_prologue): Take into account the stack correction
for the saving address.
2001-05-20 11:53:42 +00:00
Daniel Berlin
2b12787743
2001-05-07 Daniel Berlin <dan@cgsoftware.com>
...
Changes by Jim Ingham:
* values.c (value_change_enclosing_type): New function. If the
new enclosing type is larger than the old one, we need to allocate
more space.
* value.h: Add value_change_enclosing_type prototype.
* valops.c (value_cast): Use it.
(value_assign): Use it.
(value_addr): Use it.
(value_ind): Use it.
(value_full_object): Use it.
2001-05-07 Daniel Berlin <dan@cgsoftware.com>
* values.c (value_static_field): Handle static fields that have a constant value.
2001-05-19 15:20:14 +00:00
H.J. Lu
9d8b3bf43c
2001-05-18 H.J. Lu <hjl@gnu.org>
...
* ld-elfvers/vers.exp: Revert the last change.
* ld-elfvers/vers2.ver: Put back "tmpdir/" the version
references.
* ld-elfvers/vers3.ver: Likewise.
* ld-elfvers/vers6.ver: Likewise.
* ld-elfvers/vers18.ver: Likewise.
2001-05-18 16:15:42 +00:00
H.J. Lu
7913c838b3
2001-05-18 H.J. Lu <hjl@gnu.org>
...
* elflink.h (elf_link_add_object_symbols): Revert the last
change.
2001-05-18 16:06:43 +00:00
Hans-Peter Nilsson
22f3fc4323
* cris-opc.c (cris_spec_regs): Add missing initializer field for
...
last element.
2001-05-18 15:21:59 +00:00
Alan Modra
e0522e891a
* elf32-hppa.c (clobber_millicode_symbols): Temporarily set
...
ELF_LINK_FORCED_LOCAL to suit 2001-04-30 change.
(hppa_build_one_stub): Add an assert to check plt.offset.
2001-05-18 03:11:13 +00:00
H.J. Lu
0f3f880889
2001-05-17 H.J. Lu <hjl@gnu.org>
...
* ld-elfvers/vers.exp: Pass "-rpath .:$tmpdir" to "vers19".
* ld-elfvers/vers1.ver: Remove "tmpdir/" from the version
definition.
* ld-elfvers/vers2.ver: Likewise.
* ld-elfvers/vers3.ver: Likewise.
* ld-elfvers/vers4a.ver: Likewise.
* ld-elfvers/vers6.ver: Likewise.
* ld-elfvers/vers7a.ver: Likewise.
* ld-elfvers/vers8.ver: Likewise.
* ld-elfvers/vers9.ver: Likewise.
* ld-elfvers/vers15.ver: Likewise.
* ld-elfvers/vers16a.ver: Likewise.
* ld-elfvers/vers17.ver: Likewise.
* ld-elfvers/vers18.ver: Likewise.
2001-05-18 01:25:34 +00:00
H.J. Lu
96fd004e0e
2001-05-17 H.J. Lu <hjl@gnu.org>
...
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the
version definition to basename of the output filename.
2001-05-18 01:20:02 +00:00
Michael Snyder
736d0890a9
2001-05-17 Michael Snyder <msnyder@redhat.com>
...
* blockframe.c (create_new_frame): Zero all the fields via memset,
rather than zeroing them one by one.
2001-05-17 20:04:46 +00:00
H.J. Lu
f3876d8bc6
2001-05-17 H.J. Lu <hjl@gnu.org>
...
* elflink.h (elf_link_add_object_symbols): Set DT_NEEDED to
basename of the bfd filename.
2001-05-17 19:08:46 +00:00
Eli Zaretskii
a577b05c32
* top.c (user_args): Remove unused declaration.
2001-05-17 15:05:32 +00:00
Alan Modra
d1778b88f8
Add a flag to asection, linker_has_input, and use it to reliably
...
determine whether an input section is the first one assigned to
an output section.
2001-05-17 03:58:45 +00:00
Jeff Johnston
aaa4f6d96f
2001-05-16 Jeff Johnston <jjohnstn@redhat.com>
...
* cgen.c (gas_cgen_tc_gen_reloc): Changed error message when
howto entry is not found.
Fix for 105023-CR-1.
2001-05-16 23:06:02 +00:00
DJ Delorie
e05c6d27bf
merge from gcc
2001-05-16 21:04:30 +00:00
Michael Snyder
9734519825
2001-05-15 John S Kallal <jskallal@home.com>
...
* remote.c (remote_wait): Added new variable fieldsize.
Add fieldsize (return value of hex2bin) to string pointer p.
2001-05-16 20:10:52 +00:00
Michael Snyder
b8adfa9f55
2001-05-16 Michael Snyder <msnyder@redhat.com>
...
* infcmd.c (do_registers_info): Move alloca outside of loop.
2001-05-16 20:05:49 +00:00
Richard Henderson
31b6fca668
* readelf.c (do_debug_frames_interp): New.
...
(byte_get_little_endian): If BFD64, always read entire 8-byte fields.
(byte_get_big_endian): Likewise.
(parse_args) ['F']: Set do_debug_frames_interp.
(Frame_Chunk): Make data_factor signed, add fde_encoding.
(frame_display_row): Don't trunc pc_begin to int.
(size_of_encoded_value): New.
(display_debug_frames): Handle 64-bit targets. Print raw data
unless do_debug_frames_interp.
(debug_displays): Remove duplicate .debug_frame.
2001-05-16 16:20:26 +00:00
Alexandre Oliva
7ee44f7484
* gmon_io.c (gmon_io_read, gmon_io_write_vma,
...
gmon_io_write_32, gmon_io_write_8, gmon_io_write): Adjust
argument list for K&R C.
2001-05-16 05:26:57 +00:00
Alexandre Oliva
7e8f410030
* config/tc-mn10300.c (mn10300_force_relocation): Don't
...
optimize differences between symbols in code sections to
constants.
(mn10300_fix_adjustable): Don't adjust to section+offset
relocations pointing at symbols in code sections.
2001-05-16 01:48:51 +00:00
Alexandre Oliva
2a0fa9433c
* elf-m10300.c (mn10300_elf_relax_section): Don't relax
...
negative 32-bit operands to 16 operands when the operand is
going to be zero-extended by the modified opcode.
2001-05-16 01:48:13 +00:00
Alan Modra
9fcc94b611
Fix dwarf2_emit_insn calls when frag_var breaks things.
...
Put back an old entry in ChangeLog-9899, deleted when ChangeLog split.
2001-05-16 01:08:21 +00:00
Frank Ch. Eigler
84fd0d38ae
* cgen disasm bug fix
...
2001-05-15 Frank Ch. Eigler <fche@redhat.com>
* cgen-dis.in (extract_normal): Complete support for min<base case.
2001-05-15 18:10:05 +00:00
Nick Clifton
4fe8559101
Remove definition of EM_MIPS_RS4_BE. The constant was never in active use
...
and is used otherwise by the ABI.
2001-05-15 12:24:29 +00:00
Nick Clifton
aa5f19f2b9
Fix MIPS disassembler so that it produces reassemblable code.
2001-05-15 12:11:13 +00:00
Mark Kettenis
aca21d9a80
* sparc-tdep.c (sparc_gdbarch_init): Get the architecture from
...
info.bfd_arch_info.
2001-05-15 11:38:26 +00:00