Skip to content
This repository has been archived by the owner on Dec 26, 2018. It is now read-only.

Commit

Permalink
Fix ARM 4-byte align warning.
Browse files Browse the repository at this point in the history
Signed-off-by: Zachary Waldowski <zwaldowski@gmail.com>
  • Loading branch information
zwaldowski committed Apr 24, 2012
1 parent e14d988 commit 0374885
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ios/src/arm/sysv.S
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
#if defined(__thumb__) && !defined(__THUMB_INTERWORK__)
#define ARM_FUNC_START(name) \
.text; \
.align 0; \
.align 4; \
.thumb; \
.thumb_func; \
ENTRY(name); \
Expand All @@ -130,7 +130,7 @@ _L__##name: \
#else
#define ARM_FUNC_START(name) \
.text; \
.align 0; \
.align 4; \
.arm; \
ENTRY(name); \
UNWIND .fnstart
Expand Down
1 change: 0 additions & 1 deletion libffi.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@ Pod::Spec.new do |s|
else
s.source_files = 'osx/include/*.h', 'osx/src/x86/{darwin.S,darwin64.S,ffi.c,ffi64.c}', 'src/{closures,prep_cif,raw_api,types}.c'
end
s.xcconfig = { 'OTHER_LDFLAGS' => "-Wl,-no_compact_unwind" }
end

0 comments on commit 0374885

Please sign in to comment.