1/*
2 * Defines the country codes and abbreviations according to ISO 3166.
3 * This is used in ld-address.c (address_finish).
4 *
5 * If you find something missing or wrong, please go to the URL
6 * https://www.gnu.org/software/libc/bugs.html and follow
7 * instructions there to file a bug report.
8 */
9DEFINE_COUNTRY_CODE ("AALAND ISLANDS", AX, ALA, 248)
10DEFINE_COUNTRY_CODE ("AFGHANISTAN", AF, AFG, 4)
11DEFINE_COUNTRY_CODE ("ALBANIA", AL, ALB, 8)
12DEFINE_COUNTRY_CODE ("ALGERIA", DZ, DZA, 12)
13DEFINE_COUNTRY_CODE ("AMERICAN SAMOA", AS, ASM, 16)
14DEFINE_COUNTRY_CODE ("ANDORRA", AD, AND, 20)
15DEFINE_COUNTRY_CODE ("ANGOLA", AO, AGO, 24)
16DEFINE_COUNTRY_CODE ("ANGUILLA", AI, AIA, 660)
17DEFINE_COUNTRY_CODE ("ANTARCTICA", AQ, ATA, 10)
18DEFINE_COUNTRY_CODE ("ANTIGUA AND BARBUDA", AG, ATG, 28)
19DEFINE_COUNTRY_CODE ("ARGENTINA", AR, ARG, 32)
20DEFINE_COUNTRY_CODE ("ARMENIA", AM, ARM, 51)
21DEFINE_COUNTRY_CODE ("ARUBA", AW, ABW, 533)
22DEFINE_COUNTRY_CODE ("AUSTRALIA", AU, AUS, 36)
23DEFINE_COUNTRY_CODE ("AUSTRIA", AT, AUT, 40)
24DEFINE_COUNTRY_CODE ("AZERBAIJAN", AZ, AZE, 31)
25DEFINE_COUNTRY_CODE ("BAHAMAS", BS, BHS, 44)
26DEFINE_COUNTRY_CODE ("BAHRAIN", BH, BHR, 48)
27DEFINE_COUNTRY_CODE ("BANGLADESH", BD, BGD, 50)
28DEFINE_COUNTRY_CODE ("BARBADOS", BB, BRB, 52)
29DEFINE_COUNTRY_CODE ("BELARUS", BY, BLR, 112)
30DEFINE_COUNTRY_CODE ("BELGIUM", BE, BEL, 56)
31DEFINE_COUNTRY_CODE ("BELIZE", BZ, BLZ, 84)
32DEFINE_COUNTRY_CODE ("BENIN", BJ, BEN, 204)
33DEFINE_COUNTRY_CODE ("BERMUDA", BM, BMU, 60)
34DEFINE_COUNTRY_CODE ("BHUTAN", BT, BTN, 64)
35DEFINE_COUNTRY_CODE ("BOLIVIA", BO, BOL, 68)
36DEFINE_COUNTRY_CODE ("BONAIRE, SINT EUSTATIUS AND SABA", BQ, BES, 535)
37DEFINE_COUNTRY_CODE ("BOSNIA AND HERZEGOVINA", BA, BIH, 70)
38DEFINE_COUNTRY_CODE ("BOTSWANA", BW, BWA, 72)
39DEFINE_COUNTRY_CODE ("BOUVET ISLAND", BV, BVT, 74)
40DEFINE_COUNTRY_CODE ("BRAZIL", BR, BRA, 76)
41DEFINE_COUNTRY_CODE ("BRITISH INDIAN OCEAN TERRITORY", IO, IOT, 86)
42DEFINE_COUNTRY_CODE ("BRUNEI DARUSSALAM", BN, BRN, 96)
43DEFINE_COUNTRY_CODE ("BULGARIA", BG, BGR, 100)
44DEFINE_COUNTRY_CODE ("BURKINA FASO", BF, BFA, 854)
45DEFINE_COUNTRY_CODE ("BURUNDI", BI, BDI, 108)
46DEFINE_COUNTRY_CODE ("CAMBODIA", KH, KHM, 116)
47DEFINE_COUNTRY_CODE ("CAMEROON", CM, CMR, 120)
48DEFINE_COUNTRY_CODE ("CANADA", CA, CAN, 124)
49DEFINE_COUNTRY_CODE ("CAPE VERDE", CV, CPV, 132)
50DEFINE_COUNTRY_CODE ("CAYMAN ISLANDS", KY, CYM, 136)
51DEFINE_COUNTRY_CODE ("CENTRAL AFRICAN REPUBLIC", CF, CAF, 140)
52DEFINE_COUNTRY_CODE ("CHAD", TD, TCD, 148)
53DEFINE_COUNTRY_CODE ("CHILE", CL, CHL, 152)
54DEFINE_COUNTRY_CODE ("CHINA", CN, CHN, 156)
55DEFINE_COUNTRY_CODE ("CHRISTMAS ISLAND", CX, CXR, 162)
56DEFINE_COUNTRY_CODE ("COCOS (KEELING) ISLANDS", CC, CCK, 166)
57DEFINE_COUNTRY_CODE ("COLOMBIA", CO, COL, 170)
58DEFINE_COUNTRY_CODE ("COMOROS", KM, COM, 174)
59DEFINE_COUNTRY_CODE ("CONGO", CG, COG, 178)
60DEFINE_COUNTRY_CODE ("CONGO, THE DEMOCRATIC REPUBLIC OF THE", CD, COD, 180)
61DEFINE_COUNTRY_CODE ("COOK ISLANDS", CK, COK, 184)
62DEFINE_COUNTRY_CODE ("COSTA RICA", CR, CRI, 188)
63DEFINE_COUNTRY_CODE ("COTE D'IVOIRE", CI, CIV, 384)
64DEFINE_COUNTRY_CODE ("CROATIA", HR, HRV, 191)
65DEFINE_COUNTRY_CODE ("CUBA", CU, CUB, 192)
66DEFINE_COUNTRY_CODE ("CURACAO", CW, CUW, 531)
67DEFINE_COUNTRY_CODE ("CYPRUS", CY, CYP, 196)
68DEFINE_COUNTRY_CODE ("CZECH REPUBLIC", CZ, CZE, 203)
69DEFINE_COUNTRY_CODE ("DENMARK", DK, DNK, 208)
70DEFINE_COUNTRY_CODE ("DJIBOUTI", DJ, DJI, 262)
71DEFINE_COUNTRY_CODE ("DOMINICA", DM, DMA, 212)
72DEFINE_COUNTRY_CODE ("DOMINICAN REPUBLIC", DO, DOM, 214)
73DEFINE_COUNTRY_CODE ("ECUADOR", EC, ECU, 218)
74DEFINE_COUNTRY_CODE ("EGYPT", EG, EGY, 818)
75DEFINE_COUNTRY_CODE ("EL SALVADOR", SV, SLV, 222)
76DEFINE_COUNTRY_CODE ("EQUATORIAL GUINEA", GQ, GNQ, 226)
77DEFINE_COUNTRY_CODE ("ERITREA", ER, ERI, 232)
78DEFINE_COUNTRY_CODE ("ESTONIA", EE, EST, 233)
79DEFINE_COUNTRY_CODE ("ETHIOPIA", ET, ETH, 231)
80DEFINE_COUNTRY_CODE ("FALKLAND ISLANDS (MALVINAS)", FK, FLK, 238)
81DEFINE_COUNTRY_CODE ("FAROE ISLANDS", FO, FRO, 234)
82DEFINE_COUNTRY_CODE ("FIJI", FJ, FJI, 242)
83DEFINE_COUNTRY_CODE ("FINLAND", FI, FIN, 246)
84DEFINE_COUNTRY_CODE ("FRANCE", FR, FRA, 250)
85DEFINE_COUNTRY_CODE ("FRENCH GUIANA", GF, GUF, 254)
86DEFINE_COUNTRY_CODE ("FRENCH POLYNESIA", PF, PYF, 258)
87DEFINE_COUNTRY_CODE ("FRENCH SOUTHERN TERRITORIES", TF, ATF, 260)
88DEFINE_COUNTRY_CODE ("GABON", GA, GAB, 266)
89DEFINE_COUNTRY_CODE ("GAMBIA", GM, GMB, 270)
90DEFINE_COUNTRY_CODE ("GEORGIA", GE, GEO, 268)
91DEFINE_COUNTRY_CODE ("GERMANY", DE, DEU, 276)
92DEFINE_COUNTRY_CODE ("GHANA", GH, GHA, 288)
93DEFINE_COUNTRY_CODE ("GIBRALTAR", GI, GIB, 292)
94DEFINE_COUNTRY_CODE ("GREECE", GR, GRC, 300)
95DEFINE_COUNTRY_CODE ("GREENLAND", GL, GRL, 304)
96DEFINE_COUNTRY_CODE ("GRENADA", GD, GRD, 308)
97DEFINE_COUNTRY_CODE ("GUADELOUPE", GP, GLP, 312)
98DEFINE_COUNTRY_CODE ("GUAM", GU, GUM, 316)
99DEFINE_COUNTRY_CODE ("GUATEMALA", GT, GTM, 320)
100DEFINE_COUNTRY_CODE ("GUERNSEY", GG, GGY, 831)
101DEFINE_COUNTRY_CODE ("GUINEA", GN, GIN, 324)
102DEFINE_COUNTRY_CODE ("GUINEA-BISSAU", GW, GNB, 624)
103DEFINE_COUNTRY_CODE ("GUYANA", GY, GUY, 328)
104DEFINE_COUNTRY_CODE ("HAITI", HT, HTI, 332)
105DEFINE_COUNTRY_CODE ("HEARD ISLAND AND MCDONALD ISLANDS", HM, HMD, 334)
106DEFINE_COUNTRY_CODE ("HOLY SEE (VATICAN CITY STATE)", VA, VAT, 336)
107DEFINE_COUNTRY_CODE ("HONDURAS", HN, HND, 340)
108DEFINE_COUNTRY_CODE ("HONG KONG", HK, HKG, 344)
109DEFINE_COUNTRY_CODE ("HUNGARY", HU, HUN, 348)
110DEFINE_COUNTRY_CODE ("ICELAND", IS, ISL, 352)
111DEFINE_COUNTRY_CODE ("INDIA", IN, IND, 356)
112DEFINE_COUNTRY_CODE ("INDONESIA", ID, IDN, 360)
113DEFINE_COUNTRY_CODE ("IRAN, ISLAMIC REPUBLIC OF", IR, IRN, 364)
114DEFINE_COUNTRY_CODE ("IRAQ", IQ, IRQ, 368)
115DEFINE_COUNTRY_CODE ("IRELAND", IE, IRL, 372)
116DEFINE_COUNTRY_CODE ("ISLE OF MAN", IM, IMN, 833)
117DEFINE_COUNTRY_CODE ("ISRAEL", IL, ISR, 376)
118DEFINE_COUNTRY_CODE ("ITALY", IT, ITA, 380)
119DEFINE_COUNTRY_CODE ("JAMAICA", JM, JAM, 388)
120DEFINE_COUNTRY_CODE ("JAPAN", JP, JPN, 392)
121DEFINE_COUNTRY_CODE ("JERSEY", JE, JEY, 832)
122DEFINE_COUNTRY_CODE ("JORDAN", JO, JOR, 400)
123DEFINE_COUNTRY_CODE ("KAZAKSTAN", KZ, KAZ, 398)
124DEFINE_COUNTRY_CODE ("KENYA", KE, KEN, 404)
125DEFINE_COUNTRY_CODE ("KIRIBATI", KI, KIR, 296)
126DEFINE_COUNTRY_CODE ("KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF", KP, PRK, 408)
127DEFINE_COUNTRY_CODE ("KOREA, REPUBLIC OF", KR, KOR, 410)
128DEFINE_COUNTRY_CODE ("KUWAIT", KW, KWT, 414)
129DEFINE_COUNTRY_CODE ("KYRGYZSTAN", KG, KGZ, 417)
130DEFINE_COUNTRY_CODE ("LAO PEOPLE'S DEMOCRATIC REPUBLIC", LA, LAO, 418)
131DEFINE_COUNTRY_CODE ("LATVIA", LV, LVA, 428)
132DEFINE_COUNTRY_CODE ("LEBANON", LB, LBN, 422)
133DEFINE_COUNTRY_CODE ("LESOTHO", LS, LSO, 426)
134DEFINE_COUNTRY_CODE ("LIBERIA", LR, LBR, 430)
135DEFINE_COUNTRY_CODE ("LIBYAN ARAB JAMAHIRIYA", LY, LBY, 434)
136DEFINE_COUNTRY_CODE ("LIECHTENSTEIN", LI, LIE, 438)
137DEFINE_COUNTRY_CODE ("LITHUANIA", LT, LTU, 440)
138DEFINE_COUNTRY_CODE ("LUXEMBOURG", LU, LUX, 442)
139DEFINE_COUNTRY_CODE ("MACAU", MO, MAC, 446)
140DEFINE_COUNTRY_CODE ("MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF", MK, MKD, 807)
141DEFINE_COUNTRY_CODE ("MADAGASCAR", MG, MDG, 450)
142DEFINE_COUNTRY_CODE ("MALAWI", MW, MWI, 454)
143DEFINE_COUNTRY_CODE ("MALAYSIA", MY, MYS, 458)
144DEFINE_COUNTRY_CODE ("MALDIVES", MV, MDV, 462)
145DEFINE_COUNTRY_CODE ("MALI", ML, MLI, 466)
146DEFINE_COUNTRY_CODE ("MALTA", MT, MLT, 470)
147DEFINE_COUNTRY_CODE ("MARSHALL ISLANDS", MH, MHL, 584)
148DEFINE_COUNTRY_CODE ("MARTINIQUE", MQ, MTQ, 474)
149DEFINE_COUNTRY_CODE ("MAURITANIA", MR, MRT, 478)
150DEFINE_COUNTRY_CODE ("MAURITIUS", MU, MUS, 480)
151DEFINE_COUNTRY_CODE ("MAYOTTE", YT, MYT, 175)
152DEFINE_COUNTRY_CODE ("MEXICO", MX, MEX, 484)
153DEFINE_COUNTRY_CODE ("MICRONESIA, FEDERATED STATES OF", FM, FSM, 583)
154DEFINE_COUNTRY_CODE ("MOLDOVA, REPUBLIC OF", MD, MDA, 498)
155DEFINE_COUNTRY_CODE ("MONACO", MC, MCO, 492)
156DEFINE_COUNTRY_CODE ("MONGOLIA", MN, MNG, 496)
157DEFINE_COUNTRY_CODE ("MONTENEGRO", ME, MNE, 499)
158DEFINE_COUNTRY_CODE ("MONTSERRAT", MS, MSR, 500)
159DEFINE_COUNTRY_CODE ("MOROCCO", MA, MAR, 504)
160DEFINE_COUNTRY_CODE ("MOZAMBIQUE", MZ, MOZ, 508)
161DEFINE_COUNTRY_CODE ("MYANMAR", MM, MMR, 104)
162DEFINE_COUNTRY_CODE ("NAMIBIA", NA, NAM, 516)
163DEFINE_COUNTRY_CODE ("NAURU", NR, NRU, 520)
164DEFINE_COUNTRY_CODE ("NEPAL", NP, NPL, 524)
165DEFINE_COUNTRY_CODE ("NETHERLANDS", NL, NLD, 528)
166DEFINE_COUNTRY_CODE ("NETHERLANDS ANTILLES", AN, ANT, 530)
167DEFINE_COUNTRY_CODE ("NEW CALEDONIA", NC, NCL, 540)
168DEFINE_COUNTRY_CODE ("NEW ZEALAND", NZ, NZL, 554)
169DEFINE_COUNTRY_CODE ("NICARAGUA", NI, NIC, 558)
170DEFINE_COUNTRY_CODE ("NIGER", NE, NER, 562)
171DEFINE_COUNTRY_CODE ("NIGERIA", NG, NGA, 566)
172DEFINE_COUNTRY_CODE ("NIUE", NU, NIU, 570)
173DEFINE_COUNTRY_CODE ("NORFOLK ISLAND", NF, NFK, 574)
174DEFINE_COUNTRY_CODE ("NORTHERN MARIANA ISLANDS", MP, MNP, 580)
175DEFINE_COUNTRY_CODE ("NORWAY", NO, NOR, 578)
176DEFINE_COUNTRY_CODE ("OMAN", OM, OMN, 512)
177DEFINE_COUNTRY_CODE ("PAKISTAN", PK, PAK, 586)
178DEFINE_COUNTRY_CODE ("PALAU", PW, PLW, 585)
179DEFINE_COUNTRY_CODE ("PALESTINE, STATE OF", PS, PSE, 275)
180DEFINE_COUNTRY_CODE ("PANAMA", PA, PAN, 591)
181DEFINE_COUNTRY_CODE ("PAPUA NEW GUINEA", PG, PNG, 598)
182DEFINE_COUNTRY_CODE ("PARAGUAY", PY, PRY, 600)
183DEFINE_COUNTRY_CODE ("PERU", PE, PER, 604)
184DEFINE_COUNTRY_CODE ("PHILIPPINES", PH, PHL, 608)
185DEFINE_COUNTRY_CODE ("PITCAIRN", PN, PCN, 612)
186DEFINE_COUNTRY_CODE ("POLAND", PL, POL, 616)
187DEFINE_COUNTRY_CODE ("PORTUGAL", PT, PRT, 620)
188DEFINE_COUNTRY_CODE ("PUERTO RICO", PR, PRI, 630)
189DEFINE_COUNTRY_CODE ("QATAR", QA, QAT, 634)
190DEFINE_COUNTRY_CODE ("REUNION", RE, REU, 638)
191DEFINE_COUNTRY_CODE ("ROMANIA", RO, ROU, 642)
192DEFINE_COUNTRY_CODE ("RUSSIAN FEDERATION", RU, RUS, 643)
193DEFINE_COUNTRY_CODE ("RWANDA", RW, RWA, 646)
194DEFINE_COUNTRY_CODE ("SAINT BARTHELEMY", BL, BLM, 652)
195DEFINE_COUNTRY_CODE ("SAINT HELENA", SH, SHN, 654)
196DEFINE_COUNTRY_CODE ("SAINT KITTS AND NEVIS", KN, KNA, 659)
197DEFINE_COUNTRY_CODE ("SAINT LUCIA", LC, LCA, 662)
198DEFINE_COUNTRY_CODE ("SAINT MARTIN (FRENCH PART)", MF, MAF, 663)
199DEFINE_COUNTRY_CODE ("SAINT PIERRE AND MIQUELON", PM, SPM, 666)
200DEFINE_COUNTRY_CODE ("SAINT VINCENT AND THE GRENADINES", VC, VCT, 670)
201DEFINE_COUNTRY_CODE ("SAMOA", WS, WSM, 882)
202DEFINE_COUNTRY_CODE ("SAN MARINO", SM, SMR, 674)
203DEFINE_COUNTRY_CODE ("SAO TOME AND PRINCIPE", ST, STP, 678)
204DEFINE_COUNTRY_CODE ("SAUDI ARABIA", SA, SAU, 682)
205DEFINE_COUNTRY_CODE ("SENEGAL", SN, SEN, 686)
206DEFINE_COUNTRY_CODE ("SERBIA", RS, SRB, 688)
207DEFINE_COUNTRY_CODE ("SEYCHELLES", SC, SYC, 690)
208DEFINE_COUNTRY_CODE ("SIERRA LEONE", SL, SLE, 694)
209DEFINE_COUNTRY_CODE ("SINGAPORE", SG, SGP, 702)
210DEFINE_COUNTRY_CODE ("SINT MAARTEN (DUTCH PART)", SX, SXM, 534)
211DEFINE_COUNTRY_CODE ("SLOVAKIA", SK, SVK, 703)
212DEFINE_COUNTRY_CODE ("SLOVENIA", SI, SVN, 705)
213DEFINE_COUNTRY_CODE ("SOLOMON ISLANDS", SB, SLB, 90)
214DEFINE_COUNTRY_CODE ("SOMALIA", SO, SOM, 706)
215DEFINE_COUNTRY_CODE ("SOUTH AFRICA", ZA, ZAF, 710)
216DEFINE_COUNTRY_CODE ("SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS", GS, SGS, 239)
217DEFINE_COUNTRY_CODE ("SOUTH SUDAN", SS, SSD, 728)
218DEFINE_COUNTRY_CODE ("SPAIN", ES, ESP, 724)
219DEFINE_COUNTRY_CODE ("SRI LANKA", LK, LKA, 144)
220DEFINE_COUNTRY_CODE ("SUDAN", SD, SDN, 729)
221DEFINE_COUNTRY_CODE ("SURINAME", SR, SUR, 740)
222DEFINE_COUNTRY_CODE ("SVALBARD AND JAN MAYEN", SJ, SJM, 744)
223DEFINE_COUNTRY_CODE ("SWAZILAND", SZ, SWZ, 748)
224DEFINE_COUNTRY_CODE ("SWEDEN", SE, SWE, 752)
225DEFINE_COUNTRY_CODE ("SWITZERLAND", CH, CHE, 756)
226DEFINE_COUNTRY_CODE ("SYRIAN ARAB REPUBLIC", SY, SYR, 760)
227DEFINE_COUNTRY_CODE ("TAIWAN, PROVINCE OF CHINA", TW, TWN, 158)
228DEFINE_COUNTRY_CODE ("TAJIKISTAN", TJ, TJK, 762)
229DEFINE_COUNTRY_CODE ("TANZANIA, UNITED REPUBLIC OF", TZ, TZA, 834)
230DEFINE_COUNTRY_CODE ("THAILAND", TH, THA, 764)
231DEFINE_COUNTRY_CODE ("TIMOR-LESTE", TL, TLS, 626)
232DEFINE_COUNTRY_CODE ("TOGO", TG, TGO, 768)
233DEFINE_COUNTRY_CODE ("TOKELAU", TK, TKL, 772)
234DEFINE_COUNTRY_CODE ("TONGA", TO, TON, 776)
235DEFINE_COUNTRY_CODE ("TRINIDAD AND TOBAGO", TT, TTO, 780)
236DEFINE_COUNTRY_CODE ("TUNISIA", TN, TUN, 788)
237DEFINE_COUNTRY_CODE ("TURKEY", TR, TUR, 792)
238DEFINE_COUNTRY_CODE ("TURKMENISTAN", TM, TKM, 795)
239DEFINE_COUNTRY_CODE ("TURKS AND CAICOS ISLANDS", TC, TCA, 796)
240DEFINE_COUNTRY_CODE ("TUVALU", TV, TUV, 798)
241DEFINE_COUNTRY_CODE ("UGANDA", UG, UGA, 800)
242DEFINE_COUNTRY_CODE ("UKRAINE", UA, UKR, 804)
243DEFINE_COUNTRY_CODE ("UNITED ARAB EMIRATES", AE, ARE, 784)
244DEFINE_COUNTRY_CODE ("UNITED KINGDOM", GB, GBR, 826)
245DEFINE_COUNTRY_CODE ("UNITED STATES", US, USA, 840)
246DEFINE_COUNTRY_CODE ("UNITED STATES MINOR OUTLYING ISLANDS", UM, UMI, 581)
247DEFINE_COUNTRY_CODE ("URUGUAY", UY, URY, 858)
248DEFINE_COUNTRY_CODE ("UZBEKISTAN", UZ, UZB, 860)
249DEFINE_COUNTRY_CODE ("VANUATU", VU, VUT, 548)
250DEFINE_COUNTRY_CODE ("VENEZUELA", VE, VEN, 862)
251DEFINE_COUNTRY_CODE ("VIET NAM", VN, VNM, 704)
252DEFINE_COUNTRY_CODE ("VIRGIN ISLANDS, BRITISH", VG, VGB, 92)
253DEFINE_COUNTRY_CODE ("VIRGIN ISLANDS, U.S.", VI, VIR, 850)
254DEFINE_COUNTRY_CODE ("WALLIS AND FUTUNA", WF, WLF, 876)
255DEFINE_COUNTRY_CODE ("WESTERN SAHARA", EH, ESH, 732)
256DEFINE_COUNTRY_CODE ("YEMEN", YE, YEM, 887)
257DEFINE_COUNTRY_CODE ("ZAMBIA", ZM, ZMB, 894)
258DEFINE_COUNTRY_CODE ("ZIMBABWE", ZW, ZWE, 716)
259