am b1f1de4d: Merge "Fix volantis boot."
				
					
				
			* commit 'b1f1de4dd4b1a3802abd5284de9ebfe6a98057f1': Fix volantis boot.
This commit is contained in:
		@@ -1384,7 +1384,8 @@ LOCAL_LDFLAGS := -Wl,--version-script,$(LOCAL_PATH)/version_script.txt
 | 
				
			|||||||
# We'd really like to do this for all architectures, but since this wasn't done
 | 
					# We'd really like to do this for all architectures, but since this wasn't done
 | 
				
			||||||
# before, these symbols must continue to be exported on LP32 for binary
 | 
					# before, these symbols must continue to be exported on LP32 for binary
 | 
				
			||||||
# compatibility.
 | 
					# compatibility.
 | 
				
			||||||
LOCAL_LDFLAGS_64 := -Wl,--exclude-libs,libgcc.a
 | 
					# TODO: disabled for http://b/20065774.
 | 
				
			||||||
 | 
					#LOCAL_LDFLAGS_64 := -Wl,--exclude-libs,libgcc.a
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# TODO: This is to work around b/19059885. Remove after root cause is fixed
 | 
					# TODO: This is to work around b/19059885. Remove after root cause is fixed
 | 
				
			||||||
LOCAL_LDFLAGS_arm := -Wl,--hash-style=sysv
 | 
					LOCAL_LDFLAGS_arm := -Wl,--hash-style=sysv
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -40,6 +40,8 @@ libc_bionic_src_files_arm64 += \
 | 
				
			|||||||
    arch-arm64/bionic/syscall.S \
 | 
					    arch-arm64/bionic/syscall.S \
 | 
				
			||||||
    arch-arm64/bionic/vfork.S \
 | 
					    arch-arm64/bionic/vfork.S \
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Work around for http://b/20065774.
 | 
				
			||||||
 | 
					libc_bionic_src_files_arm64 += arch-arm64/bionic/libgcc_compat.c
 | 
				
			||||||
 | 
					
 | 
				
			||||||
libc_crt_target_cflags_arm64 := \
 | 
					libc_crt_target_cflags_arm64 := \
 | 
				
			||||||
    -I$(LOCAL_PATH)/arch-arm64/include
 | 
					    -I$(LOCAL_PATH)/arch-arm64/include
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										11
									
								
								libc/arch-arm64/bionic/libgcc_compat.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								libc/arch-arm64/bionic/libgcc_compat.c
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
				
			|||||||
 | 
					/* STOPSHIP: remove this once the flounder blobs have been rebuilt (http://b/20065774). */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					extern void __clear_cache(char*, char*);
 | 
				
			||||||
 | 
					extern char _Unwind_Backtrace;
 | 
				
			||||||
 | 
					extern char _Unwind_GetIP;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					void* __bionic_libgcc_compat_symbols[] = {
 | 
				
			||||||
 | 
					    &__clear_cache,
 | 
				
			||||||
 | 
					    &_Unwind_Backtrace,
 | 
				
			||||||
 | 
					    &_Unwind_GetIP,
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
@@ -1,4 +1,9 @@
 | 
				
			|||||||
LIBC {
 | 
					LIBC {
 | 
				
			||||||
 | 
					  global:
 | 
				
			||||||
 | 
					    /* Work-around for http://b/20065774. */
 | 
				
			||||||
 | 
					    __clear_cache;
 | 
				
			||||||
 | 
					    _Unwind_Backtrace;
 | 
				
			||||||
 | 
					    _Unwind_GetIP;
 | 
				
			||||||
  local:
 | 
					  local:
 | 
				
			||||||
    _ZSt7nothrow;
 | 
					    _ZSt7nothrow;
 | 
				
			||||||
    _ZdaPv;
 | 
					    _ZdaPv;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user