rs6000: fix xcoff section encoding
commitf5ae6447bd8a551689021e8884726f1d0d077ec2
authorDavid Edelsohn <dje.gcc@gmail.com>
Wed, 15 Sep 2021 21:10:35 +0000 (15 17:10 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Wed, 15 Sep 2021 21:18:00 +0000 (15 17:18 -0400)
treed780a3243d7de8ef920ba675aa05f36d30f90259
parent30e025393209e1936c394e716006cdaaa6d50161
rs6000: fix xcoff section encoding

The encoding needs to be applied if the decl is not an alias: both a NULL
summary *OR* the decl alias flag is false.  This patch updates the
earlier fix to continue with the encoding selection if the summary is
NULL.

gcc/ChangeLog:
* config/rs6000/rs6000.c (rs6000_xcoff_encode_section_info):
Proceed if no symbol summary or the symbol alias flag is false.
gcc/config/rs6000/rs6000.c