mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
sim: fix func call style (space before paren)
Committed this as obvious: -foo(...); +foo (...); Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
@@ -151,7 +151,7 @@ sim_config (SIM_DESC sd)
|
||||
&& !bfd_big_endian (STATE_PROG_BFD (sd))))
|
||||
prefered_target_byte_order = 0;
|
||||
else
|
||||
prefered_target_byte_order = (bfd_little_endian(STATE_PROG_BFD (sd))
|
||||
prefered_target_byte_order = (bfd_little_endian (STATE_PROG_BFD (sd))
|
||||
? LITTLE_ENDIAN
|
||||
: BIG_ENDIAN);
|
||||
|
||||
@@ -241,15 +241,15 @@ sim_config (SIM_DESC sd)
|
||||
if (STATE_ENVIRONMENT (sd) == ALL_ENVIRONMENT)
|
||||
{
|
||||
const char *env =
|
||||
tree_find_string_property(root, "/openprom/options/env");
|
||||
STATE_ENVIRONMENT (sd) = ((strcmp(env, "user") == 0
|
||||
|| strcmp(env, "uea") == 0)
|
||||
tree_find_string_property (root, "/openprom/options/env");
|
||||
STATE_ENVIRONMENT (sd) = ((strcmp (env, "user") == 0
|
||||
|| strcmp (env, "uea") == 0)
|
||||
? USER_ENVIRONMENT
|
||||
: (strcmp(env, "virtual") == 0
|
||||
|| strcmp(env, "vea") == 0)
|
||||
: (strcmp (env, "virtual") == 0
|
||||
|| strcmp (env, "vea") == 0)
|
||||
? VIRTUAL_ENVIRONMENT
|
||||
: (strcmp(env, "operating") == 0
|
||||
|| strcmp(env, "oea") == 0)
|
||||
: (strcmp (env, "operating") == 0
|
||||
|| strcmp (env, "oea") == 0)
|
||||
? OPERATING_ENVIRONMENT
|
||||
: ALL_ENVIRONMENT);
|
||||
}
|
||||
@@ -262,7 +262,7 @@ sim_config (SIM_DESC sd)
|
||||
#if (WITH_TREE_PROPERTIES)
|
||||
if (current_alignment == 0)
|
||||
current_alignment =
|
||||
(tree_find_boolean_property(root, "/openprom/options/strict-alignment?")
|
||||
(tree_find_boolean_property (root, "/openprom/options/strict-alignment?")
|
||||
? STRICT_ALIGNMENT
|
||||
: NONSTRICT_ALIGNMENT);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user