tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: .debug_info relocation
On Sun, Mar 06, 2016 at 12:57:31PM +0100, J. Hannken-Illjes wrote:
> It looks like amd64 uses SHT_RELA for section .debug_info while i386 uses
> SHT_REL.
>
> Which archs use SHT_RELA and which use SHT_REL?
>
> Is there a config file anywhere?
Not sure what you'd want to configure here.
IIRC the binutils backend for i386 only ever uses SHT_REL sections (it
defines USE_REL to 1). On all other architectures the backend could
create both types of relocs - not sure which ones actually do what.
Any tool dealing with it has to support both.
Martin
Home |
Main Index |
Thread Index |
Old Index