diff options
author | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2014-03-20 15:51:02 +0000 |
---|---|---|
committer | Dan Handley <dan.handley@arm.com> | 2014-03-21 17:17:49 +0000 |
commit | 886278e55f3a7e5ab1ba8e12974cf824778c5995 (patch) | |
tree | 62681cfb81e661e81b9b1ced7b7bc9068709cc46 /services/std_svc/psci | |
parent | 6ba0b6d6743534b3d443602dc88558d62ea432b3 (diff) |
Semihosting: Fix file mode to load binaries on Windows
Trusted firmware binaries loaded via semihosting used to be
opened using 'r' mode (i.e. read mode). This is fine on POSIX
conforming systems (including Linux) but for Windows it also means
that the file should be opened in text mode. 'rb' mode must be
specified instead for binary mode. On POSIX conforming systems,
'rb' mode is equivalent to 'r' mode so it does no harm.
Fixes ARM-software/tf-issues#69
Change-Id: Ifa53f2ecfd765f572dea5dd73191f9fe2b2c2011
Diffstat (limited to 'services/std_svc/psci')
0 files changed, 0 insertions, 0 deletions