From: Steve Chamberlain Date: Wed, 16 Aug 1995 20:34:44 +0000 (+0000) Subject: Wed Aug 16 11:38:59 1995 steve chamberlain X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=22cd79c599ea73e9ead3a229c41162cf8377f2a5;p=binutils-gdb.git Wed Aug 16 11:38:59 1995 steve chamberlain * scripttempl/armpe.sc: Always start code at 0x401000, even if -r. * ldwrite.c (strdup): New extern declaration. * ldgram.y (atype): New rule to clarify type parsing. * ldlang.c (init_os): Remove commented out code. (lang_size_sections): Set SEC_ALLOC and SEC_LOAD bits unless told not to by the link script. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index c21cc105ee4..7e18dcea195 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,13 @@ +Wed Aug 16 11:38:59 1995 steve chamberlain + + * scripttempl/armpe.sc: Always start code at 0x401000, even + if -r. + * ldwrite.c (strdup): New extern declaration. + * ldgram.y (atype): New rule to clarify type parsing. + * ldlang.c (init_os): Remove commented out code. + (lang_size_sections): Set SEC_ALLOC and SEC_LOAD bits + unless told not to by the link script. + Wed Aug 16 11:45:11 1995 Ian Lance Taylor * ldlang.c (lang_set_startof): New static function. diff --git a/ld/scripttempl/armpe.sc b/ld/scripttempl/armpe.sc index 208ebeb3514..11a3a1a08fc 100644 --- a/ld/scripttempl/armpe.sc +++ b/ld/scripttempl/armpe.sc @@ -11,7 +11,7 @@ ENTRY(_mainCRTStartup) SECTIONS { - .text ${RELOCATING+ 0x401000} : + .text 0x401000 : { ${RELOCATING+ *(.init);} *(.text)