H.J. Lu
86af25fe1d
2001-05-24 H.J. Lu <hjl@gnu.org>
...
* emultempl/aix.em (OUTPUT_ARCH): Defined.
(gld${EMULATION_NAME}_before_parse): Initialize
ldfile_output_architecture, ldfile_output_machine and
ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
* emultempl/beos.em: Likewise.
* emultempl/elf32.em: Likewise.
* emultempl/linux.em: Likewise.
* emultempl/mipsecoff.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/sunos.em: Likewise.
2001-05-25 05:39:22 +00:00
H.J. Lu
936f9717c0
2001-05-24 H.J. Lu <hjl@gnu.org>
...
* ld-scripts/phdrs.exp: Add sparc64 to 64 bit platform.
2001-05-25 04:31:55 +00:00
Alan Modra
49e9d0d3b6
* elf32-hppa.c (elf32_hppa_relocate_section): Don't allow
...
undefined millicode syms in shared libs.
(hppa_build_one_stub): Turn BFD_ASSERTs into aborts.
(elf32_hppa_check_relocs): Likewise.
(elf32_hppa_adjust_dynamic_symbol): Likewise.
(elf32_hppa_size_dynamic_sections): Likewise.
(elf32_hppa_relocate_section): Likewise.
(elf32_hppa_finish_dynamic_symbol): Likewise.
(elf32_hppa_finish_dynamic_sections): Likewise.
2001-05-25 03:46:49 +00:00
Alan Modra
ce34c3732a
Revert last patch.
2001-05-25 01:59:43 +00:00
Michael Snyder
ac55707e4a
2001-05-24 Michael Snyder <msnyder@redhat.com>
...
* gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
Don't require that the main thread and the manager thread are the
first in the list.
2001-05-25 01:29:01 +00:00
Nicholas Duffek
fa3b51d224
* solist.h (struct so_list): Document the requirement that
...
current_sos initialize some fields to 0.
2001-05-25 01:27:11 +00:00
Michael Snyder
ae23c49223
2001-05-24 Michael Snyder <msnyder@redhat.com>
...
* gdb.threads/pthreads.exp (test_startup): Relax test for thread
debugging. If test fails, issue an "unsupported" not a "fail".
2001-05-25 01:10:20 +00:00
Alan Modra
40e3ba9bb7
* expr.c (expr): Set return value to absolute_section for
...
subtractive operations on symbols within a segment.
* read.c (pseudo_set): Set segment for complex expressions.
2001-05-25 00:01:30 +00:00
Jim Blandy
400071f14b
Don't assume that short is shorter than int.
...
* gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
assume that shorts are smaller than ints. On a 16-bit machine,
this isn't true.
("print unsigned char == (~0)"): Add test that verifies that ~0,
an int, is not equal to ~0 stored in an unsigned char. This tests
the same thing that the previous test meant to, but works on
16-bit machines, too.
("print unsigned char != (~0)"): Same test, complemented.
2001-05-25 00:01:29 +00:00
Alan Modra
b58c9faf2f
From 2.11 branch 2001-03-30 Richard Henderson <rth@redhat.com>
...
* config/tc-i386.c (md_convert_frag): Don't die on local symbols
that have been finalized.
2001-05-24 23:52:22 +00:00
Alan Modra
c89c853400
* symbols.c (resolve_symbol_value): Clear sy_resolving before
...
taking exit_dont_set_value.
2001-05-24 23:44:06 +00:00
Alan Modra
766c03c9fa
* write.c (relax_segment): Don't zap fr_symbol when relaxing.
2001-05-24 23:33:00 +00:00
H.J. Lu
1608870fd8
2001-05-24 H.J. Lu <hjl@gnu.org>
...
* binutils-all/objdump.exp (cpus_expected): Add s390.
2001-05-24 22:01:25 +00:00
Tom Rix
6877bb43e5
Fix for gas seg fault and neg line numbers
2001-05-24 21:39:09 +00:00
Tom Rix
11a383ba17
Support for xcoff64, enable ld for aix
2001-05-24 21:06:16 +00:00
Tom Rix
3b1b01cf25
Support for xcoff64
2001-05-24 20:59:23 +00:00
Tom Rix
beb1bf64d0
Support for xcoff64
2001-05-24 20:50:50 +00:00
Tom Rix
3dd657b1d0
Support for xcoff64
2001-05-24 20:32:58 +00:00
H.J. Lu
8569c2f5b4
2001-05-24 H.J. Lu <hjl@gnu.org>
...
* gas/m68k/pcrel.d: Support 64bit BFD.
2001-05-24 20:08:04 +00:00
Mark Kettenis
2747183e55
* gnu-nat.c: Include <ctype.h>.
...
(gnu_pid_to_exec_file): Add PID parameter.
(set_sig_thread_cmd): Use PIDGET on return value from
thread_id_to_pid.
(proc_string): Use MERGEPID to construct argument to
pid_to_thread_id.
2001-05-24 20:05:07 +00:00
H.J. Lu
58e2fc9047
2001-05-24 H.J. Lu <hjl@gnu.org>
...
* gas/arm/adrl.d: Support 64bit BFD.
* gas/arm/arm7t.d: Likewise.
* gas/arm/inst.d: Likewise.
* gas/arm/pic.d: Likewise.
* gas/arm/xscale.d: Likewise.
2001-05-24 20:02:15 +00:00
Michael Snyder
0816a3e5d5
2001-05-24 Michael Snyder <msnyder@redhat.com>
...
* gdb.threads/pthreads.exp (all_threads_running): Add an explicit
test for (full_coverage == 0). This makes the test run faster,
and prevents dejagnu getting out of step.
2001-05-24 19:54:41 +00:00
Michael Snyder
2caa35cb88
2001-05-21 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/long_long.exp: Allow for targets with 4-byte short.
2001-05-24 18:30:10 +00:00
Alan Modra
e027f3e8a4
* write.c (write_object_file): Set finalize_syms = 1 before
...
size_seg is called.
2001-05-24 08:19:32 +00:00
Alexandre Oliva
57e6abd277
* emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
...
variable to avoid non-portable shell construct.
2001-05-24 02:44:06 +00:00
Kevin Buettner
f6dc23a931
* gdb.base/finish.exp (finish_void): Revise pattern for
...
stopping on the call statement to not permit stopping at
the start of the instructions comprising the call sequence.
2001-05-24 01:14:15 +00:00
Alexandre Oliva
e90fdc1abd
* elf64-sparc.c (sparc64_elf_slurp_reloc_table): Fix typo
...
s/ENTIRES/ENTRIES/.
2001-05-23 23:56:22 +00:00
Michael Chastain
7dbd117d87
2001-05-19 Michael Chastain <chastain@redhat.com>
...
* gdb.base/callfuncs.exp: Make all test names unique.
* gdb.base/commands.exp: Make all test names unique.
* gdb.base/condbreak.exp: Make all test names unique.
* gdb.base/dbx.exp: Make all test names unique.
* gdb.base/default.exp: Make all test names unique.
* gdb.base/define.exp: Make all test names unique. Conform some FAIL
and TIMEOUT messages to their corresponding PASS message.
* gdb.base/ending-run.exp: Make all test names unique.
* gdb.base/long_long.exp: Remove duplicate test.
2001-05-23 19:04:13 +00:00
Nick Clifton
c2feb66418
Add MIPS ELF64 relocs
2001-05-23 17:36:38 +00:00
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