aboutsummaryrefslogtreecommitdiff
path: root/gprofng/src
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2025-09-03 09:50:17 +0930
committerAlan Modra <amodra@gmail.com>2025-09-03 10:31:35 +0930
commitfcd717899e8a38dd152002ebcb432e6d508b7c38 (patch)
tree977c0a6d12348234a443af311e613f6ac4d1ae69 /gprofng/src
parent11e5824cda9f8d94f6982124eb2c231dfab77bee (diff)
downloadbinutils-fcd717899e8a38dd152002ebcb432e6d508b7c38.zip
binutils-fcd717899e8a38dd152002ebcb432e6d508b7c38.tar.gz
binutils-fcd717899e8a38dd152002ebcb432e6d508b7c38.tar.bz2
Explain frag alignment hacks
"the weird alignment hackery" comment doesn't help anyone understand the code. Explain what is going on. Replace the zero length obstack_alloc with obstack_finish, which by inspection of obstack.h is all the zero length alloc does. * frags.c (frag_alloc): Comment. Replace zero length obstack_alloc with obstack_finish. (frag_new): Remove unnecessary obstack_finish. * write.c (compress_frag, compress_debug): Likewise.
Diffstat (limited to 'gprofng/src')
0 files changed, 0 insertions, 0 deletions