Commit Graph

52 Commits

Author SHA1 Message Date
pk 2bc6eb4bd7 Make sure weak symbols inherit a size expression. 1995-01-04 11:26:02 +00:00
pk 6382ef4e02 Make sure `foo=foo' behaves like a no-op. 1994-12-20 12:27:49 +00:00
pk ee06b233df Define the "weak bit" in a slightly more general way (SVR4 ABI compatible). 1994-12-18 16:12:43 +00:00
pk f5122b4f23 Support`.weak' pseudo-ops. 1994-12-18 13:09:51 +00:00
pk 762a72d9ba Enable listings 1994-08-24 20:05:54 +00:00
pk f3e016280f Enable listings. 1994-08-24 20:04:30 +00:00
pk 6733936a43 Locate source line of relocation errors; currently this only works when
one of the listing options is on.
1994-08-24 20:00:54 +00:00
pk 1e5c13e008 Set a.out header EX_PIC flag if `-k' was given. 1994-08-13 08:39:28 +00:00
mycroft 8f16f6bc08 Implement `#:' syntax for literal binary representations of floating point
numbers.
1994-07-07 01:49:10 +00:00
pk 52cb3eb56c Fix N_WARNING symbol botch. 1994-06-24 13:35:04 +00:00
pk e20de834b6 network order a.out headers. 1994-06-22 15:14:08 +00:00
pk 5c19c1d909 squish some weird code, which is in the way. 1994-06-20 07:19:31 +00:00
phil 4ffe8521c9 Add a const. 1994-06-09 04:57:44 +00:00
pk 7b3b928200 Adapt to new app.c 1994-05-25 13:52:48 +00:00
phil f4e2fcaf42 ns32k RELOC bug fix. 1994-05-23 06:47:18 +00:00
mycroft 3da15f45bb Clean up deleted files. 1994-04-08 08:39:11 +00:00
phil 454544a141 ns32k changes. 1994-04-08 08:38:40 +00:00
mycroft bbcbd9ca18 Argh! Someone's defining all the obvious constants to switch on. 1994-04-07 19:21:36 +00:00
mycroft 51a66580d4 Ditch the warnings by default. 1994-04-07 19:19:07 +00:00
mycroft b53cb36f67 Delete 0 displacements in base-index operands. 1994-04-07 19:14:45 +00:00
pk 90e1d9b049 Fix mis-understood relocation types; do sensible things when doing
PIC code.
Handling of the `%hi' operator is still slightly broken, especially when
used in conjunction with the `set' pseudo-op (rather academic, as there's
no reason to code something like `set %hi(var), reg').
1994-02-11 00:20:33 +00:00
pk f1ffa7a2c4 Brr, even very local symbols must sometimes be in the symbol tables.
XXX- should rename these symbols for public consumption.
1994-02-08 10:20:57 +00:00
pk 9fce3345c0 Do the necessary fixups if no relocation structure is going to be output. 1994-02-04 14:19:33 +00:00
pk 108e1a3d55 Don't barf at LO10 relocation overflows; just truncate value. 1994-02-01 21:49:18 +00:00
mycroft 2eeed7e2bc This is an ugly kluge to get the machine id correct. 1994-01-28 22:37:29 +00:00
davidb 498164e847 A ns32032 target... 1993-12-19 08:42:08 +00:00
mycroft 2edd620d48 Finish checking in David's change.. 1993-12-19 07:32:22 +00:00
davidb 1acdc0922d Moved -DPIC from generic Makefile to machine-specific Makefiles to
allow machines without PIC support to compile cleanly.
1993-12-19 04:35:57 +00:00
pk 4bb077c003 Make `neg %reg' work (will check this with newer gasses later). 1993-12-08 15:36:57 +00:00
mycroft b79a6bb6c0 Clean up deleted files. 1993-12-06 00:03:52 +00:00
paulus 6915f563ed We don't want -Dm68851 in CFLAGS because (a) opcode/m68k.h declares
m68851 as a member of enum m68k_architecture, and (b) opcode/m68k.h and
config/tc-m68k.c automatically include 68851 support unless you define
NO_68851.  tc-m68851.h is not used.
1993-12-06 00:03:50 +00:00
mycroft fd74142164 Clean up deleted files. 1993-12-05 00:55:09 +00:00
cgd 1d330d5df9 MACHINE_ARCH support 1993-12-05 00:49:23 +00:00
cgd 015ffcc6b3 add '851 support 1993-12-05 00:48:10 +00:00
paulus 8cb6ee6c38 Fixed bugs in calculation of branch offsets for short and word forms;
fixed bug in PC-relative offsets of the form (sym1 - sym2).
1993-11-30 02:36:08 +00:00
paulus be1865fd97 Added support for shared libraries on the m68k architecture.
Added a Makefile.m68k which can eventually be used for all m68k ports.
1993-11-25 01:10:44 +00:00
pk 7895f44731 Fixed bug in tc-i386.c which in rare but unpredictable circumstances would
screw up PC relative offsets to _GLOBAL_SYMBOL_TABLE_ (caused by me not quite
understanding the inner workings of this phenomenon called `obstack').
Thanks to Thomas Eberhardt for creating rare and unpredictable circumstances.

Changes to obj-aout.c to handle non-absolute `.size' expressions and to set
the `n_other' field of symbols to the symbols type, as given by `.type'
directives.
1993-11-20 22:15:54 +00:00
phil 757d5c9cc5 Added a fix to support "movd _foo(pc), _bar(pc)". 1993-11-02 20:44:29 +00:00
pk 08bf09ac86 Handling of defined global data in initializers is dependent on -k flag. 1993-10-27 00:14:14 +00:00
pk 71b80edde6 Handle `RELOC_32' relocs resulting from .word's. 1993-10-25 21:57:06 +00:00
pk 5473559e44 Enabled generation of N_SIZE symbols. 1993-10-16 22:22:29 +00:00
cgd 1016b2b626 Makefile for gas on the pc532, from Phil Nelson, phil@lamp 1993-10-16 03:23:37 +00:00
cgd ec7b2c6eb4 the target type is 'm68k' (i think), not 'hp300', which was previously
assumed...
1993-10-16 03:23:04 +00:00
mycroft e62d58d280 Clean up deleted files. 1993-10-02 20:59:59 +00:00
pk fe9e2f3d60 GNU gas 1.92.3 based assembler supporting PIC code (for i386 and sparc). 1993-10-02 20:58:21 +00:00
jtc d7607730b7 Fixed bug that was reported (with patch) on gnu.utils.bug.
Immediate operands of the pushw instruction were being output as 32
bits, rather than the 16 bits they were supposed to be.
1993-09-24 17:19:16 +00:00
jtc 179e863ba5 Add i486 instruction set extensions for those who know what they are doing. 1993-08-04 00:21:42 +00:00
mycroft 210cab4541 Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
1993-08-02 17:18:41 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00