source: mainline/uspace/lib/c/arch/arm32/src/ras_page.h

Last change on this file was eb630cf, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 2 years ago

Fix handling of ABS32 relocation on arm32

A bad symbol reference in entryjmp.S was creating
an ABS32 relocation causing issues for dynamic
linker, leading to the ABS32 relocation being
generally ignored. However, that was not the
correct solution, as doing so breaks stacktrace
code (which emits global function pointers in
static data, creating ABS32 relocs).

The symbol reference in entryjmp.S was fixed by
converting the function to inline assembly, let
GCC deal with variable addresses.

  • Property mode set to 100644
File size: 36 bytes
Line 
1extern volatile unsigned *ras_page;
Note: See TracBrowser for help on using the repository browser.