summaryrefslogtreecommitdiff
path: root/src/arch/alpha
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2014-10-20 18:03:56 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2014-10-20 18:03:56 -0400
commitd6f1c6ce89c16eda7d86c319cc92f551ee352496 (patch)
treed52a9e347638ce933bc7cede46f941de746b9933 /src/arch/alpha
parent6290f981940394a4768b566a6d55aa5e5ca5e839 (diff)
downloadgem5-d6f1c6ce89c16eda7d86c319cc92f551ee352496.tar.xz
x86: Fixes to avoid LTO warnings
This patch fixes a few minor issues that caused link-time warnings when using LTO, mainly for x86. The most important change is how the syscall array is created. Previously gcc and clang would complain that the declaration and definition types did not match. The organisation is now changed to match how it is done for ARM, moving the code that was previously in syscalls.cc into process.cc, and having a class variable pointing to the static array. With these changes, there are no longer any warnings using gcc 4.6.3 with LTO.
Diffstat (limited to 'src/arch/alpha')
0 files changed, 0 insertions, 0 deletions