https://sourceware.org/bugzilla/show_bug.cgi?id=33330

            Bug ID: 33330
           Summary: arm linker (and other targets) doesn't add TLS
                    optimisations into --map
           Product: binutils
           Version: 2.46 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: sam at gentoo dot org
  Target Milestone: ---

ld(1) says:

       -M
       --print-map
           Print a link map to the standard output.  A link map provides
information about the link, including the following:
[...]

           •   On some ELF targets, a list of fixups inserted by --relax

                       foo.o: Adjusting branch at 0x00000008 towards "far" in
section .text

               This indicates that the branch at 0x00000008 in foo.o, targeting
the symbol "far" in section .text, has been replaced by a trampoline.

At least for ARM and it seems like other targets too, there's missing entries
in --map for TLS optimisations.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to