OSDN Git Service

target-ppc: Extract aliases from definitions list
authorAndreas Färber <afaerber@suse.de>
Sun, 17 Feb 2013 23:16:04 +0000 (23:16 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 8 Mar 2013 20:04:45 +0000 (21:04 +0100)
commitfd5ed418c7703bb7403f89f1474b0fe633f989cf
treea233341c01cbf6cd49fce9ab6941693ca2a399ee
parentc4d0a36c3630ad30058406747d3cd4cc6a6eae3c
target-ppc: Extract aliases from definitions list

Move definitions that were 100% identical except for the name into a
list of aliases so that we don't register duplicate CPU types.
Drop the accompanying comments since they don't really add value.

We need to support recursive lookup due to code names referencing a
generic name referencing a specific model revision.

List aliases separately for -cpu ?.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/translate_init.c