Don Howard [Thu, 1 Nov 2001 05:11:19 +0000 (05:11 +0000)]
Fixed formatting error.
Andrew Cagney [Thu, 1 Nov 2001 02:53:05 +0000 (02:53 +0000)]
use xmalloc() and xfree().
Andrew Cagney [Thu, 1 Nov 2001 02:37:56 +0000 (02:37 +0000)]
s/value_ptr/struct value */
Andrew Cagney [Thu, 1 Nov 2001 02:22:21 +0000 (02:22 +0000)]
Re-indent.
Chris Demetriou [Thu, 1 Nov 2001 01:33:47 +0000 (01:33 +0000)]
[ bfd/ChangeLog ]
2001-10-31 Chris Demetriou <cgd@demetriou.com>
* elf32-mips.c (_bfd_mips_elf_hi16_reloc): Handle PC-relative
relocations properly.
[ gas/ChangeLog ]
2001-10-31 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c (HAVE_32BIT_ADDRESSES): If compiling embedded
PIC code, assume pointers the same size as GPRs.
(macro): In M_LA_AB handling for embedded PIC code, support
"la $treg,foo-bar($breg)". In load/store handling
(label ld_st) support "<op> $treg,<sym>-<local_sym>($breg)"
which is used by the compiler for switch statements.
In load/store double multi-instruction macro handling
(label ldd_std) add a comment that no special handling
is currently done for embedded PIC.
(mips_ip): In 'o' (16-bit offset) case, only accept 16
bit offsets.
[ gas/testsuite/ChangeLog ]
2001-10-31 Chris Demetriou <cgd@broadcom.com>
* gas/mips/empic.s: Undo damage inflicted on 2000-12-02.
* gas/mips/empic.d: Likewise.
* gas/mips/elempic.d: Likewise (it was copied into other files).
* gas/mips/telempic.d: Likewise.
* gas/mips/tempic.d: Likewise.
* gas/mips/empic2.s: New test to check new 'la' and 'lw' (and
related ops) syntax, test loads with large offsets.
* gas/mips/emcic2.d: Likewise.
* gas/mips/mips.exp: Run the new test on ELF platforms.
Andrew Cagney [Thu, 1 Nov 2001 01:21:35 +0000 (01:21 +0000)]
s/value_ptr/struct value */
Andrew Cagney [Thu, 1 Nov 2001 01:07:35 +0000 (01:07 +0000)]
value_ptr tweeks.
gdbadmin [Thu, 1 Nov 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Corinna Vinschen [Wed, 31 Oct 2001 23:21:33 +0000 (23:21 +0000)]
* arch-utils.c (generic_in_solib_call_trampoline): New function.
* arch-utils.h (generic_in_solib_call_trampoline): Extern declaration.
* gdbarch.c: Regenerated from gdbarch.sh.
* gdbarch.h: Ditto.
* gdbarch.sh (function_list): Add `IN_SOLIB_CALL_TRAMPOLINE' definition.
* infrun.c (IN_SOLIB_CALL_TRAMPOLINE): Remove macro.
Alan Modra [Wed, 31 Oct 2001 23:00:35 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Wed, 31 Oct 2001 22:57:46 +0000 (22:57 +0000)]
From DJ Barrow.
* s390-tdep.c: (s390_gdbarch_init): Don't initialize
find_solib_trampoline_target.
Andrew Cagney [Wed, 31 Oct 2001 22:29:21 +0000 (22:29 +0000)]
* remote-vx.c (net_wait): Fix typo from PIDGET change.
Mark Kettenis [Wed, 31 Oct 2001 22:24:06 +0000 (22:24 +0000)]
* config/i386/tm-i386.h (REGISTER_NAMES): Remove.
(REGISTER_NAME): New define.
(i386_register_name): New prototype.
* i386-tdep.c (i386_register_names): New variable.
(i386_register_name): New function.
* config/i386/tm-i386os9k.h, config/i386/tm-ptx.h,
config/i386/tm-symmetry.h: Undefine REGISTER_NAME instead of
REGISTER_NAMES.
Corinna Vinschen [Wed, 31 Oct 2001 20:59:22 +0000 (20:59 +0000)]
* gdb.base/miscexprs.c (main): Add usage of preprocessor
symbol `STORAGE' to allow to choose the storage class of
the local datastructures.
* gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
compiler directive.
Don Howard [Wed, 31 Oct 2001 19:20:43 +0000 (19:20 +0000)]
2001-10-30 Don Howard <dhoward@redhat.com>
* gdb.texinfo: (Command Files) Added documentation for the
behavior of gdb with input redirected from a file.
Christopher Faylor [Wed, 31 Oct 2001 19:05:35 +0000 (19:05 +0000)]
* win32-nat.c (register_loaded_dll): Attempt to ensure that the case of the
loaded DLL matches the on-disk case since the debugging API does not seem to
ensure this. Calculate max name length here.
(handle_load_dll): Move max name length calculation to register_loaded_dll.
H.J. Lu [Wed, 31 Oct 2001 16:42:48 +0000 (16:42 +0000)]
2001-10-31 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_link_output_extsym): Don't clear the visibility
field for relocateable.
Daniel Jacobowitz [Wed, 31 Oct 2001 15:56:33 +0000 (15:56 +0000)]
* arm-linux-nat.c: Include <asm/ptrace.h> explicitly.
Nick Clifton [Wed, 31 Oct 2001 15:41:19 +0000 (15:41 +0000)]
Fix infinite parsing loop
Alan Modra [Wed, 31 Oct 2001 15:32:09 +0000 (15:32 +0000)]
Revert previous delta, instead do this.
* elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Don't count
.plt relocs in DT_RELASZ.
Alan Modra [Wed, 31 Oct 2001 14:58:14 +0000 (14:58 +0000)]
* elf32-hppa.c (elf32_hppa_size_dynamic_sections): Set DT_RELASZ
whenever DT_PLTRELSZ.
Richard Earnshaw [Wed, 31 Oct 2001 14:48:23 +0000 (14:48 +0000)]
General cleanup of feature definitions.
* tc-arm.c (ARM_EXT_LONGMUL, ARM_EXT_HALFWORD, ARM_EXT_THUMB): Delete.
(ARM_2UP, ARM_ALL, ARM_3UP, ARM_6UP): Delete.
(FPU_CORE, FPU_FPA10, FPA_FPA11, FPU_ALL, FPA_MEMMULTI): Delete.
(ARM_EXT_V{1,2,2S,3,3M,4,4T,5T,5ExP}): New defines.
(ARM_EXT_V{5,5E}): Synchronize with above.
(ARM_ARCH_V*): Define a complete set in terms of above features.
(ARM_{1,2,3,250,6,7,8,9,STRONG}): Define in terms of architecture.
(FPU_FPA_EXT_V[12]): Define.
(FPU_ARCH_FPE, FPU_ARCH_FPA): Define in terms of above.
(FPU_ANY): Define.
(FPU_DEFAULT): Default to FPA.
(CPU_DEFAULT): For XScale, this is now just ARM_ARCH_XSCALE; for
Thumb, this is now ARM_ARCH_V5T.
(insns): Rework for new feature defines.
(tinsns): Likewise.
(opcode_select, do_ldst, md_begin, md_parse_option): Likewise.
Nick Clifton [Wed, 31 Oct 2001 14:19:22 +0000 (14:19 +0000)]
Update documentation about -T augmenting linker scripts
Nick Clifton [Wed, 31 Oct 2001 09:50:09 +0000 (09:50 +0000)]
Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu targets
Nick Clifton [Wed, 31 Oct 2001 09:01:50 +0000 (09:01 +0000)]
Fix typo: bfd_mmo_mmix_vec => bfd_mmo_vec.
Nick Clifton [Wed, 31 Oct 2001 08:58:59 +0000 (08:58 +0000)]
Update to match latest listing behaviour
Hans-Peter Nilsson [Wed, 31 Oct 2001 05:52:41 +0000 (05:52 +0000)]
* ld-mmix/locdo-1.d: Prune character dump part.
Hans-Peter Nilsson [Wed, 31 Oct 2001 05:42:51 +0000 (05:42 +0000)]
* ld-mmix/local7m.d, ld-mmix/loc4.d, ld-mmix/loc4m.d,
ld-mmix/loc1.d, ld-mmix/bspec1m.d, ld-mmix/bspec2m.d,
ld-mmix/b-nosym.d, ld-mmix/b-fixo2.d, ld-mmix/b-loc64k.d,
ld-mmix/undef-3m.d, ld-mmix/locto.s, ld-mmix/loct.s,
ld-mmix/local3m.d, ld-mmix/local1m.d, ld-mmix/loc6m.d,
ld-mmix/loc2.s, ld-mmix/loc1.s, ld-mmix/gregldo1.s,
ld-mmix/dloc1.s, ld-mmix/b-widec3.s, ld-mmix/b-nosym.s: Remove
unnecessary empty lines.
Hans-Peter Nilsson [Wed, 31 Oct 2001 05:04:33 +0000 (05:04 +0000)]
Regenerate dependencies and Makefile.in
Hans-Peter Nilsson [Wed, 31 Oct 2001 04:30:35 +0000 (04:30 +0000)]
* gas/mmix/tst.s: Delete unused file.
* gas/mmix/unsave-op.s, gas/mmix/save-op.s, gas/mmix/resume-op.s,
gas/mmix/reloc8.s, gas/mmix/prefix1.s, gas/mmix/pop-op.s,
gas/mmix/greg8.s, gas/mmix/greg6.s, gas/mmix/expr-1.s,
gas/mmix/greg1.s, gas/mmix/err-bspec-5.s, gas/mmix/op-0-1.s,
gas/mmix/fb-2.s: Remove trailing empty lines.
Keith Seitz [Wed, 31 Oct 2001 03:16:04 +0000 (03:16 +0000)]
* wrapper.h (gdb_value_struct_elt): New function.
* wrapper.c (gdb_value_struct_elt): Ditto.
(do_captured_value_struct_elt): Ditto.
Hans-Peter Nilsson [Wed, 31 Oct 2001 03:08:59 +0000 (03:08 +0000)]
Remove #if 0 around bfd_mmo_mmix_vec
Hans-Peter Nilsson [Wed, 31 Oct 2001 03:07:48 +0000 (03:07 +0000)]
Split file by ^L:s as in original submitted patch
Andrew Cagney [Wed, 31 Oct 2001 02:53:17 +0000 (02:53 +0000)]
Update README and NEWS to 5.1.
Michael Snyder [Wed, 31 Oct 2001 02:40:24 +0000 (02:40 +0000)]
2001-10-30 Michael Snyder <msnyder@redhat.com>
* gdb.base/jump.exp: Allow it to run for all targets.
Hans-Peter Nilsson [Wed, 31 Oct 2001 02:40:19 +0000 (02:40 +0000)]
* mmix-dis.c, mmix-opc.c: New files.
Hans-Peter Nilsson [Wed, 31 Oct 2001 02:34:12 +0000 (02:34 +0000)]
* MAINTAINERS: Add self as MMIX port maintainer.
Andrew Cagney [Wed, 31 Oct 2001 01:57:04 +0000 (01:57 +0000)]
Fix -W... flags check.
Alan Modra [Wed, 31 Oct 2001 01:12:26 +0000 (01:12 +0000)]
* ldlang.c (lang_size_sections): Keep a valid output_offset field
for padding statements.
gdbadmin [Wed, 31 Oct 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 30 Oct 2001 23:01:01 +0000 (23:01 +0000)]
daily update
Fred Fish [Tue, 30 Oct 2001 17:34:30 +0000 (17:34 +0000)]
2001-10-30 Fred Fish <fnf@redhat.com>
* somsolib.c (som_solib_add): A megabyte is 1024*1024 bytes.
* pa64solib.c (add_to_solist): Ditto.
* win32-nat.c (_initialize_inftarg): Remove unnecessary
initialization of auto_solib_add, it defaults to 1.
Nick Clifton [Tue, 30 Oct 2001 15:20:14 +0000 (15:20 +0000)]
Add MMIX support
Nick Clifton [Tue, 30 Oct 2001 11:40:28 +0000 (11:40 +0000)]
If the LMA for a segment is known, use it for matching sections to segments.
Use the LMA when adjusting for inter-section alignment padding.
Nick Clifton [Tue, 30 Oct 2001 11:34:46 +0000 (11:34 +0000)]
Set the LMA based on the p_paddr of the segment that contains it.
Fred Fish [Tue, 30 Oct 2001 04:05:36 +0000 (04:05 +0000)]
Changes approved by kev@cygnus.com, ezannoni@cygnus.com, eliz@is.elta.co.il.
Changelog:
2001-10-27 Fred Fish <fnf@redhat.com>
* symfile.c (auto_solib_add): Update comment to note that
this variable is now just used as a boolean to control shlib
autoloading, and clarify when it is used.
* symfile.h (auto_solib_add): Ditto.
* symfile.c (auto_solib_limit): New variable that holds the
autoloading threshold instead of overloading auto_solib_add.
* symfile.h (auto_solib_limit): Ditto.
* irix5-nat.c (_initialize_solib): Change auto-solib-add
variable from var_zinteger to var_boolean and update help.
* osfsolib.c (_initialize_solib): Ditto.
* pa64solib.c (_initialize_pa64_solib): Ditto.
* solib.c (_initialize_solib): Ditto.
* somsolib.c (_initialize_som_solib): Ditto.
* xcoffsolib.c (_initialize_solib): Ditto.
* pa64solib.c (pa64_solib_total_st_size): Update comment to
note that the new auto_solib_limit variable is used instead
of overloading auto_solib_add variable.
(_initialize_pa64_solib): Ditto.
* somsolib.c (som_solib_total_st_size): Ditto.
(_initialize_som_solib): Ditto.
* pa64solib.c (_initialize_pa64_solib): Add new set/show
commands for auto-solib-limit variable.
* somsolib.c (_initialize_som_solib): Ditto
* pa64solib.c (add_to_solist): Check that auto_solib_add is
set and use auto_solib_limit as the threshold size instead
of auto_solib_add.
* somsolib.c (som_solib_add): Ditto, and also change warning
text about size threshold exceeded.
doc/ChangeLog:
2001-10-28 Fred Fish <fnf@redhat.com>
* gdb.texinfo (auto-solib-add): Change docs to match
implementation change.
(auto-solib-limit): Add docs for new variable.
gdbadmin [Tue, 30 Oct 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Mon, 29 Oct 2001 23:54:56 +0000 (23:54 +0000)]
* config/i386/tm-i386v.h: Don't include "regcache.h".
(EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, FRAME_CHAIN,
FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_NUM_ARGS):
Remove macros. The versions from "tm-i386.h" should work fine
(and in most cases even better).
Mark Kettenis [Mon, 29 Oct 2001 23:49:31 +0000 (23:49 +0000)]
* i386-tdep.c (i386_extract_return_value): Use
convert_typed_floating to extract floating-point value from
register buffer.
(i386_store_return_value): Use convert_typed_floating to store
floating-point return balue in register buffer
(i386_register_virtual_type): Change type of floating-point
registers to builtin_type_i387_ext.
(i386_register_convert_to_virtual): Use convert_typed_floating to
do the conversion.
(i386_register_convert_to_raw): Likewise.
Mark Kettenis [Mon, 29 Oct 2001 23:35:37 +0000 (23:35 +0000)]
* doublest.h (convert_typed_floating): New prototype.
* doublest.c (convert_typed_floating): New function.
Alan Modra [Mon, 29 Oct 2001 23:00:04 +0000 (23:00 +0000)]
daily update
Kazu Hirata [Mon, 29 Oct 2001 22:43:32 +0000 (22:43 +0000)]
* d30v-dis.c: Fix a comment typo.
Kazu Hirata [Mon, 29 Oct 2001 22:36:32 +0000 (22:36 +0000)]
* ldlang.c: Fix a comment typo.
Kazu Hirata [Mon, 29 Oct 2001 22:29:59 +0000 (22:29 +0000)]
* README: Fix a typo.
Kazu Hirata [Mon, 29 Oct 2001 22:26:12 +0000 (22:26 +0000)]
* bfdsumm.texi: Fix a typo.
Corinna Vinschen [Mon, 29 Oct 2001 18:20:22 +0000 (18:20 +0000)]
* gdb.base/call-ar-st.c (print_double_array): Match for loop
with new double_array size.
(main): Change storage class of all local variables to static.
Reduce size of double_array to 9.
* gdb.base/call-ar-st.exp: Increase timeout value.
Change expected output for double array to match new size in
call-ar-st.c.
Corinna Vinschen [Mon, 29 Oct 2001 18:16:46 +0000 (18:16 +0000)]
* gdb.base/ending-run.exp: Create identical output when passing
`step to end of run' case. Add regular expression branch satisfying
Stormy16 target.
Mark Kettenis [Mon, 29 Oct 2001 17:38:11 +0000 (17:38 +0000)]
* gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
that we catch the expected failure under Linux/x86.
Orjan Friberg [Mon, 29 Oct 2001 16:24:35 +0000 (16:24 +0000)]
2001-10-29 Orjan Friberg <orjanf@axis.com>
* gdb.base/setvar.exp: Escape curly braces.
* gdb.stabs/weird.exp: Ditto.
Alan Modra [Mon, 29 Oct 2001 04:00:48 +0000 (04:00 +0000)]
daily update, a bit late..
gdbadmin [Mon, 29 Oct 2001 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Sun, 28 Oct 2001 22:06:27 +0000 (22:06 +0000)]
* doublest.c: Improve comments a bit.
(floatformat_from_length): New function.
(NAN): Define to 0.0 if not already defined.
(extract_floating): Rewrite to use floatformat_from_length. Warn
instead of error if LEN doesn't match a known floating-point type,
and return NaN (or 0.0 if NaN isn't available) in that case.
(store_floating): Likewise, but zero out the target byte-stream if
LEN doesn't match a known floating-point type.
(extract_typed_floating): Reformat a bit.
(store_typed_floating): Reformat a bit. Add comment about zeroing
out padding in the target buffer.
* doublest.h (extract_floating, store_floating): Fix comment about
deprecation of these functions. Add parameter names to prototypes.
Mark Kettenis [Sun, 28 Oct 2001 14:07:35 +0000 (14:07 +0000)]
* i387-tdep.c (print_i387_value): Use extract_typed_floating to
convert RAW to a DOUBLEST instead of extract_floating.
Mark Kettenis [Sun, 28 Oct 2001 12:43:12 +0000 (12:43 +0000)]
* gdbtypes.c (_initialize_gdbtypes): Set floating-point type for
builtin_type_i387_ext to floatformat_i387_ext.
Daniel Jacobowitz [Sun, 28 Oct 2001 00:29:50 +0000 (00:29 +0000)]
* gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
* gdm.mi/mi0-hack-cli.exp: Likewise.
gdbadmin [Sun, 28 Oct 2001 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 27 Oct 2001 23:00:06 +0000 (23:00 +0000)]
daily update
Nick Clifton [Sat, 27 Oct 2001 07:31:26 +0000 (07:31 +0000)]
Change footer to refer to FSF. Change subtitle to refer to original creation date.
gdbadmin [Sat, 27 Oct 2001 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 27 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update
Daniel Jacobowitz [Fri, 26 Oct 2001 15:41:17 +0000 (15:41 +0000)]
* arm-linux-nat.c (fill_gregset): Do not check register_valid[].
(fill_fpregset): Likewise.
Orjan Friberg [Fri, 26 Oct 2001 14:54:24 +0000 (14:54 +0000)]
2001-10-26 Orjan Friberg <orjanf@axis.com>
* cris-tdep.c (constraint): Loop through the whole cris_spec_regs
struct, not just the NUM_SPECREGS first entries.
(bdap_prefix): Read PC before autoincrement.
Nick Clifton [Fri, 26 Oct 2001 10:57:04 +0000 (10:57 +0000)]
Fix usage of H_GET_32/16. Likewise with H_PUT_32/16.
Corinna Vinschen [Fri, 26 Oct 2001 09:29:31 +0000 (09:29 +0000)]
* win32-nat.c (DebugSetProcessKillOnExit): New static function
pointer to Windows' DebugSetProcessKillOnExit() function.
(DebugActiveProcessStop): Ditto for DebugActiveProcessStop().
(has_detach_ability): New function.
(child_attach): If system has detach ability, enable it.
(child_detach): If system has detach ability, actually
detach from process.
Change tty output to Linux format.
Andrew Cagney [Fri, 26 Oct 2001 04:37:54 +0000 (04:37 +0000)]
Chirp fixes:
* hw_htab.c (htab_map_binary): Don't try to map the text section
when it is empty.
* emul_chirp.c (map_over_chirp_note): Default load-base to -1 not
CHIRP_LOAD_BASE.
(emul_chirp_create): Map in the interrupt table.
Andrew Cagney [Fri, 26 Oct 2001 04:17:45 +0000 (04:17 +0000)]
Unify stabs/weird messages.
gdbadmin [Fri, 26 Oct 2001 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 26 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update
Richard Henderson [Thu, 25 Oct 2001 06:33:56 +0000 (06:33 +0000)]
* peXXigen.c (_bfd_XX_print_private_bfd_data_common): Copy
timestamp to time_t for ctime.
Chris Demetriou [Thu, 25 Oct 2001 01:22:19 +0000 (01:22 +0000)]
2001-10-24 Chris Demetriou <cgd@broadcom.com>
* gas/mips/ld-empic.d: Remove extra whitespace at beginning of
file introduced in the change on 2001-05-15.
gdbadmin [Thu, 25 Oct 2001 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 25 Oct 2001 00:00:03 +0000 (00:00 +0000)]
daily update
Chris Demetriou [Wed, 24 Oct 2001 21:08:34 +0000 (21:08 +0000)]
2001-10-24 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c (hilo_interlocks, cop_interlocks): Make
these evaluate to true if mips_arch indicates SB-1.
DJ Delorie [Wed, 24 Oct 2001 20:32:09 +0000 (20:32 +0000)]
merge from gcc
Chris Demetriou [Wed, 24 Oct 2001 20:12:36 +0000 (20:12 +0000)]
2001-10-24 Chris Demetriou <cgd@broadcom.com>
* gas/mips/mips-abi32-pic.s: Use ".word" rather than ".4byte".
Delete use of ".size".
* gas/mips/mips-abi32.s: Likewise.
* gas/mips/mips-gp32-fp32-pic.s: Likewise.
* gas/mips/mips-gp32-fp32.s: Likewise.
* gas/mips/mips-gp32-fp64-pic.s: Likewise.
* gas/mips/mips-gp32-fp64.s: Likewise.
* gas/mips/mips-gp64-fp32-pic.s: Likewise.
* gas/mips/mips-gp64-fp32.s: Likewise.
* gas/mips/mips-gp64-fp64-pic.s: Likewise.
* gas/mips/mips-gp64-fp64.s: Likewise.
Jeff Holcomb [Wed, 24 Oct 2001 20:02:25 +0000 (20:02 +0000)]
2001-10-24 Jeff Holcomb <jeffh@redhat.com>
Makefile.in (all-bison): Don't depend on texinfo.
Jim Blandy [Wed, 24 Oct 2001 17:13:12 +0000 (17:13 +0000)]
(start_psymtab_common): Revert change accidentally included in last
commit.
Jim Blandy [Wed, 24 Oct 2001 17:10:18 +0000 (17:10 +0000)]
Isolate STABS readers' use of the `textlow' and `texthigh' fields
of `struct partial_symtab' to only a few locations. This change
is not supposed to affect the way the values are computed, only
where they live.
* dbxread.c (struct symloc): Add `textlow' and `texthigh' fields
to the reader-specific structure.
* mdebugread.c (struct symloc): Same.
* dbxread.c (TEXTLOW, TEXTHIGH): New accessor macros.
* mdebugread.c (TEXTLOW, TEXTHIGH): Same.
* dbxread.c (dbx_symfile_read): After we've built all our partial
symbol tables, set each partial symtab's `textlow' and `texthigh'
fields from our reader-specific structure.
* mdebugread.c (mdebug_build_psymtabs): Same.
* dbxread.c (start_psymtab): Initialize the reader-specific
structure's `textlow' and `texthigh' from the new psymtab's.
* mdebugread.c (parse_partial_symbols, new_psymtab): Same.
* dbxread.c (read_dbx_symtab, end_psymtab, read_ofile_symtab): Use
the reader-specific `textlow' and `texthigh', not the generic
psymtab fields.
* mdebugread.c (parse_lines, parse_partial_symbols,
psymtab_to_symtab_1): Same.
* partial-stab.h: Same.
Hans-Peter Nilsson [Wed, 24 Oct 2001 03:39:54 +0000 (03:39 +0000)]
* elf32-cris.c (cris_reloc_type_lookup): Change loop to use
unsigned, increasing index.
Andrew Cagney [Wed, 24 Oct 2001 02:53:48 +0000 (02:53 +0000)]
Fix -Wformat for hpux.
Andrew Cagney [Wed, 24 Oct 2001 01:19:12 +0000 (01:19 +0000)]
Tweeks for HP/UX and -Werror.
Alan Modra [Wed, 24 Oct 2001 00:00:35 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 24 Oct 2001 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
H.J. Lu [Tue, 23 Oct 2001 20:24:23 +0000 (20:24 +0000)]
2001-10-23 H.J. Lu <hjl@gnu.org>
* elf32-mips.c (_bfd_mips_elf_modify_segment_map): Check
m != NULL before accessing it.
Chris Demetriou [Tue, 23 Oct 2001 19:20:28 +0000 (19:20 +0000)]
[opcodes/ChangeLog]
2001-10-21 Chris Demetriou <cgd@broadcom.com>
* mips-opc.c (mips_builtin_opcodes): Mark "bgezall" and
"bltzall" as writing GPR 31 (since they do).
* mips-dis.c (print_insn_arg): Calculate info->target
where appropriate.
(print_insn_mips): Fill in instruction info.
(print_mips16_insn_arg): Remove unneded variable 'val'.
Removed duplicated instruction target calculations,
calculate once and print that result. Use same idiom for
masking the jump segment bits as is used in print_insn_arg.
[gas/testsuite/ChangeLog]
2001-10-21 Chris Demetriou <cgd@broadcom.com>
* gas/mips/beq.s: Add zero words at end of instructions so
that objdump will print "..." when disassembling.
* gas/mips/beq.d: Update for disassembler changes which force
branch delay-slot nops to be printed.
* gas/mips/bge.d: Ditto.
* gas/mips/bgeu.d: Ditto.
* gas/mips/blt.d: Ditto.
* gas/mips/bltu.d: Ditto.
* gas/mips/jal-svr4pic.d: Ditto.
* gas/mips/jal-xgot.d: Ditto.
DJ Delorie [Tue, 23 Oct 2001 15:32:45 +0000 (15:32 +0000)]
merge from gcc
Alan Modra [Tue, 23 Oct 2001 05:49:02 +0000 (05:49 +0000)]
* configure.host: Move alpha*-*-linux-gnu* entry to generic
entries, and match *-*-linux*.
Alan Modra [Tue, 23 Oct 2001 04:42:12 +0000 (04:42 +0000)]
* internal.h: White space changes to keep lines under 80 chars.
Alan Modra [Tue, 23 Oct 2001 04:30:21 +0000 (04:30 +0000)]
* as.c (parse_args): Print the date as well for --version.
Alan Modra [Tue, 23 Oct 2001 03:55:24 +0000 (03:55 +0000)]
* elflink.h (elf_link_input_bfd): Zero the reloc instead of doing
bfd_reloc_type_lookup (bfd, BFD_RELOC_NONE) as bfd_reloc_type_lookup
doesn't accept BFD_RELOC_* on some targets, eg. hppa.
* elf32-hppa.c (elf32_hppa_link_hash_entry): Remove plt_abs.
(hppa_link_hash_newfunc): Likewise.
(elf32_hppa_finish_dynamic_symbol): Likewise.
(allocate_dynrelocs): Always allocate .got relocs if shared.
(elf32_hppa_relocate_section): Output them too. Similarly
consolidate .plt reloc code, and no longer initialise .plt
when a reloc is output.
(elf32_hppa_finish_dynamic_symbol): Only initialise .plt entries
when no reloc is output.
From Herbert Xu <herbert@gondor.apana.org.au>
* elf32-hppa.c (final_link_relocate): Call bfd_set_error for
unreachable branches.