deliverable/binutils-gdb.git
28 years ago * configure.host: Set RPATH_ENVVAR.
Ian Lance Taylor [Thu, 15 Feb 1996 18:56:03 +0000 (18:56 +0000)] 
* configure.host: Set RPATH_ENVVAR.

28 years ago * mh-sparcpic (PICFLAG): Set to -fPIC, not -fpic.
Ian Lance Taylor [Thu, 15 Feb 1996 18:29:44 +0000 (18:29 +0000)] 
* mh-sparcpic (PICFLAG): Set to -fPIC, not -fpic.

28 years ago * Makefile.in: Rebuild dependencies.
Ian Lance Taylor [Thu, 15 Feb 1996 17:48:14 +0000 (17:48 +0000)] 
* Makefile.in: Rebuild dependencies.

28 years ago * objcopy.c (smart_rename): Rather than doing chmod then chown, do
Ian Lance Taylor [Thu, 15 Feb 1996 17:46:49 +0000 (17:46 +0000)] 
* objcopy.c (smart_rename): Rather than doing chmod then chown, do
chmod without setuid, then chown, then chmod with setuid.

28 years ago * elflink.c (_bfd_elf_create_linker_section): Remove unused
Ian Lance Taylor [Thu, 15 Feb 1996 16:32:47 +0000 (16:32 +0000)] 
* elflink.c (_bfd_elf_create_linker_section): Remove unused
zero_section variable.

28 years ago * configure.in: Accept i686. From H.J. Lu <hjl@zoom.com>: i386
Ian Lance Taylor [Thu, 15 Feb 1996 16:22:03 +0000 (16:22 +0000)] 
* configure.in: Accept i686.  From H.J. Lu <hjl@zoom.com>: i386
doesn't need opcodes.  If configuring shared, opcodes needs bfd.
* configure: Rebuild.

28 years agoThu Feb 15 10:39:17 1996 H.J. Lu <hjl@zoom.com>
Ian Lance Taylor [Thu, 15 Feb 1996 15:42:10 +0000 (15:42 +0000)] 
Thu Feb 15 10:39:17 1996  H.J. Lu  <hjl@zoom.com>

* Makefile.in ($(srcdir)/bfd-in2.h): Rename target from bfd-in2.h.
($(srcdir)/libbfd.h): Rename from libbfd.h.
($(srcdir)/libcoff.h): Rename from libcoff.h.

28 years agoWed Feb 14 19:01:27 1996 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Thu, 15 Feb 1996 00:08:45 +0000 (00:08 +0000)] 
Wed Feb 14 19:01:27 1996  Alan Modra  <alan@spri.levels.unisa.edu.au>

* i386-dis.c (onebyte_has_modrm): New static array.
(twobyte_has_modrm): New static array.
(print_insn_i386): Only fetch the mod/reg/rm byte if it is needed.

28 years ago * configure.tgt (*-*-ieee*): New target; use vanilla.
Ian Lance Taylor [Wed, 14 Feb 1996 23:54:05 +0000 (23:54 +0000)] 
* configure.tgt (*-*-ieee*): New target; use vanilla.

Wed Feb 14 18:49:01 1996  Alan Modra  <alan@spri.levels.unisa.edu.au>

* configure.in: Redo emulation handling so that each emulation
searches the correct tool directory, based on the target alias.
For example, "configure --enable-targets=m68k-coff i386-linux"
will search /usr/local/i386-linux/lib for linux and
/usr/local/m68k-coff/lib for m68k-coff.
* configure: Rebuild.
* configure.tgt: Add special tdir settings for Linux.
* Makefile.in: Add @TDIRS@.  Pass "$(tdir_EMUL)" to ${GENSCRIPTS}
for each eEMUL.c target.
* genscripts.sh: Accept specific alias as 9th argument, and use it
in LIB_PATH.

28 years agoWed Feb 14 18:14:11 1996 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Wed, 14 Feb 1996 23:15:10 +0000 (23:15 +0000)] 
Wed Feb 14 18:14:11 1996  Alan Modra  <alan@spri.levels.unisa.edu.au>

* i386.h (i386_optab): Remove Data32 from pushf and popf.

28 years ago From Alan Modra <alan@spri.levels.unisa.edu.au>:
Ian Lance Taylor [Wed, 14 Feb 1996 23:13:13 +0000 (23:13 +0000)] 
From Alan Modra <alan@spri.levels.unisa.edu.au>:
* configure.in: Remove duplicate setting of cpu_type.  Check
whether opcodes library is required for on all targets, not just
primary one.
* configure: Rebuild.

28 years agoWork with HP/UX 9.00
Michael Meissner [Wed, 14 Feb 1996 22:50:23 +0000 (22:50 +0000)] 
Work with HP/UX 9.00

28 years agoWed Feb 14 16:29:07 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de>
Ian Lance Taylor [Wed, 14 Feb 1996 22:40:17 +0000 (22:40 +0000)] 
Wed Feb 14 16:29:07 1996  Martin Anantharaman  <martin@mail.imech.uni-duisburg.de>

* ieee.c (ieee_write_expression): Only use an R variable for a
local symbol.  Don't output a zero offset.  Handle a zero address.
(SRC_MASK, PCREL_OFFSET): Define based on KEEPMINUSPCININST.
(rel32_howto, rel16_howto, rel8_howto): Use SRC_MASK and
PCREL_OFFSET.
(parse_expression): Don't try to handle multiple occurrences of a
P variable.  Handle I variables differently from X variables.  Fix
the order of minus expressions.
(ieee_slurp_external_symbols): Generate an I variable for an NN
record.  Fix handling of ATI and ATX records.
(ieee_slurp_sections): Only set minimal section attributes.
Adjust them later, based on the section contents.
(ieee_object_p): Read in the file until just after the ME record.
Call ieee_slurp_section_data to set the section flags.
(do_one): Add iterations parameter.  Only repeat the first load
item.  Set the section and file reloc flags.
(ieee_slurp_section_data): Set section flags.  Pass iterations to
do_one.
(ieee_canonicalize_reloc): Handle I variables.
(do_with_relocs): Only emit relocation size when necessary.
Increase MAXRUN to 127.  Change ov to be assigned, and take
src_mask and pcrel_offset into account.
(ieee_write_data_part): Skip sections that are not loaded.
(ieee_write_external_part): Don't output optional last entry of WX
records.
(ieee_write_me_part): Make setting of me_record neater.
(ieee_generic_stat_arch_elt): Get the size of an archive element.

28 years ago * config.sub: Merge with FSF.
Ian Lance Taylor [Wed, 14 Feb 1996 21:59:31 +0000 (21:59 +0000)] 
* config.sub: Merge with FSF.

28 years agoWed Feb 14 16:46:42 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de>
Ian Lance Taylor [Wed, 14 Feb 1996 21:48:20 +0000 (21:48 +0000)] 
Wed Feb 14 16:46:42 1996  Martin Anantharaman  <martin@mail.imech.uni-duisburg.de>

* arsup.c (map_over_list): Reindent.  Don't assume that the
function does not delete the BFD.
(ar_addlib_doer): Don't set prev->next if prev is NULL.

28 years agoWed Feb 14 16:38:36 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de>
Ian Lance Taylor [Wed, 14 Feb 1996 21:43:54 +0000 (21:43 +0000)] 
Wed Feb 14 16:38:36 1996  Martin Anantharaman  <martin@mail.imech.uni-duisburg.de>

* ldlang.c (lang_set_startof): Don't do anything for a
relocateable link.

* ldgram.y (mri_script_file): Call mri_draw_tree.
* mri.c (mri_draw_tree): Make globally visible.  Don't bother to
create memory regions.
(mri_load): Don't call mri_draw_tree.
* mri.h (mri_draw_tree): Declare.

* configure.tgt (m68*-*-psos): New target.
* emulparams/m68kpsos.sh: New file.
* scripttempl/psos.sc: New file.
* Makefile.in (ALL_EMULATIONS): Add em68kpsos.o.
(em68kpsos.c): New target.

28 years agorebuild
Ian Lance Taylor [Wed, 14 Feb 1996 21:40:33 +0000 (21:40 +0000)] 
rebuild

28 years agoWed Feb 14 16:33:12 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de>
Ian Lance Taylor [Wed, 14 Feb 1996 21:37:16 +0000 (21:37 +0000)] 
Wed Feb 14 16:33:12 1996  Martin Anantharaman  <martin@mail.imech.uni-duisburg.de>

* read.c (s_mri_sect): Don't return '\0' in type.  Set all
appropriate flags in BFD section.

* configure.in (m68k-*-psos*): New target.
* configure: Rebuild.
* config/te-psos.h: New file.
* config/tc-m68k.c (comment_chars): Don't include '#' if TE_PSOS
is defined.

28 years agoWed Feb 14 16:29:07 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de>
Ian Lance Taylor [Wed, 14 Feb 1996 21:32:24 +0000 (21:32 +0000)] 
Wed Feb 14 16:29:07 1996  Martin Anantharaman  <martin@mail.imech.uni-duisburg.de>

* syms.c (stt): Add entries for zerovars, vars, and code.

* elfcode.h (validate_reloc): New static function.
(write_relocs): Call validate_reloc for non ELF relocs.

* elfxx-target.h (elf_symbol_leading_char): Define if not defined.
(TARGET_BIG_SYM): Use elf_symbol_leading_char.
(TARGET_LITTLE_SYM): Likewise.

* config.bfd (m68*-*-psos*): New target.

28 years ago * ieee.c (ieee_regno_to_genreg): Convert register numbers for m68k
Ian Lance Taylor [Wed, 14 Feb 1996 20:13:13 +0000 (20:13 +0000)] 
* ieee.c (ieee_regno_to_genreg): Convert register numbers for m68k
and i960.
(ieee_genreg_to_regno): Likewise.

28 years ago * gas/mips/jal-xgot.d, gas/mips/la-xgot.d: New tests.
Ian Lance Taylor [Wed, 14 Feb 1996 18:51:35 +0000 (18:51 +0000)] 
* gas/mips/jal-xgot.d, gas/mips/la-xgot.d: New tests.
* gas/mips/lb-xgot.d, gas/mips/ld-xgot.d: New tests.
* gas/mips/lif-xgot.d, gas/mips/ulh-xgot.d: New tests.
* gas/mips/mips.exp: Run new tests if svr4pic.

28 years ago * config/tc-mips.c (mips_big_got): New static variable.
Ian Lance Taylor [Wed, 14 Feb 1996 18:49:27 +0000 (18:49 +0000)] 
* config/tc-mips.c (mips_big_got): New static variable.
(s_extern): Don't declare.
(reg_needs_delay): New static function.
(macro_build): Permit GOT/CALL_HI/LO relocs.
(macro_build_lui): If place is not NULL, use the number in the
expression.
(load_address): Handle mips_big_got case.
(macro): Handle mips_big_got for M_LA_AB, M_JAL_A, and load and
store macros.
(OPTION_XGOT): Define.
(md_longopts): Add "xgot" if OBJ_ELF.
(md_parse_option): Handle -xgot.
(md_show_usage): Mention -xgot.
(md_apply_fix): Permit GOT/CALL_HI/LO relocs.
(tc_gen_reloc): Handle GOT/CALL_HI/LO relocs.

28 years agoWed Feb 14 11:22:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Wed, 14 Feb 1996 16:23:19 +0000 (16:23 +0000)] 
Wed Feb 14 11:22:27 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* config/tc-m68k.c (m68k_ip) [operand kind '#']: When fixing
the byte relocation, point it to the low byte of the word.

28 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Strip
Ian Lance Taylor [Wed, 14 Feb 1996 16:10:18 +0000 (16:10 +0000)] 
* emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Strip
`:foo' from ${ARCH}.

28 years ago * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
Fred Fish [Wed, 14 Feb 1996 07:19:24 +0000 (07:19 +0000)] 
* symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
  Use n_psyms in OBJSTAT, not psyms.

28 years agoAdd reloc.c entries MIPS_CALL_HI16/MIPS_CALL_LO16.
Ian Lance Taylor [Wed, 14 Feb 1996 01:36:01 +0000 (01:36 +0000)] 
Add reloc.c entries MIPS_CALL_HI16/MIPS_CALL_LO16.

28 years ago * reloc.c (BFD_RELOC_MIPS_GOT_HI16): Define.
Ian Lance Taylor [Tue, 13 Feb 1996 22:08:52 +0000 (22:08 +0000)] 
* reloc.c (BFD_RELOC_MIPS_GOT_HI16): Define.
(BFD_RELOC_MIPS_GOT_LO16): Define.
* bfd-in2.h, libbfd.h: Rebuild.
* elf32-mips.c (mips_reloc_map): Map new relocs.

28 years agoTue Feb 13 15:58:58 1996 Bryan Ford <baford@snake.cs.utah.edu>
Ian Lance Taylor [Tue, 13 Feb 1996 21:00:44 +0000 (21:00 +0000)] 
Tue Feb 13 15:58:58 1996  Bryan Ford  <baford@snake.cs.utah.edu>

* scripttempl/i386msdos.sc: Don't pad the .text section.  Put
.rodata in .data.

28 years agoTue Feb 13 15:56:22 1996 Bryan Ford <baford@snake.cs.utah.edu>
Ian Lance Taylor [Tue, 13 Feb 1996 21:00:00 +0000 (21:00 +0000)] 
Tue Feb 13 15:56:22 1996  Bryan Ford  <baford@snake.cs.utah.edu>

* i386msdos.c: Remove some #if 0 code.
(msdos_write_object_contents): Don't include empty sections in the
size computation, regardless of their address.

28 years ago * configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared.
Ian Lance Taylor [Tue, 13 Feb 1996 20:34:53 +0000 (20:34 +0000)] 
* configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared.
* configure: Rebuild.

28 years ago * configure.host: Set HDLFLAGS for *-*-hpux with --enable-shared.
Ian Lance Taylor [Tue, 13 Feb 1996 20:33:12 +0000 (20:33 +0000)] 
* configure.host: Set HDLFLAGS for *-*-hpux with --enable-shared.

28 years ago * configure.host: Set HDLFLAGS for *-*-hpux with --enable-shared.
Ian Lance Taylor [Tue, 13 Feb 1996 20:24:10 +0000 (20:24 +0000)] 
* configure.host: Set HDLFLAGS for *-*-hpux with --enable-shared.

28 years ago * Makefile.in ($(SHLINK)): Check ts against $(SHLIB), not
Ian Lance Taylor [Tue, 13 Feb 1996 20:14:54 +0000 (20:14 +0000)] 
* Makefile.in ($(SHLINK)): Check ts against $(SHLIB), not
$(SHLINK).

28 years ago * ieee.c (get_symbol): Set the section to bfd_abs_section.
Ian Lance Taylor [Tue, 13 Feb 1996 19:37:40 +0000 (19:37 +0000)] 
* ieee.c (get_symbol): Set the section to bfd_abs_section.
(do_with_relocs): If EXEC_P is set and there are no relocs, use a
simple number for the section address, rather than an expression.
Limit the number of bytes between relocs to MAXRUN.
(ieee_write_me_part): Set me_record to the file offset after the
start address.
(ieee_write_processor): New static function.
(ieee_write_object_contents): Use ieee_write_processor.

28 years ago * Makefile.in (RPATH_ENVVAR): New variable.
Ian Lance Taylor [Tue, 13 Feb 1996 19:29:03 +0000 (19:29 +0000)] 
* Makefile.in (RPATH_ENVVAR): New variable.
(REALLY_SET_LIB_PATH): Use it.
* configure.in: On HP/UX, set RPATH_ENVVAR to SHLIB_PATH.

28 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Warn if
Ian Lance Taylor [Tue, 13 Feb 1996 19:05:38 +0000 (19:05 +0000)] 
* emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Warn if
it looks like we might be linking in two different versions of the
same shared library.  Based on a patch from H J Lu <hjl@zoom.com>.

28 years ago * gdb.base/a2-run.exp: Replace $binfile with $testfile in test result reports.
Fred Fish [Tue, 13 Feb 1996 00:42:29 +0000 (00:42 +0000)] 
* gdb.base/a2-run.exp: Replace $binfile with $testfile in test result reports.

28 years ago * read.c (potable): Add "mri" and ".mri".
Ian Lance Taylor [Tue, 13 Feb 1996 00:20:13 +0000 (00:20 +0000)] 
* read.c (potable): Add "mri" and ".mri".
(s_mri): New function.
* read.h (s_mri): Declare.
* app.c (scrub_m68k_mri): New static variable.
(mri_pseudo): New static variable.
(do_scrub_begin): Add m68k_mri parameter.  Use it rather than
flag_m68k_mri.  Initialize scrub_m68k_mri.
(mri_state, mri_last_ch): New static variables.
(struct app_save): Add scrub_m68k_mri, mri_state, and mri_last_ch
fields.
(app_push): Save new fields.
(app_pop): Restore new fields.
(do_scrub_chars): Check scrub_m68k_mri rather than flag_mri_mri.
If TC_M68K, use a trivial state machine to look for occurrences of
the .mri pseudo-op, and change the mode appropriately.
* as.h (do_scrub_begin): Update prototype.
* input-scrub.c (input_scrub_begin): Pass flag_m68k_mri to
do_scrub_begin.
* config/tc-m68k.c (reg_prefix_optional_seen): New static
variable.
(m68k_mri_mode_change): New function.
(md_parse_option): Set reg_prefix_optional_seen.
* config/tc-m68k.h (m68k_mri_mode_change): Declare.
(MRI_MODE_CHANGE): Define.
* doc/as.texinfo: Document .mri pseudo-op.

28 years ago * configure.in (sparclet-*-aout*): New config.
David Edelsohn [Tue, 13 Feb 1996 00:01:44 +0000 (00:01 +0000)] 
* configure.in (sparclet-*-aout*): New config.
* configure: Regenerated.

28 years ago * configure.in: Recognize any sparc* cpu.
David Edelsohn [Mon, 12 Feb 1996 23:54:50 +0000 (23:54 +0000)] 
* configure.in: Recognize any sparc* cpu.
* configure: Regenerated.

28 years agoFix thinko in sparclet config.
David Edelsohn [Mon, 12 Feb 1996 23:41:49 +0000 (23:41 +0000)] 
Fix thinko in sparclet config.

28 years agoRecognize sparclet cpu.
David Edelsohn [Mon, 12 Feb 1996 23:31:29 +0000 (23:31 +0000)] 
Recognize sparclet cpu.

28 years agoUndef PPC before use
Michael Meissner [Mon, 12 Feb 1996 22:17:39 +0000 (22:17 +0000)] 
Undef PPC before use

28 years ago * somsolib.c (som_solib_add): Use xmalloc rather than bare
Fred Fish [Mon, 12 Feb 1996 22:13:18 +0000 (22:13 +0000)] 
* somsolib.c (som_solib_add): Use xmalloc rather than bare
unchecked call to malloc.
* remote-mips.c (pmon_load_fast): ditto.
* remote-mm.c (mm_open): ditto.
* hpread.c (hpread_lookup_type): ditto.
* remote-adapt.c (adapt_open): ditto.

28 years agoMerge from FSF.
Per Bothner [Mon, 12 Feb 1996 21:04:11 +0000 (21:04 +0000)] 
Merge from FSF.

28 years ago * f-lang.c (allocate_saved_bf_node, allocate_saved_function_node,
Fred Fish [Mon, 12 Feb 1996 21:03:12 +0000 (21:03 +0000)] 
* f-lang.c (allocate_saved_bf_node, allocate_saved_function_node,
allocate_saved_f77_common_node, allocate_common_entry_node,
add_common_block): Use xmalloc rather than malloc, some of which
were unchecked.
* gnu-regex.c: At same point as other gdb specific changes
#undef malloc and then #define it to xmalloc.
* ch-exp.c (growbuf_by_size): Use xmalloc/xrealloc rather than
bare unchecked calls to malloc/realloc.
* stabsread.c (dbx_lookup_type): Use xmalloc rather than bare
  unchecked call to malloc.

28 years ago * app.c (do_scrub_chars): In MRI mode, don't treat '#' as a
Ian Lance Taylor [Mon, 12 Feb 1996 20:41:58 +0000 (20:41 +0000)] 
* app.c (do_scrub_chars): In MRI mode, don't treat '#' as a
comment character.

28 years agoMon Feb 12 15:16:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Mon, 12 Feb 1996 20:33:06 +0000 (20:33 +0000)] 
Mon Feb 12 15:16:29 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

Support for OBJ_ELF on m68k, mostly inside #ifdef OBJ_ELF:
* config/m68k-parse.h (enum pic_relocation): Define.
(struct m68k_exp): Add pic_reloc field.
* config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Define.
(tc_fix_adjustable): Define to call tc_m68k_fix_adjustable.
(NO_RELOC): Define to BFD_RELOC_NONE if BFD_ASSEMBLER, to zero
otherwise.
* config/tc-m68k.c: Delete definition of NO_RELOC.
  (struct m68k_it): Add pic_reloc field.
(add_fix): Copy over pic_reloc field.
(md_pseudo_table): Interpret .align parameter as byte count.
(mote_pseudo_table): Likewise.
(tc_m68k_fix_adjustable): New function.
(get_reloc_code): New function.
(md_assemble): Use it as last argument to fix_new_exp.
(md_apply_fix_2): For a relocation against a symbol don't put the
addend into the data.
(tc_gen_reloc): Different addend computation for OBJ_ELF.
(m68k_ip): Don't relax an operand that requires pic relocation.
(md_begin): Align .text, .data and .bss on 4 byte boundary by
default.
* write.c (fixup_segment): Don't add symbol value to addend if
  TC_M68K and OBJ_ELF.
* config/m68k-parse.y (yylex): Handle @PLTPC, etc.
(motorola_operand): Add rule for `(zapc, EXPR)'.

28 years agoMon Feb 12 14:53:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Mon, 12 Feb 1996 19:54:37 +0000 (19:54 +0000)] 
Mon Feb 12 14:53:39 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* mh-m68kpic, mt-m68kpic: New files.

28 years ago * ieee.c: Extensive changes to write code to put types in the
Ian Lance Taylor [Mon, 12 Feb 1996 19:41:47 +0000 (19:41 +0000)] 
* ieee.c: Extensive changes to write code to put types in the
global type block when possible, to output ranges for all memory
occupied by the module, and to improve efficiency.

28 years ago * debug.c (struct debug_handle): Remove class_mark field. Add
Ian Lance Taylor [Mon, 12 Feb 1996 19:41:09 +0000 (19:41 +0000)] 
* debug.c (struct debug_handle): Remove class_mark field.  Add
id_list and compare_list fields.
(struct debug_class_id): Define.
(struct debug_type_compare_list): Define.
(debug_write): Initialize info->id_list
(debug_write_name): Remove reference to info->class_mark.
(debug_write_type): Get id for all structs and classes.  Simplify
test for whether struct has already been written.
(debug_write_class_type): Get id for all classes.  Simplify test
for whether class has already been written.
(debug_write_block): Don't write out blocks other than the top
level block if they have no local variables.
(debug_set_class_id): New static function.
(debug_type_samep): New static function.
(debug_class_type_samep): New static function.
* prdbg.c (pr_start_struct_type): Always print id.
(pr_start_class_type): Likewise.
(pr_tag_type): Likewise.

28 years agoMon Feb 12 10:07:33 1996 David Mosberger-Tang <davidm@azstarnet.com>
Ian Lance Taylor [Mon, 12 Feb 1996 15:08:04 +0000 (15:08 +0000)] 
Mon Feb 12 10:07:33 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* ecoff.c (ecoff_directive_weakext): Fixed so that whitespace
*really* is permissible before the comma.

28 years ago * config/tc-sh.c (sh_do_align): Align to a 2 byte boundary before
Ian Lance Taylor [Mon, 12 Feb 1996 05:12:40 +0000 (05:12 +0000)] 
* config/tc-sh.c (sh_do_align): Align to a 2 byte boundary before
inserting nop instructions.
PR 8974.

28 years ago * gdb.texinfo (Print settings): Document
Peter Schauer [Sat, 10 Feb 1996 11:30:35 +0000 (11:30 +0000)] 
* gdb.texinfo (Print settings):  Document
`set/show print static-members' commands.

28 years ago * configure.in (CY_AC_PATH_TCLH): Remove.
Fred Fish [Fri, 9 Feb 1996 22:55:37 +0000 (22:55 +0000)] 
* configure.in (CY_AC_PATH_TCLH): Remove.
* configure: Regenerate.

28 years ago * config/te-aux.h: Change include of aux.h to aux-coff.h.
Ian Lance Taylor [Fri, 9 Feb 1996 15:55:06 +0000 (15:55 +0000)] 
* config/te-aux.h: Change include of aux.h to aux-coff.h.

28 years ago * coff-aux.c: Change include of aux.h was to aux-coff.h.
Ian Lance Taylor [Fri, 9 Feb 1996 15:53:53 +0000 (15:53 +0000)] 
* coff-aux.c: Change include of aux.h was to aux-coff.h.

28 years ago * aux-coff.h: Rename from aux.h, to avoid problems on hapless DOS
Ian Lance Taylor [Fri, 9 Feb 1996 15:53:40 +0000 (15:53 +0000)] 
* aux-coff.h: Rename from aux.h, to avoid problems on hapless DOS
systems which think that aux is a com port.

28 years ago * Makefile.in (clean): Add missing '{'.
Fred Fish [Fri, 9 Feb 1996 15:23:30 +0000 (15:23 +0000)] 
* Makefile.in (clean): Add missing '{'.

28 years ago * gdb.c++/Makefile.in (clean): Add missing '{'.
Fred Fish [Fri, 9 Feb 1996 15:23:05 +0000 (15:23 +0000)] 
* gdb.c++/Makefile.in (clean): Add missing '{'.

28 years ago * config/tc-i960.c (tc_coff_symbol_emit_hook): Correct storage
Ian Lance Taylor [Fri, 9 Feb 1996 01:29:59 +0000 (01:29 +0000)] 
* config/tc-i960.c (tc_coff_symbol_emit_hook): Correct storage
class setting for a CALLNAME symbol in COFF.

28 years ago * read.c (potable): Pass negative numbers for new .balign[wl] and
Ian Lance Taylor [Fri, 9 Feb 1996 01:04:21 +0000 (01:04 +0000)] 
* read.c (potable): Pass negative numbers for new .balign[wl] and
.p2align[wl] pseudo-ops.
(s_align_bytes): Treat a negative argument as specifying the fill
length.
(s_align_ptwo): Likewise.

28 years ago * ldlang.c (lang_size_sections): Increment the section size when a
Ian Lance Taylor [Fri, 9 Feb 1996 00:26:56 +0000 (00:26 +0000)] 
* ldlang.c (lang_size_sections): Increment the section size when a
padding statement is encountered.
PR 8965.

28 years agoactually sed off the X in the OSF1 version
Brendan Kehoe [Thu, 8 Feb 1996 23:41:30 +0000 (23:41 +0000)] 
actually sed off the X in the OSF1 version

28 years ago * config.guess (UNAME_VERSION): Recognize X4.x as an OSF version.
Brendan Kehoe [Thu, 8 Feb 1996 23:38:33 +0000 (23:38 +0000)] 
* config.guess (UNAME_VERSION): Recognize X4.x as an OSF version.

28 years agoThu Feb 8 14:01:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Thu, 8 Feb 1996 19:07:20 +0000 (19:07 +0000)] 
Thu Feb  8 14:01:03 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf32-m68k.c (elf_m68k_relocate_section): For a R_68K_RELATIVE
relocation put the addend both in the reloc entry and the data.
(elf_m68k_finish_dynamic_symbol): Likewise.  Mask out marker in
GOT offset value.

* elf32-m68k.c (elf_m68k_relocate_section): If -Bsymbolic, resolve
a R_68K_PCxx reloc against a defined global symbol directly.
(elf_m68k_check_relocs): Don't count such a reloc.

* elf32-m68k.c (elf_m68k_check_relocs): Don't record a symbol with
a PLTxx reloc as dynamic.  Disallow PLTxxO reloc against a local
symbol for now, otherwise always record the symbol as dynamic.
(elf_m68k_adjust_dynamic_symbol): If a symbol with a PLTxx reloc
is not referenced by a dynamic object, and we are not making a
shared object, then don't make a PLT entry.  If we do make a PLT
entry, make sure the symbol has been recorded as dynamic.

28 years ago * read.c (potable): Add balignw, balignl, p2alignw, and p2alignl.
Ian Lance Taylor [Thu, 8 Feb 1996 00:22:02 +0000 (00:22 +0000)] 
* read.c (potable): Add balignw, balignl, p2alignw, and p2alignl.
(do_align): Take new len parameter.  Change all callers.  Pass it
to md_do_align.
(s_align_bytes): Arg now indicates the length of the fill pattern.
(s_align_ptwo): Likewise.
* config/obj-coff.c (write_object_file): Pass length to
md_do_align.
* config/tc-i386.h (md_do_align): Take new len parameter.
* config/tc-m88k.h (md_do_align): Likewise.
* config/tc-m88k.c (m88k_do_align): Likewise.
* config/tc-sh.h (md_do_align): Likewise.
* config/tc-sh.c (sh_do_align): Likewise.
* doc/as.texinfo: Document new pseudo-ops.

* config/obj-coff.c (fixup_mdeps): Divide offset by fr_var, as is
done in cvt_frag_to_fill.
PR 8974.

28 years ago * config/tc-sh.h (sh_do_align): Declare.
Ian Lance Taylor [Wed, 7 Feb 1996 22:00:28 +0000 (22:00 +0000)] 
* config/tc-sh.h (sh_do_align): Declare.
(md_do_align): Define.
* config/tc-sh.c (sh_do_align): New function.
PR 8974.

28 years ago * ecoff.c (ecoff_build_lineno): Don't try to store the address
Ian Lance Taylor [Wed, 7 Feb 1996 20:20:56 +0000 (20:20 +0000)] 
* ecoff.c (ecoff_build_lineno): Don't try to store the address
difference if the next address is before the current one.

28 years agoupdate copyrights
Ian Lance Taylor [Wed, 7 Feb 1996 19:36:48 +0000 (19:36 +0000)] 
update copyrights

28 years ago * symtab.c (gdb_mangle_name): Change opname var to be const to
Stu Grossman [Wed, 7 Feb 1996 19:35:38 +0000 (19:35 +0000)] 
* symtab.c (gdb_mangle_name):  Change opname var to be const to
match return val of cplus_mangle_name.
* i960-tdep.c:  Change arg types of next_insn to match callers.

28 years ago * config/tc-m68k.c (struct m68k_cpu): Add alias field.
Ian Lance Taylor [Wed, 7 Feb 1996 19:35:15 +0000 (19:35 +0000)] 
* config/tc-m68k.c (struct m68k_cpu): Add alias field.
(archs): Initialize new field.
(m68k_ip): Don't list alias names when listing CPUs which support
an instruction.

28 years ago * as.c (main): Call parse_args before read_begin.
Ian Lance Taylor [Wed, 7 Feb 1996 19:34:29 +0000 (19:34 +0000)] 
* as.c (main): Call parse_args before read_begin.
* app.c (do_scrub_chars): If flag_m68k_mri, don't put a dot in
front of generated pseudo-ops.
* read.c (potable): Ignore "name".
(s_app_file): Permit a single quote after the string, since one
may appear in m68k MRI mode.

28 years ago * ieee.c (ieee_start_compilation_unit): Clear modified and
Ian Lance Taylor [Wed, 7 Feb 1996 19:20:35 +0000 (19:20 +0000)] 
* ieee.c (ieee_start_compilation_unit): Clear modified and
modified_alloc fields of info.

28 years ago * configure.in: Check for --enable-shared. Substitute new
Ian Lance Taylor [Wed, 7 Feb 1996 19:19:22 +0000 (19:19 +0000)] 
* configure.in: Check for --enable-shared.  Substitute new
variables BFDLIB and OPCODES.
* configure: Rebuild.
* Makefile.in (BFDLIB): Set to @BFDLIB@.
(OPCODES): Set to @OPCODES@.

28 years ago * configure.in: Check for --enable-shared. If linking against
Ian Lance Taylor [Wed, 7 Feb 1996 19:13:20 +0000 (19:13 +0000)] 
* configure.in: Check for --enable-shared.  If linking against
shared BFD and opcodes, fix library name on SunOS, and try to set
-rpath reasonably.
* configure: Rebuild.

28 years ago * configure.in: Don't set CC. Look for --enable-shared. Set
Ian Lance Taylor [Wed, 7 Feb 1996 19:08:04 +0000 (19:08 +0000)] 
* configure.in: Don't set CC.  Look for --enable-shared.  Set
BFDLIB and HLDFLAGS and substitute them.
* configure: Rebuild.
* Makefile.in (LIBS): Use @BFDLIB@.
(HLDFLAGS): New variable.
(gprof): Use $(HLDFLAGS).

28 years ago * configure.in: Look for --enable-shared. Change the value of
Ian Lance Taylor [Wed, 7 Feb 1996 19:03:38 +0000 (19:03 +0000)] 
* configure.in: Look for --enable-shared.  Change the value of
BFDLIB when linking against a shared library on SunOS.
* configure: Rebuild.
* configure.host: If using a shared BFD library, try to pass a
reasonable -rpath option when linking.
* Makefile.in (BFDLIB): Set to @BFDLIB@.

28 years ago * Makefile.in (SONAME): New variable.
Ian Lance Taylor [Wed, 7 Feb 1996 19:00:52 +0000 (19:00 +0000)] 
* Makefile.in (SONAME): New variable.
($(SHLINK)): Make a link to the transformed name, as well.
(stamp-tshlink): New target.
(install): Skip stamp-tshlink during install.

28 years ago * configure.host: When making a shared library, set HLDFLAGS to
Ian Lance Taylor [Wed, 7 Feb 1996 18:59:11 +0000 (18:59 +0000)] 
* configure.host: When making a shared library, set HLDFLAGS to
pass an appropriate -rpath option.  Use the make variable SONAME
as the shared library soname, rather than computing it here.  On
SunOS, build stamp-tshlink in place of $(SHLINK).
* Makefile.in (SONAME): New variable.
($(SHLINK)): Make a link to the transformed name, as well.
(stamp-tshlink): New target.
(install): Skip stamp-tshlink during install.

28 years agoFix WRS bug where -Ttext 0x10000 left first program header invalid
Michael Meissner [Wed, 7 Feb 1996 18:41:52 +0000 (18:41 +0000)] 
Fix WRS bug where -Ttext 0x10000 left first program header invalid

28 years ago * gdbtk.tcl (create_file_win): Eliminate text widget B1 binding so
Tom Tromey [Wed, 7 Feb 1996 17:44:58 +0000 (17:44 +0000)] 
* gdbtk.tcl (create_file_win): Eliminate text widget B1 binding so
double-clicking will work again.
(create_asm_win): Put "break" at end of all B1 bindings.
(create_file_win): Lower "sel" tag, don't raise it.
(ensure_line_visible): New proc.
(update_listing, update_assembly): Use it.
(create_copyright_window): Destroy window on Leave event.
(create_command_window): Put "break" at end of all B2 bindings.

28 years ago * config/i386/linux.mh (XM_CLIBS, GDBSERVER_LIBS): Remove. These
Fred Fish [Wed, 7 Feb 1996 15:38:24 +0000 (15:38 +0000)] 
* config/i386/linux.mh (XM_CLIBS, GDBSERVER_LIBS):  Remove.  These
apparently aren't needed in any reasonably recent version of
linux.

28 years ago * pr-8894.exp, pr-8894.ch, pr-8894-grt.ch: New test case.
Per Bothner [Wed, 7 Feb 1996 05:54:17 +0000 (05:54 +0000)] 
* pr-8894.exp, pr-8894.ch, pr-8894-grt.ch:  New test case.

28 years ago * stabsread.c (read_range_type): If !self-subrange and language
Per Bothner [Wed, 7 Feb 1996 05:43:04 +0000 (05:43 +0000)] 
* stabsread.c (read_range_type):  If !self-subrange and language
is Chill, assume a true range.  If a true_range is a sub_subrange,
use builtin_type_int for index_type.
This is for PR chill/8894.

28 years ago* configure.in (*-*-netbsd*): Set COREFILE to netbsd-core.c.
J.T. Conklin [Tue, 6 Feb 1996 22:19:05 +0000 (22:19 +0000)] 
* configure.in (*-*-netbsd*): Set COREFILE to netbsd-core.c.
don't define TRAD_HEADER.
* configure: Rebuild.
* netbsd-core.c: New file, support for NetBSD core files.
* hosts/*nbsd.h: Removed.

28 years ago * reloc.c (BFD_RELOC_SPARC_[567]): New reloc types.
David Edelsohn [Tue, 6 Feb 1996 20:23:08 +0000 (20:23 +0000)] 
* reloc.c (BFD_RELOC_SPARC_[567]): New reloc types.
(BFD_RELOC_SPARC_LO7 reloc type): Deleted.
* libbfd.h, bfd-in2.h: Regenerated.
* elf32-sparc.c (_bfd_sparc_elf_reloc_type_lookup): Renamed from
bfd_elf32_bfd_reloc_type_lookup.
(reloc_type{,_names}): Deleted.
(_bfd_sparc_elf_howto_table): Renamed from elf_sparc_howto_table.
Add sparc64 relocs.
(sparc_reloc_map): Add sparc64 relocs.
(sparc_elf_notsupported_reloc): New static function.
(sparc_elf_wdisp16_reloc): New static function.
(elf32_sparc_check_relocs): Handle R_SPARC_WDISP{16,19}.
(elf32_sparc_relocate_section): Likewise.
(bfd_elf32_bfd_reloc_type_lookup): Define.
* elf64-sparc.c (sparc64_elf_wdisp16_reloc): Deleted.
(reloc_type{,_names}): Deleted.
(elf_sparc_howto_table): Deleted.
(sparc_reloc_map): Deleted.
(_bfd_sparc_elf_howto_table): Renamed from elf_sparc_howto_table.
(bfd_elf64_bfd_reloc_type_lookup): Change from function to #define.

28 years agoRename XL to JX, and remove sanitization.
Ian Lance Taylor [Tue, 6 Feb 1996 19:15:26 +0000 (19:15 +0000)] 
Rename XL to JX, and remove sanitization.

28 years agoRename XL to JX, and remove sanitization.
Ian Lance Taylor [Tue, 6 Feb 1996 19:10:04 +0000 (19:10 +0000)] 
Rename XL to JX, and remove sanitization.

28 years ago * configure.host: Make SHLIB_CFLAGS include $(PICFLAG) on a
Ian Lance Taylor [Tue, 6 Feb 1996 17:34:18 +0000 (17:34 +0000)] 
* configure.host: Make SHLIB_CFLAGS include $(PICFLAG) on a
*-*-hpux* host.

28 years ago * Makefile.in (program_transform_name): New variable.
Ian Lance Taylor [Tue, 6 Feb 1996 17:27:44 +0000 (17:27 +0000)] 
* Makefile.in (program_transform_name): New variable.
(install): Transform library name before installing it.

28 years ago From Michael_Snyder@NeXT.COM (Michael Snyder):
Steve Chamberlain [Tue, 6 Feb 1996 02:49:52 +0000 (02:49 +0000)] 
From Michael_Snyder@NeXT.COM (Michael Snyder):
* valops.c (value_arg_coerce): Coerce float to double, unless the
  function prototype specifies float.

28 years ago * archures.c (bfd_mach_i960_hx): Define.
Ian Lance Taylor [Mon, 5 Feb 1996 23:57:39 +0000 (23:57 +0000)] 
* archures.c (bfd_mach_i960_hx): Define.
* bfd-in2.h: Rebuild.
* cpu-i960.c (scan_960_mach): Accept machine "hx".
(MATRIX): Expand entries for HX.
(arch_info_struct): Add i960:hx entry.
* bout.c (b_out_set_arch_mach): Handle bfd_mach_i960_hx.
* coffcode.h (coff_set_arch_mach_hook): Handle F_I960HX.
(coff_set_flags): Handle bfd_mach_i960_hx.

28 years ago * i960-dis.c (mem): Add HX dcinva instruction.
Ian Lance Taylor [Mon, 5 Feb 1996 23:54:25 +0000 (23:54 +0000)] 
* i960-dis.c (mem): Add HX dcinva instruction.
(reg): Add HX instructions.
start-sanitize-i960xl
The HX instructions are the XL instructions, so this just involves
arranges for them to not be sanitized.
end-sanitize-i960xl

28 years ago * config/tc-i960.c (ARCH_HX): Define.
Ian Lance Taylor [Mon, 5 Feb 1996 23:52:42 +0000 (23:52 +0000)] 
* config/tc-i960.c (ARCH_HX): Define.
(arch_tab): Add HX.
(targ_has_sfr): Handle ARCH_HX.
(targ_has_iclass): Handle ARCH_HX.
(tc_coff_fix2rtype): Add return 0 to avoid warning.
(tc_headers_hook): If the architecture was specified explicitly,
use it when setting the flags.  Set the extern variable coff_flags
rather than headers->filehdr.f_flags, since the latter is set
unconditionally in obj-coff.c.
(i960_handle_align): Remove unused variable fixp.

28 years ago * i960.h (I_HX, I_HX2): Define.
Ian Lance Taylor [Mon, 5 Feb 1996 23:37:25 +0000 (23:37 +0000)] 
* i960.h (I_HX, I_HX2): Define.
start-sanitize-i960xl
(I_XL): Remove.  The HX supports all XL instructions.
end-sanitize-i960xl
(i960_opcodes): Add HX instructions.

28 years ago * i960.h (F_I960HX): Define.
Ian Lance Taylor [Mon, 5 Feb 1996 23:35:09 +0000 (23:35 +0000)] 
* i960.h (F_I960HX): Define.

28 years agotipo
Ian Lance Taylor [Mon, 5 Feb 1996 23:32:23 +0000 (23:32 +0000)] 
tipo

28 years ago * configure.in: If --enable-shared was used, set SET_LIB_PATH to
Ian Lance Taylor [Mon, 5 Feb 1996 21:40:24 +0000 (21:40 +0000)] 
* configure.in: If --enable-shared was used, set SET_LIB_PATH to
$(REALLY_SET_LIB_PATH) in Makefile.
* Makefile.in (SET_LIB_PATH): New variable.
(REALLY_SET_LIB_PATH): New variable.
($(DO_X)): Use $(SET_LIB_PATH).
(install.all, gcc-no-fixedincludes, $(ALL_MODULES)): Likewise.
($(NATIVE_CHECK_MODULES), $(CROSS_CHECK_MODULES)): Likewise.
($(INSTALL_MODULES), $(CONFIGURE_TARGET_MODULES)): Likewise.
($(ALL_TARGET_MODULES), $(CHECK_TARGET_MODULES)): Likewise.
($(INSTALL_TARGET_MODULES), $(ALL_X11_MODULES)): Likewise.
($(CHECK_X11_MODULES), $(INSTALL_X11_MODULES)): Likewise.
(all-gcc, all-bootstrap, check-gcc, install-gcc): Likewise.
(install-dosrel): Likewise.
(all-opcodes): Depend upon all-libiberty.

28 years ago Support for building bfd and opcodes as shared libraries, based on
Ian Lance Taylor [Mon, 5 Feb 1996 21:35:22 +0000 (21:35 +0000)] 
Support for building bfd and opcodes as shared libraries, based on
patches from Alan Modra <alan@spri.levels.unisa.edu.au>:
* Makefile.in (LIBDEPS): New variable.
(LIBS): Use -L../bfd -lbfd.
(gprof): Depend upon $(LIBDEPS) rather than $(LIBS).

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