diff options
author | Cary Coutant <ccoutant@gmail.com> | 2015-03-21 21:09:46 -0700 |
---|---|---|
committer | Cary Coutant <ccoutant@gmail.com> | 2015-03-21 21:09:46 -0700 |
commit | 1c582fe71858efabae951c5f3ed7dccfb23fb86e (patch) | |
tree | fb63e6f7a667e5601b96a5be3f0c73c71f82f0a8 /gdb/python/py-exitedevent.c | |
parent | 410da591ba7814912e11be826b20dfba9abed9f7 (diff) | |
download | binutils-1c582fe71858efabae951c5f3ed7dccfb23fb86e.zip binutils-1c582fe71858efabae951c5f3ed7dccfb23fb86e.tar.gz binutils-1c582fe71858efabae951c5f3ed7dccfb23fb86e.tar.bz2 |
Fix bug when optimizing string pools of aligned strings.
Tail optimization of string pools (enabled when linker is run with -O2
or greater) should not be done when the section alignment is greater
than the size of the characters in the strings; otherwise, unaligned
strings may result.
gold/
PR gold/18010
* stringpool.cc (Stringpool_template): Don't optimize if section
alignment is greater than sizeof(char).
Diffstat (limited to 'gdb/python/py-exitedevent.c')
0 files changed, 0 insertions, 0 deletions