0
0
forked from aniani/nasm

Commit Graph

  • e9d1a97b88 Generate a perfect hash for the token parser H. Peter Anvin 2007-08-30 21:45:56 +00:00
  • 67858426e4 Fix bugs in repeated suffix handling, which led to missing r8d/r8w/r8d H. Peter Anvin 2007-08-30 21:40:08 +00:00
  • 215c1a3781 phash.ph: more powerful prehashing H. Peter Anvin 2007-08-30 21:39:37 +00:00
  • b44d7a76a2 Make the perfect hash generator an includable module H. Peter Anvin 2007-08-30 20:15:25 +00:00
  • 490bbcd047 Correct the logic for recording fs: and gs: overrides. H. Peter Anvin 2007-08-29 20:30:31 +00:00
  • b838bcfe9f Generate R_X86_64_64 relocations in elf64 output H. Peter Anvin 2007-08-29 18:20:19 +00:00
  • 7a089c0fc7 Add README file H. Peter Anvin 2007-08-29 17:24:03 +00:00
  • 16a76654b8 Create a Perl library directory, and add the Graph module to it H. Peter Anvin 2007-08-29 17:20:09 +00:00
  • 8781c6a5f3 Perfect hash generator, as a perl script H. Peter Anvin 2007-08-29 17:05:17 +00:00
  • 3894519675 Use standard macro for the default directive H. Peter Anvin 2007-08-29 16:41:43 +00:00
  • 4fd320ef82 Add standard macro for [default] directive H. Peter Anvin 2007-08-29 16:40:26 +00:00
  • 859f085985 More test cases for rel and abs addressing H. Peter Anvin 2007-08-29 16:38:47 +00:00
  • 62b24d7e2f Add [default] directive H. Peter Anvin 2007-08-29 16:38:05 +00:00
  • 14f8bf2edf nasmlib: add bsii() case-insensitive version of bsi() H. Peter Anvin 2007-08-29 16:25:46 +00:00
  • 12fc7bc4b2 Add test cases for IP-relative addressing H. Peter Anvin 2007-08-29 15:49:53 +00:00
  • 150e20db50 Suppress IP-relative only for fs: and gs: overrides H. Peter Anvin 2007-08-29 15:19:19 +00:00
  • 99c4ecd18f Implement REL/ABS modifiers H. Peter Anvin 2007-08-28 23:06:00 +00:00
  • 352170d5eb attempt to make static makefiles aware of outelf32/outelf64 Frank Kotler 2007-08-26 05:51:39 +00:00
  • 7fcda399cd add nasm_strsep to nasmlib, for output/outmacho.c - strtok doesn't work Frank Kotler 2007-08-26 05:48:54 +00:00
  • 2ad45a56b4 remove "#include <unistd.h> from rdoff directory - two places - it annoyed Windows users and seems unneeded Frank Kotler 2007-08-26 05:41:33 +00:00
  • 155eef6a3d finally commit Mike Frysinger's "elf-visibility" patch Frank Kotler 2007-08-26 05:10:24 +00:00
  • 85f5f148bb regs.pl: handle dashed sequences with suffixes H. Peter Anvin 2007-08-20 21:03:14 +00:00
  • fc918885e0 sync.c: change ULONG_MAX to UINT32_MAX H. Peter Anvin 2007-08-20 20:10:04 +00:00
  • ea8a28253b Add _MIN and _MAX macros for the fixed-size types. H. Peter Anvin 2007-08-20 20:09:11 +00:00
  • 3b69717a12 ldrdf: cast output of sizeof() before passing to printf(), to avoid warning. H. Peter Anvin 2007-08-20 20:02:17 +00:00
  • d94764bec0 Fixed RIP address processing ambiguity found by Charles Crayne. Keith Kanios 2007-08-19 18:49:26 +00:00
  • 48af17738c Fixed issues with REX prefix effective address generation. Fixed XMM instruction output. Keith Kanios 2007-08-17 07:37:52 +00:00
  • e5b47ab1c8 Changed MMXREG and XMMREG flags to help resolve invalid REX prefix generation for MMX instructions. Keith Kanios 2007-08-17 02:03:10 +00:00
  • 5b0e3eca28 More int/int32_t confusion H. Peter Anvin 2007-07-07 02:01:08 +00:00
  • 0ec60e69d9 regflag() should return int32_t. H. Peter Anvin 2007-07-07 01:59:52 +00:00
  • 52daec56f9 Detect missing <inttypes.h> and include ersatz version if missing H. Peter Anvin 2007-06-21 19:00:12 +00:00
  • fa87e1a088 inttypes.h: for older preprocessors, specify L and LL as appropriate H. Peter Anvin 2007-06-21 06:24:23 +00:00
  • 0f9cdb2a59 inttypes.h: Fix spelling of SHRT_MAX H. Peter Anvin 2007-06-21 06:20:43 +00:00
  • 272b6c7295 inttypes.h: do a single ersatz <inttypes.h> based on <limits.h> H. Peter Anvin 2007-06-21 06:15:42 +00:00
  • 42fe6ce765 Support 32-bit direct addressing in 64-bit mode without base or index regs Chuck Crayne 2007-06-03 02:42:41 +00:00
  • ca9f626ba8 Fix the [U]INT*_C() creation macros H. Peter Anvin 2007-06-02 02:26:21 +00:00
  • f209f7b1e8 For platforms that don't have them, provide <inttypes.h> for common models. H. Peter Anvin 2007-06-02 00:05:35 +00:00
  • ce2b397f1e Fix the handling of the \313 code. H. Peter Anvin 2007-05-30 22:21:11 +00:00
  • 021993cf64 Machine-generated \321->\324 corrections H. Peter Anvin 2007-05-30 22:20:01 +00:00
  • 6000b34929 update "version" to 0.99.02 Frank Kotler 2007-05-30 21:22:33 +00:00
  • c6be66fa20 Correct the generation of 67 prefixes. H. Peter Anvin 2007-05-30 20:30:15 +00:00
  • ff69805feb Update dependencies. H. Peter Anvin 2007-05-30 18:30:18 +00:00
  • f20f692156 update cvs server name in misc/release script nasm-0.99.01 Frank Kotler 2007-05-30 16:34:29 +00:00
  • a1abb32004 Avoid magic values; we have more than 124 registers now H. Peter Anvin 2007-05-30 04:28:50 +00:00
  • 34539fb1ed Remove bogus redundant tests H. Peter Anvin 2007-05-30 04:27:58 +00:00
  • 06bf8db596 More \321 -> \324 H. Peter Anvin 2007-05-30 03:44:50 +00:00
  • a57e8d411a Remove bogus check for 64-bitness H. Peter Anvin 2007-05-30 03:44:02 +00:00
  • 3df97a7270 Get rid of magic open-coded "register numbers" H. Peter Anvin 2007-05-30 03:25:21 +00:00
  • 1cf9c9d3ab MOV reg64,reg64 takes \324 (64 bit with REX) not \321 (32 bit) H. Peter Anvin 2007-05-30 02:48:51 +00:00
  • dbf130e681 Rename REGNORM to REG_EA H. Peter Anvin 2007-05-30 00:18:26 +00:00
  • 1ffbd70af0 More instruction flag surgery H. Peter Anvin 2007-05-30 00:15:25 +00:00
  • edb1428239 More cleanup of operand flags/register classes H. Peter Anvin 2007-05-30 00:05:00 +00:00
  • 5a640e1161 Clean up the existing operand flag definitions, and document H. Peter Anvin 2007-05-29 23:57:12 +00:00
  • 7a83374a9c Run "make alldeps" H. Peter Anvin 2007-05-29 21:44:55 +00:00
  • d528759e72 update version number to 0.99.01 Frank Kotler 2007-05-24 22:33:07 +00:00
  • fb658ae61b regs.dat: fix comment H. Peter Anvin 2007-05-15 04:33:43 +00:00
  • 90b9417613 16-bit relocations are standard in ELF64 (at my request, incidentally) H. Peter Anvin 2007-05-04 18:47:16 +00:00
  • b7eea1c940 Addition of elf32 and elf64 output formats. Addition of ! as unary operator in expression evaluation. Allow numeric constants in DQ directive. Chuck Crayne 2007-05-04 02:16:08 +00:00
  • cb9bc21374 Allow '!' to be used in expressions with same meaning as in C. Chuck Crayne 2007-05-02 04:21:26 +00:00
  • 60ae75d3ab Add %IFN and %ELIFN as per RFE #786286 Chuck Crayne 2007-05-02 01:59:16 +00:00
  • 45ef7e76ee Accept responsibility for support of outelf64.c Chuck Crayne 2007-04-30 22:26:58 +00:00
  • 8ab0320f02 Clarify comments about relocation entries. Chuck Crayne 2007-04-29 20:57:53 +00:00
  • 1c270b7fe2 Allow ELF32 to be invoked either as -f elf or -f elf32 Chuck Crayne 2007-04-29 00:28:24 +00:00
  • 6e61733e38 Eliminate shift count warnings when building on 32-bit systems Remove define for DEBUG Chuck Crayne 2007-04-28 22:18:04 +00:00
  • 26d3de3217 Initial support for ELF64 Chuck Crayne 2007-04-28 06:18:48 +00:00
  • 8d7316a3ff Fix the handling of \324 for computing the length H. Peter Anvin 2007-04-18 02:27:18 +00:00
  • 7295e9856d Fixed RDF/2 to comply with "maxbits" use. Keith Kanios 2007-04-18 02:24:34 +00:00
  • 0db11e236b Handle "LOCK as REX.R" for MOV CRx; fix warning for invalid 64-bit regs H. Peter Anvin 2007-04-17 20:23:11 +00:00
  • fd626d6770 MEM_OFFSET Instructions Fixed. Keith Kanios 2007-04-16 18:16:46 +00:00
  • fd5d91383a Fixed 64-bit Mode Segment Selection. Keith Kanios 2007-04-16 15:46:46 +00:00
  • e83b318017 Fixed distinction between [LOCAL]SYMBOL/IMMEDIATE for RIP-relative addressing. Keith Kanios 2007-04-16 14:31:54 +00:00
  • 56e3528b4a Fixed long mode MEM_OFFS issue. Keith Kanios 2007-04-16 14:05:01 +00:00
  • 76a83979d8 Filled in all RIP Register Flags. Keith Kanios 2007-04-16 13:54:49 +00:00
  • ed45f4c6f2 More \321 -> \324 for 64-bit instructions H. Peter Anvin 2007-04-16 05:26:29 +00:00
  • 7a68f30dd7 Fixed 64-bit offset generation. Keith Kanios 2007-04-16 04:56:06 +00:00
  • 7cf03aff4f More 64-bit ndisasm fixes. H. Peter Anvin 2007-04-16 02:39:56 +00:00
  • b061d595fb Fixes for 64-bit ndisasm. H. Peter Anvin 2007-04-16 02:02:06 +00:00
  • 88aa185d36 Use + instead of * for extension; it feels cleaner with the new meaning. H. Peter Anvin 2007-04-16 01:21:29 +00:00
  • 0ee014231f Initial 64-bit support for ndisasm. Still a work in progress. H. Peter Anvin 2007-04-16 01:18:30 +00:00
  • 99f309cc07 Clean up the 64-bitification of regs.dat for 64-bit ndisasm support H. Peter Anvin 2007-04-15 23:12:17 +00:00
  • 2b8f5d2b80 Remove @GCCFLAGS@ H. Peter Anvin 2007-04-15 23:10:26 +00:00
  • e2eb92d055 CR8 is not special in any way as far as the assembler is concerned. H. Peter Anvin 2007-04-15 23:09:23 +00:00
  • 876c8a13d9 Get rid of @GCCFLAGS@ H. Peter Anvin 2007-04-15 23:03:28 +00:00
  • 1ed0387476 Cleaner way to add gcc options H. Peter Anvin 2007-04-15 22:45:25 +00:00
  • 3faf938f79 Fixed distinction between RIP relative symbols and immediate values. Keith Kanios 2007-04-15 22:08:30 +00:00
  • 6303c87c45 Fix the register number for CR7 (it was using the same number as CR15). H. Peter Anvin 2007-04-15 05:40:43 +00:00
  • 7e1b8e909b More perl-like idioms for generating regdis.c H. Peter Anvin 2007-04-15 05:32:18 +00:00
  • b7314d83f1 Fixed regdis.c generation. Keith Kanios 2007-04-15 01:37:13 +00:00
  • 61ff53c80d Added DQ constants for all BITS modes. Keith Kanios 2007-04-14 18:54:52 +00:00
  • f4ba92577e outmacho.c: stylistic cleanups H. Peter Anvin 2007-04-14 08:03:02 +00:00
  • b2a0380eb8 Fixed support for DQ constants in long mode. Keith Kanios 2007-04-14 03:52:05 +00:00
  • c8ef68bba9 Hopefully it is actually fixed this time :P Keith Kanios 2007-04-14 03:44:31 +00:00
  • 3e7bb1e046 Fixed structure initialization issue. Keith Kanios 2007-04-14 01:49:07 +00:00
  • a2e9b953f8 Refixed uninitialized data. Keith Kanios 2007-04-14 01:44:35 +00:00
  • df12db1f13 Fixed uninitialized structure data. Keith Kanios 2007-04-14 01:40:24 +00:00
  • 47776ac525 c99 printf/fprintf compliance. Keith Kanios 2007-04-14 01:24:14 +00:00
  • c7ae18dba1 Placated unreferenced types. Keith Kanios 2007-04-14 00:46:25 +00:00
  • 93f2e9a5a1 c99 printf/fprintf compliance. Keith Kanios 2007-04-14 00:10:59 +00:00
  • 0899e21289 Added outmacho.* to static makefile. Keith Kanios 2007-04-13 23:09:18 +00:00
  • 567ee739f8 Fixed REGRIP -> RIPREG to match regs.dat. Keith Kanios 2007-04-13 22:24:46 +00:00