diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2022-12-16 14:36:43 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-12-16 14:36:43 +0000 |
commit | dfe504de614191eedd712a4dea0eccbf737b64c3 (patch) | |
tree | 6cee490417aa9946ddf54d05b7b41d6f90e29bbe /test10.c | |
parent | d407570557649d5f66f425ee3fa53f9c9331250f (diff) |
The Ubuntu arm-linux-gnueabihf-gcc now defaults to generating PIC
code. This breaks our test executables because it means the code
wants to indirect through a GOT and we don't set that up. There's no
point in producing position-independent code for baremetal binaries
anyway, so just explicitly disable it with -fno-pic.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'test10.c')
0 files changed, 0 insertions, 0 deletions