summaryrefslogtreecommitdiffstats
path: root/libpdbg/compiler.h
Commit message (Collapse)AuthorAgeFilesLines
* libpdbg: Remove unused __unused from compiler.hJoel Stanley2017-11-221-1/+0
| | | | | | | | | | | | | | | The compiler.h header contains a macro that defines __unused. When building against uClibc this collides with uClibc_stdio.h: In file included from /usr/include/stdio.h:71:0, from libpdbg/fake.c:17: /usr/include/bits/uClibc_stdio.h:149:16: error: expected identifier or ‘(’ before ‘;’ token void *__unused; /* Placeholder for codeset binding. */ ^ As it is unused in pdbg, remove it. Signed-off-by: Joel Stanley <joel@jms.id.au>
* Clean-up target configuration in preparation for adding P9 supportAlistair Popple2017-03-301-0/+53
The previous implementation of targeting was hardcoded, cumbersome and difficult to reconfigure for different chip types. This moves to a method of configuring targets using device-tree which is much easier to maintain and allows methods to be added to support operations like getmem on POWER9. Signed-off-by: Alistair Popple <alistair@popple.id.au>
OpenPOWER on IntegriCloud