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
Ian Lance Taylor
70c732096a
* ieee.c (ieee_write_processor): Correct the processor ID written
...
out for bfd_arch_m68k, accommodating change of March 25.
1998-08-10 21:32:53 +00:00
Ian Lance Taylor
d21e784e8d
add armelf sanitization
1998-08-10 20:30:33 +00:00
Catherine Moore
420cfe32ad
Fix indentation.
1998-08-10 17:54:33 +00:00
Catherine Moore
cb43e2a9b8
* elf32-arm.c (elf32_arm_final_link_relocate): Rework
...
R_ARM_THM_RPC22 relocations.
1998-08-10 02:02:18 +00:00
Catherine Moore
f58983c19e
* config/obj-elf.h: Check for redefinition of obj_frob_symbol.
...
* config/tc-arm.c: Define S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS.
(armelf_frob_symbol): New Routine.
* config/tc-arm.h: Define obj_frob_symbol if OBJ_ELF.
1998-08-10 01:56:36 +00:00
Catherine Moore
45834a73ef
* scripttempl/elfarm.sc: Set text start address to
...
0x8000. Add __bss_end definition.
1998-08-10 01:45:58 +00:00
Catherine Moore
0ff7faafe6
* arm-dis.c (print_insn_big_arm): Check for thumb symbol
...
attributes.
(print_insn_little_arm): Likewise.
1998-08-10 01:27:05 +00:00