commit | f2d60520fbe250b1c33c2012f79d21cf16710a8d | [log] [tgz] |
---|---|---|
author | zodiac@gmail.com <zodiac@gmail.com@55e79e8e-603c-11de-8c10-5fe6993ea61f> | Tue Sep 27 15:34:58 2011 |
committer | zodiac@gmail.com <zodiac@gmail.com@55e79e8e-603c-11de-8c10-5fe6993ea61f> | Tue Sep 27 15:34:58 2011 |
tree | 8764804cffc8b889e64fedaa4949250bd0603001 | |
parent | 4fb14f3b8b41a9d9afd1f194b9fd645dc74e61ce [diff] |
In 32bit mode, removed all assembly addressing modes that are incompatible with position independent code. Fedora is configured to refuse running binaries that require relocations. TEST=add -fPIC and -fPIE to CFLAGS and LDFLAGS respectively, then run "scanelf -qT ./preload32.so". There shouldn't be any output. BUG=http://code.google.com/p/chromium/issues/detail?id=87704 Review URL: http://codereview.chromium.org/8036047 git-svn-id: http://seccompsandbox.googlecode.com/svn/trunk@170 55e79e8e-603c-11de-8c10-5fe6993ea61f