diff options
author | Clément Chigot <clement.chigot@atos.net> | 2021-07-30 13:56:54 +0200 |
---|---|---|
committer | Clément Chigot <clement.chigot@atos.net> | 2021-08-04 08:54:59 +0200 |
commit | 934cb8492f1745c2883ba6be885e8729f92a258f (patch) | |
tree | d2f4ddc14f74b40ffb87949553981fae4d4da0d7 /opcodes/m32c-asm.c | |
parent | 47fcfcbadce36c7ccc00c69b4c80717a0d6b9288 (diff) | |
download | gdb-934cb8492f1745c2883ba6be885e8729f92a258f.zip gdb-934cb8492f1745c2883ba6be885e8729f92a258f.tar.gz gdb-934cb8492f1745c2883ba6be885e8729f92a258f.tar.bz2 |
gas: always add dummy symbols when creating XCOFF sections.
Most of the algorithms for XCOFF in tc-ppc.c assume that
the csects field of a ppc_xcoff_section isn't NULL.
This was already made for most of the sections with the creation
of a dummy symbol.
This patch simply mades it default when creating a xcoff_section.
gas/
* config/tc-ppc.c (ppc_init_xcoff_section): Always create
the dummy symbol.
(md_begin): Adjust ppc_init_xcoff_section call.
(ppc_comm): Likewise.
(ppc_change_csect): Likewise.
Diffstat (limited to 'opcodes/m32c-asm.c')
0 files changed, 0 insertions, 0 deletions