diff options
author | Alan Modra <amodra@gmail.com> | 2004-01-03 12:39:07 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-01-03 12:39:07 +0000 |
commit | e5caa5e0caf09b4927fbe0520056c5eac9056fe5 (patch) | |
tree | 22e7de9ee275eaf8b5cbe912e5e101845a01deb3 /ld/emultempl | |
parent | f0424ef6d44063dbe7a0d5cea8c6fb0ecd2f27b0 (diff) | |
download | gdb-e5caa5e0caf09b4927fbe0520056c5eac9056fe5.zip gdb-e5caa5e0caf09b4927fbe0520056c5eac9056fe5.tar.gz gdb-e5caa5e0caf09b4927fbe0520056c5eac9056fe5.tar.bz2 |
* 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/emultempl')
-rw-r--r-- | ld/emultempl/elf32.em | 1 | ||||
-rw-r--r-- | ld/emultempl/mmo.em | 3 | ||||
-rw-r--r-- | ld/emultempl/pe.em | 1 |
3 files changed, 1 insertions, 4 deletions
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 9f68a8a..45749e7 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -1256,7 +1256,6 @@ gld${EMULATION_NAME}_place_orphan (lang_input_statement_type *file, asection *s) os_tail = lang_output_section_statement.tail; os = lang_enter_output_section_statement (secname, address, 0, - (bfd_vma) 0, (etree_type *) NULL, (etree_type *) NULL, load_base); diff --git a/ld/emultempl/mmo.em b/ld/emultempl/mmo.em index 9e19af1..38f1dbf 100644 --- a/ld/emultempl/mmo.em +++ b/ld/emultempl/mmo.em @@ -1,5 +1,5 @@ # This shell script emits a C file. -*- C -*- -# Copyright 2001, 2002, 2003 Free Software Foundation, Inc. +# Copyright 2001, 2002, 2003, 2004 Free Software Foundation, Inc. # # This file is part of GLD, the Gnu Linker. # @@ -127,7 +127,6 @@ mmo_place_orphan (lang_input_statement_type *file, asection *s) os = lang_enter_output_section_statement (bfd_get_section_name (s->owner, s), NULL, 0, - (bfd_vma) 0, (etree_type *) NULL, (etree_type *) NULL, (etree_type *) NULL); diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em index ccf7a8e..4f12d7f 100644 --- a/ld/emultempl/pe.em +++ b/ld/emultempl/pe.em @@ -1647,7 +1647,6 @@ gld_${EMULATION_NAME}_place_orphan (lang_input_statement_type *file, asection *s } os = lang_enter_output_section_statement (outsecname, address, 0, - (bfd_vma) 0, (etree_type *) NULL, (etree_type *) NULL, (etree_type *) NULL); |