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:
committed by
Uwe Hermann
parent
31b0466525
commit
fae83c43c1
@@ -55,6 +55,11 @@ SECTIONS
|
|||||||
* You may need to fix this if you're using C++.
|
* You may need to fix this if you're using C++.
|
||||||
*/
|
*/
|
||||||
/DISCARD/ : { *(.eh_frame) }
|
/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 = .;
|
end = .;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -55,6 +55,11 @@ SECTIONS
|
|||||||
* You may need to fix this if you're using C++.
|
* You may need to fix this if you're using C++.
|
||||||
*/
|
*/
|
||||||
/DISCARD/ : { *(.eh_frame) }
|
/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 = .;
|
end = .;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -59,6 +59,11 @@ SECTIONS
|
|||||||
* You may need to fix this if you're using C++.
|
* You may need to fix this if you're using C++.
|
||||||
*/
|
*/
|
||||||
/DISCARD/ : { *(.eh_frame) }
|
/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);
|
. = ALIGN(4);
|
||||||
end = .;
|
end = .;
|
||||||
|
|||||||
@@ -59,6 +59,11 @@ SECTIONS
|
|||||||
* You may need to fix this if you're using C++.
|
* You may need to fix this if you're using C++.
|
||||||
*/
|
*/
|
||||||
/DISCARD/ : { *(.eh_frame) }
|
/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);
|
. = ALIGN(4);
|
||||||
end = .;
|
end = .;
|
||||||
|
|||||||
@@ -59,6 +59,11 @@ SECTIONS
|
|||||||
* You may need to fix this if you're using C++.
|
* You may need to fix this if you're using C++.
|
||||||
*/
|
*/
|
||||||
/DISCARD/ : { *(.eh_frame) }
|
/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);
|
. = ALIGN(4);
|
||||||
end = .;
|
end = .;
|
||||||
|
|||||||
Reference in New Issue
Block a user