Syntax format:
IMPORT symbol{[WEAK]}
Where symbol is the name of the declared symbol. It is case sensitive.
[WEAK] After specifying this option, if the symbol is not defined in all source files, the compiler will not generate any error message, and the compiler will not search for the symbol in the library that is not currently included.
Instructions for use:
Use the IMPORT pseudo-operation to declare that a symbol is defined in another source file. If the connector cannot resolve the symbol during the link process and the [WEAK] option is not specified in the IMPORT pseudo-operation, the connector will report an error. If the connector cannot resolve the symbol during the link process and the [WEAK] option is specified in the IMPORT pseudo-operation, the connector will not report an error, but will do the following:
- If the symbol is referenced by a B or BL instruction, the symbol is set to the address of the next instruction, and the B or BL instruction is equivalent to a NOP instruction.
- Otherwise the sign is set to 0
Previous article:Successfully ported NET-SNMP to ARM platform
Next article:ARM stack mode
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
- Brief Analysis of Automotive Ethernet Test Content and Test Methods
- How haptic technology can enhance driving safety
- Let’s talk about the “Three Musketeers” of radar in autonomous driving
- Why software-defined vehicles transform cars from tools into living spaces
- How Lucid is overtaking Tesla with smaller motors
- Wi-Fi 8 specification is on the way: 2.4/5/6GHz triple-band operation
- Learn about the future of Wi-Fi 6 / 6E through the Wi-Fi Alliance
- WS2410 high performance and low power consumption 2.4G SOC chip
- Does anyone know what circuit this is and what function it has?
- Two new TI boards
- How to observe the PWM output of DSPF2812 through graph in CCS?
- Improve the clarity of the R329 development board camera
- MSP-EXP430F5529LP Development Board 001-GPIO
- Chip type and model
- Several modes of Bluetooth devices
- Acknowledgements | EEWorld’s 15th anniversary, thank you!