Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/share/tools/hsdis/README Thu Sep 20 03:49:15 2012 -0700 +++ b/src/share/tools/hsdis/README Mon Sep 24 12:44:00 2012 -0700 @@ -1,4 +1,4 @@ -Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. +Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. This code is free software; you can redistribute it and/or modify it @@ -38,8 +38,14 @@ one of it's mirrors. Builds targetting windows should use at least 2.19 and currently requires the use of a cross compiler. +Binutils should be configured with the '--disable-nls' flag to disable +Native Language Support, otherwise you might get an "undefined +reference to `libintl_gettext'" if you try to load hsdis.so on systems +which don't have NLS by default. It also avoids build problems on +other configurations that don't include the full NLS support. + The makefile looks for the sources in build/binutils or you can -specify it's location to the makefile using BINTUILS=path. It will +specify it's location to the makefile using BINUTILS=path. It will configure binutils and build it first and then build and link the disasembly adapter. Make all will build the default target for your platform. If you platform support both 32 and 64 simultaneously then