116bf30f41
* config/obj-coff.c (obj_coff_section): BFD_ASSEMBLER version:
...
call demand_empty_rest_of_line. Non BFD_ASSEMBLER version:
correct handling of input line pointer, and call
demand_empty_rest_of_line.
PR 9525.
1996-04-24 15:30:56 +00:00
894d8e6946
* infrun.c (wait_for_inferior): Move "have_waited" label
...
outside of #ifdef conditionals. Don't trash the wait status
if we get a signal and the current instruction is nullified.
Fixes long standing problem on the PA (spurious SIGTRAPs)..
1996-04-24 06:36:10 +00:00
a0e1eb4225
* Makefile.in (VERSION): Bump version number to 4.16.1
...
* NEWS: Update for 4.16 release.
1996-04-23 23:35:51 +00:00
17aa82848e
* objdump.c (compare_symbols): Sort symbols whose names start with
...
`.' after other symbols. If no other decision can be made, sort
symbols by name.
1996-04-23 16:58:18 +00:00
ed21219c4e
* Makefile.in (ALL_MODULES): Added all-inet.
...
(CROSS_CHECK_MODULES): Added check-inet.
(INSTALL_MODULES): Added install-inet.
(CLEAN_MODULES): Added clean-inet.
(all-indent): New target.
* configure.in (host_tools): Added inet.
(native_only): Added inet.
(noconfigdirs): Added inet.
1996-04-23 15:41:14 +00:00
34249b2faf
* elf32-sparc.c (_bfd_sparc_elf_howto_table): Fix spelling of
...
R_SPARC_GLOB_JMP.
* elf64-sparc.c (sparc64_elf_howto_table): Likewise.
Add entries for R_SPARC_[56].
(sparc_reloc_map): Add entries for R_SPARC_[56].
1996-04-23 01:33:32 +00:00
58c9a12bb8
* config/tc-sparc.c (in_bitfield_range): New static function.
...
(sparc_ip): New cases X,Y. Use SPARC_OPCODE_ARCH_V9_P.
(md_apply_fix, cases BFD_RELOC_32_PCREL_S2,
BFD_RELOC_SPARC_{WDISP16,WDISP19}): Fix undefined code.
(md_apply_fix): New cases BFD_RELOC_SPARC_[56].
(tc_gen_reloc): New cases BFD_RELOC_SPARC_[56].
1996-04-23 01:25:42 +00:00
ef15dfc7b7
* gas/sparc/sparc.exp: Run them.
1996-04-22 23:50:07 +00:00
4430e4ad5b
Run splet tests.
1996-04-22 23:49:42 +00:00
a5cb47d815
* gas/sparc/splet.[ds]: New tests for sparclet extensions.
1996-04-22 23:46:24 +00:00
178ed33898
* monitor.h: Clean up comment formatting.
...
(current_monitor): Remove decl.
(LOADTYPES, LOADPROTOS, INIT_CMD, etc): Remove definitions.
(push_monitor, SREC_SIZE): Remove.
* monitor.c: Expand old macro into current_monitor derefs
everywhere.
* remote-os9k.c (current_monitor): Remove definition.
1996-04-22 23:46:02 +00:00
bee69a3283
New testcase for sparclet extensions.
1996-04-22 23:44:44 +00:00
517cb8d739
Consistently use address <fnf@cygnus.com> for entries.
1996-04-22 23:11:03 +00:00
1726b8f0a4
Optimize linking of stabs in sections as used in ELF and COFF.
...
* stabs.c: New file.
* libbfd-in.h (_bfd_link_section_stabs): Declare.
(_bfd_write_section_stabs): Declare.
(_bfd_write_stab_strings): Declare.
* libbfd.h: Rebuild.
* libcoff-in.h (struct coff_section_tdata): Add stab_info field.
(struct coff_link_hash_table): Add stab_info field.
* libcoff.h: Rebuild.
* cofflink.c (_bfd_coff_link_hash_table_init): Initialize
stab_info field.
(coff_link_add_symbols): Call _bfd_link_section_stabs if
appropriate.
(_bfd_coff_final_link): Write out stab strings hash table.
(_bfd_coff_link_input_bfd): Handle optimized stabs sections.
* coff-ppc.c (ppc_bfd_coff_final_link): Write out stab strings
hash table.
* elf-bfd.h (struct elf_link_hash_table): Add stab_info field.
(struct bfd_elf_section_data): Add stab_info field.
* elf.c (_bfd_elf_link_hash_table_init): Initialize stab_info
field.
* elflink.h (elf_link_add_object_symbols): If appropriate, call
_bfd_link_section_stabs.
(elf_bfd_final_link): Write out stab strings hash table.
(elf_link_input_bfd): Handle optimized stabs sections.
* reloc.c (_bfd_final_link_relocate): Check address against
_raw_size rather than _cooked_size.
* Makefile.in: Rebuild dependencies.
(BFD_LIBS): Add stabs.o
(BFD_LIBS_CFILES): Add stabs.c.
1996-04-22 22:35:53 +00:00
f9fedc48d1
* corefile.c (specify_exec_file_hook): Allow arbitrary number of
...
hooks.
(call_extra_exec_file_hooks): New function.
* h8300-tdep.c: Lint; add .h files to provide missing declarations,
remove unused variables.
(set_machine_hook): New function.
(_initialize_h8300m): Initialize it.
PR 8849.
1996-04-22 22:31:10 +00:00
6799c638e5
* ldlang.c (lang_size_sections): If _cooked_size is not 0, then
...
don't clobber it when not relaxing.
* ld.h (ld_config_type): Remove traditional_format field.
* ldmain.c (main): Use link_info.traditional_format rather than
config.traditional_format.
* ldlang.c (ldlang_open_output): Likewise.
* lexsup.c (parse_args): Likewise.
* emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Likewise.
* mpw-eppcmac.c (gldppcmacos_parse_args): Likewise.
1996-04-22 21:32:58 +00:00
af50cd9170
* coffgen.c (coff_renumber_symbols): Correct handling of
...
BSF_NOT_AT_END common symbols.
1996-04-22 19:10:10 +00:00
6429ad7e58
* ldlang.c (wild_doit): Discard debugging sections if we are
...
stripping debugging information.
1996-04-22 16:22:52 +00:00
14706a96af
* emulparams/z8002.sh (ARCH): Set to z8002, not z8k.
1996-04-22 16:08:18 +00:00
f9fa5df367
* coff-ppc.c (record_toc): Add cast to avoid warning.
...
(ppc_allocate_toc_section): Likewise.
(coff_ppc_relocate_section): Remove ANSI C string concatenation.
(ppc_coff_reloc_type_lookup): Remove unreached code.
* coffcode.h (coff_write_object_contents): Don't take the address
of an array.
* peicode.h (pe_print_idata): Add casts to avoid warning.
(pe_print_edata): Likewise.
(pe_print_reloc): Remove ANSI C string concatenation.
1996-04-19 23:24:41 +00:00
9a8629d511
* configure.in: Don't configure libgloss if we are not configuring
...
newlib.
1996-04-19 19:36:44 +00:00
102f473b78
* remote-mips.c (encoding): Don't specify size, to avoid bug in
...
SunOS native compiler.
1996-04-19 19:05:00 +00:00
a9f7253f64
Fri Apr 19 15:48:24 1996 James G. Smith <jsmith@cygnus.co.uk>
...
* gencode.c (process_instructions): Ensure FP ABS instruction
recognised.
* interp.c (AbsoluteValue): Add routine. Also provide simple PMON
system call support.
1996-04-19 14:53:16 +00:00
69159fad82
* monitor.c: Use int rather than LONGEST for values, since
...
the formatting strings are not prepared to accept long longs.
PR 9432
1996-04-19 01:55:57 +00:00
ff406bd3bf
* config/obj-coff.c: BFD_ASSEMBLER:
...
(coff_last_bf): New static variable.
(coff_frob_symbol): Set endndx of a .bf symbol.
Non BFD_ASSEMBLER:
(obj_coff_endef): Call SF_SET_PROCESS on a .bf symbol.
(last_bfP): New static variable.
(yank_symbols): Set endndx of a .bf symbol.
PR 9467.
1996-04-18 23:00:29 +00:00
d6e0e2f786
* libcoff-in.h (struct coff_final_link_info): Add last_bf_index
...
and last_bf fields.
* libcoff.h: Rebuild.
* coffswap.h (coff_swap_aux_in): Swap endndx field for C_FCN
symbols.
(coff_swap_aux_out): Likewise.
* peicode.h (coff_swap_aux_in): Likewise.
(coff_swap_aux_out): Likewise.
* coffgen.c (coff_pointerize_aux): Check endndx field for C_FCN
symbols.
* cofflink.c (_bfd_coff_final_link): Initialize last_bf_index
field.
(_bfd_coff_link_input_bfd): Check endndx field for C_FCN symbols.
Fix up .bf endndx link fields.
* coff-ppc.c (ppc_bfd_coff_final_link): Initialize last_bf_index
field.
* xcofflink.c (xcoff_link_input_bfd): Check endndx field for C_FCN
symbols.
PR 9467.
1996-04-18 22:55:54 +00:00
9590fa867b
* dep-in.sed: Substitute $(BFDDIR) for @BFDDIR@.
...
* Makefile.in: Rebuild dependencies.
(dep.sed): Substitute $(BFDDIR) for @BFDDIR@.
1996-04-18 20:03:52 +00:00
47d12b2ce0
Add -le/-be/-s from Solaris.
1996-04-18 15:56:03 +00:00
e1b4f28735
* arm-tdep.c (initialize_arm_tdep): Make apcs32 a `zinteger'.
1996-04-18 03:18:20 +00:00
35cb210837
* configure.in: Don't configure libgloss for unsupported
...
architectures.
1996-04-18 01:31:49 +00:00
ec680fc594
* saprc-dis.c (compute_arch_mask): Replace ANSI style def with K&R.
1996-04-17 21:21:09 +00:00
f97fca7872
* xcofflink.c (xcoff_link_input_bfd): Check for TOC overflow.
1996-04-17 21:09:34 +00:00
d4d3c7adbb
update from Andrew
1996-04-17 20:09:36 +00:00
221d1e19de
Update for Solaris
1996-04-17 19:05:20 +00:00
8f9a56c65c
* linker.c (_bfd_generic_link_add_one_symbol): When calling the
...
callback routines, pass h->root.string rather than name, in case
copy is true and name is transient.
1996-04-17 17:21:52 +00:00
3ce7f41ac4
* read.c (s_space): Support non-constant fill value. Handle fill
...
value correctly for a size other than 1.
PR 9474.
1996-04-17 16:33:21 +00:00
d7d354cb6c
* tests1.{ch,exp}: Tets case modified and enhanced.
1996-04-17 08:24:36 +00:00
8eff3c7fe6
* corelow.c (add_to_thread_list): Make sure reg_sect is non-null
...
before de-referencing it. Prevents deref of NULL pointer if core
file lacks .reg section.
* defs.h: Rename floatformat_{to from}_long_double to
floatformat_{to from}_doublest. Get rid of FLOATFORMAT_{TO
FROM}... macros.
* findvar.c (extract_floating store_floating): Change all refs to
FLOATFORMAT_{FROM TO}... to floatformat_{from to}_doublest.
* utils.c: Change floatformat_{to from}_long_double to
floatformat_{to from}_doublest cuz the new routines will use
whatever size (double or long double) is appropriate.
* config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL
REGISTER_CONVERT_TO_RAW): Change FLOATFORMAT... macros to
floatformat... routine calls.
1996-04-17 00:48:09 +00:00
603fdf1679
* elfcore.h: Add support for core files with multiple threads.
...
(Primarily for Solaris.)
1996-04-16 23:39:54 +00:00
865447db04
* config/tc-arm.c (my_get_float_expression): Update call to
...
gen_to_words, X_PRECISION changed from 6 to 5.
1996-04-16 22:18:20 +00:00
cdf235577b
* aoutx.h (NAME(aout,squirt_out_relocs)): Don't do anything if
...
section->orelocation is NULL.
1996-04-16 21:21:26 +00:00
e3e69b1328
* ldexp.c (fold_binary): Correct handling of subtraction with
...
absolute values.
(fold_name): Permit symbols in lang_allocating_phase_enum.
1996-04-16 20:53:55 +00:00
f32fb3fd1f
* rdcoff.c: New file.
...
* rddbg.c (read_debugging_info): Read COFF symbols if COFF flavour
and no stabs were found.
* budbg.h (parse_coff): Declare.
* Makefile.in: Rebuild dependencies.
(CFILES): Add rdcoff.c.
(DEBUG_OBJS): Add rdcoff.o.
1996-04-16 17:53:58 +00:00
a2d914e15e
* coffgen.c (bfd_coff_get_syment): New function.
...
(bfd_coff_get_auxent): New function.
* bfd-in.h (bfd_coff_get_syment): Declare.
(bfd_coff_get_auxent): Declare.
* bfd-in2.h: Rebuild.
1996-04-16 17:46:54 +00:00
b90f590cfd
Add clean-apache rule
1996-04-16 15:19:51 +00:00
56074c5569
Add Solaris/linux support
1996-04-16 14:48:02 +00:00
159e6ef88f
Add -m{,no-}regnames support; Add Solaris/linux support
1996-04-16 14:41:45 +00:00
15b03b5783
* stabsread.c (read_type): Move handling of '@' from type
...
number handling to handling of types proper (as emitted by gcc!).
For typedefs, allocate the typedef type before reading its
definition, to properly handling recursive types.
This fixes PR 9434.
1996-04-15 23:45:51 +00:00
5cf36a322a
* elf32-mips.c (struct mips_hi16): Define.
...
(mips_hi16_addr, mips_hi16_addend): Remove.
(mips_hi16_list): New static variable.
(mips_elf_hi16_reloc): Maintain a list of unmatched HI16 relocs.
(mips_elf_lo16_reloc): Process mips_hi16_list.
(mips_elf_relocate_section): Permit an arbitrary number of HI16
relocs before the associated LO16 reloc.
1996-04-15 23:10:52 +00:00
aa9e2dbe32
* config/tc-mips.c (mips_frob_file): Permit multiple %hi relocs to
...
be associated with a single %lo reloc.
1996-04-15 23:01:50 +00:00