Synchronize include/dwarf2.def with binutils
Checks
| Context |
Check |
Description |
| linaro-tcwg-bot/tcwg_simplebootstrap_build--master-aarch64-bootstrap |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_simplebootstrap_build--master-arm-bootstrap |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_gcc_build--master-arm |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_gcc_check--master-arm |
success
|
Test passed
|
| linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_gcc_check--master-aarch64 |
success
|
Test passed
|
Commit Message
The contents of include/dwarf2.def have diverged between the gcc and
the binutils repositories. Currently, it's impossible to build a combined
tree, as GCC won't build with the binutils version of dwarf2.def and
binutils
won't build with the gcc version. This patch realigns this file by copying
the definition of DW_CFA_AARCH64_negate_ra_state_with_pc from binutils,
restoring the ability to build a combined source tree.
Tested on x86_64-pc-linux-gnu with "make bootstrap".
Ok for mainline?
2025-02-10 Roger Sayle <roger@nextmovesoftware.com>
include/ChangeLog
* dwarf2.def(DW_CFA_AARCH64_negate_ra_state_with_pc): Define.
Thanks in advance,
Roger
--
Comments
On Mon, Feb 10, 2025 at 04:21:28PM -0000, Roger Sayle wrote:
> 2025-02-10 Roger Sayle <roger@nextmovesoftware.com>
>
> include/ChangeLog
> * dwarf2.def(DW_CFA_AARCH64_negate_ra_state_with_pc): Define.
Space after def
Ok for trunk with that nit fixed.
> diff --git a/include/dwarf2.def b/include/dwarf2.def
> index e9acb79df9c..989f078041d 100644
> --- a/include/dwarf2.def
> +++ b/include/dwarf2.def
> @@ -788,6 +788,8 @@ DW_CFA (DW_CFA_hi_user, 0x3f)
>
> /* SGI/MIPS specific. */
> DW_CFA (DW_CFA_MIPS_advance_loc8, 0x1d)
> +/* AArch64 extensions. */
> +DW_CFA (DW_CFA_AARCH64_negate_ra_state_with_pc, 0x2c)
> /* GNU extensions.
> NOTE: DW_CFA_GNU_window_save is multiplexed on Sparc and AArch64. */
> DW_CFA (DW_CFA_GNU_window_save, 0x2d)
Jakub
@@ -788,6 +788,8 @@ DW_CFA (DW_CFA_hi_user, 0x3f)
/* SGI/MIPS specific. */
DW_CFA (DW_CFA_MIPS_advance_loc8, 0x1d)
+/* AArch64 extensions. */
+DW_CFA (DW_CFA_AARCH64_negate_ra_state_with_pc, 0x2c)
/* GNU extensions.
NOTE: DW_CFA_GNU_window_save is multiplexed on Sparc and AArch64. */
DW_CFA (DW_CFA_GNU_window_save, 0x2d)