Commit Graph

23423 Commits

Author SHA1 Message Date
Jason Molenda
4ff3dfab54 1998-08-18 Jason Molenda (jsm@bugshack.cygnus.com)
* configure.in: Add more header files to AC_CHECK_HEADERS.
        * configure: Regenerated.

        * command.c: Include wait.h or sys/wait.h if present.
        * inftarg.c: Ditto.
        * core-aout.c: Include ptrace.h or sys/ptrace.h if present, based
        on autoconf test.
        * infptrace.c: Ditto.

        * expprint.c: Include ctype.h for isprint prototype.
        * i386aix-nat.c: Include sys/reg.h if autoconf says it is present.
        * i386v-nat.c: Include ptrace.h, sys/ptrace.h, and sys/reg.h if
        present, based on autoconf test.

        * utils.c: Include curses.h and term.h if present.
        (puts_debug): Change 'carriage_return' local variable to return_p
        to avoid name clash.

        * config/m68k/nm-apollo68b.h: Don't define PTRACE_IN_WRONG_PLACE,
        determine it with autoconf.
        * config/i386/nm-linux.h: Don't define NO_SYS_REG_H, determine it
        with autoconf.
        * config/i386/nm-i386sco.h: Don't define NO_PTRACE_H, determine it
        with autoconf.
        * config/i386/nm-i386v.h: Ditto.
        * config/i386/nm-symmetry.h: Ditto.
        * config/m88k/xm-cxux.h: Ditto.
        * config/m88k/xm-dgux.h: Ditto.

        * config/m68k/delta68.mh (NAT_FILE): nm-delta68.h no longer necessary.
        * config/m68k/nm-delta68.h: Removed.
1998-08-18 23:04:24 +00:00
Martin Hunt
1aecc7dccb Tue Aug 18 15:42:40 1998 Martin M. Hunt <hunt@cygnus.com>
* gdbtk-cmds.c (gdb_listfuncs): Strip out global constructors
	and destructors from the function list.
1998-08-18 22:43:18 +00:00
Ian Lance Taylor
b6ef9ad20f * mips-opc.c: Insert contents of vu0.h, rather than including it.
* vu0.h: Remove.
	* Makefile.am: Rebuild dependencies.
	* Makefile: Rebuild.
1998-08-18 20:50:44 +00:00
Ken Raeburn
aeeb756dee fix broken sanitization 1998-08-18 18:58:10 +00:00
Catherine Moore
5cdcdb070c * emultempl/armelf.em (gld_armelf_before_allocation):
Add bfd_ prefix to elf32_arm_process_before_allocation
        and elf32_arm_allocate_interworking_sections.
        (gld_armelf_after_open): Add bfd_ prefix to
        elf32_arm_get_bfd_for_interworking.
1998-08-18 17:15:58 +00:00
Catherine Moore
aae39e3784 tc-arm.h: Define obj_fix_adjustable for OBJ_ELF.
tc-arm.c (arm_fix_adjustable): New routine.
1998-08-18 17:03:48 +00:00
Catherine Moore
2c3c46ad0c * elf32-arm.c: Add prefix bfd_ to elf32_arm_get_bfd_for_interworking,
elf32_arm_allocate_interworking_sections and
       elf32_arm_process_before_allocation.

        * bfd-in.h: Ammend prototype for
        elf32_arm_process_before_allocation to remove surplus third
        argument.

        * bfd-in2.h: Regenerate.
1998-08-18 16:55:29 +00:00
Richard Henderson
803f5d55cd * elf64-alpha.c (elf64_alpha_relax_section): Handle indirect symbols. 1998-08-16 03:58:11 +00:00
Stan Shebs
c905465b00 No longer need to sanitize out tx39 bits 1998-08-14 22:52:18 +00:00
Ian Lance Taylor
1e012223fd * Makefile.am: Rebuild dependencies.
* Makefile.in: Rebuild.
1998-08-14 19:52:24 +00:00
Ian Lance Taylor
63bb5e9a79 * ldgram.y: Include "ldctor.h".
(statement): Accept SORT around CONSTRUCTORS.
	* ldctor.c: Include <ctype.h>.
	(constructors_sorted): New global variable.
	(ctor_prio, ctor_cmp): New static functions.
	(ldctor_build_sets): Sort constructors if requested.
	* ldctor.h (constructors_sorted): Declare.
	* ldlang.c (print_statement): Print sorted CONSTRUCTORS
	correctly.
	* scripttempl/elf.sc: Add sort around CONSTRUCTORS.
	* ld.texinfo (Output Section Keywords): Document SORT
 	(CONSTRUCTORS).
1998-08-14 19:40:01 +00:00
Stan Cox
a05d3537a8 * aoutx.h (aout_link_input_section_ext): Use the relocation already
calculated for RELOC_SPARC_REV32 case.
1998-08-14 18:56:41 +00:00
Jeff Law
854b0c14b4 * mn10300-tdep.c (set_movm_offsets): Change second argument to
be the actual args to movm itself.  All callers changed.  Only set
        fi->fsr.regs[x] if reg X is saved by the movm instruction.
1998-08-14 17:18:01 +00:00
Peter Schauer
cfd7cb2995 * sol-thread.c (lwp_to_thread): Fix error message for failing
td_ta_map_lwp2thr call.
	(ps_lgetLDT):  Mask off upper bits in GS register when comparing
	with selector.
1998-08-14 11:20:51 +00:00
Catherine Moore
fbb99e9a4d Add armelf. 1998-08-13 23:12:52 +00:00
Vladimir Makarov
98b5b2d6d3 * read.c (s_align, s_comm, s_mri_common, s_fail, s_globl, s_space,
s_float_space, s_struct, cons_worker): Move ignore_rest_of_line or
 	demand_empty_rest_of_line before mri_comment_end.
 	(equals): Check garbage after expression before
 	mri_comment_end in MRI mode.
PR16551
1998-08-13 22:05:52 +00:00
Drew Moseley
c076f1ed1c Added Foundry SDK changes. 1998-08-13 20:24:45 +00:00
Ian Lance Taylor
341fb6f336 * ppc-opc.c (powerpc_operands): Omit parens around additions in
operand name macros.
1998-08-13 20:24:03 +00:00
Drew Moseley
1dd251f99d Added a scope-level around the contents of an #ifdef in
gdbtk_cleanup() so that the variable declarations in there
would not be illegal in a C compilation.
1998-08-13 20:15:20 +00:00
Ian Lance Taylor
6b34ac5a5c * config/tc-mips.c (macro): Correct M_SGE_I/M_SGEUI_I case for a
small immediate constant to use the constant itself rather than
	always using 1.
1998-08-13 19:09:25 +00:00
Catherine Moore
527c54a697 Thu Aug 13 12:20:39 1998 Catherine Moore <clm@cygnus.com>
* emulparams/armelf.sh:  Define TEMPLATE_NAME to armelf.
       * scripttempl/elfarm.sc:  Include .glue_7t and .glue7
       sections.
       * emultempl/armelf.em: New file.
1998-08-13 17:45:02 +00:00
Ian Lance Taylor
0ffa432e2e Thu Aug 13 12:52:45 1998 H.J. Lu <hjl@gnu.org>
* Makefile.am (ld.dvi): Use " instead of ' for MAKEINFO.
	* Makefile.in: Rebuild.
1998-08-13 16:58:33 +00:00
Jeff Law
c845aa02b0 Keep udf.s 1998-08-13 16:38:42 +00:00
Doug Evans
40c42313db * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set vma to 0
for .DVP.overlay.* for elf32elmip too.
1998-08-12 23:35:38 +00:00
Ian Lance Taylor
cb5fa481a6 Wed Aug 12 19:00:39 1998 Geoff Keating <geoffk@ozemail.com.au>
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Generate PLT
	entries unless the symbol is defined in the executable; in
	particular, undefined weak symbols get a PLT entry.
1998-08-12 23:04:13 +00:00
Ian Lance Taylor
f0236ec445 * config/tc-hppa.c (pa_enter): Call as_bad rather than abort.
(pa_leave): Likewise.
1998-08-12 22:51:38 +00:00
Ian Lance Taylor
d02e7bc8b7 Based on patch from H.J. Lu <hjl@gnu.org>:
* ld-srec/srec.exp: Add xfails for Alpha ELF targets.
1998-08-12 19:22:30 +00:00
Ian Lance Taylor
8c73afb353 Avoid some overflow cases:
* basic_blocks.h (bb_min_calls): Change to unsigned long.
	* call_graph.h (cg_tally): Change count parameter to unsigned
	long.
	* cg_arcs.h (Arc): Change count field to unsigned long.
	(arc_add): Change count parameter to unsigned long.
	* source.h (Source_File): Change ncalls field to unsigned long.
	* symtab.h (Sym): Change fields ncalls, bb_calls, and
	cg.self_calls to unsigned long.
	* Many files: Update accordingly.
1998-08-12 19:06:24 +00:00
Ian Lance Taylor
15ec5eb33b * configure, Makefile.in, aclocal.m4: Rebuild with current tools. 1998-08-12 19:01:16 +00:00
Ian Lance Taylor
24ec5f63f7 * libaout.h: Remove nested comment to avoid warning. 1998-08-12 18:48:57 +00:00
Ian Lance Taylor
bfb25a00c4 From Peter Thiemann <thiemann@informatik.uni-tuebingen.de>:
* ppc-opc.c (insert_mbe): Handle wrapping bitmasks.
	(extract_mbe): Likewise.
1998-08-12 18:02:01 +00:00
Jeff Law
02ad0c056d * gas/mn10300/udf.s: New test.
* gas/mn10300/basic.exp: Run it.
1998-08-12 17:56:43 +00:00
Jeff Law
75fb9c4c3e * m10300-opc.c: Fix typo in udf20 .. udf25 instruction opcodes. 1998-08-12 17:47:45 +00:00
Nick Clifton
80522b7d5b Document .req directive
Improve error message when unrecognised register name is encountered.
1998-08-12 17:32:39 +00:00
Ian Lance Taylor
78a1a4f74e Wed Aug 12 13:25:03 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* config/tc-i386.c (md_assemble): Emit a warning for stand-alone
	prefixes.
	(i386_operand): Fix an error message.
1998-08-12 17:26:42 +00:00
Ian Lance Taylor
b494c4c9e7 Wed Aug 12 13:25:38 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* gas/i386/white.l: Expect warning for stand-alone ss prefix.
1998-08-12 17:26:17 +00:00
Jeff Law
ffd95d63ec * m10300-opc.c: First cut at UDF instructions. 1998-08-12 17:12:31 +00:00
Stu Grossman
d826d368a9 * expprint.c (dump_prefix/postfix_expression): Don't try to print type
expressions.
1998-08-12 16:10:31 +00:00
Stu Grossman
433732f25e * c-typeprint.c (c_print_type): Don't crash if varstring is null.
* expprint.c expression.h (dump_expression):  Rename to
	dump_prefix_expression.
	* Print out the expression in normal form.  Call print_longest
	instead of trying to do it ourselves.
	* (dump_postfix_expression):  New function, prints out the expression
	with indentation and better formatting and interpretation.
	* parse.c (parse_exp_1):  Put calls to dump expressions under ifdef
	MAINTENANCE_CMDS and expressiondebug variable.
1998-08-12 15:50:59 +00:00
Frank Ch. Eigler
902459f256 * Handle the possibility that some simulator commands may modify register
state behind gdb's back.
Wed Aug 12 16:30:01 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* remote-sim.c (simulator_command): Reset register cache after
	simulator command.
1998-08-12 13:50:45 +00:00
Ken Raeburn
3d759c53c9 sanitize-vr5400 -> sanitize-cygnus, for 98r2 1998-08-12 10:50:35 +00:00
Ken Raeburn
485c39eb7b sanitize-vr5400 -> sanitize-cygnus 1998-08-12 03:29:09 +00:00
Ken Raeburn
1a85826ebc sanitize-vr5400 -> sanitize-cygnus 1998-08-12 02:18:03 +00:00
Catherine Moore
b3bd5b1511 * scripttempl/elfarm.sc: Change text start address
back to zero.
1998-08-12 00:11:13 +00:00
Catherine Moore
a17e14c150 * elf32-arm.c (elf32_arm_final_link_relocate): Remove unused
argument is_local.  Add argument sym_flags.  Check sym_flags
         in R_ARM_ABS32 case.  Include addend for R_ARM_THM_PC22 case.
         (elf32_arm_relocate_section):  Don't pass local sym and pass
         sym_flags to elf32_arm_final_link_relocate.
1998-08-11 19:58:02 +00:00
Jeff Law
72eb7b53ff * emulparms/mn10200.sh (MAX_PAGESIZE): Define to 1.
* emulparms/mn10300.sh (MAX_PAGESIZE): Define to 1.
1998-08-11 16:03:15 +00:00
Richard Henderson
176e2f2592 * elf64-alpha.c (elf64_alpha_calc_dynrel_sizes): Correct last change
to not count too few relocs for dynamicly linked executables.
1998-08-11 03:40:39 +00:00
Richard Henderson
7993f96a80 * elflink.h (elf_gc_common_finalize_got_offsets): For backends
that use a .got.plt section start the got offset at zero.
1998-08-10 22:35:02 +00:00
Nick Clifton
54af55918b Fix PR 15003 - always perform alignment requests 1998-08-10 22:07:57 +00:00
Ian Lance Taylor
c2e9e83dbc Mon Aug 10 17:48:09 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
config/tc-i386.c (i386_operand): Size immediate constants by
	suffix (erroneously removed as part of July 7 change).
1998-08-10 21:50:33 +00:00