diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-08-25 06:47:14 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-08-25 06:47:14 -0600 |
commit | 59d9019f45c3e0229b12eda8a57118e6e69f99ea (patch) | |
tree | 72d90a1b7df8e083437b7dd94e1ac65dd7b345e3 /nuttx/binfmt | |
parent | 01e51ebc5a45a44a722fa049d89de79690a0b79b (diff) | |
download | nuttx-59d9019f45c3e0229b12eda8a57118e6e69f99ea.tar.gz nuttx-59d9019f45c3e0229b12eda8a57118e6e69f99ea.tar.bz2 nuttx-59d9019f45c3e0229b12eda8a57118e6e69f99ea.zip |
Change naming of ELF interfaces from arch_ to up_ for consistency
Diffstat (limited to 'nuttx/binfmt')
-rw-r--r-- | nuttx/binfmt/libelf/libelf_bind.c | 4 | ||||
-rw-r--r-- | nuttx/binfmt/libelf/libelf_verify.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/binfmt/libelf/libelf_bind.c b/nuttx/binfmt/libelf/libelf_bind.c index 6ce660ef5..4b54bd01d 100644 --- a/nuttx/binfmt/libelf/libelf_bind.c +++ b/nuttx/binfmt/libelf/libelf_bind.c @@ -211,7 +211,7 @@ static int elf_relocate(FAR struct elf_loadinfo_s *loadinfo, int relidx, /* Now perform the architecture-specific relocation */ - ret = arch_relocate(&rel, &sym, addr); + ret = up_relocate(&rel, &sym, addr); if (ret < 0) { #ifdef CONFIG_ARCH_ADDRENV @@ -329,7 +329,7 @@ int elf_bind(FAR struct elf_loadinfo_s *loadinfo, * contents to memory and invalidating the I cache. */ - arch_coherent_dcache(loadinfo->textalloc, loadinfo->textsize); + up_coherent_dcache(loadinfo->textalloc, loadinfo->textsize); #endif return ret; diff --git a/nuttx/binfmt/libelf/libelf_verify.c b/nuttx/binfmt/libelf/libelf_verify.c index c5f185ec3..ee6c880f6 100644 --- a/nuttx/binfmt/libelf/libelf_verify.c +++ b/nuttx/binfmt/libelf/libelf_verify.c @@ -107,7 +107,7 @@ int elf_verifyheader(FAR const Elf32_Ehdr *ehdr) /* Verify that this file works with the currently configured architecture */ - if (arch_checkarch(ehdr)) + if (up_checkarch(ehdr)) { bdbg("Not a supported architecture\n"); return -ENOEXEC; |