Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(405)

Side by Side Diff: third_party/android_crazy_linker/src/src/crazy_linker_shared_library.cpp

Issue 328153002: Roll to android/platform/ndk/681f1b744aec1b0888f4c7a68165720db9670300 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fork
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "crazy_linker_shared_library.h" 5 #include "crazy_linker_shared_library.h"
6 6
7 #include <dlfcn.h> 7 #include <dlfcn.h>
8 #include <stdlib.h> 8 #include <stdlib.h>
9 #include <sys/mman.h> 9 #include <sys/mman.h>
10 #include <elf.h> 10 #include <elf.h>
11 #include <sys/exec_elf.h>
12 11
13 #include "crazy_linker_ashmem.h" 12 #include "crazy_linker_ashmem.h"
14 #include "crazy_linker_debug.h" 13 #include "crazy_linker_debug.h"
15 #include "crazy_linker_elf_loader.h" 14 #include "crazy_linker_elf_loader.h"
16 #include "crazy_linker_elf_relocations.h" 15 #include "crazy_linker_elf_relocations.h"
17 #include "crazy_linker_library_list.h" 16 #include "crazy_linker_library_list.h"
18 #include "crazy_linker_library_view.h" 17 #include "crazy_linker_library_view.h"
19 #include "crazy_linker_globals.h" 18 #include "crazy_linker_globals.h"
20 #include "crazy_linker_memory_mapping.h" 19 #include "crazy_linker_memory_mapping.h"
21 #include "crazy_linker_thread.h" 20 #include "crazy_linker_thread.h"
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 if (iter_.GetTag() == DT_NEEDED) { 441 if (iter_.GetTag() == DT_NEEDED) {
443 dep_name_ = symbols_->GetStringById(iter_.GetValue()); 442 dep_name_ = symbols_->GetStringById(iter_.GetValue());
444 iter_.GetNext(); 443 iter_.GetNext();
445 return true; 444 return true;
446 } 445 }
447 } 446 }
448 return false; 447 return false;
449 } 448 }
450 449
451 } // namespace crazy 450 } // namespace crazy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698