Commit Graph

151 Commits

Author SHA1 Message Date
briggs d5b4519095 Fixes for incorrect m68040 opcodes from
Henric Jungheim (uhenric@mcl.ucsb.edu).
1995-06-05 23:38:16 +00:00
ragge d3b6660a9e Added #define LOCAL_LABELS_FB to allow local variables. 1995-05-31 18:13:00 +00:00
cgd 81584a34e6 NetBSD RCS Id format 1995-04-23 07:58:27 +00:00
glass 999e951c81 fix bug 905.Charlie Root <root@freetocreate.cais.com> 1995-03-25 17:27:27 +00:00
mycroft 3f6e0361e1 Allow the `.bss' pseudo-op. Remove some unneeded #ifdefs for
MANY_SEGMENTS.
1995-03-21 15:27:07 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
mycroft 55d5061af9 Add `cpuid' instruction, and the canonical names for the debug registers. 1995-02-05 12:57:30 +00:00
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 e98741c376 Add rcs Ids. 1994-08-25 07:36:17 +00:00
pk 692b4569b4 Selected bits from a newer gas. 1994-08-24 20:12:01 +00:00
pk 4f52d12541 Fix confusion over the current line number in included files and
`\'-continued lines that were collapsed by the C preprocessor.
1994-08-24 20:10:46 +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
phil 6dddac0ec1 ns32k RELOC bug fix.
(RCS file fixup by cgd.)
1994-05-25 21:07:15 +00:00
pk 4c34eff417 Selected bits from GNU gas 2.3
Remove label parsing hack.
(RCS file fixup by cgd.)
1994-05-25 21:06:13 +00:00
phil 56de4ac628 ns32k changes.
(RCS file fixup by cgd.)
1994-05-25 21:05:30 +00:00
pk f1ca0d9765 add rcsid 1994-05-25 17:10:38 +00:00
pk 1f62b4a243 Make line counters work. 1994-05-25 13:53:23 +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
pk 2ec33dd3de Selected bits from GNU gas 2.3
Remove label parsing hack.
1994-05-19 18:10:35 +00:00
pk 578123940b Selected bits from gas 2.3
Remove label hack.
1994-05-19 14:41:47 +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 3612b8750e as_bad(): don't use error messages as a format string in printf().
Use vararg parameter declaration that gcc actually compiles correctly.
1994-03-16 18:40:35 +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 f6276c82f9 Add a panic condition. 1994-02-04 14:15:57 +00:00
pk 217b863c61 Hack to allow white space between a label and its colon; this will
make ANSI preprocessor catenation work in assembler source.
1994-02-04 13:57:40 +00:00
pk fc52957f63 Recognise `beq' as an alias for `be'. 1994-02-03 23:30:09 +00:00
pk 9b1f5ed60c More `call' instruction templates. 1994-02-02 19:50:05 +00:00
pk f2478f27ef Provide templates for `call %reg+offset' instructions. 1994-02-02 11:03:37 +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 3a435f99f9 Changed to use make's new .OBJDIR 1993-12-28 10:59:05 +00:00
cgd f92e10ca14 obj.MACHINE takes precedence over obj 1993-12-20 13:35:26 +00:00
davidb 6e10086367 Fixed ADDINCLUDE to support OBJMACHINE (eg. obj.i386/) 1993-12-20 13:13:02 +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 fdbd81b474 Skip whitespace after .size or .type pseudo-op. This should probably be in
some more generic place, for all pseudo-ops, but this at least allows us to
parse gcc's current output.
1993-12-06 11:41:02 +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
pk 40293f757f Add a comment on _GLOBAL_OFFSET_TABLE_ handling. 1993-12-05 12:44:13 +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 857d51dd76 Allow jbsr and jra to have a 2nd operand, indicating a jump-table branch,
in order to support shared libraries on the m68k architecture.
1993-11-25 01:12:27 +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
paulus 3a51f29d60 Fix segmentation violation which occurred when using __GLOBAL_OFFSET_TABLE_
as the sole operand in an expression.
1993-11-25 01:07:48 +00:00
pk 2cac5ef6e0 Handle `.type' directives (shortly to be generated by gcc) that will be
conveyed to the linker in the `n_other' (in case a.out format is produced)
fields of the objects symbol table.

Also handle `.size' directives of the form `.size symbol1-symbol2' in
addition to absolute expressions.
1993-11-20 22:20:51 +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 9c11534145 Moved a , in to make an #ifdef PIC work with PIC not defined. 1993-11-02 20:46:15 +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 8253b70fc7 Fix premature relocation of external data that may be moved around at run-time.
This at least handles .word directives. May be sufficient even.
1993-10-25 21:54:37 +00:00
pk 5473559e44 Enabled generation of N_SIZE symbols. 1993-10-16 22:22:29 +00:00
pk 980fc2e40e removed `config.staus' from CLEANFILES. 1993-10-16 22:04:48 +00:00
cgd 1f233ade26 ok, just revamp the entire 'config.status' thing. config.status itself
is no longer necessary.  all of the headers are built independently,
to make all dependencies happy, and beforedepend and PROG depend on them.
1993-10-16 03:57:39 +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
cgd 279217b6b8 better support environments (e.g. pc532, hp300) where machine type != cpu
type.  also, deal reasonably with not being able to find a host environment
definition.
1993-10-16 03:19:36 +00:00
cgd 4c3b65bb97 use 'hosttype' rather than 'HOST' 1993-10-13 02:00:30 +00:00
cgd 8f46a34fed fix man page so that makewhatis works on it now... 1993-10-08 01:42:06 +00:00
cgd d6ff5db170 converted to use gnu malloc, and depend on it correctly 1993-10-07 07:23:44 +00:00
pk 2dd49eebd8 Put back the 486 extensions which got lost while installing the PIC stuff. 1993-10-04 22:53:32 +00:00
pk 6602850482 Removed bogus comment lines. 1993-10-04 22:17:29 +00:00
cgd 1bfd06b45b add VERSION file 1993-10-04 01:42:00 +00:00
cgd f4875ea885 make it 'safe' for RO /usr/src 1993-10-04 01:34:43 +00:00
mycroft b866b6d0ff Clean up deleted files. 1993-10-02 21:02:11 +00:00
pk aa08fe601f GNU gas 1.92.3 based assembler supporting PIC code (for i386 and sparc). 1993-10-02 21:00:08 +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
mycroft 14e337e2bf Clean up deleted files. 1993-10-02 20:58:04 +00:00
pk 7fc5781857 GNU gas 1.92.3 based assembler supporting PIC code (for i386 and sparc). 1993-10-02 20:56:59 +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 2cce313a8b Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
1993-08-02 17:28: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
cgd c8bdad0560 convert magic numbers to network byte order, and attendent changes 1993-06-18 06:49:30 +00:00
cgd f8d29a33fc add gas config files from net/2 1993-05-13 14:48:19 +00:00