author | Sai Ramakurthi <s-ramakurthi@ti.com> | |
Mon, 3 Apr 2023 07:22:51 +0000 (12:52 +0530) | ||
committer | Rishabh Garg <rishabh@ti.com> | |
Fri, 5 May 2023 16:54:01 +0000 (11:54 -0500) | ||
commit | bf17c9fdc621e5b8045e26e8cc6dcbddbc2a017a | |
tree | b9b69c87a808f859c32cf1e1411dbb7aa60989d9 | tree | snapshot (tar.xz tar.gz zip) |
parent | ad3c441e2b2a57739afafb14746746b9cfe6ed97 | commit | diff |
[PDK-11856][Compiler Migration]: Changes to migrate compiler from clang 1.3.1 to
clang 2.1.3.
- Following changes needed for the 2.1.3 compiler
- If a variable is set and not used anywhere that compiler throws an
error
- Wild cards are not supported in the OUTPUT sections of linker file
- Use link time optimization flag(-flto) while compiling and linking
- For more details, see here - https://confluence.itg.ti.com/display/Drivers/TI-Clang+Compiler+Migration%3A+1.3.0+to+2.1.3
Signed-off-by: Sai Ramakurthi <s-ramakurthi@ti.com>
clang 2.1.3.
- Following changes needed for the 2.1.3 compiler
- If a variable is set and not used anywhere that compiler throws an
error
- Wild cards are not supported in the OUTPUT sections of linker file
- Use link time optimization flag(-flto) while compiling and linking
- For more details, see here - https://confluence.itg.ti.com/display/Drivers/TI-Clang+Compiler+Migration%3A+1.3.0+to+2.1.3
Signed-off-by: Sai Ramakurthi <s-ramakurthi@ti.com>
54 files changed: