[LLVMdev] Adding support to LLVM for data & code layout (neededby GHC)

Sam Martin sam.martin at geomerics.com
Thu Jun 17 04:00:40 PDT 2010


Does anyone know whether subsections are specific to the gnu assembler
or whether they are supported by other assemblers, such as masm? 

Or put another way, will this limit the assembly output to the gnu


-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
On Behalf Of David Terei
Sent: 15 June 2010 14:18
To: Andrew Lenharth
Cc: Simon Marlow; LLVM Developers Mailing List
Subject: Re: [LLVMdev] Adding support to LLVM for data & code layout
(neededby GHC)

Hi all,

Just wanted to report that I've found a second way to achieve
data/code layout (the first being the linker script that Eugene

The key is that gnu as supports a feature called subsections.



More information about the llvm-dev mailing list