From 60b6c7005cc4a7ec0812b2e207e90e650b09ac70 Mon Sep 17 00:00:00 2001 From: jdh8d <jdh8d@git.zephyr-software.com> Date: Mon, 25 Apr 2016 17:11:33 +0000 Subject: [PATCH] Former-commit-id: f200f412ba0dd873c57044ad279b331c76c3faee --- tools/ps_analyze.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/ps_analyze.sh b/tools/ps_analyze.sh index 89672e7c4..efcee1e8b 100755 --- a/tools/ps_analyze.sh +++ b/tools/ps_analyze.sh @@ -18,7 +18,7 @@ realpath() { # set default values for ################################################################################## -initial_on_phases="stratafy_with_pc_confine create_binary_script is_so gather_libraries meds_static pdb_register fill_in_cfg fill_in_indtargs clone fix_calls generate_spri spasm fast_annot fast_spri" +initial_on_phases="stratafy_with_pc_confine create_binary_script is_so gather_libraries meds_static pdb_register fill_in_cfg fill_in_indtargs clone fix_calls generate_spri spasm fast_annot fast_spri preLoaded_ILR1 preLoaded_ILR2" ################################################################################## @@ -114,7 +114,7 @@ adjust_lib_path() # also, add newdir to the ld-library path for analysis. - LD_LIBRARY_PATH=$NEWPATH:$PWD/$newdir + export LD_LIBRARY_PATH=$NEWPATH:$PWD/$newdir } check_step_option() @@ -244,8 +244,9 @@ check_options() if [ "X$2" = "Xzipr" ]; then echo using Zipr backend export backend="zipr" - phases_spec=" $phases_spec stratafy_with_pc_confine=off generate_spri=off spasm=off fast_annot=off zipr=on\ - preLoaded_ILR1=off preLoaded_ILR2=off fast_spri=off " + phases_spec=" $phases_spec stratafy_with_pc_confine=off generate_spri=off spasm=off fast_annot=off zipr=on preLoaded_ILR1=off preLoaded_ILR2=off fast_spri=off " + phases_spec=${phases_spec/preLoaded_ILR1=on/} + phases_spec=${phases_spec/preLoaded_ILR2=on/} step_options_gather_libraries="$step_options_gather_libraries --main_exe_only" elif [ "X$2" = "Xstrata" ]; then echo using Strata backend -- GitLab