This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Q: Reasoning behind ld -r/-Ur turning off READONLY section flag?
- To: binutils at sourceware dot cygnus dot com
- Subject: Q: Reasoning behind ld -r/-Ur turning off READONLY section flag?
- From: Thomas de Lellis <tdel at windriver dot com>
- Date: Mon, 05 Jun 2000 17:42:34 -0700
Greetings List!
Can anyone tell me the reason why we are resetting the text section
READONLY flag to R/W on partial links? Didn't notice anything offhand in
ChangeLog.
case 'i':
case 'r':
link_info.relocateable = true;
config.build_constructors = false;
config.magic_demand_paged = false;
config.text_read_only = false; <<<<<<<< Bzzt!
config.dynamic_link = false;
break;
Thanks!
Tom