ftrace: align __mcount_loc sections
authorMatt Fleming <matthew.fleming@imgtec.com>
Fri, 7 Nov 2008 13:26:25 +0000 (13:26 +0000)
committerIngo Molnar <mingo@elte.hu>
Sat, 8 Nov 2008 08:51:44 +0000 (09:51 +0100)
commit7d5222a6afa4e429f55df8c086adb747837cbdf5
tree9b3413d92a1ba1cb5237d82c76fb8a48cda7c4fa
parentc76f06945be50564f925799ddfb6235ee4c26aa0
ftrace: align __mcount_loc sections

Impact: add alignment option for recordmcount.pl script

Align the __mcount_loc sections so that architectures with strict
alignment requirements need not worry about performing unaligned
accesses.

This fixes an issue where I was seeing unaligned accesses, which are not
supported on our architecture (the results of an unaligned access are
undefined).

Signed-off-by: Matt Fleming <matthew.fleming@imgtec.com>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
scripts/recordmcount.pl