deliverable/binutils-gdb.git
25 years agoTue Jul 14 15:37:41 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Tue, 14 Jul 1998 22:40:44 +0000 (22:40 +0000)] 
Tue Jul 14 15:37:41 1998  Geoffrey Noer  <noer@cygnus.com>

        * configure.in: Win32 hosts shouldn't use install -x
        * install-sh: remove -x option, and special .exe-handling
        hack.

25 years ago * configure.tgt (i?86-*-beos{pe,elf,}*): Recognize.
Richard Henderson [Tue, 14 Jul 1998 22:40:17 +0000 (22:40 +0000)] 
    * configure.tgt (i?86-*-beos{pe,elf,}*): Recognize.
        * Makefile.am (ei386beos.o): New.
        * emulparams/i386beos.sh: New file.
        * emultempl/beos.em, scripttempl/i386beos.sc: New file.

25 years ago* configure.in (i386-*-beos{pe,elf,}*): Recognize.
Richard Henderson [Tue, 14 Jul 1998 22:30:03 +0000 (22:30 +0000)] 
* configure.in (i386-*-beos{pe,elf,}*): Recognize.

25 years ago * config.guess: Recognize i586-pc-beos.
Richard Henderson [Tue, 14 Jul 1998 22:26:29 +0000 (22:26 +0000)] 
    * config.guess: Recognize i586-pc-beos.
        * configure.in: Don't build some bits for beos.

25 years ago * configure: If CC is set but CFLAGS is not, and CC is gcc, make
Ian Lance Taylor [Tue, 14 Jul 1998 19:09:27 +0000 (19:09 +0000)] 
* configure: If CC is set but CFLAGS is not, and CC is gcc, make
CFLAGS default to -O2.

25 years ago * ltmain.sh: Add some hacks to make SunOS --enable-shared work
Ian Lance Taylor [Tue, 14 Jul 1998 17:22:43 +0000 (17:22 +0000)] 
* ltmain.sh: Add some hacks to make SunOS --enable-shared work
when using GNU ld.

25 years ago * config/tc-sparc.c (s_reserve): Set symbol size if OBJ_ELF.
Ian Lance Taylor [Tue, 14 Jul 1998 16:55:41 +0000 (16:55 +0000)] 
* config/tc-sparc.c (s_reserve): Set symbol size if OBJ_ELF.
(s_common): Likewise.

25 years agoTue Jul 14 12:33:44 1998 Chris Torek <torek@bsdi.com>
Ian Lance Taylor [Tue, 14 Jul 1998 16:44:28 +0000 (16:44 +0000)] 
Tue Jul 14 12:33:44 1998  Chris Torek  <torek@bsdi.com>

* config/tc-sparc.c (log2): New static function.
(s_reserve): Use log2 to convert alignment before calling
record_alignment.
(s_common): Use log2 to convert alignment before calling
record_alignment and frag_align.
(sparc_cons_align): Use log2.

25 years ago * config/tc-sparc.c (sparc_handle_align): Reindent a bit. Correct
Ian Lance Taylor [Tue, 14 Jul 1998 15:59:28 +0000 (15:59 +0000)] 
* config/tc-sparc.c (sparc_handle_align): Reindent a bit.  Correct
initialization of waddr.
(sparc_elf_final_processing): Add default case to switch.

25 years agoTue Jul 14 11:22:21 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Tue, 14 Jul 1998 15:45:55 +0000 (15:45 +0000)] 
Tue Jul 14 11:22:21 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf32-m68k.c (elf_m68k_check_relocs): Also reference count
R_68K_PCxx and R_68K_xx relocations.  Make sure that
ELF_LINK_HASH_NEEDS_PLT is always set for a PLT reloc reference.
(elf_m68k_gc_sweep_hook): Also reference count R_68K_PCxx and
R_68K_xx relocations.
(elf_m68k_adjust_dynamic_symbol): Reset the plt offset of a symbol
that has no plt entry.
(elf_m68k_relocate_section): Ignore the plt offset in a static
link.
* elflink.h (elf_adjust_dynamic_symbol): Reset the plt offset for
an ignored symbol.
(elf_gc_common_finalize_got_offsets): Set the got offsets also in
a static link.

* elf32-m68k.c (R_68K_GNU_VTINHERIT, R_68K_GNU_VTENTRY): New reloc
types.
(howto_table, reloc_map): Add entries for them.
(elf_m68k_check_relocs): Handle them.  Implement reference
counting for got and plt entries.
(elf_m68k_gc_mark_hook, elf_m68k_gc_sweep_hook): New functions.
(elf_m68k_adjust_dynamic_symbol): Handle unreferenced plt
symbols.
(rtype_to_howto_rel, elf_info_to_howto_rel): Delete.
(elf_m68k_relocate_section): Handle the new reloc types.
(bfd_elf32_bfd_final_link, elf_backend_gc_mark_hook,
elf_backend_gc_sweep_hook, elf_backend_can_gc_sections): Define.
* elflink.h (elf_link_add_object_symbols): When creating an
indirect reference for symbol versioning also copy the plt
offset.
(elf_fix_symbol_flags): When clearing the ELF_LINK_HASH_NEEDS_PLT
flag also reset the plt offset.
(elf_link_assign_sym_version): Likewise.
(elf_gc_common_finalize_got_offsets): Increment the got offset by
the size of the entry in bytes.
(elf_gc_allocate_got_offsets): Likewise.

Tue Jul 14 11:18:14 1998  Ian Lance Taylor  <ian@cygnus.com>

* elflink.h (elf_gc_sections): Return true rather than falling off
the bottom.

25 years ago * coffgen.c (bfd_coff_set_symbol_class): Call bfd_alloc, not
Ian Lance Taylor [Tue, 14 Jul 1998 15:18:39 +0000 (15:18 +0000)] 
* coffgen.c (bfd_coff_set_symbol_class): Call bfd_alloc, not
xmalloc.

25 years agoTue Jul 14 11:00:16 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Tue, 14 Jul 1998 15:01:17 +0000 (15:01 +0000)] 
Tue Jul 14 11:00:16 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* doc/c-i386.texi: Fix a typo.  Use the term 80-bit real rather
than temporary real.

25 years agoFix goof.
Jeff Law [Tue, 14 Jul 1998 03:59:11 +0000 (03:59 +0000)] 
Fix goof.

25 years agoMon Jul 13 18:15:11 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Mon, 13 Jul 1998 22:33:46 +0000 (22:33 +0000)] 
Mon Jul 13 18:15:11 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* gas/i386/*: All new i386 testsuite.

25 years ago * write.c (subsegs_finish): Don't align the segments if there were
Ian Lance Taylor [Mon, 13 Jul 1998 21:28:52 +0000 (21:28 +0000)] 
* write.c (subsegs_finish): Don't align the segments if there were
any errors.

25 years ago * config/obj-coff.c (c_symbol_merge): Correct number of bytes when
Ian Lance Taylor [Mon, 13 Jul 1998 20:00:30 +0000 (20:00 +0000)] 
* config/obj-coff.c (c_symbol_merge): Correct number of bytes when
copying aux information.

25 years agoMon Jul 13 14:53:59 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Mon, 13 Jul 1998 18:54:43 +0000 (18:54 +0000)] 
Mon Jul 13 14:53:59 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* i386-dis.c (ckprefix): Handle fwait specially only when it isn't
the first prefix.
(dofloat): Correct test for fnstsw.  Print `fnstsw %ax' rather
than `fnstsw %eax'.
(OP_J): Remove unnecessary subtraction when 16-bit displacement
will be masked later.

25 years agoRemoved leading underscore.
Nick Clifton [Mon, 13 Jul 1998 18:09:20 +0000 (18:09 +0000)] 
Removed leading underscore.

25 years ago * expr.c (make_expr_symbol): Catch attempts to turn an O_big
Ian Lance Taylor [Mon, 13 Jul 1998 17:56:28 +0000 (17:56 +0000)] 
* expr.c (make_expr_symbol): Catch attempts to turn an O_big
expression into a symbol.

25 years agoMon Jul 13 13:29:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Mon, 13 Jul 1998 17:31:43 +0000 (17:31 +0000)] 
Mon Jul 13 13:29:04 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* config/tc-i386.c (mode_from_disp_size): Change arg and return
type to unsigned int.
(md_assemble): Change type used to store offsets from unsigned
long to long.
(i386_operand): Switch error check to only call RESTORE_END_STRING
once after parse_register.

25 years agoMon Jul 13 13:20:23 1998 Steve Chamberlain <sac@transmeta.com>
Ian Lance Taylor [Mon, 13 Jul 1998 17:23:53 +0000 (17:23 +0000)] 
Mon Jul 13 13:20:23 1998  Steve Chamberlain  <sac@transmeta.com>

* ldlex.l: Accept ASSERT.
* ldgram.y (exp): Add ASSERT_K case.
* ldexp.h (node_type): Add etree_assert to node_class enum.
(etree_type): Add assert_s field.
(exp_assert): Declare.
* ldexp.c (exp_fold_tree): Handle etree_assert.
(exp_assert): New function.
(exp_print_tree): Handle etree_assert.
* ld.texinfo (Miscellaneous Commands): Document ASSERT.

25 years ago * ieee.c (ieee_slurp_external_symbols): Handle call optimization
Ian Lance Taylor [Mon, 13 Jul 1998 17:07:27 +0000 (17:07 +0000)] 
* ieee.c (ieee_slurp_external_symbols): Handle call optimization
information ATN records.

25 years ago * gdb.base/callfuncs.exp: add cmp10 test.
Felix Lee [Mon, 13 Jul 1998 13:42:45 +0000 (13:42 +0000)] 
    * gdb.base/callfuncs.exp: add cmp10 test.
        * gdb.base/callfuncs.c (cmp10): new function.

25 years ago * m10300-opc.c (mn10300_opcodes): Fix destination operand for 3 operand
Jeff Law [Sat, 11 Jul 1998 05:12:03 +0000 (05:12 +0000)] 
    * m10300-opc.c (mn10300_opcodes): Fix destination operand for 3 operand
        instructions.

25 years agoChanged format of help output
Nick Clifton [Fri, 10 Jul 1998 23:01:30 +0000 (23:01 +0000)] 
Changed format of help output

25 years agoRemove references to Alcatel.
Per Bothner [Fri, 10 Jul 1998 20:46:48 +0000 (20:46 +0000)] 
Remove references to Alcatel.

25 years ago * ieee.c (ieee_slurp_external_symbols): Select an appropriate
Ian Lance Taylor [Fri, 10 Jul 1998 20:31:44 +0000 (20:31 +0000)] 
* ieee.c (ieee_slurp_external_symbols): Select an appropriate
section for an absolute symbol in a fully linked file.  Based on
patch from Christian Holland <CHolland@de.lucent.com>.

25 years ago From Christian Holland <CHolland@de.lucent.com>:
Ian Lance Taylor [Fri, 10 Jul 1998 20:19:22 +0000 (20:19 +0000)] 
From Christian Holland <CHolland@de.lucent.com>:
* ieee.c (parse_ieee): Initialize info.global_vars and
info.global_types.
(parse_ieee_atn): Ignore register lifetime information reportedly
emitted by MRI compiler.

25 years ago * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
Dawn Perchik [Fri, 10 Jul 1998 08:54:17 +0000 (08:54 +0000)] 
* gdb.base/commands.exp: Break up infrun_breakpoint_command_test
into two parts to get around a synchronization problem in expect.

25 years ago * mn10300-tdep.c (mn10300_generic_register_names): New variable.
Jeff Law [Thu, 9 Jul 1998 22:23:18 +0000 (22:23 +0000)] 
    * mn10300-tdep.c (mn10300_generic_register_names): New variable.
        (set_machine_hook): New function.  Copy the appropriate register
        names into reg_names.
        (_initialize_mn10300_tdep): Set up to call set_machine_hook.
        * tm-mn10300 (NUM_REGS): Bump to 32.
        (REGISTER_NAMES): Updated accordingly.

start-sanitize-am33
        * mn10300-tdep.c (am33_register_names): New variable.
        (mn10300_analyze_prologue): Handle regs saved by am33 prologues.
        * tm-mn10300.h (E0_REGNUM): Define.
end-sanitize-am33

Initial am33 support.

25 years ago * am33.igen: Fix Z bit for remaining addc/subc instructions.
Jeff Law [Thu, 9 Jul 1998 19:41:47 +0000 (19:41 +0000)] 
    * am33.igen: Fix Z bit for remaining addc/subc instructions.
        Do not sign extend immediate for mov imm,XRn.
        More random mul, mac & div fixes.
        Remove some unused variables.
        Sign extend 24bit displacement in memory addresses.
Whee, more fixes.

25 years ago * mn10300.igen: Fix Z bit for addc and subc instructions.
Jeff Law [Thu, 9 Jul 1998 19:04:22 +0000 (19:04 +0000)] 
    * mn10300.igen: Fix Z bit for addc and subc instructions.
        Minor fixes in multiply/divide patterns.

start-sanitize-am33
        * am33.igen: Fix Z bit for addc Rm,Rn and subc Rm,Rn.  Various
        fixes to 2 register multiply, divide and mac instructions.  Set
        Z,N correctly for sat16.  Sign extend 24 bit immediate for add,
        and sub instructions.

        * am33.igen: Add remaining non-DSP instructions.
end-sanitize-am33

25 years ago * Makefile.am (MAINTAINERCLEANFILES): Define.
Ian Lance Taylor [Thu, 9 Jul 1998 17:08:26 +0000 (17:08 +0000)] 
* Makefile.am (MAINTAINERCLEANFILES): Define.
* Makefile.in: Rebuild.

25 years agoThu Jul 9 12:09:57 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Thu, 9 Jul 1998 16:10:28 +0000 (16:10 +0000)] 
Thu Jul  9 12:09:57 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* config/tc-m68k.c (tc_m68k_fix_adjustable): Don't adjust vtable
relocs.
(md_apply_fix_2): Force the symbol of the vtable reloc to be
weak.

25 years ago * am33.igen: Add remaining non-DSP instructions.
Jeff Law [Thu, 9 Jul 1998 16:09:24 +0000 (16:09 +0000)] 
    * am33.igen: Add remaining non-DSP instructions.
Lots of work still remains.  PSW handing is probably broken badly and the
mul/mac classes of instructions are probably not handled correctly.

25 years ago * doc/Makefile.am (MAINTAINERCLEANFILES): Define.
Ian Lance Taylor [Thu, 9 Jul 1998 15:32:16 +0000 (15:32 +0000)] 
* doc/Makefile.am (MAINTAINERCLEANFILES): Define.
* doc/Makefile.in: Rebuild.

25 years ago * am33.igen (translate_rreg): New function. Use it as appropriate.
Jeff Law [Thu, 9 Jul 1998 00:24:57 +0000 (00:24 +0000)] 
    * am33.igen (translate_rreg): New function.  Use it as appropriate.

25 years ago * am33.igen: More am33 instructions. Fix "div".
Jeff Law [Wed, 8 Jul 1998 22:33:35 +0000 (22:33 +0000)] 
    * am33.igen: More am33 instructions.  Fix "div".

25 years ago * config/tc-mips.c (mips_ip, case 'i' and 'j'): Mask off high bits
Jeff Law [Wed, 8 Jul 1998 18:25:52 +0000 (18:25 +0000)] 
    * config/tc-mips.c (mips_ip, case 'i' and 'j'): Mask off high bits
        for %lo expressions.
        (mips_ip, case 'u'): Move range check after code to mask
        off bits in %hi/%lo expressions.  Mask off high bits for
        %lo expressions.
pr16135

25 years ago * ldgram.y: Change MAX to MAX_K and MIN to MIN_K, to avoid
Ian Lance Taylor [Wed, 8 Jul 1998 18:06:49 +0000 (18:06 +0000)] 
* ldgram.y: Change MAX to MAX_K and MIN to MIN_K, to avoid
conflicts with system header files.  Change all uses.

25 years ago * Makefile.am (MAINTAINERCLEANFILES): Define.
Ian Lance Taylor [Wed, 8 Jul 1998 18:03:30 +0000 (18:03 +0000)] 
* Makefile.am (MAINTAINERCLEANFILES): Define.
* Makefile.in: Rebuild.

25 years ago * m10300-dis.c (disassemble): When printing RREGs and XRREGs, map
Jeff Law [Wed, 8 Jul 1998 17:38:15 +0000 (17:38 +0000)] 
    * m10300-dis.c (disassemble): When printing RREGs and XRREGs, map
        from raw register #s to symbolic names to make debugging easier.

25 years agoWed Jul 8 11:29:56 1998 Manfred Hollstein <manfred@s-direktnet.de>
Ian Lance Taylor [Wed, 8 Jul 1998 15:30:31 +0000 (15:30 +0000)] 
Wed Jul  8 11:29:56 1998  Manfred Hollstein  <manfred@s-direktnet.de>

* coff-m88k.c (m88k_special_reloc): Don't lose the information
that a symbol is undefined.

25 years agoAdd a printf fmt style version of sim_events_schedule.
Andrew Cagney [Wed, 8 Jul 1998 08:00:36 +0000 (08:00 +0000)] 
Add a printf fmt style version of sim_events_schedule.
This allows the caller to specify extra trace information that is
only evaluated when tracing is enabled.

25 years ago * readelf.c (byte_get): Use PARAMS in prototype.
Jeff Law [Wed, 8 Jul 1998 03:55:07 +0000 (03:55 +0000)] 
    * readelf.c (byte_get): Use PARAMS in prototype.
        (error): Make it work with non-ANSI compilers.
        (warn): Likewise.
        (get_ver_flags): Don't use an ANSI prototype in the definition.

25 years ago * som.c (som_bfd_gc_sections): Define.
Jeff Law [Wed, 8 Jul 1998 03:51:25 +0000 (03:51 +0000)] 
    * som.c (som_bfd_gc_sections): Define.

25 years ago * Makefile.am (ldver.texi): New target.
Ian Lance Taylor [Tue, 7 Jul 1998 22:04:16 +0000 (22:04 +0000)] 
* Makefile.am (ldver.texi): New target.
(ld.info, ld.dvi): Depend upon ldver.texi.
* ld.texinfo: Include ldver.texi.  Mention version number on title
page and in top node.
* Makefile.in: Rebuild.

25 years ago * doc/Makefile.am (gasver.texi): New target.
Ian Lance Taylor [Tue, 7 Jul 1998 21:58:52 +0000 (21:58 +0000)] 
* doc/Makefile.am (gasver.texi): New target.
(as.info, as.dvi): Depends upon gasver.texi.
* doc/as.texinfo: Include gasver.texi.  Mention version number on
title page and in top node.
* doc/Makefile.in: Rebuild.

25 years agofix libtool 1.2b bug
Ian Lance Taylor [Tue, 7 Jul 1998 21:19:20 +0000 (21:19 +0000)] 
fix libtool 1.2b bug

25 years agoimprove behaviour on SunOS
Ian Lance Taylor [Tue, 7 Jul 1998 20:23:27 +0000 (20:23 +0000)] 
improve behaviour on SunOS

25 years ago * ltconfig, ltmain.sh: Update to libtool 1.2b.
Ian Lance Taylor [Tue, 7 Jul 1998 19:24:58 +0000 (19:24 +0000)] 
* ltconfig, ltmain.sh: Update to libtool 1.2b.

25 years ago * listing.c (listing_listing): For EDICT_LIST, skip all lines up to
Richard Henderson [Tue, 7 Jul 1998 18:46:38 +0000 (18:46 +0000)] 
    * listing.c (listing_listing): For EDICT_LIST, skip all lines up to
        but not including the line containing the edict.
        * listing.h (LISTING_EOF): New.
        * input-scrub.c (input_scrub_next_buffer): Call it.

PR 14509

25 years ago * objcopy.c (filter_bytes): Set size correctly if the size of the
Ian Lance Taylor [Tue, 7 Jul 1998 17:27:00 +0000 (17:27 +0000)] 
* objcopy.c (filter_bytes): Set size correctly if the size of the
section is not an even multiple of the interleave.  Based on patch
from Brion Stone <Brion.Stone@attws.com>.

25 years agoTue Jul 7 13:00:37 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Tue, 7 Jul 1998 17:20:59 +0000 (17:20 +0000)] 
Tue Jul  7 13:00:37 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* config/tc-i386.c (i386_operand): Don't set the size of an
  immediate address based solely on the suffix and the mode.

* config/tc-i386.c (md_assemble): Add assertion to make sure
overlap2 does not set Imm.

25 years agoTue Jul 7 13:00:37 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Tue, 7 Jul 1998 17:09:55 +0000 (17:09 +0000)] 
Tue Jul  7 13:00:37 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* config/tc-i386.c (space_chars): Remove. The scrubber converts
sequences of whitespace to a single space.
(is_space_chars): Just compare with space.
(md_begin): Don't initialize space_chars.
(md_assemble): Just skip a single whitespace character.
(i386_operand): Rewrite base-index parsing to use new
parse_register, and to skip white space.  Skip white space in a
number of other places too.  Don't give error message if
parse_register fails.
(parse_register): Change reg_string parameter to be non-const.
Add end_op parameter.  Skip white space after the `%', and return
end of register string.  Give error message here rather than
caller.

25 years ago symtab.c (find_pc_sect_psymbol) - handle address 0 better
Ron Unrau [Tue, 7 Jul 1998 13:41:03 +0000 (13:41 +0000)] 
symtab.c (find_pc_sect_psymbol) - handle address 0 better

26 years agoRearrange ChangeLog files by years.
Ian Lance Taylor [Mon, 6 Jul 1998 22:27:28 +0000 (22:27 +0000)] 
Rearrange ChangeLog files by years.

26 years agoUpdate for ChangeLog breakup. Remove gm sanitization; the stuff being
Ian Lance Taylor [Mon, 6 Jul 1998 22:22:36 +0000 (22:22 +0000)] 
Update for ChangeLog breakup.  Remove gm sanitization; the stuff being
sanitized out was removed long ago.

26 years agoRearrange ChangeLog files by years.
Ian Lance Taylor [Mon, 6 Jul 1998 22:08:05 +0000 (22:08 +0000)] 
Rearrange ChangeLog files by years.

26 years ago * mn10300.igen: Add am33 support.
Jeff Law [Mon, 6 Jul 1998 22:02:02 +0000 (22:02 +0000)] 
    * mn10300.igen: Add am33 support.

26 years ago * Makefile.in: Use multi-sim to support both a mn10300 and am33
Jeff Law [Mon, 6 Jul 1998 21:57:22 +0000 (21:57 +0000)] 
    * Makefile.in: Use multi-sim to support both a mn10300 and am33
        simulator.

26 years ago * sim-bits.h (EXTEND24): Define.
Jeff Law [Mon, 6 Jul 1998 21:55:37 +0000 (21:55 +0000)] 
    * sim-bits.h (EXTEND24): Define.

26 years ago * am33.igen: Add many more am33 instructions.
Jeff Law [Mon, 6 Jul 1998 21:41:06 +0000 (21:41 +0000)] 
    * am33.igen: Add many more am33 instructions.

26 years ago * configure.tgt (i[3456]86-*-solaris*): New target.
Ian Lance Taylor [Mon, 6 Jul 1998 18:55:37 +0000 (18:55 +0000)] 
* configure.tgt (i[3456]86-*-solaris*): New target.

26 years agoDo not complain about overflows in ARM_26D relocations, since they have already been...
Nick Clifton [Mon, 6 Jul 1998 18:38:19 +0000 (18:38 +0000)] 
Do not complain about overflows in ARM_26D relocations, since they have already been performed.
Patch submitted by <rjb@dcs.gla.ac.uk>

26 years ago * coffcode.h (coff_write_object_contents): If we have any long
Ian Lance Taylor [Sat, 4 Jul 1998 16:27:08 +0000 (16:27 +0000)] 
* coffcode.h (coff_write_object_contents): If we have any long
section names, call coff_write_symbols even if there are no
symbols.

26 years ago * ldlang.c (wild_section): Don't get an assertion failure if the
Ian Lance Taylor [Fri, 3 Jul 1998 22:10:22 +0000 (22:10 +0000)] 
* ldlang.c (wild_section): Don't get an assertion failure if the
section is discarded.

26 years ago * scripttempl/pe.sc: Use SORT to sort sections appropriately.
Ian Lance Taylor [Fri, 3 Jul 1998 21:52:58 +0000 (21:52 +0000)] 
* scripttempl/pe.sc: Use SORT to sort sections appropriately.
* emultempl/pe.em (sort_by_file_name): Remove.
(sort_by_section_name): Remove.
(sort_sections_1, sort_sections): Remove.
(gld_${EMULATION_NAME}_before_allocation): Don't call
sort_sections.
(hold_section, hold_section_name): New static variables.
(hold_use, hold_text, hold_rdata, hold_data, hold_bss): Likewise.
(gld_${EMULATION_NAME}_place_orphan): Rewrite.  Look for a good
place to put the section.  Align the section.  Sort the input
sections by name.
(gld_${EMULATION_NAME}_place_section): New static function.

26 years ago * ldlang.c (wild_sort): When sorting by file name, sort by archive
Ian Lance Taylor [Fri, 3 Jul 1998 21:52:43 +0000 (21:52 +0000)] 
* ldlang.c (wild_sort): When sorting by file name, sort by archive
name first.

26 years ago * expr.c (op_encoding): Make const.
Ian Lance Taylor [Fri, 3 Jul 1998 19:55:44 +0000 (19:55 +0000)] 
* expr.c (op_encoding): Make const.
(expr_set_precedence): New function.
(expr_begin): Don't set operator rankings, just call
expr_set_precedence.
* expr.h (expr_set_precedence): Declare.
* read.c (s_mri): Call expr_set_precedence.

26 years agoadd missing word
Ian Lance Taylor [Fri, 3 Jul 1998 19:28:00 +0000 (19:28 +0000)] 
add missing word

26 years ago * emultempl/pe.em (set_pe_subsystem): Don't call
Ian Lance Taylor [Fri, 3 Jul 1998 18:40:38 +0000 (18:40 +0000)] 
* emultempl/pe.em (set_pe_subsystem): Don't call
ldlang_add_undef.
(gld_${EMULATION_NAME}_after_parse): New static function.
(ld_${EMULATION_NAME}_emulation): Use new after_parse function
rather than after_parse_default.

26 years agocomment fixes
Ian Lance Taylor [Fri, 3 Jul 1998 18:40:17 +0000 (18:40 +0000)] 
comment fixes

26 years ago * ldgram.y (extern_name_list): Do not require symbols to be
Ian Lance Taylor [Fri, 3 Jul 1998 18:25:46 +0000 (18:25 +0000)] 
* ldgram.y (extern_name_list): Do not require symbols to be
separated by commas.
(ifile_p1): Add EXTERN.
* ldlex.l: Accept EXTERN in BOTH and SCRIPT mode as well as MRI
mode.
* ld.texinfo (Options): Mention that EXTERN is equivalent to -u.
(Miscellaneous Commands): Document EXTERN.

26 years ago * elf.c (copy_private_bfd_data): Only set phdr_included oncde for
Ian Lance Taylor [Fri, 3 Jul 1998 17:45:52 +0000 (17:45 +0000)] 
* elf.c (copy_private_bfd_data): Only set phdr_included oncde for
a PT_LOAD segment, rather than only setting it once for the entire
file.

* elf.c (_bfd_elf_make_section_from_shdr): When setting the LMA,
rather than ignoring every phdr with a p_paddr of 0, ignore all
the phdrs if they all have a p_paddr of 0.

26 years ago * stabs.c (_bfd_write_stab_strings): Check whether the .stabstr
Ian Lance Taylor [Fri, 3 Jul 1998 17:12:22 +0000 (17:12 +0000)] 
* stabs.c (_bfd_write_stab_strings): Check whether the .stabstr
section was discarded from the link.

26 years agoBrought over from sh4-980527-branch:
Joern Rennecke [Fri, 3 Jul 1998 13:43:16 +0000 (13:43 +0000)] 
Brought over from sh4-980527-branch:
  Fix for execute/va-arg-5.c -Os -mrelax -m4-single failure:
* coff-sh.c (sh_insn_uses_freg): Ignore lowest bit of register number.

26 years agoBrought over from sh4-980527-branch:
Joern Rennecke [Fri, 3 Jul 1998 13:40:08 +0000 (13:40 +0000)] 
Brought over from sh4-980527-branch:
  Fix for execute/921208-1.c -Os -mrelax -m4-single failure:
* coff-sh.c (sh_insns_conflict): Load of fpscr conflicts with
floating point operations.

26 years ago* lib/gas-defs.exp (gas_init): Complain if target name isn't in canonical form.
Ken Raeburn [Fri, 3 Jul 1998 03:10:58 +0000 (03:10 +0000)] 
* lib/gas-defs.exp (gas_init): Complain if target name isn't in canonical form.

26 years ago * cgen-sim.h (CPU_SCACHE): Make size unsigned.
Doug Evans [Fri, 3 Jul 1998 00:14:49 +0000 (00:14 +0000)] 
* cgen-sim.h (CPU_SCACHE): Make size unsigned.
(CPU_SCACHE_HASH_MASK): New macro.
(SCACHE_HASH_PC): Rewrite.
* genmloop.sh (engine_resume_{full,fast}): Move some of hash
computation out of main loop.

26 years ago * m32r-opc.h (CGEN_MIN_INSN_SIZE): New #define.
Doug Evans [Fri, 3 Jul 1998 00:11:25 +0000 (00:11 +0000)] 
* m32r-opc.h (CGEN_MIN_INSN_SIZE): New #define.

26 years ago * cofflink.c (_bfd_coff_link_input_bfd): Skip undefined global
Ian Lance Taylor [Thu, 2 Jul 1998 22:40:45 +0000 (22:40 +0000)] 
* cofflink.c (_bfd_coff_link_input_bfd): Skip undefined global
function symbols.

26 years ago * doc/as.texinfo (Statements): Remove paragraph discussing
Ian Lance Taylor [Thu, 2 Jul 1998 20:25:45 +0000 (20:25 +0000)] 
* doc/as.texinfo (Statements): Remove paragraph discussing
continuing lines with a backslash.  This hasn't worked for years,
if it ever did.

26 years agoAdd a test case for PR16213.
James Lemke [Thu, 2 Jul 1998 20:20:32 +0000 (20:20 +0000)] 
Add a test case for PR16213.

26 years agoThu Jul 2 13:57:36 1998 Klaus Kaempf <kkaempf@rmi.de>
Ian Lance Taylor [Thu, 2 Jul 1998 19:03:37 +0000 (19:03 +0000)] 
Thu Jul  2 13:57:36 1998  Klaus Kaempf  <kkaempf@rmi.de>

* makefile.vms: Update to build binutils/makefile.vms.  Add install
target.

26 years agoThu Jul 2 14:01:34 1998 Klaus Kaempf <kkaempf@rmi.de>
Ian Lance Taylor [Thu, 2 Jul 1998 19:02:27 +0000 (19:02 +0000)] 
Thu Jul  2 14:01:34 1998  Klaus Kaempf  <kkaempf@rmi.de>

* configure.com: Add vax/vms support.
* makefile.vms-in: Renamed from makefile.vms.  Add substitutions
now done by configure.com.

26 years agoThu Jul 2 14:06:22 1998 Klaus Kaempf <kkaempf@rmi.de>
Ian Lance Taylor [Thu, 2 Jul 1998 18:55:33 +0000 (18:55 +0000)] 
Thu Jul  2 14:06:22 1998  Klaus Kaempf  <kkaempf@rmi.de>

        * obj-vms.c: Add C++ support with ctors/dtors sections.  Add weak
symbol definitions.
(Ctors_Symbols, Dtors_Symbols): New symbol chains.
(ps_CTORS, ps_DTORS): New section types.
(vms_fixup_xtors_section): New function
(Ctors_Psect, Dtors_Psect): Define.
(IS_GXX_XTOR): Define
(global_symbol_directory): Change check of gxx_bug_fixed to 0.
Filter static constructors/destructors and add to
Ctors_Symbols/Dtors_Symbols chain.
(vms_write_object_file): Write Ctors_Symbols/Dtors_Symbols to
appropriate section.

        * tc-alpha.h (TARGET_FORMAT): Rename "evax-alpha" to "vms-alpha".
* makefile.vms: Merge vax/vms support.

26 years agorebuild
Ian Lance Taylor [Thu, 2 Jul 1998 18:55:13 +0000 (18:55 +0000)] 
rebuild

26 years agoThu Jul 2 14:59:42 1998 Klaus Kaempf <kkaempf@rmi.de>
Ian Lance Taylor [Thu, 2 Jul 1998 18:41:08 +0000 (18:41 +0000)] 
Thu Jul  2 14:59:42 1998  Klaus Kaempf  <kkaempf@rmi.de>

Merge of vax/vms (read-only) support
* configure.com: Support Vax target.
* makefile.vms: Support Vax target.
        * vms.h: Renamed from evax.h, merged vax/vms (read-only) support.
* vms.c: Renamed from evax-alpha.c, merged vax/vms (read-only)
support.
* vms-hdr.c: Renamed from evax-emh.c, merged vax/vms (read-only)
support.
* vms-gsd.c: Renamed from evax-egsd.c, merged vax/vms (read-only)
support.
* vms-tir.c: Renamed from evax-etir.c, merged vax/vms (read-only)
support.
* vms-misc.c: Renamed from evax-misc.c, merged vax/vms (read-only)
support.
* libbfd.c (real_read): Use unbuffered read on VMS/Vax.
* targets.c (bfd_target_ovax_flavour): New flavour.
(vms_alpha_vec): Renamed from evax_alpha_vec.
(vms_vax_vec): New.
(target_vector): Update accordingly.
* config.bfd (alpha*-*-*vms*): Use vms_alpha_vec, not
evax_alpha_vec.
(vax*-*-*vms*): New target.
* Makefile.am: Update for renamed files.  Rebuild dependencies.
* bfd-in2.h: Rebuild.
* configure.in, Makefile.in, aclocal.m4: Rebuild.

26 years ago* Belatedly bringing over PR 15850 patch from d30v branch.
Frank Ch. Eigler [Thu, 2 Jul 1998 17:30:21 +0000 (17:30 +0000)] 
* Belatedly bringing over PR 15850 patch from d30v branch.
Thu Jul  2 15:57:58 1998  Frank Ch. Eigler  <fche@cygnus.com>
* breakpoint.c (resolve_sal_pc): Accept absence of innermost
Lexical block for breakpoint resolution.

26 years ago * mdebugread.c (parse_partial_symbols): Go ahead and read the .mdebug
Dawn Perchik [Thu, 2 Jul 1998 17:30:20 +0000 (17:30 +0000)] 
    * mdebugread.c (parse_partial_symbols): Go ahead and read the .mdebug
        section, but just don't add a 2nd minimal symbol if this is an .mdebug
        section in an ELF file.

26 years agogc note
Richard Henderson [Thu, 2 Jul 1998 06:23:44 +0000 (06:23 +0000)] 
gc note

26 years ago * config/obj-elf.c (obj_elf_vtable_inherit, obj_elf_vtable_entry): New.
Richard Henderson [Thu, 2 Jul 1998 05:34:36 +0000 (05:34 +0000)] 
    * config/obj-elf.c (obj_elf_vtable_inherit, obj_elf_vtable_entry): New.
        (elf_pseudo_table): Add them.
        * config/tc-mips.c (mips_force_relocation): Force vtable relocs.
        (md_apply_fix): Accept them.
        (mips_fix_adjustable): Don't adjust them.
        (tc_gen_reloc): Mung BFD_RELOC_VTABLE_ENTRY for Rel.
        * config/tc-ppc.c (md_apply_fix3): Accept vtable relocs.
        * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Force vtable relocs.
        (tc_fix_adjustable): Don't adjust them.

26 years ago * ld.h (args_type): Add gc_sections.
Richard Henderson [Thu, 2 Jul 1998 02:52:31 +0000 (02:52 +0000)] 
    * ld.h (args_type): Add gc_sections.
        * ldgram.y (ldgram_had_keep, KEEP): New.
        (input_section_spec_no_keep): Rename from old input_section_spec.
        (input_section_spec): New.  Recognize KEEP.
        * ldlang.c (wild_section): Handle keep sections.
        (lang_gc_wild_section, lang_gc_wild_file, lang_gc_wild): New.
        (lang_gc_sections_1, lang_gc_sections): New.
        (lang_process): Invoke lang_gc_sections.
        (lang_add_wild): Add keep argument.  Update all callers.
        * ldlang.h (lang_wild_statement_struct): Add keep_sections.
        * ldlex.l (KEEP): Match it.
        * ldmain.c (main): Error on -r and --gc-sections.
        * lexsup.c: Add --gc-sections.

        * scripttempl/elf.sc: Merge .text.* etc sections appropriately.
        Mark startup sections with KEEP.
        * scripttempl/elfppc.sc: Likewise.

        * ld.texinfo: Update for --gc-sections and KEEP.

26 years ago * configure.in: configure cgen if --enable-cgen-maint.
Doug Evans [Thu, 2 Jul 1998 02:10:29 +0000 (02:10 +0000)] 
* configure.in: configure cgen if --enable-cgen-maint.
* Makefile.in (ALL_MODULES,CLEAN_MODULES): Add all-cgen.
(all-cgen): New rule.
(all-opcodes,all-sim): Depend on all-cgen.

26 years ago * Makefile.in: cgen_maint -> CGEN_MAINT.
Doug Evans [Thu, 2 Jul 1998 01:42:38 +0000 (01:42 +0000)] 
* Makefile.in: cgen_maint -> CGEN_MAINT.
* configure.in: AC_SUBST cgen,cgendir.  No longer look for guile.
* configure: Regenerate.
* arch.c,arch.h,cpuall.h: Regenerate.
* cpu.c,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate.
* sem-switch.c,sem.c: Regenerate.
* cpux.c,cpux.h,decodex.c,decodex.h,modelx.c,readx.c: Regenerate.
* semx.c: Regenerate.
* mloopx.in (icount): Moved here from genmloop.sh.

26 years ago * stabs.c (parse_stab_range_type): Handle 4 and 8 byte signed
Ian Lance Taylor [Thu, 2 Jul 1998 00:46:49 +0000 (00:46 +0000)] 
* stabs.c (parse_stab_range_type): Handle 4 and 8 byte signed
  integers with real upper bounds.  Handle a lower bound one larger
  than the upper bound as a signed integer.  Handle 8 byte signed
integers.
(stab_demangle_template): Optionally return the demangled name of
the template.
(stab_demangle_qualified): Treat a template name as a tagged
type.
(stab_demangle_fund_type): Likewise.

26 years agoAdd support for changing LMA and VMA of sections/
Nick Clifton [Thu, 2 Jul 1998 00:06:49 +0000 (00:06 +0000)] 
Add support for changing LMA and VMA of sections/

26 years ago * Make-common.in (SCHEME,SCHEMEFLAGS): Delete.
Doug Evans [Wed, 1 Jul 1998 23:47:50 +0000 (23:47 +0000)] 
* Make-common.in (SCHEME,SCHEMEFLAGS): Delete.
(CGENDIR,CGEN): New variables.
(CGEN_VERBOSE): Renamed to CGENFLAGS.
(cgen-arch,cgen-cpu,cgen-decode): Update.
(CGEN_CPU_WRITE): New variable.
(CGEN_CPU_SEMSW): -W -> -X.
(CGEN_FLAGS_TO_PASS): Delete SCHEME.  Add CGEN,CGENFLAGS.
* cgen.sh: Delete args scheme,schemeflags.  New arg cgen.

* cgen-sim.h (RECORD_IADDR): Delete.
* cgen-types.h (HOSTINT,HOSTUINT,HOSTPTR): New types.
* genmloop.sh (engine_resume_{full,fast}): Delete icount.

26 years ago * Makefile.am (CGEN_CPU_PREFIX): New variable.
Doug Evans [Wed, 1 Jul 1998 23:39:37 +0000 (23:39 +0000)] 
* Makefile.am (CGEN_CPU_PREFIX): New variable.
(cgen.o): Use it.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST cgen_cpu_prefix.
* configure: Regenerate.

This page took 0.04226 seconds and 4 git commands to generate.