78 Commits

Author SHA1 Message Date
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