Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
c5434abc
Commit
c5434abc
authored
Nov 18, 2011
by
Attila Nagy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ads2gas translates PRESERVE8, REQUIRE8 and ARM directives
Change-Id: I22c547af80e0bce0c7b5f6054ad0aa61f37d717b
parent
3c755577
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
build/make/ads2gas.pl
build/make/ads2gas.pl
+6
-7
No files found.
build/make/ads2gas.pl
View file @
c5434abc
...
...
@@ -126,15 +126,14 @@ while (<STDIN>)
# ALIGN directive
s/ALIGN/.balign/g
;
#
Strip ARM
s/\sARM/
@ ARM
/g
;
#
ARM code
s/\sARM/
.arm
/g
;
# Strip REQUIRE8
#s/\sREQUIRE8/@ REQUIRE8/g;
s/\sREQUIRE8/@ /g
;
#EQU cause problem
# REQUIRE8 Stack is required to be 8-byte aligned
s/\sREQUIRE8/.eabi_attribute Tag_ABI_align_needed, 1/g
;
#
Strip
PRESERVE8
s/\sPRESERVE8/
@ PRESERVE8
/g
;
# PRESERVE8
Stack 8-byte align is preserved
s/\sPRESERVE8/
.eabi_attribute Tag_ABI_align_preserved, 1
/g
;
# Use PROC and ENDP to give the symbols a .size directive.
# This makes them show up properly in debugging tools like gdb and valgrind.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment