aboutsummaryrefslogtreecommitdiff
path: root/gcc/go/gofrontend/parse.cc
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel@linux.ibm.com>2023-12-18 17:54:42 +0100
committerAndreas Krebbel <krebbel@linux.ibm.com>2023-12-18 19:42:37 +0100
commitf85fdf59c91fe4aa56633347268d144d3e075844 (patch)
tree6a1a6648b4c4d60b08e0c5f1d583f55120a60abd /gcc/go/gofrontend/parse.cc
parent4554a151d0ec62332c332175ec1017f853006b60 (diff)
downloadgcc-f85fdf59c91fe4aa56633347268d144d3e075844.zip
gcc-f85fdf59c91fe4aa56633347268d144d3e075844.tar.gz
gcc-f85fdf59c91fe4aa56633347268d144d3e075844.tar.bz2
IBM Z: Cover weak symbols with -munaligned-symbols
With the recently introduced -munaligned-symbols option byte-sized variables which are resolved externally are considered to be potentially misaligned. However, this should rather also be applied to symbols which resolve locally if they are weak. Done with this patch. gcc/ChangeLog: * config/s390/s390.cc (s390_encode_section_info): Replace SYMBOL_REF_LOCAL_P with decl_binds_to_current_def_p. gcc/testsuite/ChangeLog: * gcc.target/s390/unaligned-2.c: New test.
Diffstat (limited to 'gcc/go/gofrontend/parse.cc')
0 files changed, 0 insertions, 0 deletions