1/1
Explanation of the linker file
by scorpion on Nov 11, 2020 |
scorpion
Posts: 5 Joined: Jan 19, 2012 Last seen: Mar 30, 2021 |
||
I am trying to understand some parts of the linker files provided. As an example, the one in *openmsp430/fpga/xilinx_diligent_s3board/software/hw_uart*. Especially the part below. What is its purpose. Moreover why are there two linker files in this directory.
SECTIONS { __interrupt_vector_1 : { KEEP (*(__interrupt_vector_1 )) } > VECT1 __interrupt_vector_2 : { KEEP (*(__interrupt_vector_2 )) } > VECT2 __interrupt_vector_3 : { KEEP (*(__interrupt_vector_3 )) KEEP (*(__interrupt_vector_port1)) } > VECT3 __interrupt_vector_4 : { KEEP (*(__interrupt_vector_4 )) KEEP (*(__interrupt_vector_port2)) } > VECT4 __interrupt_vector_5 : { KEEP (*(__interrupt_vector_5 )) } > VECT5 __interrupt_vector_6 : { KEEP (*(__interrupt_vector_6 )) } > VECT6 __interrupt_vector_7 : { KEEP (*(__interrupt_vector_7 )) } > VECT7 __interrupt_vector_8 : { KEEP (*(__interrupt_vector_8 )) } > VECT8 __interrupt_vector_9 : { KEEP (*(__interrupt_vector_9 )) KEEP (*(__interrupt_vector_timera1)) } > VECT9 __interrupt_vector_10 : { KEEP (*(__interrupt_vector_10)) KEEP (*(__interrupt_vector_timera0)) } > VECT10 __interrupt_vector_11 : { KEEP (*(__interrupt_vector_11)) KEEP (*(__interrupt_vector_wdt)) } > VECT11 __interrupt_vector_12 : { KEEP (*(__interrupt_vector_12)) } > VECT12 __interrupt_vector_13 : { KEEP (*(__interrupt_vector_13)) } > VECT13 __interrupt_vector_14 : { KEEP (*(__interrupt_vector_14)) } > VECT14 __interrupt_vector_15 : { KEEP (*(__interrupt_vector_15)) KEEP (*(__interrupt_vector_nmi)) } > VECT15 __reset_vector : { KEEP (*(__interrupt_vector_16)) KEEP (*(__interrupt_vector_reset)) KEEP (*(.resetvec)) } > RESETVEC |
1/1