Mercurial > hg > graal-jvmci-8
comparison src/share/tools/hsdis/README @ 6782:5a98bf7d847b
6879063: SA should use hsdis for disassembly
Summary: We should in SA to use hsdis for it like the JVM does to replace the current java based disassembler.
Reviewed-by: twisti, jrose, sla
Contributed-by: yumin.qi@oracle.com
author | minqi |
---|---|
date | Mon, 24 Sep 2012 12:44:00 -0700 |
parents | 3be7439273c5 |
children | e522a00b91aa c9f0adfb4a8b |
comparison
equal
deleted
inserted
replaced
6780:8440414b0fd8 | 6782:5a98bf7d847b |
---|---|
1 Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. | 1 Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. |
2 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 2 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 | 3 |
4 This code is free software; you can redistribute it and/or modify it | 4 This code is free software; you can redistribute it and/or modify it |
5 under the terms of the GNU General Public License version 2 only, as | 5 under the terms of the GNU General Public License version 2 only, as |
6 published by the Free Software Foundation. | 6 published by the Free Software Foundation. |
36 is known to work with binutils 2.17 and binutils 2.19.1. Download a | 36 is known to work with binutils 2.17 and binutils 2.19.1. Download a |
37 copy of the software from http://directory.fsf.org/project/binutils or | 37 copy of the software from http://directory.fsf.org/project/binutils or |
38 one of it's mirrors. Builds targetting windows should use at least | 38 one of it's mirrors. Builds targetting windows should use at least |
39 2.19 and currently requires the use of a cross compiler. | 39 2.19 and currently requires the use of a cross compiler. |
40 | 40 |
41 Binutils should be configured with the '--disable-nls' flag to disable | |
42 Native Language Support, otherwise you might get an "undefined | |
43 reference to `libintl_gettext'" if you try to load hsdis.so on systems | |
44 which don't have NLS by default. It also avoids build problems on | |
45 other configurations that don't include the full NLS support. | |
46 | |
41 The makefile looks for the sources in build/binutils or you can | 47 The makefile looks for the sources in build/binutils or you can |
42 specify it's location to the makefile using BINTUILS=path. It will | 48 specify it's location to the makefile using BINUTILS=path. It will |
43 configure binutils and build it first and then build and link the | 49 configure binutils and build it first and then build and link the |
44 disasembly adapter. Make all will build the default target for your | 50 disasembly adapter. Make all will build the default target for your |
45 platform. If you platform support both 32 and 64 simultaneously then | 51 platform. If you platform support both 32 and 64 simultaneously then |
46 "make both" will build them both at once. "make all64" will | 52 "make both" will build them both at once. "make all64" will |
47 explicitly build the 64 bit version. By default this will build the | 53 explicitly build the 64 bit version. By default this will build the |