aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/sim-endian.c
AgeCommit message (Collapse)AuthorFilesLines
2021-06-16sim: ppc: convert to bfd_endianMike Frysinger1-2/+2
Rather than re-invent endian defines, as well as maintain our own list of OS & arch-specific includes, punt all that logic in favor of the bfd ones already set up and maintained elsewhere. We already rely on the bfd library, so leveraging the endian aspect should be fine. This was done for all the other ports years ago, so catch ppc up.
2021-06-16sim: ppc: replace local CONCAT macros with common onesMike Frysinger1-0/+1
Drop local copies of CONCAT macros that the common ansidecl.h provides.
2021-06-16sim: ppc: drop host endian configure optionMike Frysinger1-2/+2
The --enable-sim-hostendian flag was purely so people had an escape route for when cross-compiling. This is because historically, AC_C_BIGENDIAN did not work in those cases. That was fixed a while ago though, so we can require that macro everywhere now and simplify a good bit of code. This was done for all the other ports years ago, so catch ppc up.
2021-05-16sim: switch config.h usage to defs.hMike Frysinger1-1/+3
The defs.h header will take care of including the various config.h headers. For now, it's just config.h, but we'll add more when we integrate gnulib in. This header should be used instead of config.h, and should be the first include in every .c file. We won't rely on the old behavior where we expected files to include the port's sim-main.h which then includes the common sim-basics.h which then includes config.h. We have a ton of code that includes things before sim-main.h, and it sometimes needs to be that way. Creating a dedicated header avoids the ordering mess and implicit inclusion that shows up otherwise.
2012-12-19[sim] Update old contact info in GPL license noticesJoel Brobecker1-2/+1
sim/ChangeLog: Update old contact info in GPL license notices.
2012-12-19Update sim copyright headers from GPLv2-or-later to GPLv3-or-later.Joel Brobecker1-1/+1
gdb/sim/ChangeLog: Update the non-FSF-copyrighted files in sim to GPLv3 or later.
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+74
1999-04-16Initial creation of sourceware repositoryStan Shebs1-79/+0
1995-11-08first stage in function unit support; add new switches & latest code from andrewMichael Meissner1-0/+79