[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NOLOAD in ld doesn't do anything
From: |
Brian Eng |
Subject: |
NOLOAD in ld doesn't do anything |
Date: |
Wed, 17 Jul 2002 18:58:59 -0700 |
Hello,
I have been using binutils 2.10 and tried to use 2.11 and 2.11.2, but it
appears that the NOLOAD directive for sections does not do anything.
Attached are a Makefile, test source file and test linker script file, along
with the resulting objdump output from 2.10 and 2.11.2. For 2.10, the
sections just have the ALLOC attribute set; for 2.11.2, CONTENTS, ALLOC,
LOAD, DATA are set for the sections with the NOLOAD attribute.
I am compiling on a PC running FreeBSD 4.3 (gcc 2.95.3), with a target of
powerpc-eabi. No patches were applied.
<<test.tar.gz>>
test.tar.gz
Description: Binary data
- NOLOAD in ld doesn't do anything,
Brian Eng <=