Nicholas Duffek
b41be06e3b
* solib.c (update_solib_list): Move target_resize_to_sections()
...
into solib_map_sections() loop.
(info_sharedlibrary_command): Try bfd_arch_bits_per_address() if
bfd_get_arch_size() fails.
2001-05-26 00:55:11 +00:00
Nicholas Duffek
a1cd19081d
* Makefile.in (osfsolib.c, osfsolib.o): Rename to solib-osf.c and
...
solib-osf.o.
* config/alpha/alpha-osf1.mh (NATDEPFILES): Replace osfsolib.o
with solib-osf.o and solib.o.
* config/alpha/alpha-osf2.mh: Likewise.
* config/alpha/alpha-osf3.mh: Likewise.
* solib-osf.c: New file, renamed and largely rewritten from
osfsolib.c.
2001-05-26 00:52:15 +00:00
H.J. Lu
6768c14a4f
2001-05-25 H.J. Lu <hjl@gnu.org>
...
* Makefile.am (BFD32_BACKENDS): Remove coff-pmac.lo.
(BFD32_BACKENDS_CFILES): Remove coff-pmac.c.
(coff-rs6000.lo): Remove the old dependency.
* Makefile.in: Rebuild.
* configure.in (pmac_xcoff_vec): Replace coff-pmac.lo with
coff-rs6000.lo.
2001-05-25 22:50:27 +00:00
H.J. Lu
96fcab3e8d
2001-05-25 H.J. Lu <hjl@gnu.org>
...
* emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
like emulparams/aixppc.sh.
2001-05-25 22:49:14 +00:00
H.J. Lu
db8d4f2320
2001-05-25 H.J. Lu <hjl@gnu.org>
...
* emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
setting of output_filename after bfd_scan_arch.
* emultempl/pe.em: Likewise.
2001-05-25 22:48:14 +00:00
H.J. Lu
b55039f458
2001-05-25 H.J. Lu <hjl@gnu.org>
...
* coff-rs6000.c (rs6000coff_vec): Use rs6000coff_core_p,
rs6000coff_core_file_matches_executable_p,
rs6000coff_core_file_failing_command and
rs6000coff_core_file_failing_signal only if AIX_CORE is
defined.
(pmac_xcoff_vec): Likewise.
* coff64-rs6000.c (rs6000coff64_vec): Likewise.
2001-05-25 21:23:48 +00:00
H.J. Lu
5f64210127
2001-05-25 H.J. Lu <hjl@gnu.org>
...
* emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
like emulparams/aixppc.sh.
* emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
instead of ${srcdir}/emultempl/stringify.sed.
2001-05-25 21:19:46 +00:00
H.J. Lu
eed3fa3bb3
2001-05-25 H.J. Lu <hjl@gnu.org>
...
* binutils-all/readelf.exp (readelf_test): Set target_machine
to tmips for traditional mips.
* binutils-all/readelf.s: Support traditional mips.
* binutils-all/readelf.ss-tmips: New for traditional mips.
2001-05-25 18:58:10 +00:00
H.J. Lu
ff8715d024
2001-05-25 H.J. Lu <hjl@gnu.org>
...
* gas/mips/e32el-rel2.d: New for little endian mips.
* gas/mips/elfel-rel2.d: Likewise.
* gas/mips/elfel-rel.d: Likewise.
* gas/mips/mipsel16-f.d: Likewise.
* gas/mips/telempic.d: Likewise.
* gas/mips/tmipsel16-e.d: Likewise.
* gas/mips/tempic.d: New for traditional mips.
* gas/mips/tmips16-e.d: Likewise.
* gas/mips/elf-rel.d: Handle alignment padding.
* gas/mips/elf-rel2.d: Likewise.
* gas/mips/mips.exp: Support little endian and traditional
mips.
2001-05-25 18:39:02 +00:00
Michael Snyder
aa6c001779
2001-05-25 Michael Snyder <msnyder@redhat.com>
...
* remote.c (remote_write_bytes): Update 'p' packet pointer.
2001-05-25 17:46:33 +00:00
Jim Blandy
4b1fedf105
* gnu-v2-abi.c (gnuv2_virtual_fn_field): There's no need to clear
...
VALUE_POINTED_TO_OFFSET here; if value_cast doesn't return a
useful value, then we should fix that instead.
2001-05-25 17:09:48 +00:00
Timothy Wall
64e9ece0ca
monterey updates
2001-05-25 12:42:28 +00:00
Alan Modra
05bdb37eec
* symbols.c (resolve_symbol_value): Always set segment, even when
...
not finalizing symbol value.
2001-05-25 10:07:43 +00:00
Alan Modra
1cd55018a6
* config/obj-ieee.c (write_object_file): Set finalize_syms.
...
* config/obj-coff.c (write_object_file): Likewise.
* (size_section): Remove rs_space assert as fr_symbol is no longer
removed.
(fill_section): Likewise.
2001-05-25 09:40:12 +00:00
Alan Modra
c709b09623
s/linuxaout/linux*aout/, s/linuxoldld/linux*oldld/
2001-05-25 07:21:01 +00:00
H.J. Lu
f34d8777dd
2001-05-25 H.J. Lu <hjl@gnu.org>
...
* bfd-in2.h: Regenerated.
* libcoff.h: Likewise.
2001-05-25 06:29:21 +00:00
H.J. Lu
6cbdcc6fa9
2001-05-24 H.J. Lu <hjl@gnu.org>
...
* emultempl/stringify.sed: Removed again.
2001-05-25 05:56:38 +00:00
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