The "CodeWarrior Development Studio for Power Architecture® Processors Build Tools Reference " says:
-func_align
Specifies alignment of functions in executable code.
Syntax
-func_align 4 | 8 | 16 | 32 | 64 | 128
Remarks
The default alignment is 4. However, at an optimization level 4, the alignment changes to 16. If you are using -func_align 4 (or none) and if you are compiling for VLE, then the linker will compress gaps between VLE functions:
• if those functions are not called by a Classic PPC function
• the function has an alignment greater than 4.
NOTE Compression of the gaps will only happen on files compiled by the CodeWarrior compiler.
------------------------
Questions:
1. Isn't there a contradiction here or how should this be understood?
"If you are using -func_align 4 (or none) and if you are compiling for VLE, then the linker will compress gaps between VLE functions:"
" • the function has an alignment greater than 4."
2. What is "Classic PPC function" ?
3. Why I still have gaps "00 00" between functions: I compile VLE code and "Function alignment"(Code Generation->EPPC Processor) in Codewarrior project settings is set to "4 Byte" (check attachments)?