Commit Graph

79 Commits

Author SHA1 Message Date
thorpej e3ff78dac0 Hack in (quite brutally, I might add) a flag to warn about missing
register prefixes.  Suggested by Ignatios Souvatzis.
1999-11-09 23:38:57 +00:00
thorpej 49adc1947e Define `%' as the register name prefix, like the ELF assembler, and allow
it to be optional (for now).  This will allow m68k code maintainers to
convert to the new register name conventions incrementally.
1999-10-21 20:48:59 +00:00
kleink f220184aa1 Make REGISTER_PREFIX actually work, and add a REGISTER_PREFIX_OPTIONAL compile-
time option.
1999-01-14 18:47:20 +00:00
mycroft b9f91bf762 Don't overwrite the n_other field, either. 1998-11-24 18:24:30 +00:00
mycroft f2a59297e3 Also avoid frobbing the EXT bit. 1998-11-24 18:13:19 +00:00
mycroft 2d3f6b20d7 Er, exempt only set symbols from being frobbed. 1998-11-24 18:07:03 +00:00
mycroft a9264c7e35 Do not screw with debugging symbols that have forward references.
Fixes an obscure problem with -O3 and global {con,de}structors with egcs.
1998-11-24 17:59:33 +00:00
itohy 7597955012 ctype(3) functions do NOT take value of "char", but "unsigned char" plus EOF
(this is the same range as the return value of getc(3)).
Reference: ISO/IEC 9899:1990  7.3 Character handling <ctype.h>

Fixed illegal usage of NULL.
1998-10-07 08:15:15 +00:00
matt 42ae5b0bc1 Beginning's of PIC support. 1998-08-20 15:18:26 +00:00
mycroft 733f98b6b0 This was never supposed to be here. 1997-10-31 10:23:23 +00:00
lukem da49bfcda7 use CPPFLAGS instead of CFLAGS 1997-10-25 10:10:19 +00:00
jeremy 3d22740153 Don't use <machine/param.h> as it doesn't work for cross-compiles. 1997-09-19 01:07:27 +00:00
pk 58efb9d20c NULL => 0 (Arne Juul; PR#3629) 1997-05-17 19:24:44 +00:00
ws 79b6fe9805 Add machine dependent code for NetBSD/powerpc 1996-11-03 18:02:42 +00:00
ws 648f041eb1 N_EXT has different meaning on debugging symbols 1996-11-03 17:53:09 +00:00
ws 8da2626aa5 Free() doesn't return a value. 1996-11-03 17:52:25 +00:00
ws 1380810bdd RELOC_* is defined in <machine/reloc.h> for NetBSD/powerpc 1996-11-03 17:51:54 +00:00
jtc 3c02c6068b cheezy hack that adds -m68060 as a synonym for -m68040 1996-05-12 18:55:53 +00:00
pk 390bcef256 md_parse_arg: `-K' implies `-k'. 1996-04-18 19:03:02 +00:00
pk be19763acb Accept `-K' as equivalent to `-k' (except the ns32k which already handles -K). 1996-04-14 11:31:11 +00:00
phil 912d727afa Fix for hangs on the form 0fInf. (Fix from PR 2279) 1996-04-05 16:21:14 +00:00
phil 7b5994752e Remove a compiler warning. (Matthias Pfaller, PR2104) 1996-02-28 21:18:05 +00:00
pk 298144d0a4 Declare `md_reloc_size' as a const. 1996-02-16 22:19:26 +00:00
mycroft 1d486508a1 Fix md_parse_option() to reject bad options. 1996-01-18 22:09:08 +00:00
mycroft 8e0a34778a Add some casts for GCC. 1995-12-21 08:54:14 +00:00
ragge d3b6660a9e Added #define LOCAL_LABELS_FB to allow local variables. 1995-05-31 18:13:00 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +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 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