Q: Reasoning behind ld -r/-Ur turning off READONLY section flag?
Thomas de Lellis
tdel@windriver.com
Mon Jun 5 17:42:00 GMT 2000
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
More information about the Binutils
mailing list