aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-11-30 19:30:33 +0000
committerNick Clifton <nickc@redhat.com>2000-11-30 19:30:33 +0000
commit2be3aa031f3db9eadc5313636ab9acbe2cf04eb4 (patch)
tree51d7d67a69a5e12b142c35e8b94a2142d8c4d014 /ld/ldlang.c
parent8d88c4ca53bf3be481587f21611576ff82f38ed5 (diff)
downloadgdb-2be3aa031f3db9eadc5313636ab9acbe2cf04eb4.zip
gdb-2be3aa031f3db9eadc5313636ab9acbe2cf04eb4.tar.gz
gdb-2be3aa031f3db9eadc5313636ab9acbe2cf04eb4.tar.bz2
Add support for x86_64-*-linux-gnu* target
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index d92ebbf..75eb34d 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -120,13 +120,11 @@ static void print_statement_list
PARAMS ((lang_statement_union_type *, lang_output_section_statement_type *));
static void print_statements PARAMS ((void));
static bfd_vma insert_pad
- PARAMS ((lang_statement_union_type **this_ptr, fill_type fill,
- unsigned int power, asection *output_section_statement,
- bfd_vma dot));
+ PARAMS ((lang_statement_union_type **, fill_type,
+ unsigned int, asection *, bfd_vma));
static bfd_vma size_input_section
- PARAMS ((lang_statement_union_type **this_ptr,
- lang_output_section_statement_type *output_section_statement,
- fill_type fill, bfd_vma dot, boolean relax));
+ PARAMS ((lang_statement_union_type **, lang_output_section_statement_type *,
+ fill_type, bfd_vma, boolean));
static void lang_finish PARAMS ((void));
static void ignore_bfd_errors PARAMS ((const char *, ...));
static void lang_check PARAMS ((void));
@@ -197,11 +195,11 @@ etree_type *base; /* Relocation base - or null */
#define cat(a,b) a/**/b
#endif
-#define new_stat(x,y) (cat(x,_type)*) new_statement(cat(x,_enum), sizeof(cat(x,_type)),y)
+#define new_stat(x, y) (cat (x, _type)*) new_statement (cat (x, _enum), sizeof (cat (x, _type)), y)
#define outside_section_address(q) ((q)->output_offset + (q)->output_section->vma)
-#define outside_symbol_address(q) ((q)->value + outside_section_address(q->section))
+#define outside_symbol_address(q) ((q)->value + outside_section_address (q->section))
#define SECTION_NAME_MAP_LENGTH (16)