pkgsrc/emulators/ia64sim/patches/patch-ae
obache 7e97b9e4f6 Update ia64sim to 0.5.
Changes in Version 0.4
----------------------
1. First draft of a user manual (doc/ia64user.txt)
2. Systems calls to vprintf and program exit
3. Enhancements to single step and display register commands
4. Trace level command
5. Reset hazards command
6  Various bug fixes

Changes in Version 0.5
----------------------
Supports ELF files created by the Intel IA64 Assembler. Not all relocation
types are yet supported.
2008-08-04 08:04:30 +00:00

13 lines
581 B
Text

$NetBSD: patch-ae,v 1.1 2008/08/04 08:04:30 obache Exp $
--- asm/bundle.c.orig 2000-02-19 06:53:57.000000000 +0000
+++ asm/bundle.c
@@ -308,7 +308,7 @@ uint32 bundle_from_file( bundle *vliw, F
BITS(window[maxindex[i]],13,32) <<4;
iprel -= seg_tbl[0].seg_length;
iprel >>=4;
- window[maxindex[i]].q &= 0x1ee00001fff;
+ window[maxindex[i]].q &= UINT64_C(0x1ee00001fff);
window[maxindex[i]].q |= (((iprel & 0xfffff)<< 13) |
(((iprel >> 20) & 1) << 36)) ;