Jeff Law [Wed, 16 Oct 1996 20:27:18 +0000 (20:27 +0000)]
* linker.c (_bfd_generic_final_link): Set "linker_mark" for
all sections that will be included in the output file.
(_bfd_generic_link_output_symbols): Discard symbols in sections
which are being discarded.
Fixes 4 failures in the g++ testsuite on the v850.
Michael Meissner [Wed, 16 Oct 1996 17:52:31 +0000 (17:52 +0000)]
Fix tracing of accumulators
Jeff Law [Wed, 16 Oct 1996 17:32:39 +0000 (17:32 +0000)]
* write.c (fixup_segment): Don't add symbol value to addend if
TC_V850 and OBJ_ELF.
* config/tc-v850.h (tc_fix_adjustable): Don't adjust any
pc-relative fixups.
Fixing more failures in the g++ testsuite.
Jeff Law [Wed, 16 Oct 1996 17:26:50 +0000 (17:26 +0000)]
* elf32-v850.c (bfd_elf32_v850_reloc): Mask out bits we
no longer want in pc-relative relocs.
Fixing some g++ testsuite failures.
Stu Grossman [Wed, 16 Oct 1996 08:57:35 +0000 (08:57 +0000)]
* v850-tdep.c (v850_push_arguments): Use symbolic names for arg
registers.
* config/v850/tm-v850.h: Change FP to 29. Define arg regs.
Jeff Law [Wed, 16 Oct 1996 06:21:23 +0000 (06:21 +0000)]
* config/tc-v850.c (md_pcrel_from): Delete unused function.
(md_pcrel_from_section): New function.
* config/tc-v850.h (MD_PCREL_FROM_SECTION): Define.
So we don't screw up pc-relative jumps/calls from one section
into another section within the same .o file.
Fixes global ctors/dtors to work with DECL_ONE_ONLY stuff.
Jeff Law [Wed, 16 Oct 1996 04:18:51 +0000 (04:18 +0000)]
* elf32-v850.c (bfd_elf32_v850_reloc): Don't silently
accept a reloc against an undefined sybmol!
jeez. I'm going to go sit in the corner and hide.
Stu Grossman [Tue, 15 Oct 1996 23:54:48 +0000 (23:54 +0000)]
* Makefile.in (init.c): Don't use -s option with grep. It means
something different under Digital Unix.
Stu Grossman [Tue, 15 Oct 1996 23:50:54 +0000 (23:50 +0000)]
* config/sim-gdb.exp (gdb_target_sim): Remove setting of height
and width commands. This is done elsewhere.
* (gdb_start): Don't call gdb_start_sim here. That's already
done in gdb_load. This fixes lots of failures in default.exp.
Stu Grossman [Tue, 15 Oct 1996 23:44:13 +0000 (23:44 +0000)]
* buildsym.c (finish_block): Treat LOC_BASEREG_ARG and
LOC_LOCAL_ARG as arguments so that GDB will know about function
args declared this way. Mostly affects dwarf.
* dwarfread.c (decode_die_type): Change default type from int to
void. This allows GDB to recognize void functions.
* (new_symbol): If AT_PROTOTYPED is present, set a flag in the
type structure.
* findvar.c (extract_floating store_floating): Clean up comments
to reflect reality.
* gdbtypes.h: Add TYPE_FLAG_PROTOTYPED so that we can tell if a
function has a prototype. Currently, only dwarf supports this.
* utils.c (floatformat_from_doublest): Fix logic error with
converting from double to float. (It wasn't shifting mant_long if
it had a hidden bit.)
* v850-tdep.c: Add support for function calling. Fix some
problems with debugging code w/o debug symbols.
* config/v850/tm-v850.h: Ditto.
Stu Grossman [Tue, 15 Oct 1996 23:23:00 +0000 (23:23 +0000)]
* interp.c (MEM_SIZE): It's now bytes, not a power of 2.
* (map): Add support for external mem in the 1->2 meg range.
Also, abort() when memory access is way out of bounds. (Better to
die than to give wrong result. (This will be fixed later.))
* (sim_size): MEM_SIZE is now bytes, not shift factor.
Stu Grossman [Tue, 15 Oct 1996 23:19:29 +0000 (23:19 +0000)]
* elf32-v850.c: Define elf_symbol_leading_char to be '_'.
Ian Lance Taylor [Tue, 15 Oct 1996 22:24:17 +0000 (22:24 +0000)]
* utils.c: Always ensure that size_t is defined. Check
HAVE_STDDEF_H rather than __STDC__
(xmalloc, xrealloc): Use size_t rather than long.
Martin Hunt [Tue, 15 Oct 1996 21:26:29 +0000 (21:26 +0000)]
Tue Oct 15 14:24:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* config/powerpc/tm-ppc-eabi.h: Undefine NO_SINGLE_STEP so targets
can use single-step commands.
Ian Lance Taylor [Tue, 15 Oct 1996 20:58:52 +0000 (20:58 +0000)]
* VERSION: Bump for new relocation.
Ian Lance Taylor [Tue, 15 Oct 1996 16:41:38 +0000 (16:41 +0000)]
* hosts/i386bsd.h: If NBPG is not defined, define it as
PAGE_SIZE, for recent versions of FreeBSD.
Michael Meissner [Tue, 15 Oct 1996 15:44:10 +0000 (15:44 +0000)]
Better error messages when a program stops due to signal; support d10v getpid/kill
Ian Lance Taylor [Tue, 15 Oct 1996 03:57:09 +0000 (03:57 +0000)]
* libiberty.h: Declare parameter types for xmalloc and xrealloc.
Ian Lance Taylor [Mon, 14 Oct 1996 18:00:19 +0000 (18:00 +0000)]
* config/tc-mips.c (load_register): Add cast to offsetT when using
a constant with &~.
Ian Lance Taylor [Mon, 14 Oct 1996 17:54:49 +0000 (17:54 +0000)]
* gas/mips: Add symbols to several testsuites, since the ELF
assembler now always builds a symbol table, which means that
objdump will no longer report `No symbols in FILE'. Change the
expected output accordingly.
Ian Lance Taylor [Mon, 14 Oct 1996 16:38:13 +0000 (16:38 +0000)]
* configure.host: Use `long long' as the 64 bit type on a Solaris
host, since both gcc and the SunPRO compilers support it.
Ian Lance Taylor [Mon, 14 Oct 1996 15:40:15 +0000 (15:40 +0000)]
Mon Oct 14 11:24:28 1996 Richard Henderson <rth@tamu.edu>
* config/obj-elf.c (elf_frob_file): Move ECOFF debug processing to ...
(elf_frob_file_after_relocs): ... here. New function.
* config/obj-elf.h (obj_from_file_after_relocs): New macro.
* write.c (write_object_file): Call *frob_after_relocs after the
call to write_relocs.
* config/tc-alpha.c: Use new BFD_RELOC_ALPHA_ELF_LITERAL reloc.
* config/tc-alpha.c (load_expression): Don't SET_VALUE on the section
symbol, as this messes up linking. Instead, expand the recursive call
inline and change up the appropriate bits to get the 0x8000 offset
in the reloc addend.
Ian Lance Taylor [Mon, 14 Oct 1996 15:21:54 +0000 (15:21 +0000)]
Mon Oct 14 11:17:24 1996 Richard Henderson <rth@tamu.edu>
* reloc.c: Create a new BFD_RELOC_ALPHA_ELF_LITERAL. It was a
mistake to have reused the ECOFF LITERAL for ELF since they have
different semantics.
* elf64-alpha.c (elf_reloc_map): Map from ELF_LITERAL.
* bfd-in2.h, libbfd.h: Rebuild.
* elf64-alpha.c (elf64_alpha_size_dynamic_sections): Trap .got
section overflow.
* elf64-alpha.c (elf64_alpha_relocate_section): Do not emit a
dynamic relocation for an undefweak symbol when we are building
a static executable.
Peter Schauer [Sun, 13 Oct 1996 18:40:26 +0000 (18:40 +0000)]
* stabsread.c (define_symbol): If REG_STRUCT_HAS_ADDR is non-zero,
follow typedefs before checking TYPE_CODE for structures and unions.
Michael Meissner [Sun, 13 Oct 1996 02:25:01 +0000 (02:25 +0000)]
Fix ld2w r2,@r2 so that r3 loads the proper value
Jeff Law [Sat, 12 Oct 1996 03:14:54 +0000 (03:14 +0000)]
* configure.in: Only build the V850 simulator if
we are using gcc.
* configure: Rebuild.
So builds with "cc" don't die in the v850 simulator directory.
Fred Fish [Sat, 12 Oct 1996 00:10:33 +0000 (00:10 +0000)]
* Makefile.in (clean mostlyclean): Also remove chill *.grt files.
(distclean maintainer-clean realclean): No need to remove files
twice. Nuke the duplicates.
* gdb.base/Makefile.in (EXECUTABLES): Add "structs".
* gdb.threads/Makefile.in (distclean maintainer-clean realclean):
Remove config.h along with other config files.
Fred Fish [Fri, 11 Oct 1996 23:54:12 +0000 (23:54 +0000)]
* expstruct.exp (objfile2): Set and use, like other chill tests.
* pr-4975.exp: Ditto.
* pr-5646.exp: Ditto.
* pr-8134.exp: Ditto.
Stu Grossman [Fri, 11 Oct 1996 22:50:42 +0000 (22:50 +0000)]
* frame.h: Move definition of struct frame_saved_args to before
struct frame to make it possible to use frame_saved_args in
EXTRA_FRAME_INFO macro.
* v850-tdep.c config/v850/tm-v850.h: Lotsa new functions and
macros to make frame operations (such as backtrace) work.
Fred Fish [Fri, 11 Oct 1996 22:31:56 +0000 (22:31 +0000)]
* dbxread.c (process_one_symbol): Check for null string directly
rather than using strcmp against "".
* partial-stab.h: Ditto.
Jeff Law [Fri, 11 Oct 1996 22:06:47 +0000 (22:06 +0000)]
* mn10300-opc.c (mn10300_opcodes): Fix typo in opcode
field for movhu instruction.
Bug found by gas testsuite.
* v850-dis.c (disassemble): For V850_OPERAND_SIGNED operands,
cast value to "long" not "signed long" to keep hpux10
compiler quiet.
Found in an attempt to build the v850 on hpux10 with the HP
compiler.
Mark Alexander [Fri, 11 Oct 1996 19:26:04 +0000 (19:26 +0000)]
* gdbserver/{gdbreplay.c,low-linux.c,remote-utils.c,utils.c}:
Make it compile on Linux and eliminate some warnings.
Fred Fish [Fri, 11 Oct 1996 17:48:24 +0000 (17:48 +0000)]
Revert last change. I was fooled by an old Makefile that didn't
get rebuilt.
Fred Fish [Fri, 11 Oct 1996 17:23:14 +0000 (17:23 +0000)]
Bug reported by Paul Flinders <paul@dawa.demon.co.uk>:
* Makefile.in (init.c): Restore '-n' option in sed command.
Stu Grossman [Thu, 10 Oct 1996 23:34:38 +0000 (23:34 +0000)]
* Makefile.in (init.c): Fixup final sed script to work around
Linux bug with `p' operator.
Ian Lance Taylor [Thu, 10 Oct 1996 22:34:06 +0000 (22:34 +0000)]
* config/tc-sparc.h (tc_fix_adjustable): Permit the difference of
two symbols in the same segment to be adjusted.
Jeff Law [Thu, 10 Oct 1996 22:05:54 +0000 (22:05 +0000)]
* gas/mn10300/basic.exp: Check bit patterns for instructions
with a single 8bit or 16bit immediate operand.
We should correctly assemble just about everything except opcodes with:
multiple immediate operands,
3 register operands,
really weird stuff
Jeff Law [Thu, 10 Oct 1996 22:03:16 +0000 (22:03 +0000)]
* config/mn10300.c (md_assemble): Pass an extra shift count
to mn10300_insert_operand based on the opcode format.
(mn10300_insert_operand): Accept and use extra shift count
parameter.
Matsushita
Ian Lance Taylor [Thu, 10 Oct 1996 21:59:34 +0000 (21:59 +0000)]
* emulparams/elf32b4300.sh: Define _gp in OTHER_GOT_SYMBOLS, not
OTHER_READWRITE_SECTIONS.
* emulparams/elf32l4300.sh: Likewise.
Jeff Law [Thu, 10 Oct 1996 21:42:01 +0000 (21:42 +0000)]
* mn10300-opc.c (mn10300_opcodes): Fix typo in opcode field
for mov (abs16),DN.
Bug found by gas testsuite. Matsushita.
Ian Lance Taylor [Thu, 10 Oct 1996 21:31:27 +0000 (21:31 +0000)]
* configure.in: Don't get confused by CPU-VENDOR-linux-gnu.
* configure: Rebuild.
Michael Meissner [Thu, 10 Oct 1996 21:26:59 +0000 (21:26 +0000)]
Turn most warnings into errors
Jeff Law [Thu, 10 Oct 1996 20:33:47 +0000 (20:33 +0000)]
* config/tc-mn10300.c (md_assemble): Use FMT_* macros for
formats rather than hard-coded constants.
Minor cleanup.
Jeff Law [Thu, 10 Oct 1996 20:31:06 +0000 (20:31 +0000)]
* mn10300-opc.c (FMT*): Remove definitions.
Moved into opcode/mn10300.h
Jeff Law [Thu, 10 Oct 1996 19:13:48 +0000 (19:13 +0000)]
* gas/mn10300/basic.exp: Check bit patterns for many
instructions. Add missing test in do_mov1.
* gas/mn10300/mov1.s: Add missing test.
We should now assemble just about anything without any
immediate operands.
Jeff Law [Thu, 10 Oct 1996 19:08:46 +0000 (19:08 +0000)]
* mn10300-opc.c (mn10300_opcodes): Fix destination register
for shift-by-register opcodes.
Bug found by testsuite.
David Edelsohn [Thu, 10 Oct 1996 18:47:46 +0000 (18:47 +0000)]
* dlltool.c (scan_open_obj_file): Fix loop exit test.
Add missing parameter to def_exports.
Stan Shebs [Thu, 10 Oct 1996 18:21:37 +0000 (18:21 +0000)]
* mpw-make.sed (config.bfd, targmatch.sed): Edit references to
point explicitly to srcdir.
(targmatch.h): Edit references to point explicitly to objdir.
Ian Lance Taylor [Thu, 10 Oct 1996 18:15:23 +0000 (18:15 +0000)]
* config.bfd: When setting targ_cpu, don't get confused by
linux-gnu.
Ian Lance Taylor [Thu, 10 Oct 1996 18:15:03 +0000 (18:15 +0000)]
* configure: Don't get confused by CPU-VENDOR-linux-gnu.
Jeff Law [Thu, 10 Oct 1996 18:07:37 +0000 (18:07 +0000)]
* config/tc-mn10300.c (md_assemble): Format D5 instructions
are 7 bytes long. Write out instructions in big-endian format.
Matsushita.
Stan Shebs [Thu, 10 Oct 1996 17:39:10 +0000 (17:39 +0000)]
* config.sub (-apple*): Remove, now redundant.
Ian Lance Taylor [Thu, 10 Oct 1996 17:03:43 +0000 (17:03 +0000)]
* configure: Rework yesterday's sed script patch.
Ian Lance Taylor [Thu, 10 Oct 1996 16:31:38 +0000 (16:31 +0000)]
* config.sub: Merge with FSF.
Jeff Law [Thu, 10 Oct 1996 16:28:14 +0000 (16:28 +0000)]
* mn10300-opc.c (mn10300_operands): Break DN, DM, AN, AM
into [AD][MN][01] for encoding the position of the register
in the opcode.
Matsushita.
Stan Shebs [Thu, 10 Oct 1996 01:17:05 +0000 (01:17 +0000)]
* remote-mips.c: Use the correct name everywhere (DDB) for NEC's
VR4300 target.
(ddb_ops, pmon_ops): Fix the documentation strings.
Per Bothner [Thu, 10 Oct 1996 00:28:52 +0000 (00:28 +0000)]
* config.guess: Merge from FSF.
1996-09-12 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
* config.guess: Use pc instead of unknown, for pc clone systems.
Change linux to linux-gnu.
Mon Jul 15 23:51:11 1996 Karl Heuer <kwzh@gnu.ai.mit.edu>
* config.guess: Avoid non-portable tr syntax.
Jeff Law [Wed, 9 Oct 1996 20:19:00 +0000 (20:19 +0000)]
* gas/mn10300/{add.s, bcc.s, bit.s, cmp.s, ext.s}: New tests.
* gas/mn10300/{extend.s logical.s, loop.s, mov1.s}: Likewise.
* gas/mn10300/{mov2.s, mov3.s, mov4.s, movbu.s}: Likewise.
* gas/mn10300/{movhu.s, movm.s, muldiv.s, other.s}: Likewise.
* gas/mn10300/{shift.s, sub.s}: Likewise.
* gas/mn10300/basic.exp: Run them.
Beginnings of gas testsuite for mn10300. Matsushita.
Ian Lance Taylor [Wed, 9 Oct 1996 19:45:29 +0000 (19:45 +0000)]
* ld.h (ld_config_type): Add warn_section_align field.
* lexsup.c (OPTION_WARN_SECTION_ALIGN): Define.
(ld_options): Add --warn-section-align.
(parse_args): Handle --warn-section-align.
* ldlang.c (lang_size_sections): If warn_section_align, warn if
the start of a section changes due to alignment.
* ld.texinfo, ld.1: Document --warn-section-align.
* ld.texinfo: Change some single dashes to double dashes.
PR 10739.
Ian Lance Taylor [Wed, 9 Oct 1996 18:37:57 +0000 (18:37 +0000)]
* emultempl/pe.em (set_pe_subsystem): Record entry symbol for each
subsystem type. Ifdef out os2 type. Recognize a version number.
Jeff Law [Wed, 9 Oct 1996 17:20:59 +0000 (17:20 +0000)]
* mn10300-opc.c (mn10300_opcodes): Add "extended" instructions,
"putx", "getx", "mulq", "mulqu", "sat16", "sat24", "bsch".
Matsushita.
Stu Grossman [Wed, 9 Oct 1996 14:47:29 +0000 (14:47 +0000)]
* Makefile.in (init.c): Retro HPUX grep lacks -h option. Strip
filenames with sed instead.
Jeff Law [Wed, 9 Oct 1996 12:32:18 +0000 (12:32 +0000)]
* test-build.mk (HOLES): Add "xargs" for gdb.
Jeff Law [Wed, 9 Oct 1996 12:08:15 +0000 (12:08 +0000)]
* configure: Avoid hpux10.20 sed bug.
Stu Grossman [Wed, 9 Oct 1996 08:46:25 +0000 (08:46 +0000)]
Add hpux-thread.c.
Angela Marie Thomas [Wed, 9 Oct 1996 05:51:52 +0000 (05:51 +0000)]
add mh-dgux386 to Things-to-keep
Ian Lance Taylor [Wed, 9 Oct 1996 03:27:41 +0000 (03:27 +0000)]
* emultempl/pe.em (set_pe_subsystem): When setting the subsystem
to windows, set the entry point.
Stu Grossman [Tue, 8 Oct 1996 23:01:04 +0000 (23:01 +0000)]
* defs.h: Remove decls of xmalloc and xrealloc. There is a
conflicting definition in libiberty.h.
Jeff Law [Tue, 8 Oct 1996 21:09:57 +0000 (21:09 +0000)]
* mn10300-opc.c (mn10300_operands): Remove "REGS" operand.
Fix various typos. Add "PAREN" operand.
(MEM, MEM2): Define.
(mn10300_opcodes): Surround all memory addresses with "PAREN"
operands. Fix several typos.
Should parse all opcodes in the instruction specification, except the
"user extension instructions".
Jeff Law [Tue, 8 Oct 1996 20:59:28 +0000 (20:59 +0000)]
* config/tc-mn10300.h (md_assemble): Tweak further so
that all instructions are parsed correctly.
Jeff Law [Tue, 8 Oct 1996 20:49:58 +0000 (20:49 +0000)]
* mn10300.h (MN10300_OPERAND_PAREN): Define.
Matsushita.
Fred Fish [Tue, 8 Oct 1996 19:00:38 +0000 (19:00 +0000)]
Just some cleanups noticed while working on PR 10760
* dbxread.c (dbx_symfile_read): Call free_pending_blocks rather
than poking global variable (which is now static).
* hpread.c (hpread_build_psymtabs): Ditto.
* os9kread.c (os9k_symfile_read): Ditto.
* xcoffread.c (xcoff_initial_scan): Ditto.
* buildsym.h (free_pending_blocks): Declare here.
(pending_blocks): Remove declaration of global symbol.
(free_pendings): Remove declaration of global symbol.
(make_blockvector): Declare here.
(record_pending_block): Declare here.
* dstread.c (make_blockvector): Remove static copy that was old
clone of version in buildsym.c.
(process_dst_block): Call record_pending_block rather than doing
it by hand.
(read_dst_symtab): Ditto.
* buildsym.c (make_blockvector): Make global rather than static,
(record_pending_block): New function, code moved from finish_block.
(finish_block): Use record_pending_block.
(free_pending_blocks): New function.
(really_free_pendings): Call free_pending_blocks.
(pending_blocks): Make static instead of global.
(free_pendings): Make static instead of global.
Ian Lance Taylor [Tue, 8 Oct 1996 18:50:59 +0000 (18:50 +0000)]
* elflink.h (elf_link_add_object_symbols): If a symbol is a weak
definition in a dynamic object, add it to the dynamic symbol table
if any dynamic object mentions it. Reverts part of last patch.
PR 10827.
Stu Grossman [Tue, 8 Oct 1996 18:04:04 +0000 (18:04 +0000)]
Add mh-windows.
Jeff Law [Tue, 8 Oct 1996 17:56:40 +0000 (17:56 +0000)]
* mn10300-opc.c (mn10300_opcodes): Fix typos in yesterday's
changes.
Matsushita.
Stu Grossman [Tue, 8 Oct 1996 17:27:11 +0000 (17:27 +0000)]
Add windows.mh and xm-windows.h
Ian Lance Taylor [Tue, 8 Oct 1996 17:15:20 +0000 (17:15 +0000)]
* as.h: Include libiberty.h.
(xmalloc, xrealloc): Don't declare.
* as.c: Don't include libiberty.h.
* expr.c, read.c, stabs.c, config/obj-coff.c: Likewise.
* config/tc-mips.c: Likewise.
* messages.c: Likewise.
(xstrerror): Don't declare.
* xmalloc.c: Remove.
Stu Grossman [Tue, 8 Oct 1996 17:12:06 +0000 (17:12 +0000)]
* config/i386/windows.mh config/i386/xm-windows.h:: New config
files to support building Wingdb (built under Microsoft build
environment).
Stu Grossman [Tue, 8 Oct 1996 17:07:35 +0000 (17:07 +0000)]
Add osf-share directory.
Stu Grossman [Tue, 8 Oct 1996 17:06:17 +0000 (17:06 +0000)]
* Makefile.in: Add rule for hpux-thread.o (needs special header
files).
* (SUBDIRS): Remove mswin.
* Change procedure for creating init.c. Speeds things up quite a
bit.
* config.in configure configure.in: Check for select, poll.
* Check for OSF header files before including hpux-thread.o.
* Don't configure doc or testsuite when building under MSVC.
* findvar.c value.h (read_register_pid write_register_pid): Make
global. Needed for hppa-tdep.c.
* (supply_register): Don't set pid to inferior_pid when supplying
registers.
* hppa-tdep.c (saved_pc_after_call): frame_saved_pc ->
FRAME_SAVED_PC.
* (frame_saved_pc): Change name to hppa_frame_saved_pc.
* (hppa_pop_frame): Don't use a pid of 0 with target_write_pc.
Use write_pc instead, which uses the correct pid.
* (target_read_pc target_write_pc): Use read/write_register_pid
instead of read/write_register to preserve the pid passed in.
* inftarg.c (child_can_run): Add flag child_suppress_run to allow
hpux-threads.c to override this as a runnable target.
* config/pa/nm-hppah.h: Define target_new_objfile and
target_pid_to_str.
* config/pa/tm-hppa.h (FRAME_SAVED_PC): Use hppa_frame_saved_pc
instead of frame_saved_pc.
* config/m68k/tm-m68k.h: Define TARGET_M68K for Wingdb.
* config/m68k/tm-monitor.h: Use FRAME_CHAIN_VALID_ALTERNATE, since
we can't easily determine the start file bounds with ELF.
* config/mips/tm-mips.h: Define TARGET_MIPS for Wingdb.
* hpux-thread.c: New file for HPUX/OSF thread support.
* osf-share/{README AT386/cma_thread_io.h HP800/cma_thread_io.h
RIOS/cma_thread_io.h cma_attr.h cma_deb_core.h cma_debug_client.h
cma_errors.h cma_handle.h cma_init.h cma_list.h cma_mutex.h
cma_sched.h cma_semaphore_defs.h cma_sequence.h cma_stack.h
cma_stack_int.h cma_tcb_defs.h cma_util.h}: New files for OSF
thread support.
Ian Lance Taylor [Tue, 8 Oct 1996 16:07:50 +0000 (16:07 +0000)]
* Makefile.in (ldlex.c): Don't pass any options to $(LEX).
Ian Lance Taylor [Tue, 8 Oct 1996 16:07:23 +0000 (16:07 +0000)]
* Makefile.in (LEX_OPTIONS): Set to empty string. -I -Cem is the
default for flex, and is not recognized by lex.
PR 10819.
Ian Lance Taylor [Tue, 8 Oct 1996 16:02:35 +0000 (16:02 +0000)]
* sunos.c (struct sunos_link_hash_table): Add got_base field.
(sunos_link_hash_table_create): Initialize got_base.
(bfd_sunos_size_dynamic_sections): If the .got section is more
than 0x1000 bytes, set __GLOBAL_OFFSET_TABLE_ and got_base to
0x1000.
(sunos_check_dynamic_reloc): Subtract got_base from a base
relative relocation.
PR 10684.
Stu Grossman [Tue, 8 Oct 1996 16:00:54 +0000 (16:00 +0000)]
* tilde.c (tilde_word_expand): __MSDOS___ -> __MSDOS__
Stu Grossman [Tue, 8 Oct 1996 15:54:19 +0000 (15:54 +0000)]
* configure.host: Add support for windows host (a build done
under the Microsoft build environment).
Ian Lance Taylor [Tue, 8 Oct 1996 15:41:08 +0000 (15:41 +0000)]
* elf32-mips.c (elf_mips_isa): New static function.
(_bfd_mips_elf_merge_private_bfd_data): Don't warn about linking
-mips1 and -mips2 code together, or -mips3 and -mips4 code.
Stu Grossman [Tue, 8 Oct 1996 15:36:18 +0000 (15:36 +0000)]
* configure.in config/mh-windows: Add support for windows host
(that is a build done under the Microsoft build environment).
Ian Lance Taylor [Tue, 8 Oct 1996 14:48:47 +0000 (14:48 +0000)]
* Makefile.in: Replace all uses of srcroot with s, to shrink
command line lengths.
Ian Lance Taylor [Tue, 8 Oct 1996 14:41:43 +0000 (14:41 +0000)]
Patches from Geoffrey Noer <noer@cygnus.com>:
* configure.in: If configuring for newlib, pass --with-newlib to
subdirectories.
* Makefile.in (CC_FOR_TARGET): If winsup/Makefile exists, pass a
-Bnewlib/ and -Lwinsup to gcc.
(CXX_FOR_TARGET): Likewise.
Jeff Law [Mon, 7 Oct 1996 22:59:04 +0000 (22:59 +0000)]
* config/tc-mn10300.h (pre_defined_registers) Remove.
(system_registers, cc_names): Likewise.
(address_registers, data_registers, other_registers): New register
arrays.
(register_name, system_register_name, cc_name): Remove.
(mn10300_reloc_prefix): Likewise.
(data_register_name): New function.
(address_register_name, other_register_name): Likewise.
(md_assemble): Rough cut at parsing operands. Remove lots of
unwanted code.
(md_apply_fix3): Disable for now.
Checkpointing today's Matsushita work.
Jeff Law [Mon, 7 Oct 1996 22:55:13 +0000 (22:55 +0000)]
Dummy .Sanitize files. Should also fix snapshot problems.
Jeff Law [Mon, 7 Oct 1996 22:53:27 +0000 (22:53 +0000)]
* mn10300.h (mn10300_opcode): Add "format" field.
(MN10300_OPERAND_*): Define.
Checkpointing today's Matsushita work.
Jeff Law [Mon, 7 Oct 1996 22:52:18 +0000 (22:52 +0000)]
* mn10300-opc.c (FMT_XX): Renumber starting at one.
(mn10300_operands): Rough cut. Enough to parse "mov" instructions
at this time.
(mn10300_opcodes): Break opcode format out into its own field.
Update many operand fields to deal with signed vs unsigned
issues. Fix one or two typos in the "mov" instruction
opcode, mask and/or operand fields.
Checkpointing today's work. Matsushita.
Ian Lance Taylor [Mon, 7 Oct 1996 21:30:26 +0000 (21:30 +0000)]
* ld.texinfo (Options): Mention .so extensions for shared
libraries.
Fred Fish [Mon, 7 Oct 1996 17:58:56 +0000 (17:58 +0000)]
* buildsym.c (finish_block): Change innerblock_anon_complaint to
print the addresses as part of the complaint. Add a complaint for
cases where the block end address is smaller than the block start
address, in case any such conditions slip through our fixup mechanism.
* symmisc.c (dump_symtab): Only print blockvector for primary
symtabs, to avoid massive duplication of output due to secondary
symtabs that point to same blockvector. Also do some minor
formatting tweaks.
Per Bothner [Mon, 7 Oct 1996 17:45:29 +0000 (17:45 +0000)]
Replace header_files global by per-objfile field.
* gdb-stabs.h (struct dbx_symfile_info): Add fields header_files,
n_header_files, n_allocated_header_files.
* stabsread.h (header_files, n_header_files, n_allocated_header_files):
Replace externs by macros HEADER_FILES, N_HEADER_FILES, and
N_ALLOCATED_HEADER_FILES.
* dbxread.c (dbx_symfile_finish): Free HEADER_FILES.
(free_header_files, init_header-files): Don't free/init headerfiles.
(various functions): Use macros instead of header_files globals.
* stabsread.c (various functions): Likewise.
Jason Merrill [Mon, 7 Oct 1996 17:18:24 +0000 (17:18 +0000)]
Sun Oct 6 22:43:06 1996 Jason Merrill <jason@yorick.cygnus.com>
* dwarf2read.c (read_tag_reference_type): New fn.
(read_type_die): Call it.
(dwarf_attr): Also look in the DIEs referred to by specification
or abstract_origin attributes.
Ian Lance Taylor [Mon, 7 Oct 1996 15:45:44 +0000 (15:45 +0000)]
* archive.c (do_slurp_coff_armap): Only treat archive as little
endian for i960 COFF.
Ian Lance Taylor [Mon, 7 Oct 1996 15:41:56 +0000 (15:41 +0000)]
Mon Oct 7 11:39:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* m68k-opc.c (plusha): Prefer encoding for m68040up, in case
m68851 wasn't reset.
Ian Lance Taylor [Mon, 7 Oct 1996 15:40:59 +0000 (15:40 +0000)]
Mon Oct 7 11:38:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* config/tc-m68k.c (select_control_regs): New function, extracted
out of m68k_init_after_args.
(m68k_init_after_args): Use it.
(mri_chip): Use it here as well to update set of allowed control
regs for movec.