]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/elf32-wasm32.c
HOWTO size encoding
[thirdparty/binutils-gdb.git] / bfd / elf32-wasm32.c
index 999ab58d7dbfe4db5e6912959e2b8eb7968fa2e0..b1f0258c27f8475dfc4b33252833c8620268dd95 100644 (file)
@@ -29,7 +29,7 @@ static reloc_howto_type elf32_wasm32_howto_table[] =
 {
   HOWTO (R_WASM32_NONE,                /* type */
         0,                     /* rightshift */
-        3,                     /* size (0 = byte, 1 = short, 2 = long) */
+        0,                     /* size */
         0,                     /* bitsize */
         false,                 /* pc_relative */
         0,                     /* bitpos */
@@ -44,7 +44,7 @@ static reloc_howto_type elf32_wasm32_howto_table[] =
   /* 32 bit absolute */
   HOWTO (R_WASM32_32,          /* type */
         0,                     /* rightshift */
-        2,                     /* size (0 = byte, 1 = short, 2 = long) */
+        4,                     /* size */
         32,                    /* bitsize */
         false,                 /* pc_relative */
         0,                     /* bitpos */