diff mbox

Replace DW_FORM_ref_sup with DW_FORM_ref_sup{4,8}

Message ID 20161220185750.GL21933@tucnak
State New
Headers show

Commit Message

Jakub Jelinek Dec. 20, 2016, 6:57 p.m. UTC
Hi!

Recently DW_FORM_ref_sup (which is meant e.g. for dwz, gcc doesn't emit it)
has been renamed to DW_FORM_ref_sup4 (and changed so that it is always 4
byte) and DW_FORM_ref_sup8 (always 8 byte) has been added.

Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?

2016-12-20  Jakub Jelinek  <jakub@redhat.com>

	* dwarf2.def (DW_FORM_ref_sup): Renamed to ...
	(DW_FORM_ref_sup4): ... this.  New form.
	(DW_FORM_ref_sup8): New form.


	Jakub

Comments

Jason Merrill Dec. 21, 2016, 10:34 p.m. UTC | #1
OK.

On Tue, Dec 20, 2016 at 1:57 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> Hi!
>
> Recently DW_FORM_ref_sup (which is meant e.g. for dwz, gcc doesn't emit it)
> has been renamed to DW_FORM_ref_sup4 (and changed so that it is always 4
> byte) and DW_FORM_ref_sup8 (always 8 byte) has been added.
>
> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
>
> 2016-12-20  Jakub Jelinek  <jakub@redhat.com>
>
>         * dwarf2.def (DW_FORM_ref_sup): Renamed to ...
>         (DW_FORM_ref_sup4): ... this.  New form.
>         (DW_FORM_ref_sup8): New form.
>
> --- include/dwarf2.def.jj       2016-10-31 13:28:05.000000000 +0100
> +++ include/dwarf2.def  2016-12-19 11:40:07.303525953 +0100
> @@ -212,13 +212,14 @@ DW_FORM (DW_FORM_ref_sig8, 0x20)
>  /* DWARF 5.  */
>  DW_FORM (DW_FORM_strx, 0x1a)
>  DW_FORM (DW_FORM_addrx, 0x1b)
> -DW_FORM (DW_FORM_ref_sup, 0x1c)
> +DW_FORM (DW_FORM_ref_sup4, 0x1c)
>  DW_FORM (DW_FORM_strp_sup, 0x1d)
>  DW_FORM (DW_FORM_data16, 0x1e)
>  DW_FORM (DW_FORM_line_strp, 0x1f)
>  DW_FORM (DW_FORM_implicit_const, 0x21)
>  DW_FORM (DW_FORM_loclistx, 0x22)
>  DW_FORM (DW_FORM_rnglistx, 0x23)
> +DW_FORM (DW_FORM_ref_sup8, 0x24)
>  /* Extensions for Fission.  See http://gcc.gnu.org/wiki/DebugFission.  */
>  DW_FORM (DW_FORM_GNU_addr_index, 0x1f01)
>  DW_FORM (DW_FORM_GNU_str_index, 0x1f02)
>
>         Jakub
Jeff Law Jan. 1, 2017, 10:26 p.m. UTC | #2
On 12/20/2016 11:57 AM, Jakub Jelinek wrote:
> Hi!
>
> Recently DW_FORM_ref_sup (which is meant e.g. for dwz, gcc doesn't emit it)
> has been renamed to DW_FORM_ref_sup4 (and changed so that it is always 4
> byte) and DW_FORM_ref_sup8 (always 8 byte) has been added.
>
> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
>
> 2016-12-20  Jakub Jelinek  <jakub@redhat.com>
>
> 	* dwarf2.def (DW_FORM_ref_sup): Renamed to ...
> 	(DW_FORM_ref_sup4): ... this.  New form.
> 	(DW_FORM_ref_sup8): New form.
OK.
jeff
diff mbox

Patch

--- include/dwarf2.def.jj	2016-10-31 13:28:05.000000000 +0100
+++ include/dwarf2.def	2016-12-19 11:40:07.303525953 +0100
@@ -212,13 +212,14 @@  DW_FORM (DW_FORM_ref_sig8, 0x20)
 /* DWARF 5.  */
 DW_FORM (DW_FORM_strx, 0x1a)
 DW_FORM (DW_FORM_addrx, 0x1b)
-DW_FORM (DW_FORM_ref_sup, 0x1c)
+DW_FORM (DW_FORM_ref_sup4, 0x1c)
 DW_FORM (DW_FORM_strp_sup, 0x1d)
 DW_FORM (DW_FORM_data16, 0x1e)
 DW_FORM (DW_FORM_line_strp, 0x1f)
 DW_FORM (DW_FORM_implicit_const, 0x21)
 DW_FORM (DW_FORM_loclistx, 0x22)
 DW_FORM (DW_FORM_rnglistx, 0x23)
+DW_FORM (DW_FORM_ref_sup8, 0x24)
 /* Extensions for Fission.  See http://gcc.gnu.org/wiki/DebugFission.  */
 DW_FORM (DW_FORM_GNU_addr_index, 0x1f01)
 DW_FORM (DW_FORM_GNU_str_index, 0x1f02)