Thomas Heijligen has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30844 )
Change subject: string.h: allow to compile strdup in romstage ......................................................................
Patch Set 3:
(2 comments)
https://review.coreboot.org/#/c/30844/1/src/include/string.h File src/include/string.h:
https://review.coreboot.org/#/c/30844/1/src/include/string.h@54 PS1, Line 54: //#if !defined(__PRE_RAM__)
If this has to be merged, please do not leave this line like this.
Done
https://review.coreboot.org/#/c/30844/1/src/include/string.h@56 PS1, Line 56: {
You can put a […]
When trying to use strdup in romstage you get an usefull linking error: ...: In function `strdup': .../string.h:58: undefind reference to `malloc' ...: Error 1