Ian Lance Taylor [Tue, 12 Mar 1996 17:47:55 +0000 (17:47 +0000)]
Tue Mar 12 12:43:59 1996 David Mosberger-Tang <davidm@koala.azstarnet.com>
* ld.h (ld_config_type): Add warn_multiple_gp field.
* lexsup.c (parse_args): Handle --warn-multiple-gp.
* ldmain.c (warning_callback): Suppress multiple gp values warning
if --warn_multiple_gp was not used.
* ld.texinfo, ld.1: Document --warn-multiple-gp.
Ian Lance Taylor [Tue, 12 Mar 1996 17:42:19 +0000 (17:42 +0000)]
Tue Mar 12 12:41:17 1996 David Mosberger-Tang <davidm@koala.azstarnet.com>
* coff-alpha.c (alpha_relocate_section): Use
info->callbacks_warning, rather than _bfd_error_handler, for
"multiple gp" warning.
Ian Lance Taylor [Tue, 12 Mar 1996 17:30:44 +0000 (17:30 +0000)]
comment change
Ian Lance Taylor [Tue, 12 Mar 1996 17:26:23 +0000 (17:26 +0000)]
tweak last patch
Ian Lance Taylor [Tue, 12 Mar 1996 17:22:07 +0000 (17:22 +0000)]
* configure: Rebuild with autoconf 2.8.
Ian Lance Taylor [Tue, 12 Mar 1996 17:10:22 +0000 (17:10 +0000)]
* debug.c (debug_type_samep): Don't loop endlessly in
DEBUG_KIND_ENUM case. From Eric Baur <ecb@nexen.com>.
Ian Lance Taylor [Tue, 12 Mar 1996 17:04:25 +0000 (17:04 +0000)]
Don't do SunOS style dynamic linking for sparc-aout:
* configure.tgt (sparc64-*-aout*): Use sparcaout, not sun4.
(sparclite*-fujitsu-*, sparc*-*-aout): Likewise.
(sparc*-wrs-vxworks*): Likewise.
* emulparams/sparcaout.sh: New file.
* Makefile.in (ALL_EMULATIONS): Add esparcaout.o.
(esparcaout.c): New target.
Ian Lance Taylor [Mon, 11 Mar 1996 23:58:15 +0000 (23:58 +0000)]
* config/atof-ieee.c (gen_to_words): Improve handling of
X_PRECISION numbers. Based on patches from Andreas Schwab
<schwab@issan.informatik.uni-dortmund.de>.
Dawn Perchik [Mon, 11 Mar 1996 23:52:05 +0000 (23:52 +0000)]
Keep mon960 files.
Dawn Perchik [Mon, 11 Mar 1996 23:49:22 +0000 (23:49 +0000)]
* mon960-rom.c: New file; support mon960 rom monitor on i960.
* monitor.c (monitor_debug): Change remotedebug to buffer strings.
* monitor.c (monitor_open): Add test for flag MO_NO_ECHO_ON_OPEN before
epecting prompt and echo during open.
* monitor.c (monitor_stop): Add test for flag MO_SEND_BREAK_ON_OPEN to
determine if break should be sent as stop command.
* monitor.h: Add flags MO_NO_ECHO_ON_OPEN and MO_SEND_BREAK_ON_OPEN.
* i960-tdep.c (mon960_frame_chain_valid): New function for getting
stack frame on mon960.
* Makefile.in: Add mon960 files.
* configure.in: Changed i960-*-coff* and i960-*-elf* to target mon960;
added i960-nindy-coff* and i960-nindy-elf* for target nindy.
* configure: Regenerated.
* config/i960/mon960.mt, config/i960/tm-mon960.h: New files;
support mon960 rom monitor on i960.
David Edelsohn [Mon, 11 Mar 1996 23:25:53 +0000 (23:25 +0000)]
(sim_resume, shift insns): Fix setting of overflow flag for shal.
David Edelsohn [Mon, 11 Mar 1996 21:59:47 +0000 (21:59 +0000)]
* run.c (main): Print error message if argument is invalid.
(usage): Improve text.
David Edelsohn [Mon, 11 Mar 1996 21:59:22 +0000 (21:59 +0000)]
(main): Print error message if argument is invalid.
(usage): Improve text.
David Edelsohn [Mon, 11 Mar 1996 19:30:53 +0000 (19:30 +0000)]
* compile.c: #include "wait.h".
(sim_resume, sleep insn): Check program exit status in r0.
Steve Chamberlain [Mon, 11 Mar 1996 19:08:57 +0000 (19:08 +0000)]
Mon Mar 11 11:02:47 1996 Steve Chamberlain <sac@slash.cygnus.com>
With Michael Snyder:
* i386-tdep.c (skip_trampoline_code): Fix strncmp length.
* win32-nat.c (CHECK, DEBUG*, debug_*): New.
(handle_load_dll): Don't reload symbols.
(handle_exception): Use the DEBUG_* names.
(child_wait): Add DEBUG_* code.
(_initialize_inftarg): Add new commands to set debug_ names.
Steve Chamberlain [Mon, 11 Mar 1996 18:05:58 +0000 (18:05 +0000)]
* as.h (SEG_NORMAL, SEG_LIST): Bump segment limit from 10 to 40.
(SEG_LAST): New.
* subsegs.c (MANY_SEGMENTS): Increase segment limit.
* obj-coff.c (seg_N_TYPE, seg_info_off_by_4): Likewise.
(do_relocs_for, w_symbols, obj_coff_add_segment, do_linenos_for,
crawl_symbols, coff_header_append): Loop to SEG_LAST rather than
SEG_E9.
Until BFD backend works with i386-pe.
David Edelsohn [Mon, 11 Mar 1996 17:54:45 +0000 (17:54 +0000)]
* compile.c (sim_resume): Watch for calls to abort.
* run.c: #include <signal.h>.
(main): Abort if program got SIGILL.
Ian Lance Taylor [Mon, 11 Mar 1996 17:38:16 +0000 (17:38 +0000)]
* rddbg.c (read_section_stabs_debugging_info): Call save_stab for
each stab entry, call stab_context on an error, and call
free_saved_stabs before rturning.
(read_symbol_stabs_debugging_info): Likewise.
(SAVE_STABS_COUNT): Define.
(struct saved_stab): Define.
(saved_stabs, saved_stabs_index): New static variables.
(save_stab, stab_context, free_saved_stabs): New static functios.
Ian Lance Taylor [Mon, 11 Mar 1996 17:37:38 +0000 (17:37 +0000)]
* objdump.c (stab_name): Remove.
(struct stab_print): Remove.
(stab_print): Remove.
(dump_stabs): Don't initialize stab_name.
(print_section_stabs): Call bfd_get_stab_name rather than using
the stab_name array.
Ian Lance Taylor [Mon, 11 Mar 1996 17:33:43 +0000 (17:33 +0000)]
* stab-syms.c (__define_stab_duplicate): Define.
(bfd_get_stab_name): Rename from aout_stab_name. Rewrite to use a
switch.
* bfd-in.h (bfd_get_stab_name): Declare.
* bfd-in2.h: Rebuild.
* Makefile.in: Rebuild dependencies.
(BFD_LIBS): Add stab-syms.o.
(BFD_LIBS_CFILES): Add stab-syms.c.
(BFD32_BACKENDS): Remove stab-syms.o.
(BFD32_BACKENDS_CFILES): Remove stab-syms.c.
* configure.in: Don't list stab-syms.o in bfd_backends.
* configure: Rebuild.
* libaout.h (aout_stab_name): Don't declare.
* aoutx.h (NAME(aout,get_symbol_info)): Call bfd_get_stab_name,
not aout_stab_name.
Ian Lance Taylor [Mon, 11 Mar 1996 17:17:00 +0000 (17:17 +0000)]
* stab.def: Use __define_stab_duplicate rather than __define_stab
for duplicate entries N_BROWS and N_MOD2.
* stab_gnu.h (__define_stab_duplicate): Define before including
stab.def.
Jeff Law [Mon, 11 Mar 1996 16:21:51 +0000 (16:21 +0000)]
* From Peter Schauer:
* breakpoint.c (insert_breakpoints): Use ALL_BREAKPOINTS_SAFE.
(bpstat_stop_status): Likewise.
(remove_solib_event_breakpoints): Likewise.
(clear_momentary_breakpoints): Likewise.
(re_enable_breakpoints_in_shlibs): Don't reenable a breakpoint
if we still can't read the memory for that breakpoint.
(mention): Add bp_shlib_event case to keep gcc quiet.
Ian Lance Taylor [Sun, 10 Mar 1996 18:23:57 +0000 (18:23 +0000)]
* configure: Restore Canadian Cross handling of BISON and LEX,
removed in Feb 20 change.
Ian Lance Taylor [Fri, 8 Mar 1996 22:55:13 +0000 (22:55 +0000)]
* Makefile.in ($(CONFIGURE_TARGET_MODULES)): If there is a
Makefile after running symlink-tree, then run `make distclean' to
avoid clobbering any generated files in srcdir.
Jeff Law [Fri, 8 Mar 1996 19:16:33 +0000 (19:16 +0000)]
* breakpoint.h (enum enable): New enum shlib_disabled for
shared library breakpoints that have been temporarily disabled.
* breakpoint.c: Handle temporarily disabled shared library
breakpoints like disabled breakpoints in most places.
(insert_breakpoints): Use shlib_disabled to indicate
that an unsettable breakpoint is only temporarily disabled.
(re_enable_breakpoints_in_shlibs): New function.
* corelow.c (solib_add_stub): After adding shared libraries,
try to reenable any temporarily disabled breakpoints.
* infcmd.c (attach_command): Likewise.
* infrun.c (wait_for_inferior): Likewise.
Hopefully the last 7763 related patches for a while.
Ian Lance Taylor [Fri, 8 Mar 1996 16:43:02 +0000 (16:43 +0000)]
* defs.h (extract_long_unsigned_integer): Declare.
* findvar.c (extract_long_unsigned_integer): New function.
* printcmd.c (print_scalar_formatted): Use it.
* valprint.c (val_print_type_code_int): Likewise.
Stan Shebs [Fri, 8 Mar 1996 02:04:19 +0000 (02:04 +0000)]
* infcmd.c (do_registers_info): Ignore anonymous registers.
* sh-tdep.c (set processor): New command to set specific
processor type.
(sh_reg_names, sh3_reg_names): Arrays of register names for
SH and SH3 processors.
(sh_set_processor_type): New function.
* sh3-rom.c (sh3_open): Call it.
(sh3_regname): Add names of all the bank registers.
(sh3_supply_register): Clean up formatting.
* config/sh/tm-sh.h (NUM_REGS, NUM_REALREGS): Increase to include
bank registers.
(REGISTER_NAMES): Add names of bank registers.
(FP15_REGNUM): Define.
(REGISTER_VIRTUAL_TYPE): Use it.
* monitor.c: Clean up some comments.
Michael Meissner [Fri, 8 Mar 1996 01:24:01 +0000 (01:24 +0000)]
Make psim build on AIX 4.1
David Edelsohn [Thu, 7 Mar 1996 22:50:09 +0000 (22:50 +0000)]
Test common synthetic insns (applicable to v8 or v9).
David Edelsohn [Thu, 7 Mar 1996 22:48:51 +0000 (22:48 +0000)]
Add missing arc sanitization (oops).
J.T. Conklin [Thu, 7 Mar 1996 20:13:45 +0000 (20:13 +0000)]
* i386b-nat.c: Revert part of Mar 5 change. FreeBSD collapsed the
s* and t* symbols too.
Jeff Law [Thu, 7 Mar 1996 16:19:23 +0000 (16:19 +0000)]
* config/tc-hppa.c (SUBSEG_MILLI): Define.
(pa_def_subspaces): Add $MILLICODE$.
(pa_spaces_begin): Set section flags for $MILLICODE$.
Jackie Smith Cashion [Thu, 7 Mar 1996 15:25:33 +0000 (15:25 +0000)]
Thu Mar 7 15:18:51 1996 James G. Smith <jsmith@cygnus.co.uk>
* symfile.c (generic_load): Avoid division by zero.
Jackie Smith Cashion [Thu, 7 Mar 1996 11:25:15 +0000 (11:25 +0000)]
Thu Mar 7 11:19:33 1996 James G. Smith <jsmith@cygnus.co.uk>
* gencode.c, interp.c: Replaced explicit long long references with
WORD64HI, WORD64LO, SET64HI and SET64LO macro calls.
* support.h (SET64LO, SET64HI): Macros added.
This is an intermediate checkin. The work of removing "long long"
usage is not yet finished. These changes are clean, and have been
sitting on my machine for a while (whilst doing other work), and it is
safer for them to be checked in.
Jeff Law [Thu, 7 Mar 1996 01:00:04 +0000 (01:00 +0000)]
* breakpoint.c (bfd_lookup_symbol): Provide for all SVR4 systems,
not just those with HANDLE_SVR4_EXEC_EMULATORS.
Fixes linux native build problem.
J.T. Conklin [Thu, 7 Mar 1996 00:12:34 +0000 (00:12 +0000)]
* scripttmpl/elfppc.sc (.sdata2, .sbss2): Implement Feb 2 change
in a different manner to work around differences in shell variable
expansion.
Ian Lance Taylor [Wed, 6 Mar 1996 23:12:41 +0000 (23:12 +0000)]
* ldemul.h (ldemul_unrecognized_file): Declare.
(ldemulation_xfer_type): Add unrecognized_file field.
* ldemul.c (ldemul_unrecognized_file): New function.
* ldlang.c (load_symbols): If a file can not be recognized, call
ldemul_unrecognized_file before trying it as a linker script.
* aix.em (gld${EMULATION_NAME}_unrecognized_file): New static
function.
(gld${EMULATION_NAME}_read_file): Use FOPEN_RT, not "r".
(ld_${EMULATION_NAME}_emulation): Initialize unrecognized_file.
Ian Lance Taylor [Wed, 6 Mar 1996 22:19:22 +0000 (22:19 +0000)]
* config/obj-elf.c (obj_elf_section): Only SEC_LOAD if the type is
not SHT_NOBITS. Don't tamper with flags based on type if a
special section was found (revert Feb 29 change).
Ian Lance Taylor [Wed, 6 Mar 1996 19:16:17 +0000 (19:16 +0000)]
* config/tc-sh.c (sh_do_align): Only align using the nop pattern
if aligning to a longword boundary or greater.
Jim Wilson [Wed, 6 Mar 1996 18:50:20 +0000 (18:50 +0000)]
* tc-sh.c (sh_do_align): Pass 1 not 2 to frag_align.
Jeff Law [Wed, 6 Mar 1996 16:36:13 +0000 (16:36 +0000)]
* From Peter Schauer:
* breakpoint.c (internal_breakpoint_number): Move to file scope.
(create_solib_event_breakpoint): Use an internal breakpoint number.
Wilfried Moser [Wed, 6 Mar 1996 08:35:05 +0000 (08:35 +0000)]
* valarith.c (value_in): Change builtin_type_chill_bool to
LA_BOOL_TYPE.
Wilfried Moser [Wed, 6 Mar 1996 08:30:40 +0000 (08:30 +0000)]
* powerset.exp: Add test.
Wilfried Moser [Wed, 6 Mar 1996 08:02:45 +0000 (08:02 +0000)]
* ch-exp.c (parse_primval): Handle CARD, MAX, MIN.
(match_string_literal): Handle control sequence.
(match_character_literal): Deto.
* ch-lang.c (chill_printchar): Change formating of nonprintable
characters from C'xx' to ^(num).
(chill_printstr): Deto.
(value_chill_card, value_chill_max_min): New functions to process
Chill's CARD, MAX, MIN.
(evaluate_subexp_chill): Process UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN.
* expression.h (exp_opcode): Add UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN
for Chill's CARD, MAX, MIN.
* valarith.c (value_in): Add processing of TYPE_CODE_RANGE
and change return type from builtin_type_int to
builtin_type_chill_bool.
Wilfried Moser [Wed, 6 Mar 1996 07:44:46 +0000 (07:44 +0000)]
* gch922.{ch,exp}, powerset.{ch,exp}: New test cases.
* builtins.exp, chillvars.exp, misc.exp, tests1.exp: Updated
due to new format of nonprintable characters (control sequence
instead of C'xx').
Stan Shebs [Wed, 6 Mar 1996 04:01:02 +0000 (04:01 +0000)]
* config/nm-nbsd.h (link_object, lo_name, etc): Move to here
from config/nm-nbsd.h.
* config/sparc/nm-nbsd.h (regs, fp_status, etc): Move to here
from config/sparc/tm-nbsd.h.
Stan Shebs [Wed, 6 Mar 1996 02:58:19 +0000 (02:58 +0000)]
* config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here
instead of in config/m68k/xm-hp300hpux.h.
Stan Shebs [Tue, 5 Mar 1996 22:42:17 +0000 (22:42 +0000)]
* */Makefile.in (maintainer-clean): Remove config.log.
* gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
* gdb.c++/Makefile.in (PROGS): Add inherit.
(clean): Remove *.ci.
Ian Lance Taylor [Tue, 5 Mar 1996 20:52:52 +0000 (20:52 +0000)]
* configure.in: Don't set SHLIB or SHLINK to an empty string,
since they appear as targets in Makefile.in.
* configure: Rebuild.
J.T. Conklin [Tue, 5 Mar 1996 20:09:21 +0000 (20:09 +0000)]
* i386b-nat.c, m68knbsd-nat.c (fetch_core_registers): Provide
implementation for NetBSD systems.
Ian Lance Taylor [Tue, 5 Mar 1996 17:03:18 +0000 (17:03 +0000)]
* sunos.c (sunos_scan_ext_relocs): If not making a shared library,
don't fiddle with a symbol which is not defined anywhere.
J.T. Conklin [Tue, 5 Mar 1996 16:24:35 +0000 (16:24 +0000)]
* configure.in (m68k-*-netbsd*): Build everything now.
Per Bothner [Tue, 5 Mar 1996 08:21:49 +0000 (08:21 +0000)]
* string.ch, string.exp: Add tests (from Cygnus PR chill/9078).
Per Bothner [Tue, 5 Mar 1996 08:20:22 +0000 (08:20 +0000)]
* valarith.c (binop_user_defined_p): Return 0 for BINOP_CONCAT.
(value_concat): Handle varying strings (add COERCE_VARYING_ARRAY).
This fixes PR chill/9078.
Per Bothner [Tue, 5 Mar 1996 08:12:53 +0000 (08:12 +0000)]
* pr-9095.ch, pr-9095.exp: New test case.
Per Bothner [Tue, 5 Mar 1996 07:48:20 +0000 (07:48 +0000)]
* ch-lang.c (evaluate_subexp_chill case MULTI_SUBSCRIPT): Error
if "function" is pointer to non-function.
Fixes PR chill/9095.
Steve Chamberlain [Tue, 5 Mar 1996 05:04:56 +0000 (05:04 +0000)]
* configure.in (i386-*-cygwin32): Don't use bfd_gas.
* configure: Regenerated.
Stan Shebs [Tue, 5 Mar 1996 02:13:33 +0000 (02:13 +0000)]
* top.c (print_gdb_version): Update copyright year.
Ian Lance Taylor [Tue, 5 Mar 1996 01:01:11 +0000 (01:01 +0000)]
* xcofflink.c (xcoff_mark): Treat undefined imported symbols as
though they are defined in a shared library.
(xcoff_build_ldsyms): Likewise.
Ian Lance Taylor [Mon, 4 Mar 1996 23:42:12 +0000 (23:42 +0000)]
* coffgen.c (coff_find_nearest_line): Don't look at the line
numbers for the section if section->lineno is NULL.
Jeff Law [Mon, 4 Mar 1996 21:50:10 +0000 (21:50 +0000)]
* From Peter Schauer:
* infrun.c (wait_for_inferior): Remove breakpoints and
switch terminal settings before calling SOLIB_ADD.
* solib.c (enable_break, SVR4 variant): Don't map in symbols
for the dynamic linker, the namespace pollution causes real
problems.
Jeff Law [Mon, 4 Mar 1996 19:42:03 +0000 (19:42 +0000)]
* config/tc-hppa.c: Add default definitions for R_N0SEL and
R_N1SEL since they're not defined for old versions of hpux.
Ian Lance Taylor [Mon, 4 Mar 1996 19:12:43 +0000 (19:12 +0000)]
* ldlang.c (wild): Handle foo.a(.text) by mapping each included
member of foo.a separately. From Jouke Numan <jnuman@bazis.nl>.
Ian Lance Taylor [Mon, 4 Mar 1996 17:50:38 +0000 (17:50 +0000)]
* elf.c (_bfd_elf_symbol_from_bfd_symbol): Print a useful error
message rather than calling BFD_ASSERT.
* elfcode.h (write_relocs): Check return value of
_bfd_elf_symbol_from_bfd_symbol.
Jeff Law [Mon, 4 Mar 1996 17:15:23 +0000 (17:15 +0000)]
* config/tc-hppa.c (tc_gen_reloc): Fix typo in R_COMP2 code.
Set "sym_ptr_ptr" and "addend" fields to dummy values for
R_N0SEL and R_N1SEL.
Net buglet, and something I just noticed was wrong.
Jackie Smith Cashion [Sun, 3 Mar 1996 17:20:15 +0000 (17:20 +0000)]
Sun Mar 3 17:18:57 1996 James G. Smith <jsmith@cygnus.co.uk>
* remote-mips.c (common_breakpoint): Explicitly terminate the
returned buffer.
Ian Lance Taylor [Fri, 1 Mar 1996 15:34:47 +0000 (15:34 +0000)]
Fri Mar 1 10:20:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* flonum-konst.c: Add two more constants for 1e+-2048 and
1e+-4096, and correct the other constants.
Ian Lance Taylor [Fri, 1 Mar 1996 15:27:57 +0000 (15:27 +0000)]
Fri Mar 1 10:24:59 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment):
Search trinary.cond rather than searching trinary.lhs twice.
Ian Lance Taylor [Fri, 1 Mar 1996 15:24:19 +0000 (15:24 +0000)]
Fri Mar 1 10:20:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* symbols.c (resolve_symbol_value): Handle O_logical_not.
Michael Meissner [Fri, 1 Mar 1996 14:47:46 +0000 (14:47 +0000)]
When putting common items in .sdata, make sure SEC_LOAD flag is cleared
Michael Meissner [Thu, 29 Feb 1996 23:16:24 +0000 (23:16 +0000)]
fix typo
Michael Meissner [Thu, 29 Feb 1996 19:04:49 +0000 (19:04 +0000)]
All predefined sections to be of NOBITS type
Stan Shebs [Thu, 29 Feb 1996 06:39:05 +0000 (06:39 +0000)]
From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
* remote.c (remote_detach): Send a command 'D' to the target
when detaching, update the function's comments.
Fred Fish [Thu, 29 Feb 1996 04:19:15 +0000 (04:19 +0000)]
Add xm-nbsd.h
Fred Fish [Thu, 29 Feb 1996 03:41:50 +0000 (03:41 +0000)]
Remove missing file "PROBLEMS" from list of files to keep.
Jeff Law [Thu, 29 Feb 1996 00:51:00 +0000 (00:51 +0000)]
* config/tc-hppa.c (hppa_fix_adjustable): For SOM, don't
reduce relocs using e_nlrsel field selectors.
Fred Fish [Wed, 28 Feb 1996 23:53:00 +0000 (23:53 +0000)]
* Makefile.in (VERSION): Bump version to 4.15.2 to establish
baseline for gdb 4.16 rerelease testing.
Jeff Law [Wed, 28 Feb 1996 22:39:09 +0000 (22:39 +0000)]
* write.c (fix_new_exp): Don't use #elif. Some compilers
don't handle it.
Fixes build problem with certain versions of the hpux compiler.
Jeff Law [Wed, 28 Feb 1996 20:36:27 +0000 (20:36 +0000)]
* somsolib.c (som_solib_create_inferior_hook): Before returning
call clear_symtab_users.
Fixes minor hpux problem with 7763 patches.
Jason Merrill [Wed, 28 Feb 1996 20:26:15 +0000 (20:26 +0000)]
Wed Feb 28 12:25:46 1996 Jason Merrill <jason@yorick.cygnus.com>
* Makefile.in (taz): Fix quoting.
Jeff Law [Wed, 28 Feb 1996 18:34:32 +0000 (18:34 +0000)]
* config/tc-hppa.c (selector_table): Add "n", "nl", and "nlr" to
the selector table.
(pa_chk_field_selector): Handle new field selectors for SOM.
More new stuff for hpux10.
Jeff Law [Wed, 28 Feb 1996 18:27:51 +0000 (18:27 +0000)]
* libhppa.h (hppa_reloc_field_selector_type): Add R_HPPA_NLSEL
and R_HPPA_NLRSEL.
(e_nsel, e_nlsel, e_nlrsel): Undefine. Add to
hppa_reloc_field_selector_type_alt.
(hppa_field_adjust): Handle e_nlsel, e_nlrsel. Fix e_nsel handling.
* som.c (hppa_som_gen_reloc_type): Handle N', NL' NLR' field
selectors.
(som_write_fixups): Finish handling of R_N0SEL and R_N1SEL.
More hpux10 crud.
Ian Lance Taylor [Wed, 28 Feb 1996 16:01:04 +0000 (16:01 +0000)]
* elf.c (assign_file_positions_for_segments): Adjust the segment
memory size for the alignment of a SEC_ALLOC section, not just a
SEC_LOAD section.
Stan Shebs [Tue, 27 Feb 1996 23:21:35 +0000 (23:21 +0000)]
* mpw-make.sed: Edit out shared library support.
(@TDIRS@): Edit out, can't use genscripts.
Ian Lance Taylor [Tue, 27 Feb 1996 20:46:55 +0000 (20:46 +0000)]
Tue Feb 27 15:09:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* configure.tgt (m68k-*-linuxaout*, m68k-*-linux*): New targets.
* emulparams/m68klinux.sh: New file.
* emultempl/linux.em (gld${EMULATION_NAME}_before_allocation):
Call bfd_${EMULATION_NAME}_size_dynamic_sections instead of
bfd_linux_size_dynamic_sections.
* Makefile.in (ALL_EMULATIONS): Add em68klinux.o.
(em68klinux.c): New target.
* configure.host (m68*-*-linuxaout*, m68*-*-linux*): New hosts.
Tue Feb 27 12:55:46 1996 Ian Lance Taylor <ian@cygnus.com>
* Makefile.in (ALL_EMULATIONS): Sort into alphabetical order.
Fill in missing entries.
Ian Lance Taylor [Tue, 27 Feb 1996 20:01:48 +0000 (20:01 +0000)]
Tue Feb 27 14:42:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* configure.in (m68k-*-linux*aout*, m68k-*-linux*): New targets.
* configure: Rebuild.
* config/te-linux.h (LOCAL_LABELS_FB): Define.
* config/tc-m68k.h (TARGET_FORMAT) [TE_LINUX]: Define to
"a.out-m68k-linux".
* config/tc-m68k.c (comment_chars): Don't include '#' if TE_LINUX
is defined.
David Edelsohn [Tue, 27 Feb 1996 19:35:14 +0000 (19:35 +0000)]
* configure.in (sparclet-*-*): Build everything now.
Ian Lance Taylor [Tue, 27 Feb 1996 19:32:39 +0000 (19:32 +0000)]
Tue Feb 27 14:31:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* configure.in (m68k-*-linux*): New host.
Ian Lance Taylor [Tue, 27 Feb 1996 19:31:29 +0000 (19:31 +0000)]
Tue Feb 27 14:17:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* m68klinux.c: New file.
* hosts/m68klinux.h: New file.
* config.bfd (m68*-*-linuxaout*, m68*-*-linux*): New targets.
* configure.in (m68*-*-linux*): New native host.
(m68klinux_vec): New vector.
* configure: Rebuild.
* targets.c (m68klinux_vec): Declare.
* i386linux.c (bfd_i386linux_size_dynamic_sections): Renamed from
bfd_linux_size_dynmic_sections to avoid clash with m68klinux.c.
* bfd-in.h (bfd_i386linux_size_dynamic_sections): Rename
declaration from bfd_linux_size_dynamic_sections.
(bfd_m68klinux_size_dynamic_sections): Declare.
* bfd-in2.h: Rebuild.
* Makefile.in: Rebuild dependencies.
(BFD32_BACKENDS): Add m68klinux.o.
(BFD32_BACKENDS_CFILES): Add m68klinux.c.
Jeff Law [Tue, 27 Feb 1996 18:50:42 +0000 (18:50 +0000)]
* libhppa.h (pa_arch): Add pa20.
(hppa_reloc_field_selector_type): Add R_HPPA_NSEL.
(e_nsel): Undefine. Add to hppa_reloc_field_selector_type_alt.
(hppa_field_adjust): Handle e_nsel.
* som.c: Provide default definitions for many new relocs found only
in hpux10 include files.
(som_fixup_formats): Add several new relocs from hpux10.
(som_hppa_howto_table): Add hpux10 relocs.
(som_write_fixups): Handle R_N0SEL and R_N1SEL hpux10 relocs.
Quick stab at handling some of the new hpux10 features.
Ian Lance Taylor [Tue, 27 Feb 1996 18:06:52 +0000 (18:06 +0000)]
update copyright
Ian Lance Taylor [Tue, 27 Feb 1996 17:59:46 +0000 (17:59 +0000)]
* lexsup.c (parse_args): Recognize --no-whole-archive.
* ldlang.h (lang_input_statement_type): Add whole_archive field.
* ldlang.c (new_afile): Set whole_archive field.
(load_symbols): Check input file specific whole_archive field
rather than global variable.
* ld.texinfo, ld.1: Document --no-whole-archive.
PR 9094.
Stan Shebs [Tue, 27 Feb 1996 03:03:21 +0000 (03:03 +0000)]
* mpw-make.sed: Update to handle shared library support.
Stan Shebs [Tue, 27 Feb 1996 02:13:37 +0000 (02:13 +0000)]
* mpw-make.sed: Update to handle shared library support.
Stan Shebs [Tue, 27 Feb 1996 01:31:28 +0000 (01:31 +0000)]
* mpw-make.sed: Edit out shared library support bits.
David Edelsohn [Mon, 26 Feb 1996 23:42:39 +0000 (23:42 +0000)]
* configure.in (sparc64-*): Use mh-sparcpic if --enabled-shared.
David Edelsohn [Mon, 26 Feb 1996 23:26:30 +0000 (23:26 +0000)]
* config.sub (sparc*frw*): Delete. Use -mflat now.
Ian Lance Taylor [Mon, 26 Feb 1996 22:27:30 +0000 (22:27 +0000)]
* cofflink.c (_bfd_coff_link_input_bfd): When merging, skip names
starting with '$' the way we skip names starting with '.'. When
updating x_endndx, don't be fooled by an index which has been
merged.
PR 9024.
Stan Shebs [Mon, 26 Feb 1996 20:59:24 +0000 (20:59 +0000)]
* mpw-make.sed: Edit out recent shared library support, and
rules to rebuild .h files using doc/chew.
Ian Lance Taylor [Mon, 26 Feb 1996 19:54:58 +0000 (19:54 +0000)]
Mon Feb 26 14:48:39 1996 David Mosberger-Tang <davidm@AZStarNet.com>
* ecoff.c (ecoff_compute_section_file_positions): Adjust the file
size even of sections with no contents.