summaryrefslogtreecommitdiff
path: root/build/make/ads2gas.pl
AgeCommit message (Collapse)Author
2014-02-05ads2gas.pl: Don't require perl to be in a fixed locationMartin Storsjo
This reduces the differences to ads2gas_apple.pl. Change-Id: Ie30e369e3685b35485efe2296f7cdf91dafee1e7
2013-05-22thumb: Add a parameter for specifying a shift offset for the pc addition ↵Martin Storsjo
conversion The branch instructions are encoded as 16 bit instructions by the microsoft assembler, while they are encoded as 32 bit instructions by gnu binutils. Change-Id: I622b9025df3520c08eef8447df078f5517fb4b67
2013-05-21ads2gas: Factorize thumb instruction replacements into a separate perl moduleMartin Storsjo
Change-Id: Ie7b83ad696e4743c844df8e9ef5899aca65cc92e
2013-05-15ads2gas: Use the correct perl string comparison operatorMartin Storsjo
Using == ended up matching no matter what string was passed in (which so far only happened if when the -thumb parameter was set). Change-Id: Ifa7b611d016d984aec3b697b5a1a07839f7508dc
2013-05-13ads2gas: Allow converting code to thumb modeMartin Storsjo
Currently this only supports thumb2. This involves rewriting certain instructions that can't be expressed in thumb2 into equivalent instruction sequences. The regexps for rewriting are currently written pretty narrowly, only covering the exact cases currently encountered in the code base. No IT instructions are added (since that would require more logic than plain regexps), so using the thumb mode requires enabling -mimplicit-it=always/thumb. Change-Id: I1f676ad1d351381f02bcf00105102aa8dd7ae364
2012-11-08ads2gas.pl: convert push/pop and whole keywords.Ahmad Sharif
This change converts push to stmdb and pop to ldmia. In addition word boundaries are obeyed using \b avoiding substituion where not appropriate. Patch provided by ihf@chromium.org. TEST=Used on many Daisy assembly files. BUG=None. Change-Id: Ie5b197b158edd0467294551d0b640c8db6530d95
2012-11-02ads2gas.pl: various enhancements to work with flash.Ahmad Sharif
TEST=Ran it on different asm files. Change-Id: Ief2a009366787954d0eb5c356c64acaef350cf84
2012-01-04Use number instead of string for eabi_attribute.Fritz Koenig
Current android ndk compiler does not recognize strings for attributes. Numerical equivalents can be found in the "ARM IHI 0045C" document. Change-Id: I72de85b8949dc0ae5212af604fff1d5a91a828ea
2011-11-18ads2gas translates PRESERVE8, REQUIRE8 and ARM directivesAttila Nagy
Change-Id: I22c547af80e0bce0c7b5f6054ad0aa61f37d717b
2011-07-21Merge "Add .size directive to ARM asm functions."Johann
2011-07-21Add .size directive to ARM asm functions.Timothy B. Terriberry
This makes them show up properly in debugging tools like gdb and valgrind. Change-Id: I0c72548a1090de88ba226314e5efe63360b7e07f
2011-07-21Mark ARM asm objects as allowing a non-executable stack.Timothy B. Terriberry
This adds the magic .note.GNU-stack section at the end of each ARM asm file (when built with gas), indicating that a non-executable stack is allowed. Without this section, the linker will assume the object requires an executable stack by default, forcing an executable stack for the entire program. Change-Id: Ie86de6a449b52d392b9e5e0479833ed8c508ee65
2011-06-27respect alignment in arm asm filesJohann
Conversion script was discarding alignment. Also, set default alignment to 4 bytes. Change-Id: I1e9cbbb8c142bdf93df4e9aaccf967ed43dff906 https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/789198
2011-05-06neon fast quantizer updatedTero Rintaluoma
vp8_fast_quantize_b_neon function updated and further optimized. - match current C implementation of fast quantizer - updated to use asm_enc_offsets for structure members - updated ads2gas scripts to handle alignment issues Change-Id: I5cbad9c460ad8ddb35d2970a8684cc620711c56d
2010-09-09Use WebM in copyright notice for consistencyJohn Koleszar
Changes 'The VP8 project' to 'The WebM project', for consistency with other webmproject.org repositories. Fixes issue #97. Change-Id: I37c13ed5fbdb9d334ceef71c6350e9febed9bbba
2010-06-18cosmetics: trim trailing whitespaceJohn Koleszar
When the license headers were updated, they accidentally contained trailing whitespace, so unfortunately we have to touch all the files again. Change-Id: I236c05fade06589e417179c0444cb39b09e4200d
2010-06-04LICENSE: update with latest textJohn Koleszar
Change-Id: Ieebea089095d9073b3a94932791099f614ce120c
2010-05-18Initial WebM releaseJohn Koleszar