Mercurial > hg > graal-compiler
diff src/share/tools/hsdis/hsdis.c @ 14456:abec000618bf
Merge
author | kvn |
---|---|
date | Tue, 28 Jan 2014 12:25:34 -0800 |
parents | de6a9e811145 c9f0adfb4a8b |
children | 4ca6dc0799b6 |
line wrap: on
line diff
--- a/src/share/tools/hsdis/hsdis.c Tue Jan 28 11:21:43 2014 -0800 +++ b/src/share/tools/hsdis/hsdis.c Tue Jan 28 12:25:34 2014 -0800 @@ -307,7 +307,8 @@ app_data->printf_stream, app_data->printf_callback, native_bfd, - app_data->insn_options); + /* On PowerPC we get warnings, if we pass empty options */ + (caller_options == NULL) ? NULL : app_data->insn_options); /* Finish linking together the various callback blocks. */ app_data->dinfo.application_data = (void*) app_data; @@ -459,6 +460,9 @@ #ifdef LIBARCH_sparcv9 res = "sparc:v9b"; #endif +#ifdef LIBARCH_ppc64 + res = "powerpc:common64"; +#endif if (res == NULL) res = "architecture not set in Makefile!"; return res;