OSDN Git Service

* lto-elf.c (is_compatible_architecture): New static function.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Mar 2010 10:29:22 +0000 (10:29 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Mar 2010 10:29:22 +0000 (10:29 +0000)
commita219f6a52a9801cb4f78a160ede2232e8feeb564
tree6805e654c85670ebc42d596cd83da2367d72cbfc
parentb54ee9da0b20ad3cf77d5f563223df3a402dc9e7
* lto-elf.c (is_compatible_architecture): New static function.
(DEFINE_VALIDATE_EHDR): Use it to validate the architecture.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157192 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/lto/ChangeLog
gcc/lto/lto-elf.c