binutils-gdb.git
26 years agoFix typo.
Ulrich Drepper [Wed, 22 Jul 1998 20:50:46 +0000 (20:50 +0000)]
Fix typo.

26 years ago * ieee.c (ieee_find_nearest_line): Change filename_ptr and
Ian Lance Taylor [Wed, 22 Jul 1998 20:44:52 +0000 (20:44 +0000)]
* ieee.c (ieee_find_nearest_line): Change filename_ptr and
functionname_ptr to be const.  Change line_ptr to be unsigned.

* coffcode.h (coff_link_output_has_begun): Simplify handling when
macro is not defined.  Change second parameter from bfd_link_info
to coff_final_link_info.  Add prototype.
(coff_final_link_postscript): Simplify handling when macro is not
defined.  Add prototype.

26 years agoBefore include system specific ELF header define
Ulrich Drepper [Wed, 22 Jul 1998 20:40:28 +0000 (20:40 +0000)]
Before include system specific ELF header define
START_RELOC_NUMBERS, RELOC_NUMBER, and END_RELOC_NUMBERS.

26 years agoRewrite relocation definition using macros.
Ulrich Drepper [Wed, 22 Jul 1998 20:40:09 +0000 (20:40 +0000)]
Rewrite relocation definition using macros.

26 years agoRewrite relocation definition using macros.
Ulrich Drepper [Wed, 22 Jul 1998 20:11:54 +0000 (20:11 +0000)]
Rewrite relocation definition using macros.

26 years agoBefore include system specific ELF header define
Ulrich Drepper [Wed, 22 Jul 1998 20:11:16 +0000 (20:11 +0000)]
Before include system specific ELF header define
START_RELOC_NUMBERS, RELOC_NUMBER, and END_RELOC_NUMBERS.

26 years ago* Bringing over sky (dvp) gas change from branch.
Frank Ch. Eigler [Wed, 22 Jul 1998 18:38:27 +0000 (18:38 +0000)]
* Bringing over sky (dvp) gas change from branch.
Wed Jul 22 17:39:28 1998  Frank Ch. Eigler  <fche@cygnus.com>
        * config/tc-dvp.c (parse_float): Accept 0xhex constants
        also for VU LOI operand.

26 years ago * doc/as.texinfo: Add documentation for .end, .exitm, .fail,
Ian Lance Taylor [Wed, 22 Jul 1998 18:38:26 +0000 (18:38 +0000)]
* doc/as.texinfo: Add documentation for .end, .exitm, .fail,
.ifc, .ifeqs, .ifge, .ifgt, .ifle, .iflt, .ifnc, .ifne, .ifnes,
.print, .purgem, and .struct.  Remove documentation for
.app-file.

26 years ago * binutils-all/objcopy.exp: Polish output about fail for objcopy
Vladimir Makarov [Wed, 22 Jul 1998 18:10:50 +0000 (18:10 +0000)]
* binutils-all/objcopy.exp: Polish output about fail for objcopy
(simple copy), strip with/without saving a symbol for object file
and executable.

26 years ago * elf64-mips.c (mips_elf64_reloc_type): Copy Ulrich's elf32-mips.c
Ian Lance Taylor [Wed, 22 Jul 1998 17:47:42 +0000 (17:47 +0000)]
* elf64-mips.c (mips_elf64_reloc_type): Copy Ulrich's elf32-mips.c
temporary patch over to elf64-mips.c as well.

26 years agoOoops - added gettext'isation missed out from previous delta
Nick Clifton [Wed, 22 Jul 1998 17:29:11 +0000 (17:29 +0000)]
Ooops - added gettext'isation missed out from previous delta

26 years agoDisplay number of unrecognised relocations.
Nick Clifton [Wed, 22 Jul 1998 17:28:17 +0000 (17:28 +0000)]
Display number of unrecognised relocations.

26 years agoMoving entry about changes in testsuite/binutils-all/objcopy.exp from
Vladimir Makarov [Wed, 22 Jul 1998 15:05:52 +0000 (15:05 +0000)]
Moving entry about changes in testsuite/binutils-all/objcopy.exp from
ChangeLog to testsuite/ChangeLog.

26 years agoelf32-mips.c (reloc_type): Temporarily disable definition of standard
Ulrich Drepper [Wed, 22 Jul 1998 01:35:34 +0000 (01:35 +0000)]
elf32-mips.c (reloc_type): Temporarily disable definition of standard
relocation since they are now defined in elf/mips.h.

26 years ago(reloc_type): Temporarily disable definition of standard relocation since
Ulrich Drepper [Wed, 22 Jul 1998 01:34:44 +0000 (01:34 +0000)]
(reloc_type): Temporarily disable definition of standard relocation since
they are now defined in elf/mips.h.

26 years ago * cpu.h,extract.c: Regenerate. pc-rel calcs done on f_dispNN now.
Doug Evans [Tue, 21 Jul 1998 23:54:10 +0000 (23:54 +0000)]
* cpu.h,extract.c: Regenerate.  pc-rel calcs done on f_dispNN now.
* cpux.h,readx.c,semx.c: Ditto.

26 years ago * cgen.c (cgen_md_apply_fix3): set_operand renamed to set_vma_operand.
Doug Evans [Tue, 21 Jul 1998 23:50:34 +0000 (23:50 +0000)]
* cgen.c (cgen_md_apply_fix3): set_operand renamed to set_vma_operand.
Update call to insert_operand.

26 years agoregenerate, get displacement operand shifts right
Doug Evans [Tue, 21 Jul 1998 23:46:56 +0000 (23:46 +0000)]
regenerate, get displacement operand shifts right

26 years ago * cgen-utils.c: Include bfd.h.
Doug Evans [Tue, 21 Jul 1998 23:26:53 +0000 (23:26 +0000)]
* cgen-utils.c: Include bfd.h.
(sim_disassemble_insn): Update call to CGEN_EXTRACT_FN.

26 years agotweak
Doug Evans [Tue, 21 Jul 1998 21:08:03 +0000 (21:08 +0000)]
tweak

26 years ago * cgen-opc.in (@arch@_cgen_lookup_insn): Update call to
Doug Evans [Tue, 21 Jul 1998 20:59:23 +0000 (20:59 +0000)]
* cgen-opc.in (@arch@_cgen_lookup_insn): Update call to
CGEN_EXTRACT_FN.
(@arch@_cgen_get_insn_operands): @arch@_cgen_get_operand renamed to
@arch_cgen_get_int_operand.
* cgen-asm.in (insert_insn_normal): New arg `pc', callers updated.
Update call to @arch@_cgen_insert_operand.
(@arch@_cgen_assemble_insn): Update call to CGEN_INSERT_FN.
* cgen-dis.in (print_normal): Delete use of CGEN_PCREL_OFFSET.
(extract_insn_normal): New arg `pc', callers updated.
Update call to @arch@_cgen_extract_operand.
(print_insn): Update call to CGEN_EXTRACT_FN.
* m32r-opc.h,m32r-opc.c,m32r-asm.c,m32r-dis.c: Regenerate.

26 years agouse macros for version numbers
Doug Evans [Tue, 21 Jul 1998 20:47:38 +0000 (20:47 +0000)]
use macros for version numbers

26 years agosanitize fix
Jeff Holcomb [Tue, 21 Jul 1998 20:43:16 +0000 (20:43 +0000)]
sanitize fix

26 years ago * cgen.h (cgen_version_{major,minor,fixlevel}): Declare.
Doug Evans [Tue, 21 Jul 1998 20:36:13 +0000 (20:36 +0000)]
* cgen.h (cgen_version_{major,minor,fixlevel}): Declare.
(cgen_insert_fn,cgen_extract_fn): New arg `pc'.
(get_operand,put_operand): Replaced with get_{int,vma}_operand,
set_{int,vma}_operand.

26 years agosanitize fix
Jeff Holcomb [Tue, 21 Jul 1998 20:26:20 +0000 (20:26 +0000)]
sanitize fix

26 years ago*** empty log message ***
Ulrich Drepper [Tue, 21 Jul 1998 20:16:10 +0000 (20:16 +0000)]
*** empty log message ***

26 years agoUse symbolic names of relocation entries for the various
Ulrich Drepper [Tue, 21 Jul 1998 20:15:58 +0000 (20:15 +0000)]
Use symbolic names of relocation entries for the various
architectures.  Correct more layout details.  Print names of MIPS
specific section types.  Print Alpha, ARM, and MIPS relocation type
names.

26 years agoUpdate.
Ulrich Drepper [Tue, 21 Jul 1998 20:12:44 +0000 (20:12 +0000)]
Update.

26 years agoPlatform specific relocation definitions.
Ulrich Drepper [Tue, 21 Jul 1998 20:12:27 +0000 (20:12 +0000)]
Platform specific relocation definitions.

26 years agoAdd R_PPC_* entries.
Ulrich Drepper [Tue, 21 Jul 1998 20:11:51 +0000 (20:11 +0000)]
Add R_PPC_* entries.

26 years agoAdd R_MN10300_* entries.
Ulrich Drepper [Tue, 21 Jul 1998 20:11:30 +0000 (20:11 +0000)]
Add R_MN10300_* entries.

26 years agoAdd R_MIPS_* and SHT_MIPS_* entries.
Ulrich Drepper [Tue, 21 Jul 1998 20:11:08 +0000 (20:11 +0000)]
Add R_MIPS_* and SHT_MIPS_* entries.

26 years ago(gdb_listfiles): Fix comments and cleanup.
Martin Hunt [Tue, 21 Jul 1998 18:40:06 +0000 (18:40 +0000)]
(gdb_listfiles): Fix comments and cleanup.

26 years ago * am33.igen: Add most am33 DSP instructions.
Jeff Law [Tue, 21 Jul 1998 15:50:14 +0000 (15:50 +0000)]
    * am33.igen: Add most am33 DSP instructions.

26 years ago * elf-bfd.h (struct elf_backend_data): Add got_ & plt_header_size.
Richard Henderson [Tue, 21 Jul 1998 01:54:28 +0000 (01:54 +0000)]
    * elf-bfd.h (struct elf_backend_data): Add got_ & plt_header_size.
        * elf32-i386.c (elf_backend_got_header_size): Define.
        (elf_backend_plt_header_size): Define.
        * elf32-m68k.c, elf32-mips.c, elf32-ppc.c: Likewise.
        * elf32-sparc.c, elf64-alpha.c, elf64-sparc.c: Likewise.
        * elfxx-target.h: Provide a default of zero.
        * elflink.c (_bfd_elf_create_got_section): Use got_header_size.
        * elflink.h (elf_gc_common_finalize_got_offsets): Likewise.

        * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Don't remove a PLT
        entry from an executable, even if the plt refcount goes to 0.

26 years agoMon Jul 20 12:51:16 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Mon, 20 Jul 1998 16:52:49 +0000 (16:52 +0000)]
Mon Jul 20 12:51:16 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* addr2line.c (find_address_in_section): Only consider a section
if the pc value is completely contained within it.
(translate_addresses): Don't crash if functionname or filename are
null.

26 years agoMon Jul 20 12:47:26 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Mon, 20 Jul 1998 16:50:34 +0000 (16:50 +0000)]
Mon Jul 20 12:47:26 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* aoutx.h (NAME(aout,find_nearest_line)): Also remember the
directory name at the line number.

* elf.c (_bfd_elf_find_nearest_line): Also consider symbols
with an unspecified type.

26 years agoprocess_symbol_table): Fix little alignment problem in printed table header.
Ulrich Drepper [Mon, 20 Jul 1998 14:49:03 +0000 (14:49 +0000)]
process_symbol_table): Fix little alignment problem in printed table header.

26 years agoCorrect reading of .dynamic section.
Ulrich Drepper [Mon, 20 Jul 1998 14:18:35 +0000 (14:18 +0000)]
Correct reading of .dynamic section.
(dynamic_section): Now a global variable.
(process_mips_fpe_exception, process_mips_specific, process_arch_specific):
New functions.
(get_file_header): Call process_arch_specific.

26 years agoAdd support for processor specific information on MIPS.
Ulrich Drepper [Sun, 19 Jul 1998 23:31:57 +0000 (23:31 +0000)]
Add support for processor specific information on MIPS.

26 years agoAdd lots of DT_MIPS_* symbols.
Ulrich Drepper [Sun, 19 Jul 1998 23:30:10 +0000 (23:30 +0000)]
Add lots of DT_MIPS_* symbols.

26 years ago(PT_MIPS_OPTIONS): New symbol.
Ulrich Drepper [Sun, 19 Jul 1998 22:27:05 +0000 (22:27 +0000)]
(PT_MIPS_OPTIONS): New symbol.

26 years agoFix several versioning related bugs. Produce nicer output.
Ulrich Drepper [Sun, 19 Jul 1998 22:18:24 +0000 (22:18 +0000)]
Fix several versioning related bugs.  Produce nicer output.

26 years agoSun Jul 19 02:11:45 1998 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Sun, 19 Jul 1998 09:33:34 +0000 (09:33 +0000)]
Sun Jul 19 02:11:45 1998  Martin M. Hunt  <hunt@cygnus.com>

* symtab.c (decode_line_2): Instead of printing a prompt
and calling command_line_input() without a prompt, just
call it with the proper args.  This makes the GUI work too.

Sat Jul 18 12:28:39 1998  Martin M. Hunt  <hunt@cygnus.com>

* gdbtk.c (gdbtk_cleanup): Add call to tcl function
gdbtk_cleanup. We need this so the GUI gets to clean
up no matter how GDB exits.

26 years ago * ylwrap: Don't use a full path name if the source file is in the
Ian Lance Taylor [Fri, 17 Jul 1998 18:52:26 +0000 (18:52 +0000)]
* ylwrap: Don't use a full path name if the source file is in the
same directory.  From hjl@lucon.org (H.J. Lu).

26 years agoChanged format of help message
Nick Clifton [Fri, 17 Jul 1998 18:44:05 +0000 (18:44 +0000)]
Changed format of help message

26 years agoForward fit sky-branch updates to devo.
Jillian Ye [Fri, 17 Jul 1998 18:43:30 +0000 (18:43 +0000)]
Forward fit sky-branch updates to devo.

26 years ago * config-ml.in: Default to being verbose, to match Feb 18 change to
Ian Lance Taylor [Fri, 17 Jul 1998 17:31:09 +0000 (17:31 +0000)]
* config-ml.in: Default to being verbose, to match Feb 18 change to
configure.

26 years ago * blockframe.c (find_pc_sect_partial_function): allow for the possi-
Ron Unrau [Fri, 17 Jul 1998 15:29:11 +0000 (15:29 +0000)]
    * blockframe.c (find_pc_sect_partial_function): allow for the possi-
          bility of multiple symbols at the same address when finding high.
        * breakpoint.c (resolve_sal_pc): if the function based section lookup
          fails, try getting the section from the minimal symbol table.
        * parse.c (write_exp_msymbol): use symbol_overlayed_address to get
          the LMA of a minimal symbol if unmapped.
        * symtab.c (find_line_symtab): change interface to return symtab
          containing the best linetable found.
          (decode_line_1): use find_line_symtab to set val.symtab. This should
          improve support for source files with multiple symtabs.
        * tm-txvu.h: include tm-mips64.h instead of starting from scratch.

26 years ago * gas/mn10300/am33_5.s: Test 4 operand mul, mulu.
Jeff Law [Fri, 17 Jul 1998 00:19:01 +0000 (00:19 +0000)]
    * gas/mn10300/am33_5.s: Test 4 operand mul, mulu.
        * gas/mn10300/basic.exp: Corresponding changes.

26 years ago * m10300-opc.c (mn10300_opcodes): Fix opcode for 4 operand "mul" and
Jeff Law [Fri, 17 Jul 1998 00:06:55 +0000 (00:06 +0000)]
    * m10300-opc.c (mn10300_opcodes): Fix opcode for 4 operand "mul" and
        "mulu".

26 years ago(BSD44_FORMAT): Define for cygwin32, win32, mingw32
Stan Cox [Thu, 16 Jul 1998 18:05:22 +0000 (18:05 +0000)]
(BSD44_FORMAT): Define for cygwin32, win32, mingw32

26 years ago Brought over from egcs:
Ian Lance Taylor [Thu, 16 Jul 1998 16:31:40 +0000 (16:31 +0000)]
Brought over from egcs:

Sat Jun 27 22:46:32 1998  Jeffrey A Law  (law@cygnus.com)

* configure.in (target_subdir): Set to ${target_alias} instead
of "libraries".

Mon Sep  1 16:45:44 1997  Jim Wilson  <wilson@cygnus.com>

* configure.in (target_subdir): Set to libraries if enable_multilib.

26 years agoMerge v850 branch ICE support onto devo.
Keith Seitz [Wed, 15 Jul 1998 20:13:34 +0000 (20:13 +0000)]
Merge v850 branch ICE support onto devo.

26 years ago * config/tc-i386.c (md_assemble): Don't get confused by trailing
Ian Lance Taylor [Wed, 15 Jul 1998 19:43:15 +0000 (19:43 +0000)]
* config/tc-i386.c (md_assemble): Don't get confused by trailing
whitespace after a prefix operator.

26 years ago * main.c (main): Fix violations of GNU coding standard.
Keith Seitz [Wed, 15 Jul 1998 18:52:50 +0000 (18:52 +0000)]
* main.c (main): Fix violations of GNU coding standard.

* breakpoint.c: Export delete_command.

* infcmd.c: Export continue_command, stepi_command, and nexti_command.

* Makefile.in: Add target for v850ice.o.

* configure.tgt: Add cygwin32 dependencies for v850 ice.

26 years agoCope with setting trace points on symbols which do not have an associated directory.
Nick Clifton [Wed, 15 Jul 1998 18:00:49 +0000 (18:00 +0000)]
Cope with setting trace points on symbols which do not have an associated directory.

26 years ago * sunos.c: Add undef of valid to avoid problem on SunOS.
Ian Lance Taylor [Wed, 15 Jul 1998 15:20:28 +0000 (15:20 +0000)]
* sunos.c: Add undef of valid to avoid problem on SunOS.

26 years ago * Makefile.in ($(CONFIGURE_TARGET_MODULES)): If there are any
Ian Lance Taylor [Wed, 15 Jul 1998 05:02:34 +0000 (05:02 +0000)]
* Makefile.in ($(CONFIGURE_TARGET_MODULES)): If there are any
multilibs, force reconfiguration the first time we create
multilib.out in a subdirectory, in case TARGET_SUBDIR is `.'.

26 years ago * configure.in: Strip any --no option from CONFIG_ARGUMENTS, to
Ian Lance Taylor [Wed, 15 Jul 1998 03:42:02 +0000 (03:42 +0000)]
* configure.in: Strip any --no option from CONFIG_ARGUMENTS, to
avoid confusion with --no-recursion.

26 years ago * configure.in: Fix sanitization start/end error.
Keith Seitz [Tue, 14 Jul 1998 23:16:40 +0000 (23:16 +0000)]
    * configure.in: Fix sanitization start/end error.
        * configure: Regenerate.

26 years agoStrip beos markers.
Richard Henderson [Tue, 14 Jul 1998 23:15:20 +0000 (23:15 +0000)]
Strip beos markers.

26 years agofix sanitization; add trap.S
Jeff Holcomb [Tue, 14 Jul 1998 23:00:31 +0000 (23:00 +0000)]
fix sanitization; add trap.S

26 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.

26 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.

26 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.

26 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.

26 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.

26 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.

26 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.

26 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.

26 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.

26 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.

26 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.

26 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.

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

26 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.

26 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.

26 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.

26 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.

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

26 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.

26 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.

26 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.

26 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.

26 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.

26 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.

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

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

26 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>.

26 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.

26 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.

26 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.

26 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.

26 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

26 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.

26 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.

26 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.

26 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.

26 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.