This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH/RFA] Fix C-referenceable sections with explicit LMAs


On Fri, Dec 06, 2002 at 12:25:43PM -0500, Daniel Jacobowitz wrote:

 > I think this is the last thing I'm waiting on for 2.13.2.
 > 
 > Jason, is this patch still current?  I thought it would require an
 > update after Alan's comment about SIZEOF (and corresponding fix).

My SIZEOF_UNADJ hack is no longer required with Alan's fix, which he
checked into the mainline.  I think my SIZEOF hack still may be required,
however...

My "read-only data can go with .text" patch is still required, however, for
the test case as well as my particular application (which is why I wrote
the test case the way I did).

With the attached patch, the test case passes.  I will verify that it fixes
my actual application shortly (like, within the next hour or so).  I'm still
a bit nervous about SIZEOF not doing quite the right thing.

I'll check in this patch as well as the test case once I've update the
test per Nick's comments.

	* emultempl/elf32.em (place_orphan): If no .rodata output section
	is present, allow read-only data to be placed with .text.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>

Attachment: ld-orphan-patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]