Someone wrote in [personal profile] mjg59 2024-01-02 08:36 pm (UTC)

Indeed, it is somewhat odd that we have sections and we have "segments". The former is used by build-time linker and some debugging tools (e.g. if you want your program to map backtrace entries to line numbers). The later is for runtime stuff. Runtime linker and stack-unwinder/exceptions facility. I think "why" is because the latter is somewhat simpler and different enough. E.g. runtime relocations are quite different from build-time relocations. And unwinding has it's own set of "nice" details making it different enough from plain dwarf bits (which reside in some sections).

Post a comment in response:

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org