Kim Knuttila [Fri, 1 Dec 1995 02:08:19 +0000 (02:08 +0000)]
PowerPC changes
Kim Knuttila [Fri, 1 Dec 1995 01:01:42 +0000 (01:01 +0000)]
PowerPC DLL Support
J.T. Conklin [Thu, 30 Nov 1995 23:01:31 +0000 (23:01 +0000)]
* config/mt-v810 (CC_FOR_TARGET): Add -ansi flag. NEC compiler
defaults to K&R mode, but doesn't have varargs.h, so we have to
compile in ANSI mode.
Ian Lance Taylor [Thu, 30 Nov 1995 22:15:13 +0000 (22:15 +0000)]
* elf.c (_bfd_elf_make_section_from_shdr): Don't set lma based on
p_paddr if p_paddr is zero.
(make_mapping): Set includes_filehdr and includes_phdrs for first
PT_LOAD segment.
(map_sections_to_segments): Set includes_phdrs for PT_PHDR
segment.
(assign_file_positions_for_segments): Handle includes_filehdr and
includes_phdrs. Remove special handling of PT_PHDR and first
PT_LOAD segments.
(copy_private_bfd_data): Set includes_filehdr and includes_phdr
when appropriate. Remove special handling of PT_PHDR segment.
Use a more complex condition for when a section is included in a
segment to handle Solaris linker oddities.
Per Bothner [Thu, 30 Nov 1995 22:00:52 +0000 (22:00 +0000)]
* config.guess: Recognize Pentium under SCO.
Kim Knuttila [Thu, 30 Nov 1995 18:47:11 +0000 (18:47 +0000)]
idata alignment in .s files
Kim Knuttila [Thu, 30 Nov 1995 18:18:38 +0000 (18:18 +0000)]
Expose .edata section
David Edelsohn [Thu, 30 Nov 1995 17:15:12 +0000 (17:15 +0000)]
Add a comment saying .junk sections are discarded by the linker.
Ian Lance Taylor [Thu, 30 Nov 1995 16:30:13 +0000 (16:30 +0000)]
Thu Nov 30 11:32:34 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
* configure.host (m68*-motorola-sysv): Define HOSTING_CRT0 and
HOSTING_LIBS for testing.
(m88*-motorola-sysv3): Define HOSTING_CRT0 and HOSTING_LIBS for
testing.
Ian Lance Taylor [Thu, 30 Nov 1995 16:25:27 +0000 (16:25 +0000)]
Thu Nov 30 11:23:42 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
* config/obj-coff.c (fixup_segment): If TC_M88K is defined, do not
add section's paddr to add_number; compatibility to native as and
ld forbids.
Ian Lance Taylor [Thu, 30 Nov 1995 16:23:05 +0000 (16:23 +0000)]
Thu Nov 30 11:17:33 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
* coff-m88k.c (howto_table): Reformatted for easier reading;
special_function now points to new function m88k_special_reloc.
(howto_hvrt16): Function previously used for handling HVRT16 relocs
removed.
(rtype2howto): Do not add reloc's r_offset to the addend, this will
be done correctly by m88k_special_reloc.
(reloc_processing): New function to be used by RELOC_PROCESSING.
(RELOC_PROCESSING): Define to call reloc_processing.
Michael Meissner [Thu, 30 Nov 1995 11:13:08 +0000 (11:13 +0000)]
Let autoconf determine if host is big endian or not
Ken Raeburn [Thu, 30 Nov 1995 04:24:08 +0000 (04:24 +0000)]
configure.in: handle m68k-sysv4 correctly
Ken Raeburn [Thu, 30 Nov 1995 04:22:27 +0000 (04:22 +0000)]
Move struct hash_entry from hash.h to hash.c.
Ken Raeburn [Thu, 30 Nov 1995 04:19:13 +0000 (04:19 +0000)]
(elf_frob_symbol): Don't free and clear sy_obj if it's already known to be null.
Per Bothner [Thu, 30 Nov 1995 03:35:14 +0000 (03:35 +0000)]
* Makefile.in: Add .exp.check rule.
* callch.ch: Add missing "%." to format strings.
* callch.exp: Fix argument to gdb_load.
* chexp.exp: Add specific error messages to test_print_reject calls.
* misc.exp: Add a test for PR 8496.
* pr-6632.exp, pr-8136.exp: Link executables from two .o files.
Per Bothner [Thu, 30 Nov 1995 03:26:34 +0000 (03:26 +0000)]
* ch-exp.y: Replaced by ...
* ch-exp.c: New file. Use recursive-descent.
Recognize labelled array tuples and powerset ranges.
* Makefile.in: Update for no longer using yacc for ch-exp.
* c-lang.c: Make various functions non-static.
* c-lang.h: Add bunches of prototypes.
* cp-valprint.c (cp_print_value_fields): Also take address.
(cp_print_value): Likewise. Use baselcass_offset.
* stabsread.c (current_symbol): New static variable.
(type_synonym_name): Remove.
(read_type): If copying, make copy be a TYPE_CODE_TYPEDEF.
(read_array_type): Don't need to handle undefined element type here.
(cleanup_undefined_types): Ditto.
(read_range_type): Look for Chill ranges.
* valops.c (value_assign): Fix case lval_internalvar - don't try
to assign into old value (which might be too small!).
(value_coerce_array): No longer need special VALUE_REPEATED handling.
(value_arg_coerce): Cleaner array->pointer decay mechanism.
(search_struct_field): Use baseclass_offset rather than
baseclass_addr.
(value_slice): Use get_discrete_bounds.
* value.h (COERCE_VARYING_ARRAY): Take type argumnt as well.
* values.c (baseclass_offset): Change parameter interface.
(baseclass_addr): Removed.
* c-typeprint.c, c-valprint.c, ch-valprint.c, values.c, valops.c:
Add check_typedef/CHECK_TYPEDEF as needed.
Per Bothner [Thu, 30 Nov 1995 03:10:59 +0000 (03:10 +0000)]
* scm-valprint.c (scm_isymnames): Remove "#@" prefix.
(scm_scmval_print): Do not print "#@" prefix.
* mdebugread.c: Add check_typedef/CHECK_TYPEDEF as needed.
Stan Shebs [Thu, 30 Nov 1995 02:55:03 +0000 (02:55 +0000)]
Fix MPW tool installation
Per Bothner [Thu, 30 Nov 1995 02:32:29 +0000 (02:32 +0000)]
* f-typeprint.c, valarith.c, valprint.c, typeprint.c, eval.c:
Add check_typedef/CHECK_TYPEDEF as needed.
* f-typeprint.c: Various cleaning up.
* valarith.c (value_subscript): Also subscript bitstrings (for Chill).
* typeprint.c (print_type_scalar): Also support TYPE_CODE_RANGE.
* eval.c (evaluate_subexp_standard case OP_ARRAY): Implement
support for labelled array tuples and ranges in powerset tuples.
(init_array_element): New function.
Per Bothner [Thu, 30 Nov 1995 01:43:37 +0000 (01:43 +0000)]
* alpha-tdep.c, c-exp.y, h8500-tdep.c, f-exp.y, f-valprint.c,
findvar.c, hppa-tdep.c, infcmd.c, language.c, printcmd.c,
rs6000-tdep.c, symmisc.c, symtab.c:
Add check_typedef/CHECK_TYPEDEF as needed.
Per Bothner [Thu, 30 Nov 1995 01:07:28 +0000 (01:07 +0000)]
* gdbtypes.h (enum type_code): Added TYPE_CODE_TYPEDEF.
(check_typedef): New prototype.
(CHECK_TYPEDEF): New macro.
(TYPE_DUMMY_RANGE): Removed.
* gdbtypes.c (get_discrete_bounds): Fix paren error; make more robust.
(create_array_type): Don't force_to_range_type; users of the
array are responsible for handling non-range index types.
(create_set_type): Likewise.
(force_to_range_type): Removed.
(check_typedef): New function handles stub types and typedefs.
(check_stub_type): Just call check_typedef. (To be removed.)
(recursive_dump_type): Handle TYPE_CODE_TYPEDEF.
* ch-lang.c (type_lower_upper): Use get_discrete_bounds.
(evaluate_subexp_chill): Handle string repetition.
Re-arrange to handle EVAL_AVOID_SIDE_EFFECTS better.
* ch-typeprint.c (chill_type_print_base): Handle TYPE_CODE_TYPEDEF.
Pass show=0 in recursive calls various places.
(case TYPE_CODE_ARRAY): Don't require index type to have
TYPE_CODE_RANGE.
(case TYPE_CODE_RANGE): Don't need to support TYPE_DUMMY_RANGE.
* gdbtypes.c, ch-lang.c, ch-typeprint.c (numerous places):
Add check_typedef/CHECK_TYPEDEF as needed.
Per Bothner [Wed, 29 Nov 1995 23:22:32 +0000 (23:22 +0000)]
* top.c (command_line_input): Only strip out an initial #-comment.
Looking for internal comments is language-specific (breaks Scheme).
Per Bothner [Wed, 29 Nov 1995 22:59:31 +0000 (22:59 +0000)]
* expression.h (enum exp_opcode): Add BINOP_RANGE.
* expprint.c (dump_expression): Support BINOP_RANGE.
* eval.c (evaluate_subexp_standard): Handle BINOP_RANGE (as error).
(case MULTI_SUBSCRIPT): Fix broken f77 value->int ad hoc conversion.
* ch-lang.c (chill_op_print_tab): Support BINOP_RANGE.
(evaluate_subexp_chill): Error on BINOP_COMMA.
Ian Lance Taylor [Wed, 29 Nov 1995 22:10:57 +0000 (22:10 +0000)]
* peicode.h (pe_print_idata): Call malloc rather than xmalloc.
(pe_print_pdata): Likewise.
Ian Lance Taylor [Wed, 29 Nov 1995 22:05:37 +0000 (22:05 +0000)]
* opncls.c (bfd_alloc_by_size_t): Set bfd_error_no_memory if
obstack_alloc fails.
(bfd_alloc_finish): Set bfd_error_no_memory if obstack_finish
fails.
* libbfd.c (bfd_zmalloc): Set bfd_error_no_memory if malloc fails.
* Many files: don't set bfd_error_no_memory if one of the above
routines fails.
J.T. Conklin [Wed, 29 Nov 1995 22:00:53 +0000 (22:00 +0000)]
Merge in stuff accidently commited to sh3e branch
Per Bothner [Wed, 29 Nov 1995 22:00:41 +0000 (22:00 +0000)]
* Makefile.in: Clean up so doc stuff stays in doc sub-dir.
J.T. Conklin [Wed, 29 Nov 1995 21:57:12 +0000 (21:57 +0000)]
* configure.in (noconfigdirs): Disable target-libio on v810-*-*.
* config/mt-v810 (CC_FOR_TARGET, AS_FOR_TARGET, AR_FOR_TARGET,
RANLIB_FOR_TARGET): Set as appropriate for NEC v810 toolchain.
Michael Meissner [Wed, 29 Nov 1995 21:41:21 +0000 (21:41 +0000)]
Make debugging remote gdb friendlier
Jim Wilson [Wed, 29 Nov 1995 20:41:46 +0000 (20:41 +0000)]
* gencode.c (tab): In shad/shld definitions, negate R[m] before
the and operation instead of after. For shad delete cast. For shld
use UR instead of R and delete cast.
Ian Lance Taylor [Wed, 29 Nov 1995 20:04:17 +0000 (20:04 +0000)]
* elf.c (assign_file_positions_for_segments): Don't adjust p_paddr
if p_paddr_valid is set.
(copy_private_bfd_data): New static function.
(_bfd_elf_copy_private_section_data): Call copy_private_bfd_data.
Ian Lance Taylor [Wed, 29 Nov 1995 19:14:33 +0000 (19:14 +0000)]
* elf.c (assign_file_positions_for_segments): Fix case where extra
program headers were allocated.
Ian Lance Taylor [Wed, 29 Nov 1995 18:46:07 +0000 (18:46 +0000)]
* elf.c (_bfd_elf_print_private_bfd_data): New function.
* elf-bfd.h (_bfd_elf_print_private_bfd_data): Declare.
* elfxx-target.h (bfd_elfNN_bfd_print_private_bfd_data): Define to
_bfd_elf_print_private_bfd_data.
Michael Meissner [Wed, 29 Nov 1995 18:17:24 +0000 (18:17 +0000)]
Fix -mrelocatable
Ian Lance Taylor [Wed, 29 Nov 1995 17:59:04 +0000 (17:59 +0000)]
* ld-srec/srec.exp: Add setup_xfail for i960 COFF targets.
Ian Lance Taylor [Wed, 29 Nov 1995 17:40:58 +0000 (17:40 +0000)]
* coff-alpha.c (alpha_ecoff_swap_reloc_in): Don't abort if
r_symndx is RELOC_SECTION_NONE for an ALPHA_R_IGNORE reloc.
Change a RELOC_SECTION_LITA symndx to RELOC_SECTION_ABS.
(alpha_ecoff_swap_reloc_out): Change RELOC_SECTION_ABS to
RELOC_SECTION_LITA for ALPHA_R_IGNORE.
(alpha_adjust_reloc_out): For ALPHA_R_IGNORE, don't change
RELOC_SECTION_ABS to RELOC_SECTION_NONE.
Ian Lance Taylor [Wed, 29 Nov 1995 17:09:41 +0000 (17:09 +0000)]
* configure.in: Don't configure gas for alpha-dec-osf*.
David Edelsohn [Wed, 29 Nov 1995 03:36:46 +0000 (03:36 +0000)]
Fix typo.
David Edelsohn [Wed, 29 Nov 1995 03:35:35 +0000 (03:35 +0000)]
* Makefile.in (target_subdir): Define.
(CC_FOR_TARGET, CXX_FOR_TARGET): Use it to find target libraries.
* configure.in (X_CFLAGS): Fix typo.
(target_subdir): Set to "${target_alias}/" if cross.
* configure: Regenerated.
David Edelsohn [Wed, 29 Nov 1995 03:34:57 +0000 (03:34 +0000)]
* Makefile.in (target_subdir): Define.
(CC_FOR_TARGET, CXX_FOR_TARGET): Use it to find target libraries.
* configure.in (X_CFLAGS): Fix typo.
(target_subdir): Set to "${target_alias}/" if cross.
* configure.in: Regenerated.
David Edelsohn [Wed, 29 Nov 1995 01:25:25 +0000 (01:25 +0000)]
* dlltool.c (fill_ordinals): Don't reference d_export_vec if
there are no exported functions.
David Edelsohn [Tue, 28 Nov 1995 23:45:17 +0000 (23:45 +0000)]
* dbxread.c (dbx_symfile_read): Set block_address_function_relative
for `pe' format files.
Ian Lance Taylor [Tue, 28 Nov 1995 22:15:27 +0000 (22:15 +0000)]
* configure.in: Default to --with-stabs for some targets for which
it makes sense: mips*-*-*, alpha*-*-osf*, i[345]86*-*-sysv4* and
i[345]86*-*-unixware*.
Ian Lance Taylor [Tue, 28 Nov 1995 22:02:13 +0000 (22:02 +0000)]
* elf-bfd.h (struct elf_obj_tdata): Add segment_map field.
* elf.c (make_mapping): New static function.
(map_sections_to_segments): New static function.
(elf_sort_sections): New static function.
(assign_file_positions_for_segments): New static function.
(map_program_segments): Remove.
(get_program_header_size): Remove sorted_hdrs, count, and
maxpagesize parameters. Simplify.
(assign_file_positions_except_relocs): When generating an
executable, use assign_file_positions_for_segments.
(elf_sort_hdrs): Remove.
(_bfd_elf_sizeof_headers): Remove eliminated parameters from call
to get_program_header_size.
Ian Lance Taylor [Tue, 28 Nov 1995 21:55:33 +0000 (21:55 +0000)]
* internal.h (struct elf_segment_map): Define.
Fred Fish [Tue, 28 Nov 1995 19:33:22 +0000 (19:33 +0000)]
* magic.h: Renamed to gmagic.h to avoid <magic.h> conflict.
* magic.c: Renamed to gmagic.c in sympathy.
* eval.c, gmagic.c, config/tm-magic.h:
Include "gmagic.h" rather than "magic.h".
Ken Raeburn [Tue, 28 Nov 1995 19:23:15 +0000 (19:23 +0000)]
Various Thanksgiving weekend hacks: clean up hash table, reduce various
structure sizes, stabs string memory use cleanup, statistics dump.
Ken Raeburn [Tue, 28 Nov 1995 19:21:09 +0000 (19:21 +0000)]
Clean up hash code, parameterize some actions, tweak some parameters. Hash
table entries, table allocation and control structure are larger now, but
collisions are reduced and string compares even further reduced.
Dump lots more statistics, especially hash code data, for --statistics. Dump
statistics even in error cases.
Details in ChangeLog.
Ken Raeburn [Tue, 28 Nov 1995 19:09:58 +0000 (19:09 +0000)]
Remove unused sy_name_offset from ELF_TARGET_SYMBOL_FIELDS.
Michael Meissner [Tue, 28 Nov 1995 18:57:30 +0000 (18:57 +0000)]
fix typo
Michael Meissner [Tue, 28 Nov 1995 18:47:07 +0000 (18:47 +0000)]
Add determining when we do not have enough writeback slots; Do not do model specific handling if not printing out the information
Ian Lance Taylor [Tue, 28 Nov 1995 17:15:37 +0000 (17:15 +0000)]
* lexsup.c (parse_args): Set config.dynamic_link to false for -N
and -n.
Michael Meissner [Mon, 27 Nov 1995 22:54:40 +0000 (22:54 +0000)]
Build again on SunOS; Make MODEL_INLINE default to 1 if inlining, not 2; Use __attribute__((const))
Fred Fish [Mon, 27 Nov 1995 22:44:38 +0000 (22:44 +0000)]
* pr-5016.exp: xfail "whatis i" for alpha-osf-dec-osf2*, same as linux.
Fred Fish [Mon, 27 Nov 1995 22:43:08 +0000 (22:43 +0000)]
* gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
"bt in signals.exp".
* gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
"step over execarg initialization" and
"step over corearg initialization".
* gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
Ian Lance Taylor [Mon, 27 Nov 1995 20:16:37 +0000 (20:16 +0000)]
* binutils-all/objcopy.exp: Correct fail calls to always use the
same string as the pass call.
Ian Lance Taylor [Mon, 27 Nov 1995 20:11:40 +0000 (20:11 +0000)]
* hp300hpux.c (MY(callback)): Set lma as well as vma.
Ian Lance Taylor [Mon, 27 Nov 1995 20:02:12 +0000 (20:02 +0000)]
fix last change
Ian Lance Taylor [Mon, 27 Nov 1995 19:39:09 +0000 (19:39 +0000)]
* ld-srec/srec.exp: Add setup_xfail calls for i[345]86-*-aout*.
* ld-srec/sr1.c (V_SPILL, V_FILL): Define.
* ld-srec/sr3.cc: Likewise.
Ian Lance Taylor [Mon, 27 Nov 1995 18:50:31 +0000 (18:50 +0000)]
* config-ml.in: Get list of multidirs using gcc --print-multi-lib
rather than basing it on the target. Simplify handling of options
controlling which directories to configure. Remove extraneous
slash in multi-clean target.
Ian Lance Taylor [Mon, 27 Nov 1995 18:19:15 +0000 (18:19 +0000)]
* configure: Rebuild with autoconf 2.7.
Ian Lance Taylor [Mon, 27 Nov 1995 18:11:02 +0000 (18:11 +0000)]
* configure: Rebuild with autoconf 2.7.
Ian Lance Taylor [Mon, 27 Nov 1995 18:06:54 +0000 (18:06 +0000)]
* configure: Regenerate with autoconf 2.7.
Ian Lance Taylor [Mon, 27 Nov 1995 18:02:58 +0000 (18:02 +0000)]
* configure, config.in: Regenerate with autoconf 2.7.
Ian Lance Taylor [Mon, 27 Nov 1995 17:42:27 +0000 (17:42 +0000)]
* elf32-i386.c (elf_backend_plt_readonly): Set correctly, to 1.
* elf32-sparc.c (elf_backend_plt_readonly): Set correctly, to 0.
PR 8513.
Fred Fish [Sat, 25 Nov 1995 20:27:38 +0000 (20:27 +0000)]
Left out of last cvs commit...
Fred Fish [Sat, 25 Nov 1995 19:55:29 +0000 (19:55 +0000)]
From Rob Savoye (rob@poseidon.cygnus.com)
* Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in, configure.in},
gdb.disasm/{Makefile.in, configure.in}, gdb.stabs/{Makefile.in, configure.in},
gdb.threads/{Makefile.in, configure.in}: Major reworking for autoconfig.
* aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt : New files.
* config/unix-gdb.exp: Make GDB global.
* gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp, callfuncs.exp,
commands.exp, corefile.exp, crossload.exp, exprs.exp, funcargs.exp, interrupt.exp,
langs.exp, list.exp, mips_pro.exp, nodebug.exp, opaque.exp, printcmds.exp,
ptype.exp, recurse.exp, regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp,
signals.exp, term.exp, twice.exp, watchpoint.exp, whatis.exp},
gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp, templates.exp,
virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp, misc.exp, pr-4975.exp,
pr-5016.exp, pr-5020.exp, pr-5022.exp, pr-5646.exp, pr-5984.exp, pr-6292.exp,
pr-6632.exp, pr-8134.exp, pr-8136.exp, result.exp, string.exp, tuples.exp},
gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
to returns as necessary, arrange for test to compile own testcase executable.
* lib/gdb.exp: Changes for testsuite to compile own test cases.
From Fred Fish (fnf@cygnus.com)
* gdb.c++/classes.exp (test_pointers_to_class_members): Add
clear_xfail at end of test which might not call either pass or fail.
* gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
"backtrace through signal handler".
Peter Schauer [Sat, 25 Nov 1995 11:32:18 +0000 (11:32 +0000)]
* mdebugread.c (handle_psymbol_enumerators, parse_symbol):
Recognize enums from alpha cc -migrate.
(upgrade_type): Pass correct fd to parse_symbol when parsing
the index type of an array.
(parse_procedure, parse_lines, psymtab_to_symtab_1): Handle
unsorted procedure descriptors from Irix 5.x and Alpha OSF/1-3.x
shared libraries. Use CORE_ADDR instead of `unsigned long' in
procedure descriptor address computations.
* symtab.c (decode_line_1): Prevent accidental strchr match
of a null character with the terminating null character of
gdb_completer_quote_characters.
(cplusplus_hint): Make sure that only a single quote is printed
in the hint message.
Michael Meissner [Sat, 25 Nov 1995 06:08:56 +0000 (06:08 +0000)]
Check lf_printf for type correctness
Michael Meissner [Sat, 25 Nov 1995 05:56:28 +0000 (05:56 +0000)]
Make WITH_MODEL_ISSUE==0 not core dump
David Edelsohn [Sat, 25 Nov 1995 02:37:58 +0000 (02:37 +0000)]
* scripttempl/pe.sc: Two .junk's is too much junk.
David Edelsohn [Sat, 25 Nov 1995 01:40:05 +0000 (01:40 +0000)]
* config-ml.in: Prefix more variables with ml_ so they don't collide
with configure's.
Michael Meissner [Sat, 25 Nov 1995 01:35:14 +0000 (01:35 +0000)]
Sort instruction names; Add igen -R option; count # of CRs that mtcrf moved
Michael Meissner [Sat, 25 Nov 1995 01:34:26 +0000 (01:34 +0000)]
Sort instruction names; Add igen -R option; count # of CRs that mtcrf moved
Jeff Law [Fri, 24 Nov 1995 23:21:38 +0000 (23:21 +0000)]
* top.c (recurse_read_control_structure): Don't make cleanups
here. Callers handle that correctly.
Fixes 6794.
Michael Meissner [Fri, 24 Nov 1995 16:44:37 +0000 (16:44 +0000)]
Fix warnings to everything can be compiled with -Wall; Redo model specific changes once again to speed things up
Michael Meissner [Wed, 22 Nov 1995 21:02:49 +0000 (21:02 +0000)]
Count each type of conditional branch
Ian Lance Taylor [Wed, 22 Nov 1995 20:47:19 +0000 (20:47 +0000)]
* dlltool.c (fill_ordinals): Start assigning ordinals at 1.
PR 8500.
Ian Lance Taylor [Wed, 22 Nov 1995 19:01:43 +0000 (19:01 +0000)]
* ecoff.c (_bfd_ecoff_new_section_hook): Handle .rconst section.
(ecoff_sec_to_styp_flags): Likewise.
(_bfd_ecoff_styp_to_sec_flags): Handle STYP_RCONST.
(ecoff_set_symbol_info): Handle scRConst.
(ecoff_slurp_reloc_table): Handle RELOC_SECTION_RCONST.
(ecoff_compute_section_file_positions): Handle .rconst section.
(_bfd_ecoff_write_object_contents): Likewise.
(ecoff_link_check_archive_element): Handle scRConst.
(ecoff_link_add_externals): Likewise.
(ecoff_link_write_external): Handle .rconst section.
(ecoff_reloc_link_order): Likewise.
* ecofflink.c (bfd_ecoff_debug_accumulate): Handle scRConst.
* coff-alpha.c (alpha_convert_external_reloc): Handle .rconst
section.
(alpha_relocate_section): Handle RELOC_SECTION_RCONST.
Ian Lance Taylor [Wed, 22 Nov 1995 18:19:43 +0000 (18:19 +0000)]
* lib/utils-lib.exp (prune_system_crud): Discard -g -O warnings
from native compilers on OSF/1 and SunOS.
Ian Lance Taylor [Wed, 22 Nov 1995 18:18:21 +0000 (18:18 +0000)]
* Makefile.in (EXPECT): Use $$r, not $${rootme}.
(check): Set r, not rootme.
Ian Lance Taylor [Wed, 22 Nov 1995 17:04:56 +0000 (17:04 +0000)]
* sunos.c (sunos_scan_dynamic_symbol): Only set written if the
DEF_DYNAMIC flag is set.
PR 8493.
Ian Lance Taylor [Wed, 22 Nov 1995 16:30:36 +0000 (16:30 +0000)]
* configure: Don't turn -v into --v.
Fred Fish [Wed, 22 Nov 1995 04:26:03 +0000 (04:26 +0000)]
* config/m68k/xm-hp300hpux.h: Define MMAP_BASE_ADDRESS and MMAP_INCREMENT.
Also force HAVE_MMAP to be defined since autoconf is currently broken
for detecting a working mmap under hpux.
* config/pa/xm-hppah.h (MMAP_BASE_ADDRESS): Tweak MMAP_BASE_ADDRESS
to a better value suggested by Jeffrey A Law (law@cygnus.com).
Ken Raeburn [Wed, 22 Nov 1995 00:57:55 +0000 (00:57 +0000)]
* host-aout.c: If TRAD_HEADER is defined, include it.
David Edelsohn [Wed, 22 Nov 1995 00:53:19 +0000 (00:53 +0000)]
Remove C comment cruft.
David Edelsohn [Wed, 22 Nov 1995 00:49:42 +0000 (00:49 +0000)]
* configure.in (targargs): Fix typo.
David Edelsohn [Wed, 22 Nov 1995 00:08:26 +0000 (00:08 +0000)]
* Makefile.in (DEVO_SUPPORT): Add symlink-tree.
Ian Lance Taylor [Tue, 21 Nov 1995 23:39:59 +0000 (23:39 +0000)]
* aclocal.m4 (AC_PROG_CC): Remove local definition.
* configure: Rebuild with autoconf 2.6.
Ian Lance Taylor [Tue, 21 Nov 1995 23:32:33 +0000 (23:32 +0000)]
* configure.in: Use BFD_NEED_DECLARATION.
* acconfig.h: Put NEED_DECLARATION_FREE in @TOP@ section.
* configure, config.in: Rebuild with autoconf 2.6.
Ian Lance Taylor [Tue, 21 Nov 1995 23:28:45 +0000 (23:28 +0000)]
* configure: Rebuild with autoconf 2.6.
Ian Lance Taylor [Tue, 21 Nov 1995 23:26:26 +0000 (23:26 +0000)]
* acconfig.h: Put NEED_DECLARATION_* in @TOP@ section.
* config.in: Rebuild with autoconf 2.6.
Ian Lance Taylor [Tue, 21 Nov 1995 23:23:10 +0000 (23:23 +0000)]
* configure.in: Use BFD_NEED_DECLARATION.
* acconfig.h: Put NEED_DECLARATION_FPRINTF in @TOP@ section.
* configure, config.in: Rebuild with autoconf 2.6.
Ian Lance Taylor [Tue, 21 Nov 1995 23:02:13 +0000 (23:02 +0000)]
* aclocal.m4 (AC_PROG_CC): Remove local definition.
(BFD_BINARY_FOPEN): Require AC_CANONICAL_SYSTEM.
(BFD_NEED_DECLARATION): New function.
* configure.in: Use BFD_NEED_DECLARATION.
* configure: Rebuild with autoconf 2.6.
Michael Meissner [Tue, 21 Nov 1995 21:41:25 +0000 (21:41 +0000)]
Add floating point model specific support; Redo method model specific support is done; Add remaining floating add/subtract-multiply
Ian Lance Taylor [Tue, 21 Nov 1995 21:25:35 +0000 (21:25 +0000)]
* xcofflink.c (bfd_xcoff_size_dynamic_sections): Clear
special_sections before returning when called with a non XCOFF
BFD.
Ian Lance Taylor [Tue, 21 Nov 1995 21:15:49 +0000 (21:15 +0000)]
* ldmain.c (constructor_callback): Don't warn about BFD_RELOC_CTOR
being unsupported if this is not a relocaeable link and the input
BFD supports it, since ldctor_build_sets can cope with that case.
Ian Lance Taylor [Tue, 21 Nov 1995 21:06:55 +0000 (21:06 +0000)]
* ld-empic/empic.exp: Update for changes in objdump output.
Ken Raeburn [Tue, 21 Nov 1995 19:28:35 +0000 (19:28 +0000)]
fix typo in last change