patch-src_cmd_8l_asm_c 361 B

12345678910111213
  1. $OpenBSD: patch-src_cmd_8l_asm_c,v 1.1 2016/05/11 15:53:26 jsing Exp $
  2. --- src/cmd/8l/asm.c.orig Mon May 2 17:14:51 2016
  3. +++ src/cmd/8l/asm.c Mon May 2 17:15:08 2016
  4. @@ -497,7 +497,7 @@ adddynsym(Link *ctxt, LSym *s)
  5. addaddr(ctxt, d, s);
  6. /* size */
  7. - adduint32(ctxt, d, 0);
  8. + adduint32(ctxt, d, s->size);
  9. /* type */
  10. t = STB_GLOBAL << 4;