David Edelsohn
da1714618a
* elf32-m32r.c (m32r_elf_do_10_pcrel_reloc): Fix overflow calc.
...
(m32r_elf_relax_section, m32r_elf_relax_delete_bytes,
m32r_elf_get_relocated_section_contents): First pass at relax support.
1997-03-05 22:13:46 +00:00
Jeff Law
43eb4bed50
* simops.c: Fix register references when computing Z and N bits
...
for lsr imm8,dn.
Bug exposed by c-torture testing of the mn10300.
1997-03-05 22:04:31 +00:00
Martin Hunt
f9896d9edc
Wed Mar 5 12:09:29 1997 Martin <hunt@cygnus.com>
...
* configure.in (noconfigdirs): Remove tcl and tk from
noconfigdirs for cygwin32 builds.
1997-03-05 20:18:43 +00:00
Jeff Law
a76daba13d
* gas/all/gas.exp: xfail a couple tests for the mn10300.
1997-03-05 20:02:27 +00:00
Jeff Law
fc5c75955b
* mn10200-tdep.c (mn10200_push_arguments): Handle new calling
...
conventions.
(mn10200_store_struct_return): Likewise.
1997-03-05 20:01:04 +00:00
Fred Fish
1ea5264653
* config/tc-tic80.c (md_pseudo_table): Add "sect" and "section"
...
pseudo-ops.
1997-03-05 06:18:28 +00:00
Fred Fish
e74539b876
* config/tc-tic80.c (md_begin): Declare external variable
...
coff_flags and insert an F_AR32WR bit into it.
1997-03-05 02:35:36 +00:00
Michael Meissner
81fb245da1
Allow --target=tic80 without the -coff
1997-03-04 22:24:00 +00:00
Jim Wilson
86d013f70a
Correct sparclet sanitize errors.
1997-03-04 02:28:23 +00:00
Bob Manson
d1e47b8e06
* 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.
1997-03-04 00:49:59 +00:00
Ulrich Drepper
d2f0374f23
(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.
1997-03-03 21:32:39 +00:00
David Edelsohn
ba5b9ebadd
* defs.h (LONGEST): Move #ifndef LONGEST to outside.
...
Try BFD_HOST_64_BIT if ! CC_HAS_LONG_LONG.
1997-03-03 20:29:39 +00:00
Jeff Law
3788a2b12f
* configure.in: Add mn10200 configure lines accidentally
...
removed.
* configure: Regenerated.
Opps.
1997-03-03 20:08:19 +00:00
Fred Fish
64c21d14eb
* gas/tic80/{add.d, float.d, regops2.d, relocs1.d, relocs1b.d,
...
relocs2.d, relocs2b.d}: Adjust to objdump format tweaks.
1997-03-03 18:41:28 +00:00
J.T. Conklin
c5e5b13f9b
* m68k-opc.c (m68k_opcodes): Added entries for the tst insns on
...
the mc68000.
1997-03-03 15:49:49 +00:00
Fred Fish
4b4ac3aec2
* coff-tic80.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Set this to 2
...
instead of 4.
1997-03-03 05:51:52 +00:00
Andrew Cagney
16a1b42c20
* configure.in (noconfigdirs): Disable target-newlib,
...
target-examples and target-libiberty for d30v.
1997-03-03 03:44:48 +00:00
Jim Wilson
a09e649c51
Delete obsolete rce sanitization.
1997-03-03 00:55:03 +00:00
Jim Wilson
22540e2d50
Correct d10v sanitization errors.
1997-03-03 00:46:11 +00:00
Jim Wilson
a3c5b9a4a1
Correct d10v sanitization errors.
1997-03-03 00:35:40 +00:00
Ian Lance Taylor
a48ef404c7
* elflink.h (elf_link_find_version_dependencies): Check that
...
DEF_REGULAR is not set as well as checking that DEF_DYNAMIC is
set.
1997-03-03 00:27:52 +00:00
Jim Wilson
54d26e151e
Correct d10v sanitization errors.
1997-03-03 00:22:35 +00:00
Ian Lance Taylor
a941619c0b
* 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.
1997-03-01 06:10:58 +00:00
Bob Manson
847e232af6
* config/monitor.exp: Detect the "Couldn't establish connection"
...
message from GDB.
one of many, presumably.
1997-03-01 04:50:01 +00:00
Fred Fish
066cc4a5b0
* configure.in (tic80-*-*): Remove ld from noconfigdirs.
1997-03-01 01:21:31 +00:00
Fred Fish
84fd6e7ed2
* coffcode.h (coff_set_flags): Add case for TIC80_ARCH_MAGIC.
1997-02-28 23:59:26 +00:00
Ian Lance Taylor
22f9f902d9
* ldmain.c (main): Call bfd_set_default_target.
...
* Makefile.in (ldmain.o): Define TARGET when compiling.
1997-02-28 22:43:35 +00:00
Ian Lance Taylor
73769e1f01
* 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.
1997-02-28 22:16:45 +00:00
Ian Lance Taylor
af4dffffc8
* 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.
1997-02-28 20:10:49 +00:00
Ian Lance Taylor
2360492176
* 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.
1997-02-28 20:04:39 +00:00
Ian Lance Taylor
e691320ea4
* config/te-sco386.h: Remove; not used.
1997-02-28 19:42:04 +00:00
Ian Lance Taylor
9ae9e58254
* emultempl/m88kbcs.em: Remove.
...
* emulparams/m88kbcs.sh (TEMPLATE_NAME): Don't set.
* Makefile.in (em88kbcs.c): Depend upon generic.em rather than
m88kbcs.em.
1997-02-28 04:17:50 +00:00
Ian Lance Taylor
45408cd787
* ldmain.c (main): Don't initialize link_info.lprefix or
...
link_info.lprefix_len.
* emultempl/hppaelf.em (hppaelf_before_parse): Likewise.
1997-02-28 04:17:02 +00:00
Ian Lance Taylor
e316f51498
* 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.
1997-02-28 04:12:07 +00:00
Ian Lance Taylor
a66a61a0a2
* 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.
1997-02-28 04:11:09 +00:00
Ian Lance Taylor
551f302cc8
* 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.
1997-02-28 04:10:14 +00:00
Mark Alexander
c1fc093571
* 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.
1997-02-28 03:00:51 +00:00
Ian Lance Taylor
35a3e78edb
* 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.
1997-02-28 02:07:54 +00:00
Ian Lance Taylor
85d6f0b476
* 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.
1997-02-27 23:38:19 +00:00
Ian Lance Taylor
8a683c6720
remove d10v sanitization
1997-02-27 23:34:14 +00:00
Fred Fish
a88ce21e33
* 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.
1997-02-27 22:55:12 +00:00
Ian Lance Taylor
b434a5b9d3
* 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.
1997-02-27 22:48:47 +00:00
Fred Fish
99cd62ed9c
* gas/tic80/{align.d, align.lst, align.s} New test for the
...
".align" pseudop.
* gas/tic80/tic80.exp: Run the align test.
1997-02-27 22:29:33 +00:00
Mark Alexander
d6ca85a8ca
* remote-mips.c: Put back the form feeds.
1997-02-27 22:14:22 +00:00
Mark Alexander
266454ca50
* 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.
1997-02-27 21:45:29 +00:00
Ken Raeburn
aeae2146e3
* Makefile.in (GAS_SUPPORT_DIRS, BINUTILS_SUPPORT_DIRS): Remove make-all.com, use makefile.vms instead.
1997-02-27 20:02:24 +00:00
Ian Lance Taylor
f396c4ef4c
* config/tc-m68k.c (md_assemble): Handle a reloc width of 'W'.n
1997-02-27 19:57:10 +00:00
Ian Lance Taylor
0270516b96
Thu Feb 27 14:04:32 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
...
* m68k-opc.c (m68k_opcodes): Added swbegl pseudo-instruction.
1997-02-27 19:06:15 +00:00
Angela Marie Thomas
54d5e0fb22
fix random missing Sanitize bits
1997-02-27 18:59:07 +00:00
Michael Meissner
b185d567f5
Use change-log-mode, not indented-text-mode
1997-02-27 18:45:17 +00:00