You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(208) |
Jun
(43) |
Jul
|
Aug
(2) |
Sep
(17) |
Oct
|
Nov
(4) |
Dec
(9) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
|
Feb
(11) |
Mar
(3) |
Apr
(2) |
May
|
Jun
(3) |
Jul
(29) |
Aug
(29) |
Sep
(48) |
Oct
|
Nov
|
Dec
(5) |
2004 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2005 |
Jan
(12) |
Feb
(1) |
Mar
(1) |
Apr
|
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
(4) |
Oct
(3) |
Nov
(1) |
Dec
(2) |
2006 |
Jan
(1) |
Feb
(2) |
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(21) |
Nov
(25) |
Dec
(16) |
2007 |
Jan
(26) |
Feb
(26) |
Mar
(18) |
Apr
(51) |
May
(45) |
Jun
(26) |
Jul
(6) |
Aug
(85) |
Sep
(161) |
Oct
(111) |
Nov
(83) |
Dec
(18) |
2008 |
Jan
(31) |
Feb
(27) |
Mar
|
Apr
(16) |
May
(142) |
Jun
(136) |
Jul
(51) |
Aug
(21) |
Sep
(47) |
Oct
(428) |
Nov
(19) |
Dec
(6) |
2009 |
Jan
(11) |
Feb
(37) |
Mar
(17) |
Apr
(15) |
May
(13) |
Jun
(61) |
Jul
(127) |
Aug
(15) |
Sep
(22) |
Oct
(28) |
Nov
(37) |
Dec
(10) |
2010 |
Jan
(18) |
Feb
(22) |
Mar
(10) |
Apr
(41) |
May
|
Jun
(48) |
Jul
(61) |
Aug
(54) |
Sep
(34) |
Oct
(15) |
Nov
(49) |
Dec
(11) |
2011 |
Jan
|
Feb
(24) |
Mar
(10) |
Apr
(9) |
May
|
Jun
(33) |
Jul
(41) |
Aug
(20) |
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
(86) |
Mar
(12) |
Apr
|
May
(10) |
Jun
|
Jul
(9) |
Aug
(4) |
Sep
(11) |
Oct
(3) |
Nov
(3) |
Dec
(10) |
2013 |
Jan
(1) |
Feb
(23) |
Mar
(15) |
Apr
(7) |
May
(20) |
Jun
(3) |
Jul
(15) |
Aug
|
Sep
(29) |
Oct
(16) |
Nov
(69) |
Dec
(18) |
2014 |
Jan
|
Feb
(8) |
Mar
|
Apr
|
May
(16) |
Jun
(7) |
Jul
|
Aug
(5) |
Sep
(2) |
Oct
(4) |
Nov
(25) |
Dec
(8) |
2015 |
Jan
(6) |
Feb
(6) |
Mar
|
Apr
(1) |
May
(2) |
Jun
(1) |
Jul
(7) |
Aug
|
Sep
(2) |
Oct
(1) |
Nov
(6) |
Dec
|
2016 |
Jan
(12) |
Feb
(97) |
Mar
(57) |
Apr
(52) |
May
(33) |
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
(3) |
Nov
(3) |
Dec
|
2017 |
Jan
(4) |
Feb
|
Mar
(23) |
Apr
(5) |
May
|
Jun
(2) |
Jul
(3) |
Aug
(2) |
Sep
|
Oct
(6) |
Nov
(3) |
Dec
(3) |
2018 |
Jan
(4) |
Feb
(11) |
Mar
|
Apr
(1) |
May
(3) |
Jun
(6) |
Jul
|
Aug
(5) |
Sep
(5) |
Oct
(36) |
Nov
(128) |
Dec
(18) |
2019 |
Jan
|
Feb
|
Mar
(1) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(24) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: nasm-bot f. H. P. A. <hp...@li...> - 2016-01-15 19:19:09
|
Commit-ID: f29123b936b1751c6d72dad86b05eb293cca5c6c Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=f29123b936b1751c6d72dad86b05eb293cca5c6c Author: H. Peter Anvin <hp...@li...> AuthorDate: Fri, 15 Jan 2016 10:46:12 -0800 Committer: H. Peter Anvin <hp...@li...> CommitDate: Fri, 15 Jan 2016 11:03:40 -0800 smartalign.mac: Ignore smartalign in preprocess-only mode When running in preprocess-only mode generate the equivalent of standard alignment using nops. This at the very least allows some kind of reasonable output and allows for dependency generation to proceed; the only way to *really* address this problem is to move alignment generation into the assembler proper; this would also allow the align/alignb distinction to be removed and handle padding with instructions which are more than one byte. This should resolve bug 3392319. Signed-off-by: H. Peter Anvin <hp...@li...> --- macros/smartalign.mac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/macros/smartalign.mac b/macros/smartalign.mac index 9b37f12..e5c0b99 100644 --- a/macros/smartalign.mac +++ b/macros/smartalign.mac @@ -1,6 +1,6 @@ ;; -------------------------------------------------------------------------- ;; -;; Copyright 1996-2009 The NASM Authors - All Rights Reserved +;; Copyright 1996-2016 The NASM Authors - All Rights Reserved ;; See the file AUTHORS included with the NASM distribution for ;; the specific copyright holders. ;; @@ -164,6 +164,8 @@ USE: smartalign sectalign %1 ; align a segment as well %ifnempty %2 times (((%1) - (($-$$) % (%1))) % (%1)) %2 + %elif __PASS__ == 0 || __PASS__ == 3 + times (((%1) - (($-$$) % (%1))) % (%1)) nop %else %push %assign %$pad (((%1) - (($-$$) % (%1))) % (%1)) |
From: nasm-bot f. H. P. A. <hp...@li...> - 2016-01-15 19:19:08
|
Commit-ID: 7faf605ca5e42ecdbc2e1921fa269abccb63feb4 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=7faf605ca5e42ecdbc2e1921fa269abccb63feb4 Author: H. Peter Anvin <hp...@li...> AuthorDate: Fri, 15 Jan 2016 11:09:42 -0800 Committer: H. Peter Anvin <hp...@li...> CommitDate: Fri, 15 Jan 2016 11:09:42 -0800 NASM 2.11.09rc2 --- version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version b/version index 9cdf888..690b7ad 100644 --- a/version +++ b/version @@ -1 +1 @@ -2.11.09rc1 +2.11.09rc2 |
From: nasm-bot f. C. G. <gor...@gm...> - 2015-11-04 22:18:17
|
Commit-ID: a2a2d19f434380cd00fe31c9ea1734939eb2dadd Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=a2a2d19f434380cd00fe31c9ea1734939eb2dadd Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Thu, 5 Nov 2015 01:14:05 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Thu, 5 Nov 2015 01:14:45 +0300 disasm: Fix disassembling of evex prefix As been pointed by @hpa evex is pretty fine in ia-32. Quoting Peter | This is wrong, though; EVEX is permitted in 32-bit mode just as VEX is. | The key thing is that bits [7:5] have to be 1 in 32-bit mode. It is | unclear what happens if these bits are 110 as that depends on if it is | decoded using the modr/m decoder or not. For VEX prefixes we accept | them as VEX in that case, which may not match the CPU. This is a fix for commit db6ecf9b76a2 Reported-by: "H. Peter Anvin" <hp...@zy...> Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- disasm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/disasm.c b/disasm.c index da39632..51c6578 100644 --- a/disasm.c +++ b/disasm.c @@ -1215,9 +1215,9 @@ int32_t disasm(uint8_t *data, char *output, int outbufsize, int segsize, case 0x62: { - uint8_t evex_p0 = data[1] & 0x0f; - if (segsize == 64 && - ((evex_p0 >= 0x01) && (evex_p0 <= 0x03))) { + if (segsize == 64 || ((data[1] & 0xc0) == 0xc0)) { + uint8_t evex_p0 = data[1] & 0x0f; + data++; /* 62h EVEX prefix */ prefix.evex[0] = *data++; prefix.evex[1] = *data++; |
From: nasm-bot f. C. G. <gor...@gm...> - 2015-11-04 22:18:17
|
Commit-ID: dcc2cbce8d4cad5879265b74c6076f924d1725bd Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=dcc2cbce8d4cad5879265b74c6076f924d1725bd Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Thu, 5 Nov 2015 01:16:09 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Thu, 5 Nov 2015 01:16:09 +0300 disasm: Drop unused variable Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- disasm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/disasm.c b/disasm.c index 51c6578..cd5c6ef 100644 --- a/disasm.c +++ b/disasm.c @@ -1216,8 +1216,6 @@ int32_t disasm(uint8_t *data, char *output, int outbufsize, int segsize, case 0x62: { if (segsize == 64 || ((data[1] & 0xc0) == 0xc0)) { - uint8_t evex_p0 = data[1] & 0x0f; - data++; /* 62h EVEX prefix */ prefix.evex[0] = *data++; prefix.evex[1] = *data++; |
From: nasm-bot f. C. G. <gor...@gm...> - 2015-11-04 21:45:20
|
Commit-ID: 8aa9c2eb91b700a9dfdd587457d651f29499e816 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=8aa9c2eb91b700a9dfdd587457d651f29499e816 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Thu, 5 Nov 2015 00:43:29 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Thu, 5 Nov 2015 00:43:29 +0300 output: macho64 -- Fix OUT_REL4ADR on bigendians We're converting address value into bigendian (on BE machine) and then continue doing arithmetics on top, which is of course incorrect. Instead do all operations first then convert to BE and write it into image. Reported-by: "H. Peter Anvin" <hp...@zy...> Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- output/outmac64.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/output/outmac64.c b/output/outmac64.c index d4ddeaa..b4a46d8 100644 --- a/output/outmac64.c +++ b/output/outmac64.c @@ -590,7 +590,7 @@ static void macho_output(int32_t secto, const void *data, case OUT_REL4ADR: p = mydata; - WRITELONG(p, *(int64_t *)data + 4 - size); + addr = *(int64_t *)data + 4 - size; if (section == secto) nasm_error(ERR_PANIC, "intra-section OUT_REL4ADR"); @@ -600,7 +600,7 @@ static void macho_output(int32_t secto, const void *data, " section base references"); } else { if (wrt == NO_SEG) { - *(int64_t *)mydata -= add_reloc(s, section, 1, 4, *(int64_t *)mydata); // X86_64_RELOC_SIGNED/BRANCH + addr -= add_reloc(s, section, 1, 4, addr); // X86_64_RELOC_SIGNED/BRANCH } else if (wrt == macho_gotpcrel_sect) { if (s->data->datalen > 1) { saa_fread(s->data, s->data->datalen-2, &gotload, 1); // Retrieve Instruction Opcode @@ -608,9 +608,9 @@ static void macho_output(int32_t secto, const void *data, gotload = 0; } if (gotload == 0x8B) { // Check for MOVQ Opcode - *(int64_t *)mydata -= add_reloc(s, section, 4, 4, *(int64_t *)mydata); // X86_64_GOT_LOAD (MOVQ load) + addr -= add_reloc(s, section, 4, 4, addr); // X86_64_GOT_LOAD (MOVQ load) } else { - *(int64_t *)mydata -= add_reloc(s, section, 3, 4, *(int64_t *)mydata); // X86_64_GOT + addr -= add_reloc(s, section, 3, 4, addr); // X86_64_GOT } } else { nasm_error(ERR_NONFATAL, "Mach-O format does not support" @@ -619,6 +619,7 @@ static void macho_output(int32_t secto, const void *data, } } + WRITELONG(p, addr); sect_write(s, mydata, 4L); break; |
From: nasm-bot f. H. P. A. <hp...@zy...> - 2015-11-04 19:42:22
|
Commit-ID: 03f229c74f9fe8231ec0793f816e87031658cf31 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=03f229c74f9fe8231ec0793f816e87031658cf31 Author: H. Peter Anvin <hp...@zy...> AuthorDate: Wed, 4 Nov 2015 11:29:09 -0800 Committer: H. Peter Anvin <hp...@zy...> CommitDate: Wed, 4 Nov 2015 11:41:33 -0800 Restore AC_C_INLINE Checkin 7729edf7224e39628bd342c3a3bb44c1753bdfb0 removed AC_C_INLINE, presumably inadvertently. Signed-off-by: H. Peter Anvin <hp...@zy...> --- configure.in | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.in b/configure.in index b40c62b..fba5d32 100644 --- a/configure.in +++ b/configure.in @@ -62,6 +62,7 @@ AC_PROG_INSTALL dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST +AC_C_INLINE AC_C_RESTRICT AC_TYPE_SIZE_T PA_WORKING_BOOL |
From: nasm-bot f. M. S. <na...@ms...> - 2015-11-03 20:12:21
|
Commit-ID: db6ecf9b76a25c465887946fe70e74b3dcdce234 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=db6ecf9b76a25c465887946fe70e74b3dcdce234 Author: Mark Scott <na...@ms...> AuthorDate: Tue, 3 Nov 2015 23:09:05 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Tue, 3 Nov 2015 23:09:05 +0300 disasm: Fix for disassembly of BOUND The opcode for BOUND, 62h, has a different meaning in long mode - it is the prefix for EVEX instructions. ndisasm did not take this into account and always tried to disassemble 62h back to an EVEX instruction. Attached patch only permits EVEX disassembly if bitness is 64. In 16/32 bit mode 62h will be not be a prefix and so disassemble to BOUND. Signed-off-by: Mark Scott <na...@ms...> Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- disasm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disasm.c b/disasm.c index e748483..da39632 100644 --- a/disasm.c +++ b/disasm.c @@ -1216,7 +1216,7 @@ int32_t disasm(uint8_t *data, char *output, int outbufsize, int segsize, case 0x62: { uint8_t evex_p0 = data[1] & 0x0f; - if (segsize == 64 || + if (segsize == 64 && ((evex_p0 >= 0x01) && (evex_p0 <= 0x03))) { data++; /* 62h EVEX prefix */ prefix.evex[0] = *data++; |
From: nasm-bot f. M. S. <na...@ms...> - 2015-11-02 22:18:22
|
Commit-ID: be8a5c8f2dbde47719796209a796cd7ccea32e54 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=be8a5c8f2dbde47719796209a796cd7ccea32e54 Author: Mark Scott <na...@ms...> AuthorDate: Tue, 3 Nov 2015 01:13:30 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Tue, 3 Nov 2015 01:14:14 +0300 out: elf,stabs -- Fix @n_value attribute for HdrSym entry Each stabs entry is 12 bytes in size, for some reason we've been pasing wrong attribute here in @n_value. Signed-off-by: Mark Scott <na...@ms...> Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- output/outelf32.c | 2 +- output/outelf64.c | 2 +- output/outelfx32.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/output/outelf32.c b/output/outelf32.c index e810198..4489d40 100644 --- a/output/outelf32.c +++ b/output/outelf32.c @@ -1595,7 +1595,7 @@ static void stabs32_generate(void) * the source-file, the n_desc field should be set to the number * of remaining stabs */ - WRITE_STAB(sptr, fileidx[0], 0, 0, 0, strlen(allfiles[0] + 12)); + WRITE_STAB(sptr, fileidx[0], 0, 0, 0, stabstrlen); /* this is the stab for the main source file */ WRITE_STAB(sptr, fileidx[mainfileindex], N_SO, 0, 0, 0); diff --git a/output/outelf64.c b/output/outelf64.c index 19bd845..41243b1 100644 --- a/output/outelf64.c +++ b/output/outelf64.c @@ -1682,7 +1682,7 @@ static void stabs64_generate(void) * the source-file, the n_desc field should be set to the number * of remaining stabs */ - WRITE_STAB(sptr, fileidx[0], 0, 0, 0, strlen(allfiles[0] + 12)); + WRITE_STAB(sptr, fileidx[0], 0, 0, 0, stabstrlen); /* this is the stab for the main source file */ WRITE_STAB(sptr, fileidx[mainfileindex], N_SO, 0, 0, 0); diff --git a/output/outelfx32.c b/output/outelfx32.c index a9b6957..3eeb224 100644 --- a/output/outelfx32.c +++ b/output/outelfx32.c @@ -1641,7 +1641,7 @@ static void stabsx32_generate(void) * the source-file, the n_desc field should be set to the number * of remaining stabs */ - WRITE_STAB(sptr, fileidx[0], 0, 0, 0, strlen(allfiles[0] + 12)); + WRITE_STAB(sptr, fileidx[0], 0, 0, 0, stabstrlen); /* this is the stab for the main source file */ WRITE_STAB(sptr, fileidx[mainfileindex], N_SO, 0, 0, 0); |
From: nasm-bot f. C. G. <gor...@gm...> - 2015-10-11 15:09:21
|
Commit-ID: 6377180e0873731f60a18fe5a61065f9c7795603 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=6377180e0873731f60a18fe5a61065f9c7795603 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 11 Oct 2015 17:57:04 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Oct 2015 18:06:30 +0300 nasmlib: Plcate undefined behaviour in signed_bits http://bugzilla.nasm.us/show_bug.cgi?id=3392320 Reported-by: Dingbao Xie <xie...@gm...> Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- nasmlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nasmlib.h b/nasmlib.h index fb2bb08..a3a8c12 100644 --- a/nasmlib.h +++ b/nasmlib.h @@ -456,7 +456,7 @@ static inline int64_t signed_bits(int64_t value, int bits) if (bits < 64) { value &= ((int64_t)1 << bits) - 1; if (value & (int64_t)1 << (bits - 1)) - value |= (int64_t)-1 << bits; + value |= (int64_t)((uint64_t)-1 << bits); } return value; } |
From: nasm-bot f. C. G. <gor...@gm...> - 2015-09-13 14:18:35
|
Commit-ID: 8ab77b59e2ae0de9bf4fc4294a605547bbc7ef6d Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=8ab77b59e2ae0de9bf4fc4294a605547bbc7ef6d Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 13 Sep 2015 16:30:21 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 13 Sep 2015 16:30:21 +0300 insns.dat: Add SMSW for 64 bit mode http://bugzilla.nasm.us/show_bug.cgi?id=3392323 Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- insns.dat | 1 + 1 file changed, 1 insertion(+) diff --git a/insns.dat b/insns.dat index f6c0f9f..c3bf293 100644 --- a/insns.dat +++ b/insns.dat @@ -1286,6 +1286,7 @@ SMSW mem [m: 0f 01 /4] 286 SMSW mem16 [m: 0f 01 /4] 286 SMSW reg16 [m: o16 0f 01 /4] 286 SMSW reg32 [m: o32 0f 01 /4] 386 +SMSW reg64 [m: o64 0f 01 /4] X64 STC void [ f9] 8086 STD void [ fd] 8086 STI void [ fb] 8086 |
From: nasm-bot f. C. G. <gor...@gm...> - 2015-09-13 14:18:20
|
Commit-ID: b0b969eec48d9800f34dc60bff21f6eee981d8fe Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=b0b969eec48d9800f34dc60bff21f6eee981d8fe Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 13 Sep 2015 17:16:06 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 13 Sep 2015 17:16:06 +0300 disasm: Fix segment prefix name http://bugzilla.nasm.us/show_bug.cgi?id=3392322 Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- disasm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disasm.c b/disasm.c index 5e3a5e5..e748483 100644 --- a/disasm.c +++ b/disasm.c @@ -1684,7 +1684,7 @@ int32_t eatbyte(uint8_t *data, char *output, int outbufsize, int segsize) str = "ss"; break; case 0x3E: - str = "ss"; + str = "ds"; break; case 0x26: str = "es"; |
From: nasm-bot f. C. G. <gor...@gm...> - 2015-07-26 13:51:19
|
Commit-ID: 94b4a2c819670dcd69b428c97e3f12e865725035 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=94b4a2c819670dcd69b428c97e3f12e865725035 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 26 Jul 2015 16:42:27 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 26 Jul 2015 16:42:27 +0300 output: aout -- Use nasm_x_space helpers Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- output/outaout.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/output/outaout.c b/output/outaout.c index cbd7ef1..575089c 100644 --- a/output/outaout.c +++ b/output/outaout.c @@ -294,10 +294,7 @@ static void aout_deflabel(char *name, int32_t segment, int64_t offset, expr *e; char *p = special; - while (*p && !nasm_isspace(*p)) - p++; - while (*p && nasm_isspace(*p)) - p++; + p = nasm_skip_spaces(nasm_skip_word(p)); stdscan_reset(); stdscan_set(p); tokval.t_type = TOKEN_INVALID; |
From: nasm-bot f. C. G. <gor...@gm...> - 2015-07-26 12:36:19
|
Commit-ID: 373583c6c860d66caec6381523242744d2b28cc4 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=373583c6c860d66caec6381523242744d2b28cc4 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 26 Jul 2015 15:32:59 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 26 Jul 2015 15:32:59 +0300 insns.dat: Add PKU instructions Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- insns.dat | 3 +++ 1 file changed, 3 insertions(+) diff --git a/insns.dat b/insns.dat index baa7b9d..f6c0f9f 100644 --- a/insns.dat +++ b/insns.dat @@ -5103,6 +5103,9 @@ VXORPS ymmreg|mask|z,ymmreg,ymmrm256|b32 [rvm:fv: evex.nds.256.0f.w0 VXORPS zmmreg|mask|z,zmmreg,zmmrm512|b32 [rvm:fv: evex.nds.512.0f.w0 57 /r ] AVX512DQ,FUTURE ;# MJC PUBLIC END +; Intel memory protection keys for userspace (PKU aka PKEYs) +RDPKRU void [ 0f 01 ee] X64,FUTURE +WRPKRU void [ 0f 01 ef] X64,FUTURE ; New memory instructions CLFLUSHOPT mem [m: 66 0f ae /7] FUTURE |
From: nasm-bot f. C. G. <gor...@gm...> - 2015-07-26 11:45:43
|
Commit-ID: 8b4ef2d1d69df720d953be6a093073c79584681d Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=8b4ef2d1d69df720d953be6a093073c79584681d Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 26 Jul 2015 14:42:30 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 26 Jul 2015 14:42:30 +0300 doc: Update changes list Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- doc/changes.src | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/changes.src b/doc/changes.src index 9f8744c..258b113 100644 --- a/doc/changes.src +++ b/doc/changes.src @@ -7,6 +7,20 @@ The NASM 2 series supports x86-64, and is the production version of NASM since 2007. +\S{cl-2.11.09} Version 2.11.09 + +\b Fix potential stack overwrite in \c{macho32} backend. + +\b Fix relocation records in \c{macho64} backend. + +\b Fix symbol lookup computation in \c{macho64} backend. + +\b Adjust \c{.symtab} and \c{.rela.text} sections alignments to 8 bytes + in \c{elf64} backed. + +\b Fix section length computation in \c{bin} backend which leaded in incorrect + relocation records. + \S{cl-2.11.08} Version 2.11.08 \b Fix section length computation in \c{bin} backend which leaded in incorrect |
From: nasm-bot f. C. G. <gor...@gm...> - 2015-07-24 21:45:19
|
Commit-ID: abe67eea15c3ceccb70bba61f4ad99fd6167a89a Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=abe67eea15c3ceccb70bba61f4ad99fd6167a89a Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sat, 25 Jul 2015 00:39:30 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sat, 25 Jul 2015 00:39:42 +0300 NASM 2.11.09rc1 - Fix symbol alignment for Elf64 - Fix symbol lookup for Macho64 - Fix relocation records for Macho64 - Fix potential stack overwrite in Macho32 Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version b/version index 1ebb90f..9cdf888 100644 --- a/version +++ b/version @@ -1 +1 @@ -2.11.08 +2.11.09rc1 |
From: nasm-bot f. M. Storsjö <ma...@ma...> - 2015-07-23 21:48:38
|
Commit-ID: 561242bd43ab748af68f498ba2fa30c75c4cdb7c Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=561242bd43ab748af68f498ba2fa30c75c4cdb7c Author: Martin Storsjö <ma...@ma...> AuthorDate: Tue, 9 Jun 2015 10:03:36 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Fri, 24 Jul 2015 00:45:59 +0300 out: maco64 -- Properly update the full 64 bit value when adding relocations Previously only the first byte was updated (since @mydata is a an uint8_t[]). Signed-off-by: Martin Storsjö <ma...@ma...> Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- output/outmac64.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/output/outmac64.c b/output/outmac64.c index 785ca65..d4ddeaa 100644 --- a/output/outmac64.c +++ b/output/outmac64.c @@ -600,7 +600,7 @@ static void macho_output(int32_t secto, const void *data, " section base references"); } else { if (wrt == NO_SEG) { - *mydata -= add_reloc(s, section, 1, 4, *(int64_t *)mydata); // X86_64_RELOC_SIGNED/BRANCH + *(int64_t *)mydata -= add_reloc(s, section, 1, 4, *(int64_t *)mydata); // X86_64_RELOC_SIGNED/BRANCH } else if (wrt == macho_gotpcrel_sect) { if (s->data->datalen > 1) { saa_fread(s->data, s->data->datalen-2, &gotload, 1); // Retrieve Instruction Opcode @@ -608,9 +608,9 @@ static void macho_output(int32_t secto, const void *data, gotload = 0; } if (gotload == 0x8B) { // Check for MOVQ Opcode - *mydata -= add_reloc(s, section, 4, 4, *(int64_t *)mydata); // X86_64_GOT_LOAD (MOVQ load) + *(int64_t *)mydata -= add_reloc(s, section, 4, 4, *(int64_t *)mydata); // X86_64_GOT_LOAD (MOVQ load) } else { - *mydata -= add_reloc(s, section, 3, 4, *(int64_t *)mydata); // X86_64_GOT + *(int64_t *)mydata -= add_reloc(s, section, 3, 4, *(int64_t *)mydata); // X86_64_GOT } } else { nasm_error(ERR_NONFATAL, "Mach-O format does not support" |
From: nasm-bot f. C. G. <gor...@gm...> - 2015-07-21 22:18:30
|
Commit-ID: 6f05b8008c883e9898c1582a72b5b96db940943c Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=6f05b8008c883e9898c1582a72b5b96db940943c Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Tue, 21 Jul 2015 22:51:34 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Tue, 21 Jul 2015 22:51:34 +0300 output: outmacho32 -- Fix stack overwrite The size of address migh be up to 8 bytes here so allocate enough stack space. http://bugzilla.nasm.us/show_bug.cgi?id=3392317 Reported-by: Kyle Brodie <kyl...@gm...> Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- output/outmac32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/output/outmac32.c b/output/outmac32.c index 0cd06ef..0ed88c9 100644 --- a/output/outmac32.c +++ b/output/outmac32.c @@ -373,7 +373,7 @@ static void macho_output(int32_t secto, const void *data, { struct section *s, *sbss; int32_t addr; - uint8_t mydata[4], *p; + uint8_t mydata[8], *p; if (wrt != NO_SEG) { wrt = NO_SEG; |
From: nasm-bot f. J. K. <jam...@li...> - 2015-07-01 18:54:32
|
Commit-ID: ce28db6b688480cb46a33c29da857e1959abbd8d Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=ce28db6b688480cb46a33c29da857e1959abbd8d Author: Jim Kukunas <jam...@li...> AuthorDate: Tue, 23 Dec 2014 11:38:43 -0800 Committer: Jim Kukunas <jam...@li...> CommitDate: Wed, 1 Jul 2015 11:35:39 -0700 macros.pl: expand file wildcards in arguments Whereas Unix shells automatically globs wildcard arguments, Windows leaves it up to application. This commit fixes the build for perl implementations that don't handle wildcards. Signed-off-by: Jim Kukunas <jam...@li...> --- macros.pl | 149 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 76 insertions(+), 73 deletions(-) diff --git a/macros.pl b/macros.pl index 48d1948..e64fead 100755 --- a/macros.pl +++ b/macros.pl @@ -114,85 +114,88 @@ my $outfmt; my $lastname; my $z; -foreach $fname ( @ARGV ) { - open(INPUT,"< $fname\0") or die "$0: $fname: $!\n"; - while (<INPUT>) { - $line++; - chomp; - while (/^(.*)\\$/) { - $_ = $1; - $_ .= <INPUT>; - chomp; +foreach $args ( @ARGV ) { + my @file_list = glob ( $args ); + foreach $fname ( @file_list ) { + open(INPUT,"< $fname\0") or die "$0: $fname: $!\n"; + while (<INPUT>) { $line++; - } - if (m/^\s*\*END\*TASM\*MACROS\*\s*$/) { - $tasm_count = $index; - print OUT " /* End of TASM macros */\n"; - } elsif (m/^OUT:\s*(.*\S)\s*$/) { - undef $pkg; - my @out_alias = split(/\s+/, $1); - printf OUT " /* %4d */ 0\n", $index++; - print OUT "};\n#endif\n"; - $index = 0; - print OUT "\n"; - my $pfx = '#if'; - foreach my $al (@out_alias) { - print OUT $pfx, " defined(OF_\U${al}\E)"; - $pfx = ' ||'; - } - printf OUT "\nconst unsigned char %s_stdmac[] = {\n", $out_alias[0]; - print OUT " /* From $fname */\n"; - $lastname = $fname; - push(@out_list, $out_alias[0]); - $out_index{$out_alias[0]} = $index; - } elsif (m/^USE:\s*(\S+)\s*$/) { - $pkg = $1; - if (defined($pkg_number{$pkg})) { - die "$0: $fname: duplicate package: $pkg\n"; + chomp; + while (/^(.*)\\$/) { + $_ = $1; + $_ .= <INPUT>; + chomp; + $line++; } - printf OUT " /* %4d */ 0\n", $index++; - print OUT "};\n#endif\n"; - $index = 0; - print OUT "\n#if 1\n"; - printf OUT "static const unsigned char nasm_stdmac_%s[] = {\n", $pkg; - print OUT " /* From $fname */\n"; - $lastname = $fname; - push(@pkg_list, $pkg); - $pkg_number{$pkg} = $npkg++; - $z = pack("C", $pptok_hash{'%define'}+128)."__USE_\U$pkg\E__"; - printf OUT " /* %4d */ %s0,\n", $index, charcify($z); - $index += length($z)+1; - } elsif (m/^\s*((\s*([^\"\';\s]+|\"[^\"]*\"|\'[^\']*\'))*)\s*(;.*)?$/) { - my $s1, $s2, $pd, $ws; - $s1 = $1; - $s2 = ''; - while ($s1 =~ /(\%[a-zA-Z_][a-zA-Z0-9_]*)((\s+)(.*)|)$/) { - $s2 .= "$'"; - $pd = $1; - $ws = $3; - $s1 = $4; - if (defined($pptok_hash{$pd}) && - $pptok_hash{$pd} <= 127) { - $s2 .= pack("C", $pptok_hash{$pd}+128); - } else { - $s2 .= $pd.$ws; + if (m/^\s*\*END\*TASM\*MACROS\*\s*$/) { + $tasm_count = $index; + print OUT " /* End of TASM macros */\n"; + } elsif (m/^OUT:\s*(.*\S)\s*$/) { + undef $pkg; + my @out_alias = split(/\s+/, $1); + printf OUT " /* %4d */ 0\n", $index++; + print OUT "};\n#endif\n"; + $index = 0; + print OUT "\n"; + my $pfx = '#if'; + foreach my $al (@out_alias) { + print OUT $pfx, " defined(OF_\U${al}\E)"; + $pfx = ' ||'; } + printf OUT "\nconst unsigned char %s_stdmac[] = {\n", $out_alias[0]; + print OUT " /* From $fname */\n"; + $lastname = $fname; + push(@out_list, $out_alias[0]); + $out_index{$out_alias[0]} = $index; + } elsif (m/^USE:\s*(\S+)\s*$/) { + $pkg = $1; + if (defined($pkg_number{$pkg})) { + die "$0: $fname: duplicate package: $pkg\n"; + } + printf OUT " /* %4d */ 0\n", $index++; + print OUT "};\n#endif\n"; + $index = 0; + print OUT "\n#if 1\n"; + printf OUT "static const unsigned char nasm_stdmac_%s[] = {\n", $pkg; + print OUT " /* From $fname */\n"; + $lastname = $fname; + push(@pkg_list, $pkg); + $pkg_number{$pkg} = $npkg++; + $z = pack("C", $pptok_hash{'%define'}+128)."__USE_\U$pkg\E__"; + printf OUT " /* %4d */ %s0,\n", $index, charcify($z); + $index += length($z)+1; + } elsif (m/^\s*((\s*([^\"\';\s]+|\"[^\"]*\"|\'[^\']*\'))*)\s*(;.*)?$/) { + my $s1, $s2, $pd, $ws; + $s1 = $1; + $s2 = ''; + while ($s1 =~ /(\%[a-zA-Z_][a-zA-Z0-9_]*)((\s+)(.*)|)$/) { + $s2 .= "$'"; + $pd = $1; + $ws = $3; + $s1 = $4; + if (defined($pptok_hash{$pd}) && + $pptok_hash{$pd} <= 127) { + $s2 .= pack("C", $pptok_hash{$pd}+128); + } else { + $s2 .= $pd.$ws; + } + } + $s2 .= $s1; + if (length($s2) > 0) { + if ($lastname ne $fname) { + print OUT "\n /* From $fname */\n"; + $lastname = $fname; + } + printf OUT " /* %4d */ %s0,\n", + $index, charcify($s2); + $index += length($s2)+1; + } + } else { + die "$fname:$line: error unterminated quote"; } - $s2 .= $s1; - if (length($s2) > 0) { - if ($lastname ne $fname) { - print OUT "\n /* From $fname */\n"; - $lastname = $fname; - } - printf OUT " /* %4d */ %s0,\n", - $index, charcify($s2); - $index += length($s2)+1; - } - } else { - die "$fname:$line: error unterminated quote"; } + close(INPUT); } - close(INPUT); } printf OUT " /* %4d */ 0\n};\n#endif\n\n", $index++; print OUT "const unsigned char * const nasm_stdmac_after_tasm = ", |
From: nasm-bot f. D. A. <de...@az...> - 2015-06-02 10:30:30
|
Commit-ID: 5b730a197ad343d1e3836feb49888701b9221ade Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=5b730a197ad343d1e3836feb49888701b9221ade Author: Delan Azabani <de...@az...> AuthorDate: Mon, 1 Jun 2015 05:56:11 +0800 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Tue, 2 Jun 2015 13:22:32 +0300 out: maco64 -- Fix erroneously small write for OUT_REL4ADR Ensure that the int64_t offset value, which ultimately comes from an int64_t value in gencode() (assemble.c:1906), is completely written to the temporary buffer, instead of merely its least significant 32 bits. Prior to this change, WRITELONG was used instead of WRITEDLONG, which resulted in add_reloc being passed an int64_t "reloff" whose least significant 32 bits were those from the aforementioned offset value, and whose most significant 32 bits were stack garbage from "mydata". This led to get_closest_section_symbol_by_offset() attempting to search for extremely large values of "offset" among the symbols in "syms", which meant that the last symbol with a matching section number would always win the symbol search. In effect, this clobbered the resultant relocation information, such that all entries would be resolved with the same symbol. Test output can be found here https://www.azabani.com/patch/2/output.txt This patch fixes http://bugzilla.nasm.us/show_bug.cgi?id=3392306 Signed-off-by: Delan Azabani <de...@az...> Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- output/outmac64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/output/outmac64.c b/output/outmac64.c index 1d30e64..461fa32 100644 --- a/output/outmac64.c +++ b/output/outmac64.c @@ -588,7 +588,7 @@ static void macho_output(int32_t secto, const void *data, case OUT_REL4ADR: p = mydata; - WRITELONG(p, *(int64_t *)data + 4 - size); + WRITEDLONG(p, *(int64_t *)data + 4 - size); if (section == secto) nasm_error(ERR_PANIC, "intra-section OUT_REL4ADR"); |
From: nasm-bot f. C. S. <cir...@gm...> - 2015-05-24 10:00:41
|
Commit-ID: 668e58dc692a34ac8df54fa99c9ba28e98c338ff Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=668e58dc692a34ac8df54fa99c9ba28e98c338ff Author: Ciro Santilli <cir...@gm...> AuthorDate: Tue, 12 May 2015 08:37:19 +0200 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 24 May 2015 12:59:11 +0300 doc: typo occationally Signed-off-by: Ciro Santilli <cir...@gm...> Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- doc/nasmdoc.src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/nasmdoc.src b/doc/nasmdoc.src index 1b59e07..e468248 100644 --- a/doc/nasmdoc.src +++ b/doc/nasmdoc.src @@ -4440,7 +4440,7 @@ The `\c{USE16}' and `\c{USE32}' directives can be used in place of The \c{DEFAULT} directive changes the assembler defaults. Normally, NASM defaults to a mode where the programmer is expected to explicitly -specify most features directly. However, this is occationally +specify most features directly. However, this is occasionally obnoxious, as the explicit form is pretty much the only one one wishes to use. |
From: nasm-bot f. C. G. <gor...@gm...> - 2015-05-09 15:09:31
|
Commit-ID: 4920a0324348716d6ab5106e65508496241dc7a2 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=4920a0324348716d6ab5106e65508496241dc7a2 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sat, 9 May 2015 18:07:47 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sat, 9 May 2015 18:07:47 +0300 output: outmac64 -- Fix the case when first hit matches the symbol In case if we're looking up for a symbol and it's first one in symbol table we might endup with error because of using GE here (78f477b35f) ending cycle with @nearest = NULL. http://bugzilla.nasm.us/show_bug.cgi?id=3392306 Reprted-by: Benjamin Randazzo <ben...@li...> Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- output/outmac64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/output/outmac64.c b/output/outmac64.c index c07dcbc..1d30e64 100644 --- a/output/outmac64.c +++ b/output/outmac64.c @@ -304,7 +304,7 @@ static struct symbol *get_closest_section_symbol_by_offset(uint8_t fileindex, in for (sym = syms; sym; sym = sym->next) { if ((sym->sect != NO_SECT) && (sym->sect == fileindex)) { - if ((int64_t)sym->value >= offset) + if ((int64_t)sym->value > offset) break; nearest = sym; } |
From: nasm-bot f. Ed M. <em...@fr...> - 2015-04-15 22:06:26
|
Commit-ID: 1f0cb0f2c1ba632c0fab02424928cfb756a9160c Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=1f0cb0f2c1ba632c0fab02424928cfb756a9160c Author: Ed Maste <em...@fr...> AuthorDate: Thu, 16 Apr 2015 00:59:52 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Thu, 16 Apr 2015 01:02:55 +0300 output: elf64 -- increase .symtab and .rel* alignment to 8 Discovered while working on ELF Tool Chain elfcopy (strip), which originally crashed on an assert while processing a nasm-generated ELF object. The .symtab and .rela.text sections report 4 byte alignment, but require 8. As an aside, see https://sourceforge.net/p/elftoolchain/tickets/485/ for a discussion of the ELF Tool Chain issue that this bug exposed. With my WIP elfcopy change and nasm-assembled jccolss2-64.o from libjpeg-turbo: % strip -o /dev/null --strip-debug jccolss2-64.o strip: section .symtab alignment 4 increased to 8 strip: section .rela.text alignment 4 increased to 8 http://bugzilla.nasm.us/show_bug.cgi?id=3392307 Signed-off-by: Ed Maste <em...@fr...> Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- output/outelf64.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/output/outelf64.c b/output/outelf64.c index 241e345..19bd845 100644 --- a/output/outelf64.c +++ b/output/outelf64.c @@ -1084,7 +1084,7 @@ static void elf_write(void) /* .symtab */ elf_section_header(p - shstrtab, SHT_SYMTAB, 0, symtab, true, - symtablen, sec_strtab, symtablocal, 4, 24); + symtablen, sec_strtab, symtablocal, 8, 24); p += strlen(p) + 1; /* .strtab */ @@ -1096,7 +1096,7 @@ static void elf_write(void) for (i = 0; i < nsects; i++) if (sects[i]->head) { elf_section_header(p - shstrtab, SHT_RELA, 0, sects[i]->rel, true, - sects[i]->rellen, sec_symtab, i + 1, 4, 24); + sects[i]->rellen, sec_symtab, i + 1, 8, 24); p += strlen(p) + 1; } |
From: nasm-bot f. C. G. <gor...@gm...> - 2015-02-23 09:06:46
|
Commit-ID: 8fa0fe16408afc76ce1ae4387e1a9d46893cfda6 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=8fa0fe16408afc76ce1ae4387e1a9d46893cfda6 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Mon, 23 Feb 2015 12:04:39 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Mon, 23 Feb 2015 12:04:39 +0300 version: Fix the tag While been preparing release I managed to write non-number sequence into @version, which might cause build problems. Lets fix it here and if a moment happens -- release 2.11.09. Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version b/version index 59cfebf..1ebb90f 100644 --- a/version +++ b/version @@ -1 +1 @@ -nasm-2.11.08 +2.11.08 |
From: nasm-bot f. C. G. <gor...@gm...> - 2015-02-21 19:21:37
|
Commit-ID: 399d29c0a5fa02ea33d75828b30d0a5a68dd8a0e Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=399d29c0a5fa02ea33d75828b30d0a5a68dd8a0e Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sat, 21 Feb 2015 22:12:57 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sat, 21 Feb 2015 22:19:19 +0300 doc: changes -- Prepare for 2.11.08 Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- doc/changes.src | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/doc/changes.src b/doc/changes.src index a95dd09..9f8744c 100644 --- a/doc/changes.src +++ b/doc/changes.src @@ -7,6 +7,28 @@ The NASM 2 series supports x86-64, and is the production version of NASM since 2007. +\S{cl-2.11.08} Version 2.11.08 + +\b Fix section length computation in \c{bin} backend which leaded in incorrect + relocation records. + +\b Add a warning for numeric preprocessor definitions passed via command + line which might have unexpected results otherwise. + +\b Add ability to specify a module name record in \c{rdoff} linker with + \c{-mn} option. + +\b Increase label length capacity up to 256 bytes in \c{rdoff} backend for + FreePascal sake, which tends to generate very long labels for procedures. + +\b Fix segmentation failure when rip addressing is used in \c{macho64} backend. + +\b Fix access on out of memory when handling strings with a single + grave. We have sixed similar problem in previous release but not + all cases were covered. + +\b Fix NULL dereference in disassembled on \c{BND} instruction. + \S{cl-2.11.07} Version 2.11.07 \b Fix 256 bit \c{VMOVNTPS} instruction. |
From: nasm-bot f. C. G. <gor...@gm...> - 2015-02-21 19:21:20
|
Commit-ID: 3db63b96ecf79344b9c2618616e4be7c99720a18 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=3db63b96ecf79344b9c2618616e4be7c99720a18 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sat, 21 Feb 2015 22:16:37 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sat, 21 Feb 2015 22:19:23 +0300 NASM 2.11.08 - Fix section length computation in bin backend which leaded in incorrect relocation records. - Add a warning for numeric preprocessor definitions passed via command line which might have unexpected results otherwise. - Add ability to specify a module name record in rdoff linker with -mn option. - Increase label length capacity up to 256 bytes in rdoff backend for FreePascal sake, which tends to generate very long labels for procedures. - Fix segmentation failure when rip addressing is used in macho64 backend. - Fix access on out of memory when handling strings with a single grave. We have sixed similar problem in previous release but not all cases were covered. - Fix NULL dereference in disassembled on BND instruction. Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version b/version index 7674aa7..59cfebf 100644 --- a/version +++ b/version @@ -1 +1 @@ -2.11.07 +nasm-2.11.08 |