diff options
author | Dmitriy Ivanov <dimitry@google.com> | 2015-03-30 18:43:38 -0700 |
---|---|---|
committer | Dmitriy Ivanov <dimitry@google.com> | 2015-03-31 11:49:25 -0700 |
commit | 20d89cb5b0d5eb7546a8fe8da44bbd91564dbdda (patch) | |
tree | 0dad262c1284ec393f11eae840e7603905a2204c /linker/linker_phdr.h | |
parent | 16c77212792808b9e4d8229e64c5b42f4327b6dc (diff) | |
download | android_bionic-20d89cb5b0d5eb7546a8fe8da44bbd91564dbdda.tar.gz android_bionic-20d89cb5b0d5eb7546a8fe8da44bbd91564dbdda.tar.bz2 android_bionic-20d89cb5b0d5eb7546a8fe8da44bbd91564dbdda.zip |
Fix long lines and replace macros with functions.
Change-Id: I4e1cab488d5b2c8e4289da617350a86e72a4ba12
Diffstat (limited to 'linker/linker_phdr.h')
-rw-r--r-- | linker/linker_phdr.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/linker/linker_phdr.h b/linker/linker_phdr.h index 6b917b44e..50f211775 100644 --- a/linker/linker_phdr.h +++ b/linker/linker_phdr.h @@ -84,17 +84,20 @@ class ElfReader { size_t phdr_table_get_load_size(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr)* min_vaddr = nullptr, ElfW(Addr)* max_vaddr = nullptr); -int phdr_table_protect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias); +int phdr_table_protect_segments(const ElfW(Phdr)* phdr_table, + size_t phdr_count, ElfW(Addr) load_bias); -int phdr_table_unprotect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias); +int phdr_table_unprotect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count, + ElfW(Addr) load_bias); -int phdr_table_protect_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias); +int phdr_table_protect_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, + ElfW(Addr) load_bias); -int phdr_table_serialize_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias, - int fd); +int phdr_table_serialize_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, + ElfW(Addr) load_bias, int fd); -int phdr_table_map_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias, - int fd); +int phdr_table_map_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, + ElfW(Addr) load_bias, int fd); #if defined(__arm__) int phdr_table_get_arm_exidx(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias, |