summaryrefslogtreecommitdiff
path: root/ld/mri.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2004-01-03 12:39:07 +0000
committerAlan Modra <amodra@bigpond.net.au>2004-01-03 12:39:07 +0000
commit5564d75317eb8b8e1dfa758997926dcdac61df65 (patch)
tree7803e0422eadb3ea4d1e5812201cce1637052d19 /ld/mri.c
parentdc09038512881c345ee1935e4b0b1f7c902fa6f4 (diff)
downloadbinutils-redhat-5564d75317eb8b8e1dfa758997926dcdac61df65.tar.gz
* ldexp.c (align_n): Make static.
* ldexp.h (align_n): Delete declaration. * ldlang.h (lang_enter_output_section_statement): Remove block_value param. * ldlang.c (lang_enter_output_section_statement): Likewise. (TO_ADDR, TO_SIZE): Define. (opb): New var. (init_opb): New function. (print_input_section): Call init_opb and use TO_ADDR. (print_data_statement, print_reloc_statement): Likewise. (print_padding_statement): Likewise. (size_input_section): Use TO_SIZE and TO_ADDR, and global opb. (lang_check_section_addresses): Likewise. (lang_size_sections_1): Likewise. (lang_do_assignments_1): Likewise. (lang_set_startof): Likewise. (lang_one_common): Likewise. Combine power_of_two and opb alignment. (lang_process): Call init_opb. (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb. (lang_enter_overlay_section): Adjust lang_enter_output_section_statement call. * ldgram.y: Likewise. * mri.c (mri_draw_tree): Likewise. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise. * emultempl/mmo.em (mmo_place_orphan): Likewise. * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
Diffstat (limited to 'ld/mri.c')
-rw-r--r--ld/mri.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/mri.c b/ld/mri.c
index 41ba582466..f7edd8817f 100644
--- a/ld/mri.c
+++ b/ld/mri.c
@@ -1,6 +1,6 @@
/* mri.c -- handle MRI style linker scripts
- Copyright 1991, 1992, 1993, 1994, 1996, 1997, 1998, 1999, 2000, 2002, 2003
- Free Software Foundation, Inc.
+ Copyright 1991, 1992, 1993, 1994, 1996, 1997, 1998, 1999, 2000, 2002,
+ 2003, 2004 Free Software Foundation, Inc.
This file is part of GLD, the Gnu Linker.
@@ -220,7 +220,7 @@ mri_draw_tree (void)
lang_enter_output_section_statement (p->name, base,
p->ok_to_load ? 0 : noload_section,
- 1, align, subalign, NULL);
+ align, subalign, NULL);
base = 0;
tmp = xmalloc (sizeof *tmp);
tmp->next = NULL;