[llvm-bugs] [Bug 45313] lld sets LMA to VMA for aarch64elf although previous section uses "AT" keyword

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Apr 1 14:33:47 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=45313

Fangrui Song <i at maskray.me> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Fangrui Song <i at maskray.me> ---
Fixed by D76995 (will be included in lld 11)

Sections:
Idx Name          Size      VMA               LMA               File off  Algn 
Flags
  0 .text         0000001c  ffff000000000000  0000000040080000  00010000  2**2 
CONTENTS, ALLOC, LOAD, READONLY,
 CODE
  1 .data         00000010  ffff000000000020  0000000040080020  00010020  2**3 
CONTENTS, ALLOC, LOAD, DATA
  2 .bss          00000004  ffff000000000030  0000000040080030  00010030  2**2 
ALLOC
  3 .rodata       00000007  ffff000000000034  0000000040080034  00010034  2**0 
CONTENTS, ALLOC, LOAD, READONLY,
 DATA
  4 .comment      0000002a  0000000000000000  0000000000000000  0001003b  2**0 
CONTENTS, READONLY

.data, .bss and .rodata's LMA will inherit from a previous AT().

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200401/65886058/attachment.html>


More information about the llvm-bugs mailing list