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
5 files changed