Hi, please consider.

Building hsdis with binutils 2.47 fails because bfd.h no longer defines the 
legacy `FALSE` macro. `init_disassemble_info_from_bfd()` in 
`src/utils/hsdis/binutils/hsdis-binutils.c` still uses `FALSE` when setting 
disassembler_needs_relocs, causing error: 'FALSE' undeclared.

Replace `FALSE` with the standard C boolean false. The file already includes 
`<stdbool.h>` and uses false elsewhere, so this also preserves compatibility 
with older binutils versions.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

-------------

Commit messages:
 - 8394146: hsdis does not build with binutils 2.47

Changes: https://git.openjdk.org/jdk/pull/33282/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33282&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8394146
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/33282.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33282/head:pull/33282

PR: https://git.openjdk.org/jdk/pull/33282

Reply via email to