title: image compiled with -fPIC and -pie not loading
body: <p>compiled code with the -fPIC and -pie option and with certain checks able to see that binary generated is not havinf TEXTREL and position independent.</p>
  
  <p>But once i load the image i can see that it is terminating, tried to get the exit status with below step in a script, getting the pid and exit status 0</p>
  
  <pre><code>./testASLR-image -n 2048 -m 100 -M 400 -c /config | tee -a /dev/console &amp;
  new_pid = $!                                                                   
  +echo "pid new in while is $new_pid and ! value $!" | tee -a /dev/console $BOOTLOG_FILE
  +wait $!                                                                        
  +echo "exit status is $?" | tee -a /dev/console $BOOTLOG_FILE 
  </code></pre>
  
  <p>it seems returning 0. also it is not entering the main(), no print from main is coming on console.</p>
  
  <p>added signal handler and core generation, it is not generating coredump.</p>
  
  <p>my module use many kernel module and library, Is there any dependency on the shared libray which can cause such loading failure? is there any way to find if my binary is having any such library usage? </p>