+2021-03-12 Clément Chigot <clement.chigot@atos.net>
+
+ * coff64-rs6000.c (xcoff64_create_csect_from_smclas): Add
+ missing smclass.
+
2021-03-11 Nelson Chu <nelson.chu@sifive.com>
* elfnn-riscv.c (riscv_elf_link_hash_table): New boolean
/* Changes from 32 :
.sv == 8, is only for 32 bit programs
.ti == 12 and .tb == 13 are now reserved. */
- static const char *names[19] =
+ static const char * const names[] =
{
".pr", ".ro", ".db", ".tc", ".ua", ".rw", ".gl", ".xo",
NULL, ".bs", ".ds", ".uc", NULL, NULL, NULL, ".tc0",
- ".td", ".sv64", ".sv3264"
+ ".td", ".sv64", ".sv3264", NULL, ".tl", ".ul", ".te"
};
- if ((19 >= aux->x_csect.x_smclas)
+ if ((aux->x_csect.x_smclas < ARRAY_SIZE (names))
&& (NULL != names[aux->x_csect.x_smclas]))
{