Remove .struct directive
authorRoberto Vargas <roberto.vargas@arm.com>
Tue, 1 May 2018 08:54:54 +0000 (09:54 +0100)
committerRoberto Vargas <roberto.vargas@arm.com>
Wed, 11 Jul 2018 08:23:02 +0000 (09:23 +0100)
commitf21b9f6d6e6ddda6d92ec25b01f70c30bcc82d57
tree9c6ce52f471ea75695bcd250dfb1bab02a22af29
parentbe7d7f9f510a5e3241979cc55772197cd16e2037
Remove .struct directive

This directive is not implemented by clang assembler. The traditional
way to implement structs in assembly is using two macros for every field,
one for the offset, and another one for the size. For every field, the
offset can be calculated using the size and offset of the previous field.

Change-Id: Iacc6781e8f302fb925898737b8e85ab4e88a51cc
Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
include/lib/cpus/aarch32/cpu_macros.S
include/lib/cpus/aarch64/cpu_macros.S