]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gas: dw2gencfi: use all_cfi_sections instead of cfi_sections
authorIndu Bhagat <indu.bhagat@oracle.com>
Mon, 15 Jan 2024 08:59:35 +0000 (00:59 -0800)
committerIndu Bhagat <indu.bhagat@oracle.com>
Mon, 15 Jan 2024 11:31:35 +0000 (03:31 -0800)
commit71a17ca2f0cc4d364e157f00299f77b05fdec263
treedacd0114b513091602a1e4314786b844fb2a9bc9
parentb0cd3f29e81829190c814aa80e4fee32caa8360b
gas: dw2gencfi: use all_cfi_sections instead of cfi_sections

The code in dw2gencfi.c was checking variable cfi_sections and
all_cfi_sections seemingly randomly.  Accessing all_cfi_sections seems
to the correct variable to access.

The data in cfi_sections has already been propagated to all_cfi_sections
once cfi_dot_startproc () has been called.

gas/
        * dw2gencfi.c (dot_cfi_startproc): Use all_cfi_sections
instead.
        (dot_cfi_endproc): Likewise.
        (dot_cfi_fde_data): Likewise.
gas/dw2gencfi.c