Commit Graph

141 Commits

Author SHA1 Message Date
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
tv 541a645dcb Check `right', not `resultP' for null. 1998-08-17 22:49:22 +00:00
tv ee5c0eff4b If _GLOBAL_OFFSET_TABLE_ is being referenced, don't do the special (Ln-.)
hack if there aren't two symbols on the right side of the expression.
(Newer PIC just uses _GLOBAL_OFFSET_TABLE_ +/- 4 bytes.)
1998-08-17 22:14:15 +00:00
mycroft 49031b1376 const poisoning. 1998-07-26 16:56:51 +00:00
augustss e50fe447d7 Make sure numeric escapes are limited to 3 characters. 1997-11-12 02:02:34 +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
jeremy 74451c12f1 Notes on how to build a cross-assembler with TARGET_MACHINE_ARCH. 1997-09-19 01:03:40 +00:00
jeremy 943dab8026 Change the framework to allow the building of a cross-assembler when
TARGET_MACHINE_ARCH is defined.
1997-09-19 01:02:08 +00:00
chuck 25cf9473aa add %cr4 to as (from freebsd) 1997-09-05 22:20:35 +00:00
mrg a5e11981d3 oops, fix error in previous. 1997-06-23 13:30:51 +00:00
mrg 586ed80911 install all man pages. 1997-06-23 13:25:41 +00:00
pk 58efb9d20c NULL => 0 (Arne Juul; PR#3629) 1997-05-17 19:24:44 +00:00
mikel bd29e92ccd back out last change, not needed 1997-05-11 08:05:08 +00:00
mikel efb4e7f93a use $(.CURDIR) to find config/Makefile.$(MACHINE_ARCH); from Thorsten
Frueauf in PR bin/3601.
1997-05-11 06:18:32 +00:00
cgd 2a441bb486 make sure that arch-specific makefiles exist before they're included.
Otherwise, 'clean' and 'cleandir' can break architectures that don't
normally use this code.
1997-04-19 02:59:28 +00:00
jtc b4f1282b13 Add Pentium and Pentium Pro specific instructions (adapted from a newer
version of binutils).
1997-04-12 00:11:12 +00:00
christos 0aad9d4378 Makefile cleanups 1997-03-24 22:02:40 +00:00
pk 40cef5c5ce Fix `L2-L1' expression evaluation botch (from Urban Boquist; PR#3296) 1997-03-09 20:49:06 +00:00
pk 6c022e104d Add missing variant of the `iflush' instruction (Michael Ericson; PR#3287). 1997-03-04 16:47:20 +00:00
pk 85993bcea4 Set EXTERNAL bit on `.weak' declarations. 1996-12-21 21:48:20 +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
ws 6c62b32701 Align static bss symbols properly (stolen essentially from binutils 2.6) 1996-11-03 17:50:41 +00:00
ws eacb5456d9 Allow compilation on machines where chars are unsigned 1996-11-03 17:48:17 +00:00
jtc 3c02c6068b cheezy hack that adds -m68060 as a synonym for -m68040 1996-05-12 18:55:53 +00:00
mycroft 16255ae0be Change the segment mov constraint to WordReg|WordMem, to disallow 8-bit memory
access, and enable a (somewhat) common register usage.
1996-05-11 13:39:26 +00:00
pk f685c6dd5d Extend memory class of the `mov' instruction (PR#2370). 1996-05-03 09:33:49 +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
pk 7426e189fb Recognise ".double 0fInf" as suggested by Matthias Pfaller (PR#2280). 1996-04-01 10:57:35 +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
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