[patch] Fix pr21328.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Sat Nov 1 18:28:26 PDT 2014


That PR reduces to us producing a relocation for

  .section foo,bar
La:
Lb:
 .long   La-Lb

but not for

  .section foo,bar
zed:
La:
Lb:
 .long   La-Lb

because we don't consider the space before the first visible symbol to
be an atom. My understanding is that it is a regular atom and no
relocation is necessary.

If that is the case, the attached patch fixes the bug.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 1801 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141101/1548c28e/attachment.obj>


More information about the llvm-commits mailing list