Ken Raeburn [Tue, 11 Apr 1995 01:03:07 +0000 (01:03 +0000)]
Don't explicitly include config.h. Deleted a bunch of "#if 0" code and useless
comments.
(struct m68k_cpu): New type.
(archs, n_archs): New variables, with single list of name/enum mapping and
aliases.
(m68k_ip): Delete the table here.
(m68k_init_after_args): Use the new table here instead of open-coding it.
(md_parse_option, case 'm'): Ditto.
Kung Hsu [Tue, 11 Apr 1995 00:04:41 +0000 (00:04 +0000)]
* valprint.c (print_longest): Fix a syntax error in #ifdef
PRINTF_HAS_LONG_LONG.
Kung Hsu [Mon, 10 Apr 1995 23:53:52 +0000 (23:53 +0000)]
* config/mips/xm-irix5.h: turn on CC_has_LONG_LONG and
PRINTF_HAS_LONG_LONG.
* config/mips/tm-irix5.h: turn on FORCE_LONG_LONG.
Stan Shebs [Mon, 10 Apr 1995 22:59:42 +0000 (22:59 +0000)]
always keep MPW support files
Stan Shebs [Mon, 10 Apr 1995 22:59:03 +0000 (22:59 +0000)]
Merge MPW ChangeLog with generic ChangeLog
Jason Molenda [Mon, 10 Apr 1995 21:39:32 +0000 (21:39 +0000)]
* Makefile.in: move {all,check,install}-gdb from *_MODULES
to *_X11_MODULES due to gdbtk needing X include files et al.
David H. Webster [Mon, 10 Apr 1995 21:18:02 +0000 (21:18 +0000)]
Added "regPacket.h" to "Things to Keep"
David H. Webster [Mon, 10 Apr 1995 21:16:26 +0000 (21:16 +0000)]
Added the following files to "Things to Keep":
est.exp
rom68k.exp
slite-gdb.exp
David H. Webster [Mon, 10 Apr 1995 21:10:09 +0000 (21:10 +0000)]
Added "remote-vx68.c" and "remote-vx960.c" to "Things to Keep"
David H. Webster [Mon, 10 Apr 1995 21:01:22 +0000 (21:01 +0000)]
Removed alpha-regdef.h from "Things to Lose"
David H. Webster [Mon, 10 Apr 1995 20:59:24 +0000 (20:59 +0000)]
Removed the following files from "Things to Keep":
alpha-nw.mt
gdbserve.mt
tm-alphanw.h
David H. Webster [Mon, 10 Apr 1995 20:53:40 +0000 (20:53 +0000)]
Removed "nlmstub.def" from "Things to Keep"
David H. Webster [Mon, 10 Apr 1995 20:49:18 +0000 (20:49 +0000)]
Removed the following files from "Things to Keep":
README-ALPHA-NETWARE
aio.h
alpha-io.S
alpha.c
alpha.h
altdebug.h
Stan Shebs [Mon, 10 Apr 1995 20:26:39 +0000 (20:26 +0000)]
always keep MPW support files
Stan Shebs [Mon, 10 Apr 1995 20:18:22 +0000 (20:18 +0000)]
Merge MPW changes into general ChangeLog
Ken Raeburn [Mon, 10 Apr 1995 20:11:48 +0000 (20:11 +0000)]
doc changes
Ken Raeburn [Mon, 10 Apr 1995 20:06:48 +0000 (20:06 +0000)]
* doc/internals.texi: Add loud disclaimer. Refill to 79 columns, specify
fill-column in local-variables section. Change subheadings to subsections so
they can be cross-referenced. Describe broken words, frags, frag chains,
generic relaxation, relax table, m68k relaxation, m68k addressing modes, test
suite code. Add a few words about various file formats.
Stan Shebs [Mon, 10 Apr 1995 20:05:48 +0000 (20:05 +0000)]
no longer sanitize out MPW support files
Stan Shebs [Mon, 10 Apr 1995 19:44:46 +0000 (19:44 +0000)]
Merge MPW ChangeLog into generic ChangeLog
Ken Raeburn [Mon, 10 Apr 1995 19:40:00 +0000 (19:40 +0000)]
* lib/gas-defs.exp (pass_phase): New proc.
(run_dump_test): Note passing or failing of each phase of this test, instead of
failure of phases or passing of complete test. Ensure test file name is in
reported message.
Ken Raeburn [Mon, 10 Apr 1995 19:38:56 +0000 (19:38 +0000)]
Nuke RCS string. Fix comment.
David Edelsohn [Mon, 10 Apr 1995 08:12:12 +0000 (08:12 +0000)]
Fix patterns.
David Edelsohn [Mon, 10 Apr 1995 08:11:59 +0000 (08:11 +0000)]
Delete illegal insns.
David Edelsohn [Mon, 10 Apr 1995 07:36:06 +0000 (07:36 +0000)]
(test_template_insn): Delete .s/.d files afterwards.
(main body): Run ld, st tests.
David Edelsohn [Mon, 10 Apr 1995 07:34:05 +0000 (07:34 +0000)]
* gas/arc/{ld.[sd],st.[sd]}: New files.
David Edelsohn [Mon, 10 Apr 1995 07:32:57 +0000 (07:32 +0000)]
Tests for ld, lr, st, sr insns.
David Edelsohn [Mon, 10 Apr 1995 06:54:14 +0000 (06:54 +0000)]
shimm values "are always signed"
Jim Kingdon [Sun, 9 Apr 1995 21:05:37 +0000 (21:05 +0000)]
* gdb.base/recurse.exp: Fix comment.
* TODO: Remove item about printing variables in nodebug.exp. Add
item about enabling tests which are only run on some targets.
* gdb.base/watchpoint.exp: Various cleanups (make each test pass or
fail, make test names unique, use new gdb_test convention
regarding pattern, use gdb_test more, etc.).
Jim Kingdon [Sun, 9 Apr 1995 17:10:57 +0000 (17:10 +0000)]
* gdb.base/bitfields.exp: Various cleanups (make each test pass or
fail, make test names unique, etc.).
David Edelsohn [Sun, 9 Apr 1995 00:47:26 +0000 (00:47 +0000)]
More ARC stuff.
David Edelsohn [Sun, 9 Apr 1995 00:22:54 +0000 (00:22 +0000)]
Test extended shifts, mul64/mulu64 insns.
David Edelsohn [Sat, 8 Apr 1995 23:43:39 +0000 (23:43 +0000)]
(test_template_insn): Document usage.
New parameter `cpu', callers updated.
(main body): Test host/graphics/audio extensions.
Test ext/sex insns.
David Edelsohn [Sat, 8 Apr 1995 23:25:34 +0000 (23:25 +0000)]
Tests for various insn3 insns (eg: ext, sex).
David Edelsohn [Sat, 8 Apr 1995 23:10:39 +0000 (23:10 +0000)]
* gas/arc/{arc.exp,math.[sd],flag.[sd],j.[sd]}: New files.
* gas/arc/{branch.[sd],alias.[sd],sshift.[sd]}: New files.
David Edelsohn [Sat, 8 Apr 1995 23:09:56 +0000 (23:09 +0000)]
More tests.
David Edelsohn [Sat, 8 Apr 1995 23:09:22 +0000 (23:09 +0000)]
Tests for single bit versions of asr, lsr, ror, rrc.
David Edelsohn [Sat, 8 Apr 1995 22:31:23 +0000 (22:31 +0000)]
Testcases for mov, rlc, asl.
David Edelsohn [Sat, 8 Apr 1995 22:06:24 +0000 (22:06 +0000)]
Stay away from duplicate arguments, will collide with aliases (eg: and->mov).
David Edelsohn [Sat, 8 Apr 1995 20:33:35 +0000 (20:33 +0000)]
Testcases for b, bl, and lp insns.
David Edelsohn [Sat, 8 Apr 1995 19:58:59 +0000 (19:58 +0000)]
Start of ARC testsuite.
David Edelsohn [Sat, 8 Apr 1995 19:53:24 +0000 (19:53 +0000)]
keep arc subdir if keep-arc.
David Edelsohn [Sat, 8 Apr 1995 19:51:42 +0000 (19:51 +0000)]
* lib/gas-defs.exp (run_dump_test): Handle arguments with paths.
Always resolve testcase status before returning.
If `slurp_options' fails, return and don't do test.
(slurp_options): Fix "can't open" error message.
Return -1 to indicate error.
David Edelsohn [Sat, 8 Apr 1995 19:50:44 +0000 (19:50 +0000)]
*** empty log message ***
Peter Schauer [Sat, 8 Apr 1995 10:00:31 +0000 (10:00 +0000)]
* gdb.base/nodebug.c: Change return type of top and middle to
short.
* gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
are fixed by the recent mdebugread.c changes. Allow `short ()'
as type for top and middle.
Peter Schauer [Sat, 8 Apr 1995 09:59:02 +0000 (09:59 +0000)]
* mdebugread.c (parse_symbol): Use new variable
nodebug_var_symbol_type as type of variables which don't have any
ecoff debug info associated with them.
(parse_symbol, parse_procedure): Use heuristics to determine if
functions were compiled without debugging info and change their
type to nodebug_function_symbol_type.
(_initialize_mdebugread): Initialize nodebug_*_symbol_type.
* source.c (line_info): Clear sal.pc for `info line' without
arguments.
Jim Kingdon [Sat, 8 Apr 1995 02:36:15 +0000 (02:36 +0000)]
* configure.in (host_libs): Remove glob, since it is gone from the
sources.
Stu Grossman [Sat, 8 Apr 1995 01:10:34 +0000 (01:10 +0000)]
* config/pa/tm-hppa.h: Define lots register offsets needed by
w89k-rom.c.
Stu Grossman [Sat, 8 Apr 1995 01:05:01 +0000 (01:05 +0000)]
* monitor.c: make_xmodem_packet and print_xmodem_packet go away.
send_xmodem_packet shows up to do the obvious. Lots of fixes to
xmodem downloads including resetting of block number at start of
new transfers, fix for buffer overrun problem, addition of CRC
generation code.
* (monitor_open): loadtype_str and loadproto_str now default to
first entry in monitor_ops->loadtypes.
* (monitor_wait): Lengthen register dump buf, because of verbose
Winbond monitor.
* (monitor_fetch_register): Report unimplemented registers as 0.
* (monitor_read_memory): Only do 16 byte aligned transfers
because of formatting weirdness with the Winbond monitor. Also,
ignore non-hex, non-whitespace formatting between bytes (same
monitor).
* (monitor_load): Clean up logic.
* (monitor_load_srec): Re-do xmodem support. Move lots of it
into send_xmodem_packet.
* (getacknak): Get rid of polls and timeouts. Handle CRC
requests from receiver.
* (monitor_make_srec): Efficiency improvements. Don't call
sprintf to output two digit hex numbers.
* (crcinit, docrc): New, CRC-16 support routines.
* (send_xmodem_packet): New routine to generate either CRC-16 or
checksummed xmodem packets.
* remote-est.c (est_loadtypes), rom68k-rom.c (rom68k_loadtypes):
Reduce tables down to only the load types supported by each
monitor.
* w89k-rom.c (w89k_supply_register): Parses output of Winbond
register dumps.
* (w89k_loadtypes, w89k_loadprotos): Reduce to just srec/xmodem.
* (w89k_cmds): Add clear all breakpoints, memory fill, and dump
registers commands.
David Edelsohn [Fri, 7 Apr 1995 03:54:08 +0000 (03:54 +0000)]
* arc-dis.c (print_insn): New parameter `big_p'. Callers updated.
Call arc_get_opcode_mach to map bfd mach number to opcode value.
(print_insn_*): Pass bfd mach number, not opcode version.
* arc-opc.c (arc_get_opcode_mach): New function.
David Edelsohn [Fri, 7 Apr 1995 03:40:15 +0000 (03:40 +0000)]
* emulparams/arcelf.sh (ENTRY): Define.
David Edelsohn [Fri, 7 Apr 1995 03:38:05 +0000 (03:38 +0000)]
* arc.h (arc_get_opcode_mach): Define prototype.
David Edelsohn [Fri, 7 Apr 1995 03:14:12 +0000 (03:14 +0000)]
ARC stuff.
David Edelsohn [Fri, 7 Apr 1995 03:13:42 +0000 (03:13 +0000)]
* config/tc-arc.c (arc_condition_codes): Deleted.
(init_opcode_tables): Delete cpu_type_map, call
arc_get_opcode_mach instead.
(arc_common): Delete non-ELF stuff. Require leading '.' in .data.
(md_apply_fix): Delete non-ELF stuff.
Disable special handling of limm values, treat them normally.
(get_arc_exp_reloc_type): New argument `data_p'. Callers updated.
(md_assemble): All limm operands must be output by gas, the opcode
insertion routines cannot be used (they don't do anything and we're
using implicit addends now so we need to output something).
* config/tc-arc.h (FAKE_LABEL_NAME): Define.
Michael Meissner [Thu, 6 Apr 1995 21:08:05 +0000 (21:08 +0000)]
Initial Linux ELF support.
Jim Kingdon [Thu, 6 Apr 1995 15:59:34 +0000 (15:59 +0000)]
* gdb.base/break.exp: Remove commented out if $usestubs {}. As
nearly as I can tell, the whole thing was an accident in Stu's
change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
to replace a send/expect pair with gdb_test, but ended up only
adding the gdb_test. My change of 24 Mar 1995 and Kung's change
of 30 Mar 1995 took care of it, but left this vestigial comment
which I am now nuking.
Jim Kingdon [Thu, 6 Apr 1995 03:03:12 +0000 (03:03 +0000)]
* mips-tdep.c (mips_print_register): Remove unused variable
our_type and call to init_type. Fixes memory leak. Reindent function.
* mips-tdep.c (mips_print_register), findvar.c
(write_register_bytes): Make buffer char[] instead of unsigned
char[].
Jeff Law [Tue, 4 Apr 1995 20:52:24 +0000 (20:52 +0000)]
Keep hppa.
Jeff Law [Tue, 4 Apr 1995 20:51:04 +0000 (20:51 +0000)]
binutils-hppa no longer exists.
Jim Kingdon [Tue, 4 Apr 1995 20:07:21 +0000 (20:07 +0000)]
* top.c, utils.c, main.c: Replace error_pre_print with two
variables: error_pre_print (for RETURN_ERROR) and quit_pre_print
(for RETURN_QUIT). Fixes a bug whereby typing ^C (e.g. in "maint
print sym") could output extraneous stuff.
* objfiles.c: Don't declare error_pre_print; defs.h does it.
Stan Shebs [Tue, 4 Apr 1995 19:58:09 +0000 (19:58 +0000)]
Always keep MPW subdir
Stan Shebs [Tue, 4 Apr 1995 19:53:04 +0000 (19:53 +0000)]
Always keep all MPW support files
Stan Shebs [Tue, 4 Apr 1995 19:51:10 +0000 (19:51 +0000)]
No longer need MPW-only history
Stu Grossman [Mon, 3 Apr 1995 21:03:27 +0000 (21:03 +0000)]
* monitor.h: Add MO_GETMEM_NEEDS_RANGE flag.
* monitor.c (monitor_read_memory): Use previously mentioned flag
to send proper format memory examine commands to the w89k monitor.
Also, try to handle bizarre format of memory dump...
* op50-rom.c w89k-rom.c: Update to new monitor.[ch] conventions.
Peter Schauer [Sun, 2 Apr 1995 15:22:04 +0000 (15:22 +0000)]
* gdb.base/list.exp: Adjust some alternate expect patterns to
match recent list0.c change. Add alternate expect pattern for
output from `list default lines around main' for optimizing
compilers.
Jim Kingdon [Sat, 1 Apr 1995 15:31:24 +0000 (15:31 +0000)]
* lib/gdb.exp: If nosignals is not set, set it to 0.
Peter Schauer [Sat, 1 Apr 1995 11:24:43 +0000 (11:24 +0000)]
* dbxread.c (process_one_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]:
Handle relocated symbol address.
* partial-stab.h, case N_SO, SOFUN_ADDRESS_MAYBE_MISSING:
Do not relocate a zero address.
Kung Hsu [Sat, 1 Apr 1995 00:17:52 +0000 (00:17 +0000)]
* config/slite-gdb.exp: Responds to load symbol table prompt.
* gdb.base/break.exp: Adjust line number, fix rerun.
* gdb.base/langs0.c: Add #ifdef usestubs.
Kung Hsu [Sat, 1 Apr 1995 00:17:12 +0000 (00:17 +0000)]
* gdb.base/break.exp: Adjust line number, fix rerun.
* gdb.base/langs0.c: Add #ifdef usestubs.
Kung Hsu [Sat, 1 Apr 1995 00:16:39 +0000 (00:16 +0000)]
* config/slite-gdb.exp: Responds to load symbol table prompt.
Jason Molenda [Fri, 31 Mar 1995 19:42:28 +0000 (19:42 +0000)]
add mt-netware to things-to-keep
Jason Molenda [Fri, 31 Mar 1995 19:41:26 +0000 (19:41 +0000)]
* Makefile.in: define empty GDB_NLM_DEPS var.
* configure.in(target_makefile_frag): use config/mt-netware
for netware targets.
all-gdb only builds all-gcc and all-ld if we're building for a netware
target.
Jason Molenda [Fri, 31 Mar 1995 19:36:08 +0000 (19:36 +0000)]
* mt-netware: New file.
define GDB_NLM_DEPS for netware targets.
Jim Kingdon [Fri, 31 Mar 1995 03:58:27 +0000 (03:58 +0000)]
* config/a29k/tm-a29k.h: Nuke obsolete define CONTROL_END_ADDR; it
is nowhere used.
Jim Kingdon [Fri, 31 Mar 1995 03:52:28 +0000 (03:52 +0000)]
* stabsread.c (read_range_type): Remove FIXME comment about
type-id (I presume this meant a number followed by = followed by a
type) versus type number; Per fixed it.
Kung Hsu [Fri, 31 Mar 1995 02:09:59 +0000 (02:09 +0000)]
* gdb.base/list.exp: Adjust line contents after adding new lines in
list0.c. Also fix a syntax error.
Kung Hsu [Fri, 31 Mar 1995 00:43:47 +0000 (00:43 +0000)]
* lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
* gdb.base/break.exp: ditto.
* gdb.base/list.exp: ditto.
* gdb.base/bitfields.c: Add #ifdef usestubs in main().
* gdb.base/run.c: ditto.
* gdb.base/list0.c: ditto.
* gdb.base/funcargs.c: ditto.
Kung Hsu [Fri, 31 Mar 1995 00:43:12 +0000 (00:43 +0000)]
* lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
Ian Lance Taylor [Thu, 30 Mar 1995 19:42:38 +0000 (19:42 +0000)]
Thu Mar 30 14:32:26 1995 H.J. Lu (hjl@nynexst.com)
* configure.in: Change linux to default to elf. Using
i[345]86-*-linuxaout will build a linker which defaults to a.out.
* config/i386-laout.mt: Rename from old config/i386-linux.mt.
* config/i386-linux.mt: Rename from old config/i386-lelf.mt.
* config/i386-lelf.mt: Remove.
Ian Lance Taylor [Thu, 30 Mar 1995 19:37:22 +0000 (19:37 +0000)]
Thu Mar 30 14:32:26 1995 H.J. Lu (hjl@nynexst.com)
* config.bfd: Change linux to default to elf. Using
i[345]86-*-linuxaout will build a library which defaults to a.out.
* config/i386-laout.mt: Rename from old config/i386-linux.mt.
* config/i386-linux.mt: Rename from old config/i386-lelf.mt.
Comment out EXTRALIBS.
* config/i386-lelf.mt: Remove.
Ian Lance Taylor [Thu, 30 Mar 1995 19:19:25 +0000 (19:19 +0000)]
* config.sub: Remove linux special cases.
Ian Lance Taylor [Thu, 30 Mar 1995 18:57:09 +0000 (18:57 +0000)]
* config.sub: Merge in recent FSF changes.
Ian Lance Taylor [Thu, 30 Mar 1995 18:10:51 +0000 (18:10 +0000)]
* ld.texinfo, ld.1: Document the -no-keep-memory option.
Stu Grossman [Thu, 30 Mar 1995 18:03:04 +0000 (18:03 +0000)]
Move testsuite entries from gdb's ChangeLog to here.
Stu Grossman [Thu, 30 Mar 1995 18:00:19 +0000 (18:00 +0000)]
Move testsuite entries into testsuite/ChangeLog.
Stan Shebs [Thu, 30 Mar 1995 03:09:35 +0000 (03:09 +0000)]
Wed Mar 29 09:56:04 1995 Jason Molenda (crash@phydeaux.cygnus.com)
* configure.in: sparc-*-sunos5* is same as sparc-*-solaris2*.
Stan Shebs [Thu, 30 Mar 1995 02:43:50 +0000 (02:43 +0000)]
* remote-e7000.c (why_stop): Add new kinds of strings to expect
from the emulator.
(e7000_wait): Add interpretations for more stop reasons,
including warnings for write protect and cycle address errors.
Stu Grossman [Thu, 30 Mar 1995 01:47:32 +0000 (01:47 +0000)]
start-sanitize-gdbtk
* Makefile.in (gdbtk.o): Use X11_CFLAGS to provide alternate
locations (per-host) for X11 include files.
* config/pa/hppahpux.mh (XM_CLIBS): Add -L/usr/lib/X11R5 to force
the use of R5 libs. (X11_CFLAGS): Add this to indicate the locs
of the R5 include files.
end-sanitize-gdbtk
* monitor.c monitor.h remote-est.c rom68k-rom.c: Add start of
support for interrupting target.
* monitor.c (monitor_open): Send stop command before doing
anything else.
* (monitor_load_srec): Fix record size calculation to prevent end
of segment from getting trashed.
* rom68k-rom.c: Update to latest version of struct monitor_ops.
* config/sparc/tm-sparc.h (FIX_CALL_DUMMY): Fix byte-order
problems. Makes DOS hosted function calling work.
* sparclite/crt0.s: Define _start to make COFF happy.
* testsuite/config/rom68k.exp (gdb_target_rom68k): Use
$targetname, $serialport and $baud instead of hardwired variables.
* testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
target doesn't support signals.
Torbjorn Granlund [Thu, 30 Mar 1995 01:18:40 +0000 (01:18 +0000)]
Changes for hosting on 64 bit machines.
Kung Hsu [Wed, 29 Mar 1995 20:31:26 +0000 (20:31 +0000)]
* lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
Ian Lance Taylor [Wed, 29 Mar 1995 18:20:33 +0000 (18:20 +0000)]
* coff-i960.c (coff_i960_relocate): Cache the section symbol in
the used_by_bfd field of the section, to avoid looping for each
reloc.
PR 6638.
Ian Lance Taylor [Wed, 29 Mar 1995 17:02:34 +0000 (17:02 +0000)]
* cpu-h8500.c (arch_info_struct): Change name from "H8/300" to
"h8300" for consistency with other cpu-* files.
Michael Meissner [Wed, 29 Mar 1995 14:13:43 +0000 (14:13 +0000)]
Do not declare atof if it is a macro.
Peter Schauer [Wed, 29 Mar 1995 08:16:05 +0000 (08:16 +0000)]
* rs6000-tdep.c (skip_prologue): Skip saving of LR and CR in
the stack frame, fix typos in `st rx,NUM(r1)' and `stu r1,NUM(r1)'
tests.
Per Bothner [Wed, 29 Mar 1995 01:15:04 +0000 (01:15 +0000)]
* pr-6632.ch, pr-6632-grt.ch, pr-6632.exp, Makefile.in: New test case.
Per Bothner [Wed, 29 Mar 1995 01:11:45 +0000 (01:11 +0000)]
* gdbtypes.c (create_range_type): If indextype has TYPE_FLAG_STUB
set, set TYPE_FLAG_TARGET_STUB.
(check_stub_type): Recalculate TYPE_LENGTH for range type.
* stabsread.c (read_range_type): If index type number is followed
by '=', back up, call read_type. and assume we have a true range.
* gdbtypes.h (TYPE_FLAG_TARGET_STUB): Update comment.
This fixes PR 6632.
J.T. Conklin [Wed, 29 Mar 1995 00:57:44 +0000 (00:57 +0000)]
* remote.texi (NetWare): Changed example to use BOARD= instead of
NODE= argument to reflect correspoding change to gdbserve.nlm.
Jeff Law [Tue, 28 Mar 1995 23:28:50 +0000 (23:28 +0000)]
Add entry I forgot to commit:
* som.c (som_set_reloc_info): Sign extend constants from
R_DATA_OVERRIDE fixups.
* libhppa.h (sign_extend): Renamed from sign_ext. Fix.
(low_sign_extend): Likewise.
Jason Molenda [Tue, 28 Mar 1995 22:50:45 +0000 (22:50 +0000)]
Tue Mar 28 14:47:34 1995 Jason Molenda (crash@phydeaux.cygnus.com)
build-all.mk,config/mh-solaris: revert these two changes:
Tue Mar 30 10:03:09 1993 Ian Lance Taylor (ian@cygnus.com)
* build-all.mk: Use CC=cc -Xs on Solaris.
Mon Mar 29 19:59:26 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
* config/mh-solaris: SunPRO C needs -Xs to be able to get a
working xmakefile for Emacs.
xmakefile no longer used for emacs; recent versions of SunPRO C
allegedly drop -Xs; running configure will assume ``cc'' but when you
compile, it uses ``cc -Xs'' (ansi vs old SunOS behavior) which causes
all kinds of problems rebuilding the source using the SunPRO compiler.
Ian Lance Taylor [Tue, 28 Mar 1995 20:27:35 +0000 (20:27 +0000)]
* bout.c (b_out_canonicalize_reloc): Handle SEC_CONSTRUCTOR
sections.
(b_out_get_reloc_upper_bound): Likewise.
Ian Lance Taylor [Tue, 28 Mar 1995 20:17:37 +0000 (20:17 +0000)]
* linker.c (generic_link_add_symbol_list): Skip constructor
symbols which the main linker code did not do anything with.
(_bfd_generic_link_output_symbols): Use udata.p if it is set,
rather than looking the symbol up in the hash table. Just pass
through constructor symbols for which udata.p is not set. If the
linker defined the symbol, clear the constructor flag.
Fix -r for b.out file format when constructor symbols are defined.