Message board for the users of flat assembler.
> Compiler Internals > Large address aware
Goto page Previous 1, 2
(Okay, maybe not the last one.)
|24 Feb 2009, 07:46||
should this code generate "Error 1 error LNK2017: 'ADDR32' relocation to '.data' invalid without /LARGEADDRESSAWARE:NO"?
format MS64 COFF
section '.data' data readable writeable
section '.text' code readable executable
xor rdx, rdx
xor rax, [crc32_table+rdx*8]
xor rax, [crc32_table+rdx*8] is what causes error, however it looks perfectly healthy line to me..
|16 Aug 2009, 15:13||
Windows might do this.. but what about other OSs?
Nobody needs to compare addresses like that. Windows still allocates memory at 0x7FFxxxxx for itself so it is not like you get a contiguous block of RAM to use that straddles the boundary to 0x80000000. You have to allocate separate regions to be able to use the high RAM. Doing an address comparison across different regions would not really make sense.
|19 Aug 2009, 10:03||
1.69.23 has this flag implemented as "large" keyword. Use it like:
format PE GUI 4.0 large
format PE large GUI 4.0
|12 Sep 2010, 09:16||
Indeed it can - see http://blogs.technet.com/b/markrussinovich/archive/2008/11/17/3155406.aspx .
Tomasz Grysztar wrote:
- carpe noctem
|12 Sep 2010, 10:41||
|Goto page Previous 1, 2
< Last Thread | Next Thread >
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.