Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d8ff31d

Browse files
committed
updated .ld for pretty strings & fix reused attr warning
1 parent 280a369 commit d8ff31d

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

‎cores/esp8266/libc_replacements.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ int IRAM_ATTR _write_r(struct _reent* r, int file, char *ptr, int len) {
9797

9898
int IRAM_ATTR _putc_r(struct _reent* r, int c, FILE* file) __attribute__((weak));
9999

100-
int IRAM_ATTR _putc_r(struct _reent* r, int c, FILE* file) {
100+
int _putc_r(struct _reent* r, int c, FILE* file) {
101101
(void) r;
102102
if (file->_file == STDOUT_FILENO) {
103103
ets_putc(c);

‎tools/sdk/ld/eagle.app.v6.common.ld.h‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,13 @@ SECTIONS
247247
*(.rodata._ZZ*__PRETTY_FUNCTION__)
248248
*(.rodata._ZZ*__func__)
249249

250+
/* __FUNCTION__ global statics */
251+
*(.rodata.*__builtin_FILEstr*)
252+
*(.rodata.*__builtin_FUNCTIONstr*)
253+
*(.rodata.*__func__str*)
254+
*(.rodata.*__FUNCTION__str*)
255+
*(.rodata.*__PRETTY_FUNCTION__str*)
256+
250257
/* std::* exception strings, in their own section to allow string coalescing */
251258
*(.irom.exceptiontext .rodata.exceptiontext)
252259
*(.rodata.*__exception_what__*) /* G++ seems to throw out templatized section attributes */

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /