diff options
author | Stephane Carrez <stcarrez@nerim.fr> | 2002-10-13 09:29:35 +0000 |
---|---|---|
committer | Stephane Carrez <stcarrez@nerim.fr> | 2002-10-13 09:29:35 +0000 |
commit | e1026ffb69bd2e0ba19c66acf7b6f81ca3b0d104 (patch) | |
tree | 7983ebcacb3ab4a857b47ea3d0e478ec4b42a02c /ld/scripttempl | |
parent | ac8c616a590d0d4b4309f77ef53e6770d5af0ed7 (diff) | |
download | gdb-e1026ffb69bd2e0ba19c66acf7b6f81ca3b0d104.zip gdb-e1026ffb69bd2e0ba19c66acf7b6f81ca3b0d104.tar.gz gdb-e1026ffb69bd2e0ba19c66acf7b6f81ca3b0d104.tar.bz2 |
* scripttempl/elfm68hc11.sc: Use KEEP for .vectors, .installN,
.finiN section.
* scripttempl/elfm68hc12.sc: Likewise.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r-- | ld/scripttempl/elfm68hc11.sc | 22 | ||||
-rw-r--r-- | ld/scripttempl/elfm68hc12.sc | 22 |
2 files changed, 22 insertions, 22 deletions
diff --git a/ld/scripttempl/elfm68hc11.sc b/ld/scripttempl/elfm68hc11.sc index 95043ac..0883b97 100644 --- a/ld/scripttempl/elfm68hc11.sc +++ b/ld/scripttempl/elfm68hc11.sc @@ -75,7 +75,7 @@ VECTORS=" PROVIDE (_vectors_addr = DEFINED (vectors_addr) ? vectors_addr : 0xffc0); .vectors DEFINED (vectors_addr) ? vectors_addr : 0xffc0 : { - *(.vectors) + KEEP (*(.vectors)) }" # @@ -111,20 +111,20 @@ esac STARTUP_CODE=" /* Startup code. */ - *(.install0) /* Section should setup the stack pointer. */ - *(.install1) /* Place holder for applications. */ - *(.install2) /* Optional installation of data sections in RAM. */ - *(.install3) /* Place holder for applications. */ - *(.install4) /* Section that calls the main. */ + KEEP (*(.install0)) /* Section should setup the stack pointer. */ + KEEP (*(.install1)) /* Place holder for applications. */ + KEEP (*(.install2)) /* Optional installation of data sections in RAM. */ + KEEP (*(.install3)) /* Place holder for applications. */ + KEEP (*(.install4)) /* Section that calls the main. */ " FINISH_CODE=" /* Finish code. */ - *(.fini0) /* Beginning of finish code (_exit symbol). */ - *(.fini1) /* Place holder for applications. */ - *(.fini2) /* C++ destructors. */ - *(.fini3) /* Place holder for applications. */ - *(.fini4) /* Runtime exit. */ + KEEP (*(.fini0)) /* Beginning of finish code (_exit symbol). */ + KEEP (*(.fini1)) /* Place holder for applications. */ + KEEP (*(.fini2)) /* C++ destructors. */ + KEEP (*(.fini3)) /* Place holder for applications. */ + KEEP (*(.fini4)) /* Runtime exit. */ " PRE_COMPUTE_DATA_SIZE=" diff --git a/ld/scripttempl/elfm68hc12.sc b/ld/scripttempl/elfm68hc12.sc index dbbfbd7..d9a41fd 100644 --- a/ld/scripttempl/elfm68hc12.sc +++ b/ld/scripttempl/elfm68hc12.sc @@ -75,7 +75,7 @@ VECTORS=" PROVIDE (_vectors_addr = DEFINED (vectors_addr) ? vectors_addr : 0xffc0); .vectors DEFINED (vectors_addr) ? vectors_addr : 0xffc0 : { - *(.vectors) + KEEP (*(.vectors)) }" # @@ -110,20 +110,20 @@ esac STARTUP_CODE=" /* Startup code. */ - *(.install0) /* Section should setup the stack pointer. */ - *(.install1) /* Place holder for applications. */ - *(.install2) /* Optional installation of data sections in RAM. */ - *(.install3) /* Place holder for applications. */ - *(.install4) /* Section that calls the main. */ + KEEP (*(.install0)) /* Section should setup the stack pointer. */ + KEEP (*(.install1)) /* Place holder for applications. */ + KEEP (*(.install2)) /* Optional installation of data sections in RAM. */ + KEEP (*(.install3)) /* Place holder for applications. */ + KEEP (*(.install4)) /* Section that calls the main. */ " FINISH_CODE=" /* Finish code. */ - *(.fini0) /* Beginning of finish code (_exit symbol). */ - *(.fini1) /* Place holder for applications. */ - *(.fini2) /* C++ destructors. */ - *(.fini3) /* Place holder for applications. */ - *(.fini4) /* Runtime exit. */ + KEEP (*(.fini0)) /* Beginning of finish code (_exit symbol). */ + KEEP (*(.fini1)) /* Place holder for applications. */ + KEEP (*(.fini2)) /* C++ destructors. */ + KEEP (*(.fini3)) /* Place holder for applications. */ + KEEP (*(.fini4)) /* Runtime exit. */ " PRE_COMPUTE_DATA_SIZE=" |