binutils-gdb.git
27 years agoAllow --target=tic80 without the -coff
Michael Meissner [Tue, 4 Mar 1997 22:24:00 +0000 (22:24 +0000)]
Allow --target=tic80 without the -coff

27 years agoCorrect sparclet sanitize errors.
Jim Wilson [Tue, 4 Mar 1997 02:28:23 +0000 (02:28 +0000)]
Correct sparclet sanitize errors.

27 years ago * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
Bob Manson [Tue, 4 Mar 1997 00:49:59 +0000 (00:49 +0000)]
* gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
refer to gdb_spawn_id.

* config/m32r-stub.exp: Remove references to gdb_spawn_id, no
longer used.
* config/sparclet.exp: Ditto.
* config/sparclet-old.exp: Ditto.
* config/slite.exp: Ditto.
* config/sim.exp: Ditto.
* gdb.base/funcargs.exp: Ditto.

* lib/gdb.exp:Remove references to gdb_spawn_id.
(gdb_expect): Move to remote.exp.

27 years ago(elf_link_add_object_symbols): Use correct sh_size
Ulrich Drepper [Mon, 3 Mar 1997 21:32:39 +0000 (21:32 +0000)]
(elf_link_add_object_symbols): Use correct sh_size
entry for reading verdef records.
Use correct braces for computing increments of extverdaux and
exteverdef record pointers.

27 years ago * defs.h (LONGEST): Move #ifndef LONGEST to outside.
David Edelsohn [Mon, 3 Mar 1997 20:29:39 +0000 (20:29 +0000)]
* defs.h (LONGEST): Move #ifndef LONGEST to outside.
Try BFD_HOST_64_BIT if ! CC_HAS_LONG_LONG.

27 years ago * configure.in: Add mn10200 configure lines accidentally
Jeff Law [Mon, 3 Mar 1997 20:08:19 +0000 (20:08 +0000)]
    * configure.in: Add mn10200 configure lines accidentally
        removed.
        * configure: Regenerated.
Opps.

27 years ago * gas/tic80/{add.d, float.d, regops2.d, relocs1.d, relocs1b.d,
Fred Fish [Mon, 3 Mar 1997 18:41:28 +0000 (18:41 +0000)]
* gas/tic80/{add.d, float.d, regops2.d, relocs1.d, relocs1b.d,
relocs2.d, relocs2b.d}: Adjust to objdump format tweaks.

27 years ago* m68k-opc.c (m68k_opcodes): Added entries for the tst insns on
J.T. Conklin [Mon, 3 Mar 1997 15:49:49 +0000 (15:49 +0000)]
* m68k-opc.c (m68k_opcodes): Added entries for the tst insns on
the mc68000.

27 years ago * coff-tic80.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Set this to 2
Fred Fish [Mon, 3 Mar 1997 05:51:52 +0000 (05:51 +0000)]
* coff-tic80.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Set this to 2
instead of 4.

27 years ago* configure.in (noconfigdirs): Disable target-newlib,
Andrew Cagney [Mon, 3 Mar 1997 03:44:48 +0000 (03:44 +0000)]
* configure.in (noconfigdirs): Disable target-newlib,
target-examples and target-libiberty for d30v.

27 years agoDelete obsolete rce sanitization.
Jim Wilson [Mon, 3 Mar 1997 00:55:03 +0000 (00:55 +0000)]
Delete obsolete rce sanitization.

27 years agoCorrect d10v sanitization errors.
Jim Wilson [Mon, 3 Mar 1997 00:46:11 +0000 (00:46 +0000)]
Correct d10v sanitization errors.

27 years agoCorrect d10v sanitization errors.
Jim Wilson [Mon, 3 Mar 1997 00:35:40 +0000 (00:35 +0000)]
Correct d10v sanitization errors.

27 years ago * elflink.h (elf_link_find_version_dependencies): Check that
Ian Lance Taylor [Mon, 3 Mar 1997 00:27:52 +0000 (00:27 +0000)]
* elflink.h (elf_link_find_version_dependencies): Check that
DEF_REGULAR is not set as well as checking that DEF_DYNAMIC is
set.

27 years agoCorrect d10v sanitization errors.
Jim Wilson [Mon, 3 Mar 1997 00:22:35 +0000 (00:22 +0000)]
Correct d10v sanitization errors.

27 years ago * config/tc-mips.c (mips16_extended_frag): Don't assume that we
Ian Lance Taylor [Sat, 1 Mar 1997 06:10:58 +0000 (06:10 +0000)]
* config/tc-mips.c (mips16_extended_frag): Don't assume that we
can rely on the frag address to determine whether a frag is
earlier or later.

27 years ago * config/monitor.exp: Detect the "Couldn't establish connection"
Bob Manson [Sat, 1 Mar 1997 04:50:01 +0000 (04:50 +0000)]
* config/monitor.exp: Detect the "Couldn't establish connection"
message from GDB.

one of many, presumably.

27 years ago * configure.in (tic80-*-*): Remove ld from noconfigdirs.
Fred Fish [Sat, 1 Mar 1997 01:21:31 +0000 (01:21 +0000)]
* configure.in (tic80-*-*): Remove ld from noconfigdirs.

27 years ago * coffcode.h (coff_set_flags): Add case for TIC80_ARCH_MAGIC.
Fred Fish [Fri, 28 Feb 1997 23:59:26 +0000 (23:59 +0000)]
* coffcode.h (coff_set_flags): Add case for TIC80_ARCH_MAGIC.

27 years ago * ldmain.c (main): Call bfd_set_default_target.
Ian Lance Taylor [Fri, 28 Feb 1997 22:43:35 +0000 (22:43 +0000)]
* ldmain.c (main): Call bfd_set_default_target.
* Makefile.in (ldmain.o): Define TARGET when compiling.

27 years ago * targets.c (bfd_default_vector): Make non-const.
Ian Lance Taylor [Fri, 28 Feb 1997 22:16:45 +0000 (22:16 +0000)]
* targets.c (bfd_default_vector): Make non-const.
(find_target): New static function, broken out of
bfd_find_target.
(bfd_set_default_target): New function.
(bfd_find_target): Call find_target.  When defaulting, use
bfd_default_vector[0] if it is not NULL.
* libbfd-in.h (bfd_default_vector): Adjust declaration.
* bfd-in2.h, libbfd.h: Rebuild.

27 years ago * syms.c (bfd_is_local_label): Return false if the symbol has no
Ian Lance Taylor [Fri, 28 Feb 1997 20:10:49 +0000 (20:10 +0000)]
* syms.c (bfd_is_local_label): Return false if the symbol has no
name.
* coff-i960.c (coff_i960_is_local_label_name): New function.
(coff_bfd_is_local_label_name): Define.
* coff-m68k.c (m68k_coff_is_local_label_name): New function.
(coff_bfd_is_local_label_name): Define.
* coff-rs6000.c (xcoff_is_local_label_name): New function.
(coff_bfd_is_local_label_name): Define.
* elf.c (_bfd_elf_is_local_label_name): Treat symbols beginning
with .. or _.L_ as local.
* elf32-i386.c (elf_i386_is_local_label_name): New function.
(bfd_elf32_bfd_is_local_label_name): Define.
* evax-alpha.c (evax_bfd_is_local_label_name): Treat symbols
beginning with $ as local.

27 years ago * write.h (LOCAL_LABEL): Only define if not BFD_ASSEMBLER.
Ian Lance Taylor [Fri, 28 Feb 1997 20:04:39 +0000 (20:04 +0000)]
* write.h (LOCAL_LABEL): Only define if not BFD_ASSEMBLER.
(S_LOCAL_NAME): Likewise.
(FAKE_LABEL_NAME): Define unconditionally.
* symbols.c (colon): Call bfd_is_local_label, not LOCAL_LABEL, if
BFD_ASSEMBLER.
(S_IS_LOCAL): Call bfd_is_local_label_name, not LOCAL_LABEL.
* config/tc-*.h: Only define LOCAL_LABEL if not BFD_ASSEMBLER.
Don't define FAKE_LABEL_NAME.
* config/te-ic960.h: Likewise.
* config/tc-mips.h (tc_frob_file_before_adjust): Define.
(mips_frob_file_before_adjust): Declare.
* config/tc-mips.c (mips_frob_file_before_adjust): New function.
(mips_local_label): Remove.

27 years ago * config/te-sco386.h: Remove; not used.
Ian Lance Taylor [Fri, 28 Feb 1997 19:42:04 +0000 (19:42 +0000)]
* config/te-sco386.h: Remove; not used.

27 years ago * emultempl/m88kbcs.em: Remove.
Ian Lance Taylor [Fri, 28 Feb 1997 04:17:50 +0000 (04:17 +0000)]
* emultempl/m88kbcs.em: Remove.
* emulparams/m88kbcs.sh (TEMPLATE_NAME): Don't set.
* Makefile.in (em88kbcs.c): Depend upon generic.em rather than
m88kbcs.em.

27 years ago * ldmain.c (main): Don't initialize link_info.lprefix or
Ian Lance Taylor [Fri, 28 Feb 1997 04:17:02 +0000 (04:17 +0000)]
* ldmain.c (main): Don't initialize link_info.lprefix or
link_info.lprefix_len.
* emultempl/hppaelf.em (hppaelf_before_parse): Likewise.

27 years ago * aoutx.h (aout_link_write_symbols): Use bfd_is_local_label_name
Ian Lance Taylor [Fri, 28 Feb 1997 04:12:07 +0000 (04:12 +0000)]
* aoutx.h (aout_link_write_symbols): Use bfd_is_local_label_name
rather than comparing against info->lprefix.
* cofflink.c (_bfd_coff_link_input_bfd): Likewise.
* elflink.h (elf_link_input_bfd): Likewise.
* linker.c (_bfd_generic_link_output_symbols): Likewise.
* xcofflink.c (xcoff_link_input_bfd): Likewise.

27 years ago * elfxx-target.h (bfd_elfNN_bfd_is_local_label_name): Define as
Ian Lance Taylor [Fri, 28 Feb 1997 04:11:09 +0000 (04:11 +0000)]
* elfxx-target.h (bfd_elfNN_bfd_is_local_label_name): Define as
_bfd_elf_is_local_label_name if not already defined.
* elf.c (_bfd_elf_is_local_label_name): New function.
* elf-bfd.h (_bfd_elf_is_local_label_name): Declare.

27 years ago * coffcode.h (coff_bfd_is_local_label_name): Define as
Ian Lance Taylor [Fri, 28 Feb 1997 04:10:14 +0000 (04:10 +0000)]
* coffcode.h (coff_bfd_is_local_label_name): Define as
_bfd_coff_is_local_label_name if not already defined.
* coffgen.c (_bfd_coff_is_local_label_name): New function.
* libcoff-in.h (_bfd_coff_is_local_label_name): Declare.
* libcoff.h: Rebuild.

27 years ago * mips-tdep.c (IS_MIPS16_ADDR, MAKE_MIPS16_ADDR, UNMAKE_MIPS16_ADDR):
Mark Alexander [Fri, 28 Feb 1997 03:00:51 +0000 (03:00 +0000)]
* mips-tdep.c (IS_MIPS16_ADDR, MAKE_MIPS16_ADDR, UNMAKE_MIPS16_ADDR):
New macros for testing, setting, and clearing bit 0 of addresses.
Change numerous bits of code where bit 0 was being manipulated
to use these macros.

27 years ago * targets.c (BFD_JUMP_TABLE_SYMBOLS): Change _bfd_is_local_label
Ian Lance Taylor [Fri, 28 Feb 1997 02:07:54 +0000 (02:07 +0000)]
* targets.c (BFD_JUMP_TABLE_SYMBOLS): Change _bfd_is_local_label
to _bfd_is_local_label_name.
(bfd_target): Likewise.
* syms.c (bfd_is_local_label): Define as function, not macro.
(bfd_is_local_name): Define.
* libbfd.c (bfd_generic_is_local_label_name): Rename from
bfd_generic_is_local_label, and take a string rather than a
symbol.
* libbfd-in.h (_bfd_nosymbols_bfd_is_local_label): Don't define.
(_bfd_nosymbols_bfd_is_local_label_name): Define.
  (bfd_generic_is_local_label): Don't declare.
(bfd_generic_is_local_label_name): Declare.
* bfd-in2.h, libbfd.h: Rebuild.
* All backends: Change local_label to local_label_name.

27 years ago * elf32-mips.c (struct mips_got_info): Add assigned_gotno field.
Ian Lance Taylor [Thu, 27 Feb 1997 23:38:19 +0000 (23:38 +0000)]
* elf32-mips.c (struct mips_got_info): Add assigned_gotno field.
(mips_elf_relocate_got_local): Change return type to boolean.
Don't assume that the first zero entry is unassigned; instead, use
assigned_gotno.
(mips_elf_relocate_section): Check return value of
mips_elf_relocate_got_local.
(mips_elf_create_got_section): Initialize assigned_gotno field.

27 years agoremove d10v sanitization
Ian Lance Taylor [Thu, 27 Feb 1997 23:34:14 +0000 (23:34 +0000)]
remove d10v sanitization

27 years ago * config/tc-tic80 (md_pseudo_table): Add align pseudo op to do
Fred Fish [Thu, 27 Feb 1997 22:55:12 +0000 (22:55 +0000)]
* config/tc-tic80 (md_pseudo_table): Add align pseudo op to do
byte alignment rather than power-of-two alignment that is the
GAS default.

27 years ago * stabs.texinfo (String Field): Document type number pairs here,
Ian Lance Taylor [Thu, 27 Feb 1997 22:48:47 +0000 (22:48 +0000)]
* stabs.texinfo (String Field): Document type number pairs here,
instead of in the Sun specific section.
(Include Files): The GNU linker supports the N_BINCL
optimization.  Clarify the N_BINCL value, and what it is used
for.
(Procedures): Document N_FUN with an empty string to mark the end
of a function.
(Typedefs): Mention that Sun compilers may use N_GSYM for a type.
(Sun Differences): Remove this node, as the information is now
elsewhere in the main document.
(Stab Section Basics): Mention that the GNU linker may optimize
stabs and remove the leading N_UNDF symbol.

27 years ago * gas/tic80/{align.d, align.lst, align.s} New test for the
Fred Fish [Thu, 27 Feb 1997 22:29:33 +0000 (22:29 +0000)]
* gas/tic80/{align.d, align.lst, align.s} New test for the
".align" pseudop.
* gas/tic80/tic80.exp: Run the align test.

27 years ago * remote-mips.c: Put back the form feeds.
Mark Alexander [Thu, 27 Feb 1997 22:14:22 +0000 (22:14 +0000)]
* remote-mips.c: Put back the form feeds.

27 years ago * remote-mips.c: Remove form feeds (^L) from source.
Mark Alexander [Thu, 27 Feb 1997 21:45:29 +0000 (21:45 +0000)]
* remote-mips.c: Remove form feeds (^L) from source.
(mips_initialize): LSI PMON doesn't support 'set regsize' command.
(pmon_wait): Don't need to exit and re-enter debug mode on LSI
PMON after a continue; it causes target program misbehavior.
(mips_fetch_register): Don't fetch unsupported registers; this
cuts down on wasted serial traffic.

27 years ago* Makefile.in (GAS_SUPPORT_DIRS, BINUTILS_SUPPORT_DIRS): Remove make-all.com, use...
Ken Raeburn [Thu, 27 Feb 1997 20:02:24 +0000 (20:02 +0000)]
* Makefile.in (GAS_SUPPORT_DIRS, BINUTILS_SUPPORT_DIRS): Remove make-all.com, use makefile.vms instead.

27 years ago * config/tc-m68k.c (md_assemble): Handle a reloc width of 'W'.n
Ian Lance Taylor [Thu, 27 Feb 1997 19:57:10 +0000 (19:57 +0000)]
* config/tc-m68k.c (md_assemble): Handle a reloc width of 'W'.n

27 years agoThu Feb 27 14:04:32 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
Ian Lance Taylor [Thu, 27 Feb 1997 19:06:15 +0000 (19:06 +0000)]
Thu Feb 27 14:04:32 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>

* m68k-opc.c (m68k_opcodes): Added swbegl pseudo-instruction.

27 years agofix random missing Sanitize bits
Angela Marie Thomas [Thu, 27 Feb 1997 18:59:07 +0000 (18:59 +0000)]
fix random missing Sanitize bits

27 years agoUse change-log-mode, not indented-text-mode
Michael Meissner [Thu, 27 Feb 1997 18:45:17 +0000 (18:45 +0000)]
Use change-log-mode, not indented-text-mode

27 years ago * gasp.c (hash_add_to_string_table): Correct misspelling in error
Ian Lance Taylor [Thu, 27 Feb 1997 18:30:47 +0000 (18:30 +0000)]
* gasp.c (hash_add_to_string_table): Correct misspelling in error
message, and add newline.
(process_file): Don't process assignments in the label if this is
a equ or assign pseudo-op.
(process_pseudo_op): Swap first argument to do_assign for K_ASSIGN
and K_EQU, to match documentation.

27 years ago * configure.in configure (HPUX/OSF thread support): Enable this
Stu Grossman [Thu, 27 Feb 1997 18:09:22 +0000 (18:09 +0000)]
* configure.in configure (HPUX/OSF thread support):  Enable this
only when running GCC, since HP's thread header files use ANSI C
which is not supported by their default compiler.

27 years ago * configure.in: Define BSD44_FORMAT if the target looks like a
Ian Lance Taylor [Thu, 27 Feb 1997 17:49:00 +0000 (17:49 +0000)]
* configure.in: Define BSD44_FORMAT if the target looks like a
BSD4.4 derived system.
* configure: Rebuild.
* Makefile.in (.c.o): Add @DEFS@.
* gmon_io.c (gmon_out_read): In BSD44_FORMAT code, get profrate
from profrate field, not version field.

27 years agocomment change
Ian Lance Taylor [Thu, 27 Feb 1997 17:48:16 +0000 (17:48 +0000)]
comment change

27 years ago * configure.host (i[3456]86-*-windows): Disable long long
Stu Grossman [Thu, 27 Feb 1997 17:46:18 +0000 (17:46 +0000)]
* configure.host (i[3456]86-*-windows):  Disable long long
support for WinGDB.  Add mswin to configdirs.
* configure.in configure:  Move calls to configure.host and
configure.tgt to the top of configure.in to allow them to set
config variables before they are referenced.

27 years agoFIxing Sanitize problems found by Marilyn.
Jeff Law [Thu, 27 Feb 1997 17:05:25 +0000 (17:05 +0000)]
FIxing Sanitize problems found by Marilyn.

27 years agoFixing Sanitize errors found by Marilyn.
Jeff Law [Thu, 27 Feb 1997 17:03:43 +0000 (17:03 +0000)]
Fixing Sanitize errors found by Marilyn.

27 years agoAdd "r" section attribute to denote read-only sections
Michael Meissner [Thu, 27 Feb 1997 17:01:21 +0000 (17:01 +0000)]
Add "r" section attribute to denote read-only sections

27 years ago * mri.c (mri_draw_tree): Pass noload_section, not SEC_NEVER_LOAD,
Ian Lance Taylor [Thu, 27 Feb 1997 16:42:56 +0000 (16:42 +0000)]
* mri.c (mri_draw_tree): Pass noload_section, not SEC_NEVER_LOAD,
to lang_enter_output_section_statement.  From Mark Rasin
<mark.rasin@telrad.co.il>.

27 years agoDeal with 64 bit instruction sizes on the tic80
Michael Meissner [Thu, 27 Feb 1997 16:37:37 +0000 (16:37 +0000)]
Deal with 64 bit instruction sizes on the tic80

27 years agooops... always keep d10v stuff
Angela Marie Thomas [Thu, 27 Feb 1997 08:18:39 +0000 (08:18 +0000)]
oops... always keep d10v stuff

27 years agoonly keep d10velf.sh for keep-d10v
Angela Marie Thomas [Thu, 27 Feb 1997 08:15:42 +0000 (08:15 +0000)]
only keep d10velf.sh for keep-d10v

27 years agoadd sim-basics.h sim-config.h sim-inline.c to Things-to-keep
Angela Marie Thomas [Thu, 27 Feb 1997 08:11:38 +0000 (08:11 +0000)]
add sim-basics.h sim-config.h sim-inline.c to Things-to-keep

27 years ago * config/obj-elf.c (obj_elf_common): Set BSF_OBJECT in flags.
Ian Lance Taylor [Thu, 27 Feb 1997 06:31:12 +0000 (06:31 +0000)]
* config/obj-elf.c (obj_elf_common): Set BSF_OBJECT in flags.
* config/tc-sparc.c (s_common): Likewise, if BFD_ASSEMBLER.

27 years ago * expr.c (operand): Simplify 0b handling. Don't treat 0b as a
Ian Lance Taylor [Thu, 27 Feb 1997 05:28:17 +0000 (05:28 +0000)]
* expr.c (operand): Simplify 0b handling.  Don't treat 0b as a
binary number if the next character is '+' or '-'.

27 years ago * config/tc-tic80.c (FLT_CHARS): Change from "dD" to "fF".
Fred Fish [Thu, 27 Feb 1997 04:05:18 +0000 (04:05 +0000)]
* config/tc-tic80.c (FLT_CHARS): Change from "dD" to "fF".
(find_opcode): Match operands that can be floats.
(build_insn): Handle O_big (float) expressions and build
correct opcode.

27 years ago * gas/tic80/{float.d, float.lst, float.s}: New tests for
Fred Fish [Thu, 27 Feb 1997 03:39:10 +0000 (03:39 +0000)]
* gas/tic80/{float.d, float.lst, float.s}: New tests for
simple floating point operands.
* gas/tic80/tic80.exp: Run the float test.

27 years agoalways keep te-lnews.h
Stan Shebs [Thu, 27 Feb 1997 02:42:38 +0000 (02:42 +0000)]
always keep te-lnews.h

27 years ago * configure.in (mips*-*-lnews*): New target, also make empty
Stan Shebs [Thu, 27 Feb 1997 02:40:44 +0000 (02:40 +0000)]
* configure.in (mips*-*-lnews*): New target, also make empty
emulation list for this target.
* configure: Update.
* tc-mips.c (ECOFF_LITTLE_FORMAT): Define.
(mips_target_format): Use.
* te-lnews.h: New file.

27 years agoSanitize out D30V stuff.
Martin Hunt [Thu, 27 Feb 1997 01:55:05 +0000 (01:55 +0000)]
Sanitize out D30V stuff.

27 years agoSanitize out d30v stuff.
Martin Hunt [Thu, 27 Feb 1997 01:49:49 +0000 (01:49 +0000)]
Sanitize out d30v stuff.

27 years agoCorrect the overloaded DOUBLEWORD problem
Gavin Romig-Koch [Wed, 26 Feb 1997 23:49:19 +0000 (23:49 +0000)]
Correct the overloaded DOUBLEWORD problem

27 years agoWed Feb 26 15:19:51 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Wed, 26 Feb 1997 23:22:00 +0000 (23:22 +0000)]
Wed Feb 26 15:19:51 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>

* elf32-d30v.c (bfd_elf_d30v_reloc): Add code to do 32-bit
relocations.

27 years ago * targets.c (bfd_target_vector): Add ecoff_biglittle_vec.
Stan Shebs [Wed, 26 Feb 1997 23:07:19 +0000 (23:07 +0000)]
* targets.c (bfd_target_vector): Add ecoff_biglittle_vec.

27 years ago * config/tc-tic80.c (find_opcode, build_insn): Changes to match
Fred Fish [Wed, 26 Feb 1997 22:42:51 +0000 (22:42 +0000)]
* config/tc-tic80.c (find_opcode, build_insn): Changes to match
operands with :m or :s modifiers and generate the right opcodes
for them.

27 years agoalways keep mipslnews.sh
Stan Shebs [Wed, 26 Feb 1997 22:26:36 +0000 (22:26 +0000)]
always keep mipslnews.sh

27 years ago * gas/tic80/{regops2.d, regops2.lst, regops2.s, regops3.d,
Fred Fish [Wed, 26 Feb 1997 22:24:38 +0000 (22:24 +0000)]
* gas/tic80/{regops2.d, regops2.lst, regops2.s, regops3.d,
  regops3.lst, regops3.s, regops4.d, regops4.lst, regops4.s}:
New tests for :m and :s operand modifiers.
* gas/tic80/tic80.exp: Run the regops2, regops3, and regops4 tests.

27 years agoDefine r25
Michael Meissner [Wed, 26 Feb 1997 21:59:58 +0000 (21:59 +0000)]
Define r25

27 years agoWed Feb 26 13:38:30 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Wed, 26 Feb 1997 18:53:18 +0000 (18:53 +0000)]
Wed Feb 26 13:38:30 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* m68k-dis.c (NEXTSINGLE, NEXTDOUBLE, NEXTEXTEND): Use
floatformat_to_double to make portable.
(print_insn_arg): Use NEXTEXTEND macro when extracting extended
precision float.

27 years ago * elflink.h (elf_link_input_bfd): Don't skip symbols from sections
Ian Lance Taylor [Wed, 26 Feb 1997 18:35:56 +0000 (18:35 +0000)]
* elflink.h (elf_link_input_bfd): Don't skip symbols from sections
that have no contents merely because linker_mark is not set.

27 years ago * Makefile.in (itbl-parse.c itbl-parse.h): Use $(BISON) and
Ian Lance Taylor [Wed, 26 Feb 1997 16:57:38 +0000 (16:57 +0000)]
* Makefile.in (itbl-parse.c itbl-parse.h): Use $(BISON) and
$(BISONFLAGS), not $(YACC) and $(YACCFLAGS).

27 years ago * ldlang.c (lang_one_common): Clear SEC_IS_COMMON from common
Ian Lance Taylor [Wed, 26 Feb 1997 16:53:34 +0000 (16:53 +0000)]
* ldlang.c (lang_one_common): Clear SEC_IS_COMMON from common
section.
PR 11749.

27 years ago * configure.tgt (mips*-*-lnews*): New target.
Stan Shebs [Wed, 26 Feb 1997 04:41:48 +0000 (04:41 +0000)]
* configure.tgt (mips*-*-lnews*): New target.
* Makefile.in (emipslnews.c): New target.
* emulparams/mipslnews.sh: New file.

27 years ago Based on patches from Robert Lipe <robertl@dgii.com>:
Ian Lance Taylor [Wed, 26 Feb 1997 04:33:08 +0000 (04:33 +0000)]
Based on patches from Robert Lipe <robertl@dgii.com>:
* configure.in: Add i386coff and i386elf to emulation list.
* configure: Rebuild.
* as.c (i386coff, i386elf): Declare.
* obj.h (coff_format_ops): Declare.
* config/obj-coff.c (OBJ_HEADER): Define.
(coff_obj_symbol_new_hook): Rename from obj_symbol_new_hook.
(coff_obj_read_begin_hook): Rename from obj_read_begin_hook.
(obj_pseudo_table): Add "version".
(coff_pop_insert): New static function.
(coff_sec_sym_ok_for_reloc): New static function.
(no_func): New static function.
(coff_format_ops): New variable.
* config/obj-coff.h (coff_obj_symbol_new_hook): Declare.
(obj_symbol_new_hook): Define.
(coff_obj_read_begin_hook): Declare.
(obj_read_begin_hook): Define.
* config/tc-i386.h (i386_target_format): Declare.
* config/tc-i386.c: Check OBJ_MAYBE_ELF as well as OBJ_ELF; check
OUTPUT_FLAVOR when appropriate.
(i386_target_format): New function.
* Makefile.in (obj-coff.o): New target.
(e-i386coff.o, e-i386elf.o): New targets.

27 years ago * configure.tgt (mips*-*-lnews*): New target.
Stan Shebs [Wed, 26 Feb 1997 04:23:45 +0000 (04:23 +0000)]
* configure.tgt (mips*-*-lnews*): New target.

27 years agoTue Feb 25 22:02:23 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
Ian Lance Taylor [Wed, 26 Feb 1997 03:04:05 +0000 (03:04 +0000)]
Tue Feb 25 22:02:23 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>

* config/tc-m68k.c (instring): Useless local declaration of
crack_operand removed.
* expr.h (expressionS): Changed type of X_op field to operatorT if
__GNUC__.

27 years ago From Stephen Williams <steve@icarus.icarus.com>:
Ian Lance Taylor [Wed, 26 Feb 1997 02:55:31 +0000 (02:55 +0000)]
From Stephen Williams <steve@icarus.icarus.com>:
* config/tc-i960.h (TC_SYMFIELD_TYPE): Define if OBJ_COFF.
(_tc_get_bal_of_call): Don't declare.
(tc_get_bal_of_call): Declare as function, don't define as macro.
* config/tc-i960.c (tc_set_bal_of_call): If OBJ_COFF, store balP
in sy_tc field, not x_balntry field.
(tc_get_bal_of_call): Rename from _tc_get_bal_of_call.  Change
return type to symbolS *.  If OBJ_COFF, retrieve value from sy_tc
field, not x_balntry field.

27 years ago * objdump.c (adjust_section_vma): New static variable.
Ian Lance Taylor [Wed, 26 Feb 1997 02:30:31 +0000 (02:30 +0000)]
* objdump.c (adjust_section_vma): New static variable.
(usage): Mention --adjust-section-vma.
(OPTION_ADJUST_VMA): Define.
(long_options): Add "addjust-vma".
(display_bfd): If adjust_section_vma is not 0, add it to all the
section addresses.
(main): Handle OPTION_ADJUST_VMA.
* binutils.texi, objdump.1: Document --adjust-vma.

27 years ago * configure.in (host_libs): Build itcl after tcl, tk.
Tom Tromey [Tue, 25 Feb 1997 22:43:55 +0000 (22:43 +0000)]
* configure.in (host_libs): Build itcl after tcl, tk.

27 years ago * elf.c (elf_fake_sections): Use SHT_NOTE for any section whose
Ian Lance Taylor [Tue, 25 Feb 1997 21:07:13 +0000 (21:07 +0000)]
* elf.c (elf_fake_sections): Use SHT_NOTE for any section whose
name begins with ".note".
(map_sections_to_segments): Add a PT_NOTE segment for any loadable
section whose name begins with ".note".
(get_program_header_size): Corresponding change.

27 years agotweak for alignment
Ian Lance Taylor [Tue, 25 Feb 1997 19:47:05 +0000 (19:47 +0000)]
tweak for alignment

27 years ago * Makefile.in ($(OBJS)): Don't depend upon $(IT_HDRS).
Ian Lance Taylor [Tue, 25 Feb 1997 19:36:18 +0000 (19:36 +0000)]
* Makefile.in ($(OBJS)): Don't depend upon $(IT_HDRS).
(TARG_CPU_DEP_mips): Depend upon $(srcdir)/itbl-ops.h.
(itbl-lex.o): Depend upon itbl-parse.h.

* itbl-parse.y (yyerror): Change return type to int.  Change to
use old style function declaration.

27 years ago * Makefile.in (itbl-lex.o): Remove -Wall.
Ian Lance Taylor [Tue, 25 Feb 1997 19:28:05 +0000 (19:28 +0000)]
* Makefile.in (itbl-lex.o): Remove -Wall.
(itbl-parse.o): Likewise.

27 years ago * configure.in (host_libs): Added db, itcl.
Tom Tromey [Tue, 25 Feb 1997 19:04:34 +0000 (19:04 +0000)]
* configure.in (host_libs): Added db, itcl.
(host_tools): Added sn.
(noconfigdirs): Added itcl, db, sn in appropriate places.
(native_only): Added sn.

27 years ago * gas/macros/semi.s: Force the final alignment to use a fill value
Ian Lance Taylor [Tue, 25 Feb 1997 18:56:14 +0000 (18:56 +0000)]
* gas/macros/semi.s: Force the final alignment to use a fill value
of 0.

27 years ago * Makefile.in (all-db, all-sn): New targets.
Tom Tromey [Tue, 25 Feb 1997 18:48:00 +0000 (18:48 +0000)]
* Makefile.in (all-db, all-sn): New targets.
(ALL_MODULES): Added all-sn.
(CROSS_CHECK_MODULES): Added check-sn.
(INSTALL_MODULES): Added install-sn.
(CLEAN_MODULES): Added clean-sn.

27 years ago * gas/all/cond.s, gas/all/cond.d: New test.
Ian Lance Taylor [Tue, 25 Feb 1997 18:47:08 +0000 (18:47 +0000)]
* gas/all/cond.s, gas/all/cond.d: New test.
* gas/all/gas.exp: Run it.

27 years ago * cond.c (s_ifdef): If we should omit conditionals from listings,
Ian Lance Taylor [Tue, 25 Feb 1997 18:45:17 +0000 (18:45 +0000)]
* cond.c (s_ifdef): If we should omit conditionals from listings,
call listing_list.
(s_if, s_ifc, s_endif, s_else, s_ifeqs): Likewise.
* listing.c (list_info_struct): Add EDICT_NOLIST_NEXT.
(listing_listing): Handle EDICT_NOLIST_NEXT.
(listing_list): An argument of 2 means EDICT_NOLIST_NEXT.
* listing.h (LISTING_NOCOND): Define.
(LISTING_SKIP_COND): Define.
* as.c (show_usage): Mention c as a suboption of -a.
(parse_args): Handle c as a suboption of -a.
* doc/as.texinfo: Document -alc.

27 years agostart-sanitize-r5900
Dawn Perchik [Tue, 25 Feb 1997 07:04:39 +0000 (07:04 +0000)]
start-sanitize-r5900
* gencode.c: #ifdef out offending code until a permanent fix
can be added.  Code is causing build errors for non-5900 mips targets.
end-sanitize-r5900

27 years ago * config/tc-tic80.c (md_apply_fix): Handle R_ABS type fixups.
Fred Fish [Tue, 25 Feb 1997 06:37:51 +0000 (06:37 +0000)]
* config/tc-tic80.c (md_apply_fix): Handle R_ABS type fixups.
(fixes several failures in generic part of GAS testsuite)

27 years ago * elf32-mips.c (mips_elf_relocate_section): Check for misaligned
Ian Lance Taylor [Tue, 25 Feb 1997 05:33:28 +0000 (05:33 +0000)]
* elf32-mips.c (mips_elf_relocate_section): Check for misaligned
jal and for jal overflow.

27 years agoCorrect some badly formatted entrys
Gavin Romig-Koch [Tue, 25 Feb 1997 04:14:12 +0000 (04:14 +0000)]
Correct some badly formatted entrys

27 years agoUse idt.ld rather than ddt.ld
Gavin Romig-Koch [Tue, 25 Feb 1997 03:46:37 +0000 (03:46 +0000)]
Use idt.ld rather than ddt.ld

27 years ago * mn10200-tdep.c (mn10200_analyze_prologue): Don't fix fi->frame
Jeff Law [Mon, 24 Feb 1997 23:38:31 +0000 (23:38 +0000)]
    * mn10200-tdep.c (mn10200_analyze_prologue): Don't fix fi->frame
        if we're not the innermost frame.  Fix minor typos.
So debugging without frame pointers works.

27 years ago From Eric Youngdale <eric@andante.jic.com>:
Ian Lance Taylor [Mon, 24 Feb 1997 23:23:31 +0000 (23:23 +0000)]
From Eric Youngdale <eric@andante.jic.com>:
* ldlex.l (V_TAG, V_IDENTIFIER): New macros.
(VERS_START, VERS_SCRIPT, VERS_NODE): New states to parse version
information.
(ldlex_version_script, ldlex_version_file): New functions.
* ldlex.h (enum input_enum): Add input_version_script.
(ldlex_version_script): Declare.
(ldlex_version_file): Declare.
* ldgram.y (%union): Add deflist, versyms, and versnode.
(VERS_TAG, VERS_IDENTIFIER): New terminals.
(GLOBAL, LOCAL, VERSION, INPUT_VERSION_SCRIPT): New terminals.
(file): Accept INPUT_VERSION_SCRIPT.
(ifile_p1): Accept version.
(version_script_file): New nonterminal.
(version, vers_nodes, vers_node): Likewise.
(verdep, vers_tag, ver_defns): Likewise.
* ldlang.c (lang_elf_version_info): New global variable.
(lang_new_vers_regex): New function.
(lang_new_vers_node): New function.
(version_index): New static variable.
(lang_register_vers_node): New function.
(lang_add_vers_depend): New function.
* ldlang.h (lang_elf_version_info): Declare.
(lang_new_vers_regex, lang_new_vers_node): Declare.
(lang_add_vers_depend, lang_register_vers_node): Declare.
* lexsup.c (OPTION_VERSION_SCRIPT): Define.
(ld_options): Add "version-script".
(parse_args): Handle OPTION_VERSION_SCRIPT.
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
Pass lang_elf_version_info to size_dynamic_sections.
* scripttempl/elf.sc: Add .gnu.version sections.

27 years agoMon Feb 24 15:19:57 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Mon, 24 Feb 1997 23:22:13 +0000 (23:22 +0000)]
Mon Feb 24 15:19:57 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>

* config/tc-d10v.c: Change pre_defined_registers to
d10v_predefined_registers and reg_name_cnt to d10v_reg_name_cnt.

27 years ago From Eric Youngdale <eric@andante.jic.com>:
Ian Lance Taylor [Mon, 24 Feb 1997 23:13:07 +0000 (23:13 +0000)]
From Eric Youngdale <eric@andante.jic.com>:
* elflink.h (elf_link_add_archive_symbols): If a default symbol is
not found, try looking it up again without the version name.
(elf_link_add_object_symbols): Always link against the dynamic
symbol table of a dynamic object.  When linking against a dynamic
object, include version strings in symbol names, and set up
version information.  Add indirect symbols for default versions.
(elf_link_create_dynamic_sections): Add special version sections.
(struct elf_assign_sym_version_info): Define.
(struct elf_find_verdep_info): Define.
(NAME(bfd_elf,size_dynamic_sections)): Add verdefs parameter.  Set
up version sections.
(elf_adjust_dynamic_symbol): Ignore indirect symbols.
(elf_link_find_version_dependencies): New static function.
(elf_link_assign_sym_version): New static function.
(elf_link_renumber_dynsyms): New static function.
(struct elf_final_link_info): Add symver_sec field.
(elf_bfd_final_link): Initialize finfo.symver_sec.  Don't count
local symbols of a dynamic object.  Handle DT_VER* constants.
(elf_link_output_extsym): Simplify BFD_ASSERT checking for a
dynamic object.  Skip indirect symbols from ELF objects.  Remove
the version name before choosing a hash bucket.  Write out the
version information if appropriate.
(elf_link_input_bfd): Check for DYNAMIC, not ET_DYN.
* bfd-in.h (bfd_elf32_size_dynamic_sections): Update declaration.
(bfd_elf64_size_dynamic_sections): Likewise.
* bfd-in2.h: Rebuild.
* elf-bfd.h (struct elf_link_hash_entry): Add verinfo field.
Change elf_link_hash_flags to unsigned short.
(ELF_LINK_HIDDEN): Define.
(struct elf_obj_tdata): Add fields dynversym_hdr, dynverref_hdr,
dynverdef_hdr, dynversym_section, dynverdef_section,
dynverref_section, cverdefs, cverrefs, verdef, verref.
(elf_dynversym, elf_dynverdef, elf_dynverref): Define.
(_bfd_elf_swap_verdef_in, _bfd_elf_swap_verdef_out): Declare.
(_bfd_elf_swap_verdaux_in, _bfd_elf_swap_verdaux_out): Declare.
(_bfd_elf_swap_verneed_in, _bfd_elf_swap_verneed_out): Declare.
(_bfd_elf_swap_vernaux_in, _bfd_elf_swap_vernaux_out): Declare.
(_bfd_elf_swap_versym_in, _bfd_elf_swap_versym_out): Declare.
(_bfd_elf_slurp_version_tables): Declare.
* elf.c (_bfd_elf_swap_verdef_in): New function.
(_bfd_elf_swap_verdef_out): Likewise.
(_bfd_elf_swap_verdaux_in, _bfd_elf_swap_verdaux_out): Likewise.
(_bfd_elf_swap_verneed_in, _bfd_elf_swap_verneed_out): Likewise.
(_bfd_elf_swap_vernaux_in, _bfd_elf_swap_vernaux_out): Likewise.
(_bfd_elf_swap_versym_in, _bfd_elf_swap_versym_out): Likewise.
(_bfd_elf_print_private_bfd_data): Add DT_VER* constants.  Print
version information if there is any.
(_bfd_elf_link_hash_newfunc): Initialize verinfo field.
(bfd_section_from_shdr): Handle SHT_GNU_ver* section types.
(elf_fake_sections): Handle .gnu.version* section names.
(assign_section_numbers): Handle SHT_GNU_ver* section types.
(_bfd_elf_slurp_version_tables): New function.
* elflink.c (_bfd_elf_link_record_dynamic_symbol): Don't include
version name in string entered in dynamic hash table.
* elfcode.h: Include fnmatch.h.
* elf32-i386.c (elf_i386_relocate_section): Handle a dynamic
symbol which was forced to become local.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise.