bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/12485] Support for automatic linking via pragma


From: hjl.tools at gmail dot com
Subject: [Bug gold/12485] Support for automatic linking via pragma
Date: Mon, 28 Feb 2011 19:42:22 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12485

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl.tools at gmail dot com

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2011-02-28 19:42:19 
UTC ---
Here is a proposal for H/W S/W Attribute:

1. Minimum ISAs:
    a. Only has EM_386 and EM_X86_64
        i. IA32:
            1) i386
            2) i486
            3) Pentium
            4) Pentium Pro
            5) MMX
            6) SSE
            7) AVX
        ii. EM_X86_64:
            1) SSE2
            2) AVX
        iii. Atom:
            1) SSSE3
    b. Executables/DSOs compiled for Atom, … won't run on all x86 platforms:
        i. Loader can't tell  from EM_386/EM_X86_64 to know what ISAs a program
requires.
2. GNU binutils supports build attribute and run-time platform compatibility
data
    a. Build attribute:
        i. Used by linker to set run-time platform compatibility data
    b. Run-time platform compatibility data
        i. Used by loader to check platform capabilities required by an
executable file/DSO.
    c. Extend to x86:
        i. H/W:
            1) Required ISAs.
                a) Define ISAs tags/attributes
        ii. S/W:
            1) Stack size
            2) Additional libraries:
                a) http://sourceware.org/bugzilla/show_bug.cgi?id=12485
        iii. Extendable:

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]