Discard .ARM.exidx section to make newlib 64bit (long long) printf support work. This may need to be fixed if using C++.
This commit is contained in:
parent
31b0466525
commit
fae83c43c1
@ -55,6 +55,11 @@ SECTIONS
|
||||
* You may need to fix this if you're using C++.
|
||||
*/
|
||||
/DISCARD/ : { *(.eh_frame) }
|
||||
/*
|
||||
* Another section used by C++ stuff, appears when using newlib with 64bit
|
||||
* (long long) printf support - discard it for now.
|
||||
*/
|
||||
/DISCARD/ : { *(.ARM.exidx) }
|
||||
|
||||
end = .;
|
||||
}
|
||||
|
@ -55,6 +55,11 @@ SECTIONS
|
||||
* You may need to fix this if you're using C++.
|
||||
*/
|
||||
/DISCARD/ : { *(.eh_frame) }
|
||||
/*
|
||||
* Another section used by C++ stuff, appears when using newlib with 64bit
|
||||
* (long long) printf support - discard it for now.
|
||||
*/
|
||||
/DISCARD/ : { *(.ARM.exidx) }
|
||||
|
||||
end = .;
|
||||
}
|
||||
|
@ -59,6 +59,11 @@ SECTIONS
|
||||
* You may need to fix this if you're using C++.
|
||||
*/
|
||||
/DISCARD/ : { *(.eh_frame) }
|
||||
/*
|
||||
* Another section used by C++ stuff, appears when using newlib with 64bit
|
||||
* (long long) printf support - discard it for now.
|
||||
*/
|
||||
/DISCARD/ : { *(.ARM.exidx) }
|
||||
|
||||
. = ALIGN(4);
|
||||
end = .;
|
||||
|
@ -59,6 +59,11 @@ SECTIONS
|
||||
* You may need to fix this if you're using C++.
|
||||
*/
|
||||
/DISCARD/ : { *(.eh_frame) }
|
||||
/*
|
||||
* Another section used by C++ stuff, appears when using newlib with 64bit
|
||||
* (long long) printf support - discard it for now.
|
||||
*/
|
||||
/DISCARD/ : { *(.ARM.exidx) }
|
||||
|
||||
. = ALIGN(4);
|
||||
end = .;
|
||||
|
@ -59,6 +59,11 @@ SECTIONS
|
||||
* You may need to fix this if you're using C++.
|
||||
*/
|
||||
/DISCARD/ : { *(.eh_frame) }
|
||||
/*
|
||||
* Another section used by C++ stuff, appears when using newlib with 64bit
|
||||
* (long long) printf support - discard it for now.
|
||||
*/
|
||||
/DISCARD/ : { *(.ARM.exidx) }
|
||||
|
||||
. = ALIGN(4);
|
||||
end = .;
|
||||
|
Loading…
x
Reference in New Issue
Block a user