Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | hurd: Fix static-PIE startup | Samuel Thibault | 2021-12-28 | 1 | -0/+28 |
hurd initialization stages use RUN_HOOK to run various initialization functions. That is however using absolute addresses which need to be relocated, which is done later by csu. We can however easily make the linker compute relative addresses which thus don't need a relocation. The new SET_RELHOOK and RUN_RELHOOK macros implement this. |