aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIndu Bhagat <indu.bhagat@oracle.com>2024-01-15 00:59:15 -0800
committerIndu Bhagat <indu.bhagat@oracle.com>2024-01-15 03:31:35 -0800
commitb0cd3f29e81829190c814aa80e4fee32caa8360b (patch)
treedcddd6d400f4d66bf84953e4e4ed61967d51392b /include
parentb750cfb78e334ccb1bf3c9e1f74282ac9af2d9ae (diff)
downloadgdb-b0cd3f29e81829190c814aa80e4fee32caa8360b.zip
gdb-b0cd3f29e81829190c814aa80e4fee32caa8360b.tar.gz
gdb-b0cd3f29e81829190c814aa80e4fee32caa8360b.tar.bz2
gas: dw2gencfi: minor rejig for cfi_sections_set and all_cfi_sections
cfi_sections_set is best set to true in cfi_dot_startproc (). Setting it to true again in other APIs (dot_cfi_endproc, dot_cfi_fde_data, and cfi_finish) is unnecessary. Also, move setting the global var all_cfi_sections into cfi_set_sections (). gas/ * dw2gencfi.c (cfi_set_sections): Set cfi_sections_set and cfi_sections here. (dot_cfi_startproc): Remove unnecessarily setting cfi_set_sections to true. (dot_cfi_endproc): Likewise. (dot_cfi_fde_data): Likewise. (cfi_finish): Likewise.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions