bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/11618] Add an option to page-align .bss


From: nickc at redhat dot com
Subject: [Bug ld/11618] Add an option to page-align .bss
Date: 25 May 2010 16:02:09 -0000

------- Additional Comments From nickc at redhat dot com  2010-05-25 16:02 
-------
Hi Taras,

  [You did not mention which target architecture(s) you are interested in, so I
have just tested the following on an x86 host].

  There should be no need to add a new command line option to the linker. 
Instead you can make use of the existing linker script facilities.  Try this:

  % cat align_bss.ld
  . = ALIGN (CONSTANT (MAXPAGESIZE));
  INSERT BEFORE .bss;

Then just add "-Wl,-Talign_bss.ld" to the firefox final link command line.

Cheers
  Nick



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



reply via email to

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