1*e4b17023SJohn Marino /* Common code for the plugin and lto1. 2*e4b17023SJohn Marino Copyright (C) 2009 Free Software Foundation, Inc. 3*e4b17023SJohn Marino Contributed by Rafael Avila de Espindola (espindola@google.com). 4*e4b17023SJohn Marino 5*e4b17023SJohn Marino This program is free software; you can redistribute it and/or modify 6*e4b17023SJohn Marino it under the terms of the GNU General Public License as published by 7*e4b17023SJohn Marino the Free Software Foundation; either version 3 of the License, or 8*e4b17023SJohn Marino (at your option) any later version. 9*e4b17023SJohn Marino 10*e4b17023SJohn Marino This program is distributed in the hope that it will be useful, 11*e4b17023SJohn Marino but WITHOUT ANY WARRANTY; without even the implied warranty of 12*e4b17023SJohn Marino MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13*e4b17023SJohn Marino GNU General Public License for more details. 14*e4b17023SJohn Marino 15*e4b17023SJohn Marino You should have received a copy of the GNU General Public License 16*e4b17023SJohn Marino along with this program; if not, write to the Free Software 17*e4b17023SJohn Marino Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 18*e4b17023SJohn Marino 02110-1301, USA. */ 19*e4b17023SJohn Marino 20*e4b17023SJohn Marino #include "common.h" 21*e4b17023SJohn Marino 22*e4b17023SJohn Marino const char *lto_kind_str[5] __attribute__ ((visibility ("hidden"))) = 23*e4b17023SJohn Marino { 24*e4b17023SJohn Marino "DEF", "WEAKDEF", "UNDEF", 25*e4b17023SJohn Marino "WEAKUNDEF", "COMMON" 26*e4b17023SJohn Marino }; 27*e4b17023SJohn Marino 28*e4b17023SJohn Marino const char *lto_visibility_str[4] __attribute__ ((visibility ("hidden"))) = 29*e4b17023SJohn Marino { 30*e4b17023SJohn Marino "DEFAULT", "PROTECTED", 31*e4b17023SJohn Marino "INTERNAL", "HIDDEN" 32*e4b17023SJohn Marino }; 33*e4b17023SJohn Marino 34*e4b17023SJohn Marino const char *lto_resolution_str[10] __attribute__ ((visibility ("hidden"))) = 35*e4b17023SJohn Marino { 36*e4b17023SJohn Marino "UNKNOWN", 37*e4b17023SJohn Marino "UNDEF", 38*e4b17023SJohn Marino "PREVAILING_DEF", 39*e4b17023SJohn Marino "PREVAILING_DEF_IRONLY", 40*e4b17023SJohn Marino "PREEMPTED_REG", 41*e4b17023SJohn Marino "PREEMPTED_IR", 42*e4b17023SJohn Marino "RESOLVED_IR", 43*e4b17023SJohn Marino "RESOLVED_EXEC", 44*e4b17023SJohn Marino "RESOLVED_DYN", 45*e4b17023SJohn Marino "PREVAILING_DEF_IRONLY_EXP", 46*e4b17023SJohn Marino }; 47*e4b17023SJohn Marino 48