aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.h
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2000-10-09 15:09:17 +0000
committerKazu Hirata <kazu@codesourcery.com>2000-10-09 15:09:17 +0000
commit89cdebba1358d2b68fe98449be80bbc3338ebda5 (patch)
treeab36519239c28a9b19b9616798955e431ec73580 /ld/ld.h
parent86b1cc60c0f0ab09253cc6f6554d402fa13e52e6 (diff)
downloadgdb-89cdebba1358d2b68fe98449be80bbc3338ebda5.zip
gdb-89cdebba1358d2b68fe98449be80bbc3338ebda5.tar.gz
gdb-89cdebba1358d2b68fe98449be80bbc3338ebda5.tar.bz2
2000-10-09 Kazu Hirata <kazu@hxi.com>
* ldcref.c: Fix formatting. * ldctor.h: Likewise. * ldemul.c: Likewise. * ldemul.h: Likewise. * ldexp.c: Likewise. * ldexp.h: Likewise. * ldfile.c: Likewise. * ldfile.h: Likewise. * ld.h: Likewise. * ldlang.c: Likewise. * ldlang.h: Likewise. * ldmain.c: Likewise.
Diffstat (limited to 'ld/ld.h')
-rw-r--r--ld/ld.h25
1 files changed, 10 insertions, 15 deletions
diff --git a/ld/ld.h b/ld/ld.h
index 26069b8..6b7db93 100644
--- a/ld/ld.h
+++ b/ld/ld.h
@@ -58,25 +58,23 @@
#define DISCARD_SECTION_NAME "/DISCARD/"
/* A file name list */
-typedef struct name_list
-{
- const char *name;
- struct name_list *next;
-} name_list;
+typedef struct name_list {
+ const char *name;
+ struct name_list *next;
+}
+name_list;
/* A wildcard specification. This is only used in ldgram.y, but it
winds up in ldgram.h, so we need to define it outside. */
-struct wildcard_spec
-{
+struct wildcard_spec {
const char *name;
struct name_list *exclude_name_list;
boolean sorted;
};
/* Extra information we hold on sections */
-typedef struct user_section_struct
-{
+typedef struct user_section_struct {
/* Pointer to the section where this data will go */
struct lang_input_statement_struct *file;
} section_userdata_type;
@@ -96,8 +94,7 @@ typedef struct user_section_struct
#define ALIGN_N(this, boundary) \
((( (this) + ((boundary) -1)) & (~((boundary)-1))))
-typedef struct
-{
+typedef struct {
/* 1 => assign space to common symbols even if `relocatable_output'. */
boolean force_common_definition;
boolean relax;
@@ -161,8 +158,7 @@ extern args_type command_line;
typedef int token_code_type;
-typedef struct
-{
+typedef struct {
bfd_size_type specified_data_size;
boolean magic_demand_paged;
boolean make_executable;
@@ -215,8 +211,7 @@ typedef struct
extern ld_config_type config;
-typedef enum
-{
+typedef enum {
lang_first_phase_enum,
lang_allocating_phase_enum,
lang_final_phase_enum