summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-10-02 15:44:53 -0400
committerWolfgang Denk <wd@denx.de>2010-10-06 22:42:14 +0200
commitf44a928e7ea0912f278f2cf8ba1354fccf2ba64e (patch)
treea1ae2a93af5f79f7b3893c9a36803ece28c6ebf4 /lib
parent76221a6cfaac9ff2680bfddde6d7d271ff70d7a0 (diff)
cmd_elf: add an option for loading ELFs according to PHDRs
The current ELF loading function does a lot of work above and beyond a simple "loading". It ignores the real load addresses and loads things into their virtual (runtime) address. This is undesirable when we just want it to load an ELF and let the ELF do the actual C runtime init. So add a command line option to let people choose to load via either the program or section headers. I'd prefer to have program header loading be the default, but this would break historical behavior, so I'll leave section header loading as the norm. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions