Commit Graph

112 Commits

Author SHA1 Message Date
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
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00