diff options
| author | H.J. Lu <hjl.tools@gmail.com> | 2025-10-02 09:57:35 +0800 |
|---|---|---|
| committer | H.J. Lu <hjl.tools@gmail.com> | 2025-10-03 05:29:49 +0800 |
| commit | 4cb845ee59587c80bb641209ea109a4a0557f542 (patch) | |
| tree | f96cec87c704bc03e0fc17270c006836c4fadb80 /gdb/python/python-internal.h | |
| parent | 0c757596f90f1ef7049dab7b1d78d4995018c453 (diff) | |
| download | binutils-4cb845ee59587c80bb641209ea109a4a0557f542.zip binutils-4cb845ee59587c80bb641209ea109a4a0557f542.tar.gz binutils-4cb845ee59587c80bb641209ea109a4a0557f542.tar.bz2 | |
elf: Use uint64_t for common symbol alignment warning
Use uint64_t for common symbol alignment warning to avoid
elflink.c:5548:12: runtime error: shift exponent 37 is too large for 32-bit type 'int'
with invalid input in PR ld/33500. Now ld issues:
ld: warning: alignment 137438953472 of common symbol `__afl_global_area_ptr' in pr33500.o is greater than the alignment (8) of its section *COM*
instead of
ld: warning: alignment 32 of common symbol `__afl_global_area_ptr' in pr33500.o is greater than the alignment (8) of its section *COM*
PR ld/33511
* elflink.c (elf_link_add_object_symbols): Use uint64_t for
common symbol alignment warning.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'gdb/python/python-internal.h')
0 files changed, 0 insertions, 0 deletions
