diff -uprN binutils-2.16.90.0.2/bfd/acinclude.m4 binutils-2.16.90.0.3/bfd/acinclude.m4 --- binutils-2.16.90.0.2/bfd/acinclude.m4 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/acinclude.m4 2005-05-10 15:46:40.000000000 -0700 @@ -1,4 +1,3 @@ -sinclude(../config/accross.m4) sinclude(../config/acx.m4) sinclude(../bfd/bfd.m4) sinclude(../bfd/warning.m4) diff -uprN binutils-2.16.90.0.2/bfd/aix386-core.c binutils-2.16.90.0.3/bfd/aix386-core.c --- binutils-2.16.90.0.2/bfd/aix386-core.c 2004-07-27 21:36:06.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/aix386-core.c 2005-05-10 15:46:40.000000000 -0700 @@ -21,7 +21,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/aix5ppc-core.c binutils-2.16.90.0.3/bfd/aix5ppc-core.c --- binutils-2.16.90.0.2/bfd/aix5ppc-core.c 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/aix5ppc-core.c 2005-05-10 15:46:40.000000000 -0700 @@ -18,8 +18,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, - MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ #include "bfd.h" diff -uprN binutils-2.16.90.0.2/bfd/aout0.c binutils-2.16.90.0.3/bfd/aout0.c --- binutils-2.16.90.0.2/bfd/aout0.c 2001-10-04 14:35:43.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/aout0.c 2005-05-10 15:46:40.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define TARGETNAME "a.out-zero-big" diff -uprN binutils-2.16.90.0.2/bfd/aout32.c binutils-2.16.90.0.3/bfd/aout32.c --- binutils-2.16.90.0.2/bfd/aout32.c 2001-03-09 11:15:25.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/aout32.c 2005-05-10 15:46:40.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define ARCH_SIZE 32 diff -uprN binutils-2.16.90.0.2/bfd/aout64.c binutils-2.16.90.0.3/bfd/aout64.c --- binutils-2.16.90.0.2/bfd/aout64.c 2001-03-09 11:15:25.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/aout64.c 2005-05-10 15:46:40.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define ARCH_SIZE 64 diff -uprN binutils-2.16.90.0.2/bfd/aout-adobe.c binutils-2.16.90.0.3/bfd/aout-adobe.c --- binutils-2.16.90.0.2/bfd/aout-adobe.c 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/aout-adobe.c 2005-05-10 15:46:40.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/aout-arm.c binutils-2.16.90.0.3/bfd/aout-arm.c --- binutils-2.16.90.0.2/bfd/aout-arm.c 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/aout-arm.c 2005-05-10 15:46:40.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/aout-cris.c binutils-2.16.90.0.3/bfd/aout-cris.c --- binutils-2.16.90.0.2/bfd/aout-cris.c 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/aout-cris.c 2005-05-10 15:46:40.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* See info in the file PORTING for documentation of these macros and functions. Beware; some of the information there is outdated. */ diff -uprN binutils-2.16.90.0.2/bfd/aoutf1.h binutils-2.16.90.0.3/bfd/aoutf1.h --- binutils-2.16.90.0.2/bfd/aoutf1.h 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/aoutf1.h 2005-05-10 15:46:40.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/aout-ns32k.c binutils-2.16.90.0.3/bfd/aout-ns32k.c --- binutils-2.16.90.0.2/bfd/aout-ns32k.c 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/aout-ns32k.c 2005-05-10 15:46:40.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "aout/aout64.h" diff -uprN binutils-2.16.90.0.2/bfd/aout-sparcle.c binutils-2.16.90.0.3/bfd/aout-sparcle.c --- binutils-2.16.90.0.2/bfd/aout-sparcle.c 2001-10-04 14:35:43.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/aout-sparcle.c 2005-05-10 15:46:40.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define TARGETNAME "a.out-sparc-little" diff -uprN binutils-2.16.90.0.2/bfd/aout-target.h binutils-2.16.90.0.3/bfd/aout-target.h --- binutils-2.16.90.0.2/bfd/aout-target.h 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/aout-target.h 2005-05-10 15:46:40.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "aout/aout64.h" #include "aout/stab_gnu.h" diff -uprN binutils-2.16.90.0.2/bfd/aout-tic30.c binutils-2.16.90.0.3/bfd/aout-tic30.c --- binutils-2.16.90.0.2/bfd/aout-tic30.c 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/aout-tic30.c 2005-05-10 15:46:40.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TARGET_IS_BIG_ENDIAN_P #define N_HEADER_IN_TEXT(x) 1 diff -uprN binutils-2.16.90.0.2/bfd/aoutx.h binutils-2.16.90.0.3/bfd/aoutx.h --- binutils-2.16.90.0.2/bfd/aoutx.h 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/aoutx.h 2005-05-10 15:46:40.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* SECTION @@ -5318,11 +5318,11 @@ NAME (aout, final_link) (bfd *abfd, { if (obj_textsec (abfd) != NULL) trsize += (_bfd_count_link_order_relocs (obj_textsec (abfd) - ->link_order_head) + ->map_head.link_order) * obj_reloc_entry_size (abfd)); if (obj_datasec (abfd) != NULL) drsize += (_bfd_count_link_order_relocs (obj_datasec (abfd) - ->link_order_head) + ->map_head.link_order) * obj_reloc_entry_size (abfd)); } @@ -5414,7 +5414,7 @@ NAME (aout, final_link) (bfd *abfd, include. */ for (o = abfd->sections; o != NULL; o = o->next) { - for (p = o->link_order_head; p != NULL; p = p->next) + for (p = o->map_head.link_order; p != NULL; p = p->next) if (p->type == bfd_indirect_link_order) p->u.indirect.section->linker_mark = TRUE; } @@ -5422,7 +5422,7 @@ NAME (aout, final_link) (bfd *abfd, have_link_order_relocs = FALSE; for (o = abfd->sections; o != NULL; o = o->next) { - for (p = o->link_order_head; + for (p = o->map_head.link_order; p != NULL; p = p->next) { @@ -5467,7 +5467,7 @@ NAME (aout, final_link) (bfd *abfd, { for (o = abfd->sections; o != NULL; o = o->next) { - for (p = o->link_order_head; + for (p = o->map_head.link_order; p != NULL; p = p->next) { diff -uprN binutils-2.16.90.0.2/bfd/archive64.c binutils-2.16.90.0.3/bfd/archive64.c --- binutils-2.16.90.0.2/bfd/archive64.c 2005-04-09 12:02:55.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/archive64.c 2005-05-10 15:46:40.000000000 -0700 @@ -19,7 +19,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file supports the 64-bit (MIPS) ELF archives. */ diff -uprN binutils-2.16.90.0.2/bfd/archive.c binutils-2.16.90.0.3/bfd/archive.c --- binutils-2.16.90.0.2/bfd/archive.c 2005-04-09 12:02:55.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/archive.c 2005-05-10 15:46:40.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* @setfilename archive-info diff -uprN binutils-2.16.90.0.2/bfd/archures.c binutils-2.16.90.0.3/bfd/archures.c --- binutils-2.16.90.0.2/bfd/archures.c 2005-04-09 12:02:55.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/archures.c 2005-05-10 15:46:40.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/armnetbsd.c binutils-2.16.90.0.3/bfd/armnetbsd.c --- binutils-2.16.90.0.2/bfd/armnetbsd.c 2005-04-09 12:02:55.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/armnetbsd.c 2005-05-10 15:46:40.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define BYTES_IN_WORD 4 #undef TARGET_IS_BIG_ENDIAN_P diff -uprN binutils-2.16.90.0.2/bfd/bfd.c binutils-2.16.90.0.3/bfd/bfd.c --- binutils-2.16.90.0.2/bfd/bfd.c 2005-04-09 12:02:55.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/bfd.c 2005-05-10 15:46:40.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* SECTION @@ -111,8 +111,8 @@ CODE_FRAGMENT . {* Pointer to linked list of sections. *} . struct bfd_section *sections; . -. {* The place where we add to the section list. *} -. struct bfd_section **section_tail; +. {* The last section on the section list. *} +. struct bfd_section *section_last; . . {* The number of sections. *} . unsigned int section_count; @@ -1390,7 +1390,7 @@ CODE_FRAGMENT . flagword flags; . const struct bfd_arch_info *arch_info; . struct bfd_section *sections; -. struct bfd_section **section_tail; +. struct bfd_section *section_last; . unsigned int section_count; . struct bfd_hash_table section_htab; .}; @@ -1424,7 +1424,7 @@ bfd_preserve_save (bfd *abfd, struct bfd preserve->arch_info = abfd->arch_info; preserve->flags = abfd->flags; preserve->sections = abfd->sections; - preserve->section_tail = abfd->section_tail; + preserve->section_last = abfd->section_last; preserve->section_count = abfd->section_count; preserve->section_htab = abfd->section_htab; @@ -1435,7 +1435,7 @@ bfd_preserve_save (bfd *abfd, struct bfd abfd->arch_info = &bfd_default_arch_struct; abfd->flags &= BFD_IN_MEMORY; abfd->sections = NULL; - abfd->section_tail = &abfd->sections; + abfd->section_last = NULL; abfd->section_count = 0; return TRUE; @@ -1465,7 +1465,7 @@ bfd_preserve_restore (bfd *abfd, struct abfd->flags = preserve->flags; abfd->section_htab = preserve->section_htab; abfd->sections = preserve->sections; - abfd->section_tail = preserve->section_tail; + abfd->section_last = preserve->section_last; abfd->section_count = preserve->section_count; /* bfd_release frees all memory more recently bfd_alloc'd than diff -uprN binutils-2.16.90.0.2/bfd/bfd-in2.h binutils-2.16.90.0.3/bfd/bfd-in2.h --- binutils-2.16.90.0.2/bfd/bfd-in2.h 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/bfd-in2.h 2005-05-10 15:46:40.000000000 -0700 @@ -26,7 +26,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef __BFD_H_SEEN__ #define __BFD_H_SEEN__ @@ -644,7 +644,10 @@ extern bfd_boolean bfd_elf_get_bfd_neede (bfd *, struct bfd_link_needed_list **); extern bfd_boolean bfd_elf_size_dynamic_sections (bfd *, const char *, const char *, const char *, const char * const *, - struct bfd_link_info *, struct bfd_section **, struct bfd_elf_version_tree *); + struct bfd_link_info *, struct bfd_section **, + struct bfd_elf_version_tree *); +extern bfd_boolean bfd_elf_size_dynsym_hash_dynstr + (bfd *, struct bfd_link_info *); extern void bfd_elf_set_dt_needed_name (bfd *, const char *); extern const char *bfd_elf_get_dt_soname @@ -704,6 +707,9 @@ extern struct bfd_section *_bfd_elf_tls_ extern void _bfd_elf_provide_symbol (struct bfd_link_info *, const char *, bfd_vma); +extern void _bfd_elf_provide_section_bound_symbols + (struct bfd_link_info *, struct bfd_section *sec, const char *, const char *); + extern bfd_boolean bfd_m68k_elf32_create_embedded_relocs (bfd *, struct bfd_link_info *, struct bfd_section *, struct bfd_section *, char **); @@ -1063,6 +1069,9 @@ typedef struct bfd_section /* The next section in the list belonging to the BFD, or NULL. */ struct bfd_section *next; + /* The previous section in the list belonging to the BFD, or NULL. */ + struct bfd_section *prev; + /* The field flags contains attributes of the section. Some flags are read in from the object file, and some are synthesized from other information. */ @@ -1393,8 +1402,14 @@ typedef struct bfd_section struct bfd_symbol *symbol; struct bfd_symbol **symbol_ptr_ptr; - struct bfd_link_order *link_order_head; - struct bfd_link_order *link_order_tail; + /* Early in the link process, map_head and map_tail are used to build + a list of input sections attached to an output section. Later, + output sections use these fields for a list of bfd_link_order + structs. */ + union { + struct bfd_link_order *link_order; + struct bfd_section *s; + } map_head, map_tail; } asection; /* These sections are global, and are managed by BFD. The application @@ -1437,31 +1452,92 @@ extern const struct bfd_symbol * const b /* Macros to handle insertion and deletion of a bfd's sections. These only handle the list pointers, ie. do not adjust section_count, target_index etc. */ -#define bfd_section_list_remove(ABFD, PS) \ +#define bfd_section_list_remove(ABFD, S) \ + do \ + { \ + asection *_s = S; \ + asection *_next = _s->next; \ + asection *_prev = _s->prev; \ + if (_prev) \ + _prev->next = _next; \ + else \ + (ABFD)->sections = _next; \ + if (_next) \ + _next->prev = _prev; \ + else \ + (ABFD)->section_last = _prev; \ + } \ + while (0) +#define bfd_section_list_append(ABFD, S) \ do \ { \ - asection **_ps = PS; \ - asection *_s = *_ps; \ - *_ps = _s->next; \ - if (_s->next == NULL) \ - (ABFD)->section_tail = _ps; \ + asection *_s = S; \ + bfd *_abfd = ABFD; \ + _s->next = NULL; \ + if (_abfd->section_last) \ + { \ + _s->prev = _abfd->section_last; \ + _abfd->section_last->next = _s; \ + } \ else \ - _s->next = NULL; \ + { \ + _s->prev = NULL; \ + _abfd->sections = _s; \ + } \ + _abfd->section_last = _s; \ } \ while (0) -#define bfd_section_list_insert(ABFD, PS, S) \ +#define bfd_section_list_prepend(ABFD, S) \ do \ { \ - asection **_ps = PS; \ asection *_s = S; \ - _s->next = *_ps; \ - *_ps = _s; \ - if (_s->next == NULL) \ - (ABFD)->section_tail = &_s->next; \ + bfd *_abfd = ABFD; \ + _s->prev = NULL; \ + if (_abfd->sections) \ + { \ + _s->next = _abfd->sections; \ + _abfd->sections->prev = _s; \ + } \ + else \ + { \ + _s->next = NULL; \ + _abfd->section_last = _s; \ + } \ + _abfd->sections = _s; \ + } \ + while (0) +#define bfd_section_list_insert_after(ABFD, A, S) \ + do \ + { \ + asection *_a = A; \ + asection *_s = S; \ + asection *_next = _a->next; \ + _s->next = _next; \ + _s->prev = _a; \ + _a->next = _s; \ + if (_next) \ + _next->prev = _s; \ + else \ + (ABFD)->section_last = _s; \ + } \ + while (0) +#define bfd_section_list_insert_before(ABFD, B, S) \ + do \ + { \ + asection *_b = B; \ + asection *_s = S; \ + asection *_prev = _b->prev; \ + _s->prev = _prev; \ + _s->next = _b; \ + _b->prev = _s; \ + if (_prev) \ + _prev->next = _s; \ + else \ + (ABFD)->sections = _s; \ } \ while (0) #define bfd_section_removed_from_list(ABFD, S) \ - ((S)->next == NULL && &(S)->next != (ABFD)->section_tail) + ((S)->next == NULL ? (ABFD)->section_last != (S) : (S)->next->prev != (S)) void bfd_section_list_clear (bfd *); @@ -1478,8 +1554,14 @@ char *bfd_get_unique_section_name asection *bfd_make_section_old_way (bfd *abfd, const char *name); +asection *bfd_make_section_anyway_with_flags + (bfd *abfd, const char *name, flagword flags); + asection *bfd_make_section_anyway (bfd *abfd, const char *name); +asection *bfd_make_section_with_flags + (bfd *, const char *name, flagword flags); + asection *bfd_make_section (bfd *, const char *name); bfd_boolean bfd_set_section_flags @@ -1515,9 +1597,6 @@ bfd_boolean bfd_copy_private_section_dat #define bfd_copy_private_section_data(ibfd, isection, obfd, osection) \ BFD_SEND (obfd, _bfd_copy_private_section_data, \ (ibfd, isection, obfd, osection)) -void _bfd_strip_section_from_output - (struct bfd_link_info *info, asection *section); - bfd_boolean bfd_generic_is_group_section (bfd *, const asection *sec); bfd_boolean bfd_generic_discard_group (bfd *abfd, asection *group); @@ -4026,8 +4105,8 @@ struct bfd /* Pointer to linked list of sections. */ struct bfd_section *sections; - /* The place where we add to the section list. */ - struct bfd_section **section_tail; + /* The last section on the section list. */ + struct bfd_section *section_last; /* The number of sections. */ unsigned int section_count; @@ -4287,7 +4366,7 @@ struct bfd_preserve flagword flags; const struct bfd_arch_info *arch_info; struct bfd_section *sections; - struct bfd_section **section_tail; + struct bfd_section *section_last; unsigned int section_count; struct bfd_hash_table section_htab; }; diff -uprN binutils-2.16.90.0.2/bfd/bfd-in.h binutils-2.16.90.0.3/bfd/bfd-in.h --- binutils-2.16.90.0.2/bfd/bfd-in.h 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/bfd-in.h 2005-05-10 15:46:40.000000000 -0700 @@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef __BFD_H_SEEN__ #define __BFD_H_SEEN__ @@ -637,7 +637,10 @@ extern bfd_boolean bfd_elf_get_bfd_neede (bfd *, struct bfd_link_needed_list **); extern bfd_boolean bfd_elf_size_dynamic_sections (bfd *, const char *, const char *, const char *, const char * const *, - struct bfd_link_info *, struct bfd_section **, struct bfd_elf_version_tree *); + struct bfd_link_info *, struct bfd_section **, + struct bfd_elf_version_tree *); +extern bfd_boolean bfd_elf_size_dynsym_hash_dynstr + (bfd *, struct bfd_link_info *); extern void bfd_elf_set_dt_needed_name (bfd *, const char *); extern const char *bfd_elf_get_dt_soname @@ -697,6 +700,9 @@ extern struct bfd_section *_bfd_elf_tls_ extern void _bfd_elf_provide_symbol (struct bfd_link_info *, const char *, bfd_vma); +extern void _bfd_elf_provide_section_bound_symbols + (struct bfd_link_info *, struct bfd_section *sec, const char *, const char *); + extern bfd_boolean bfd_m68k_elf32_create_embedded_relocs (bfd *, struct bfd_link_info *, struct bfd_section *, struct bfd_section *, char **); diff -uprN binutils-2.16.90.0.2/bfd/bfdio.c binutils-2.16.90.0.3/bfd/bfdio.c --- binutils-2.16.90.0.2/bfd/bfdio.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/bfdio.c 2005-05-10 15:46:40.000000000 -0700 @@ -20,7 +20,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/bfdwin.c binutils-2.16.90.0.3/bfd/bfdwin.c --- binutils-2.16.90.0.2/bfd/bfdwin.c 2004-01-14 13:07:42.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/bfdwin.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/binary.c binutils-2.16.90.0.3/bfd/binary.c --- binutils-2.16.90.0.2/bfd/binary.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/binary.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This is a BFD backend which may be used to write binary objects. It may only be used for output, not input. The intention is that diff -uprN binutils-2.16.90.0.2/bfd/bout.c binutils-2.16.90.0.3/bfd/bout.c --- binutils-2.16.90.0.2/bfd/bout.c 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/bout.c 2005-05-10 15:46:41.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cache.c binutils-2.16.90.0.3/bfd/cache.c --- binutils-2.16.90.0.2/bfd/cache.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/cache.c 2005-05-10 15:46:41.000000000 -0700 @@ -19,7 +19,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* SECTION diff -uprN binutils-2.16.90.0.2/bfd/cf-i386lynx.c binutils-2.16.90.0.3/bfd/cf-i386lynx.c --- binutils-2.16.90.0.2/bfd/cf-i386lynx.c 2001-03-09 11:15:28.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cf-i386lynx.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cf-m68klynx.c binutils-2.16.90.0.3/bfd/cf-m68klynx.c --- binutils-2.16.90.0.2/bfd/cf-m68klynx.c 1999-06-03 11:01:52.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/cf-m68klynx.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define TARGET_SYM m68klynx_coff_vec #define TARGET_NAME "coff-m68k-lynx" diff -uprN binutils-2.16.90.0.2/bfd/cf-sparclynx.c binutils-2.16.90.0.3/bfd/cf-sparclynx.c --- binutils-2.16.90.0.2/bfd/cf-sparclynx.c 2001-03-09 11:15:28.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cf-sparclynx.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define TARGET_SYM sparclynx_coff_vec #define TARGET_NAME "coff-sparc-lynx" diff -uprN binutils-2.16.90.0.2/bfd/ChangeLog binutils-2.16.90.0.3/bfd/ChangeLog --- binutils-2.16.90.0.2/bfd/ChangeLog 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/ChangeLog 2005-05-10 15:46:40.000000000 -0700 @@ -1,3 +1,495 @@ +2005-05-09 Kelley Cook + + * configure.in: Replace AC_COMPILE_CHECK_SIZEOF with AC_CHECK_SIZEOF. + * acinclude.m4: Don't sinclude accross.m4. + * config.in, configure, Makefile.in, doc/Makefile.in: Regenerate. + +2005-05-09 Alan Modra + + * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add has_dotsym. + (ppc64_elf_add_symbol_hook): Set has_dotsym. + (ppc64_elf_check_directives): Only process syms when has_dotsym. + (func_desc_adjust): Hide fake function descriptors when function + code entry is defined. + (adjust_opd_syms): Adjust for deleted_section becoming union field. + +2005-05-09 Alan Modra + + * elfcode.h (elf_object_p): Add more sanity checks on elf header. + +2005-05-08 Dave Korn + + * coff-tic80.c: Undefine _CONST after system headers to prevent + clash with tic80-specific definition in include/coff/tic80.h + +2005-05-08 H.J. Lu + + PR 939 + * elflink.c (elf_link_output_extsym): Use output_bfd if + h->root.u.def.section is bfd_abs_section_ptr when reporting + error. + +2005-05-07 H.J. Lu + + * elf-bfd.h (elf_backend_data): Update special_sections to + array of pointer to bfd_elf_special_section. + * elf.c (special_sections): Likewise. + * elf32-arm.c (elf32_arm_symbian_special_sections): Likewise. + * elf32-m32r.c (m32r_elf_special_sections): Likewise. + * elf32-m68hc11.c (elf32_m68hc11_special_sections): Likewise. + * elf32-m68hc12.c (elf32_m68hc12_special_sections): Likewise. + * elf32-mcore.c (mcore_elf_special_sections): Likewise. + * elf32-ppc.c (ppc_elf_special_sections): Likewise. + * elf32-sh64.c (sh64_elf_special_sections): Likewise. + * elf32-v850.c (v850_elf_special_sections): Likewise. + * elf32-xtensa.c (elf_xtensa_special_sections): Likewise. + * elf64-alpha.c (elf64_alpha_special_sections): Likewise. + * elf64-hppa.c (elf64_hppa_special_sections): Likewise. + * elf64-ppc.c (ppc64_elf_special_sections): Likewise. + * elf64-sh64.c (sh64_elf64_special_sections): Likewise. + * elfxx-ia64.c (elfNN_ia64_special_sections): Likewise. + * elfxx-mips.c (_bfd_mips_elf_special_sections): Likewise. + * elfxx-mips.h (_bfd_mips_elf_special_sections): Likewise. + + * elf.c (get_special_section): Updated. + +2005-05-07 Alan Modra + + * elf-bfd.h (struct elf_backend_data): Remove got_symbol_offset. + * elfxx-target.h (elf_backend_got_symbol_offset): Delete. + * elflink.c (_bfd_elf_create_got_section): Use zero in place of + got_symbol_offset. + * elf-m10300.c (_bfd_mn10300_elf_create_got_section): Likewise. + * elf32-frv.c (_frv_create_got_section): Likewise. + * elf32-i370.c (i370_elf_finish_dynamic_sections): Delete ppc code. + (elf_backend_got_symbol_offset): Don't define. + * elf64-ppc.c (elf_backend_got_symbol_offset): Don't define. + * elf32-ppc.c (struct ppc_elf_link_hash_table): Add got_header_size + and got_gap. + (ppc_elf_create_got): Tidy. + (ppc_elf_create_dynamic_sections): Don't set SEC_IN_MEMORY for .plt. + (ppc_elf_check_relocs): Reduce string comparisons by using elf.hgot. + (ppc_elf_gc_sweep_hook): Likewise. + (ppc_elf_relocate_section): Likewise. + (ppc_elf_finish_dynamic_symbol): Likewise. + (allocate_got): New function. + (allocate_dynrelocs): Use allocate_got. + (ppc_elf_size_dynamic_sections): Likewise. Delay tlsld_got allocation + so that local got can refcount it. Set got_header_size. + (ppc_elf_relocate_section): Use value of elf.hgot rather than hard- + coded 4. + (ppc_elf_finish_dynamic_sections): Likewise. + (elf_backend_got_symbol_offset): Don't define. + (elf_backend_got_header_size): Ditto. + +2005-05-05 Steve Ellcey + + * configure.in (ACX_HEADER_STRING): New. + * configure: Regenerate. + * config.in: Regenerate. + * sysdep.h (STRING_WITH_STRINGS): Use. + +2005-05-05 H.J. Lu + + * elf.c (_bfd_elf_close_and_cleanup): Only call + _bfd_dwarf2_cleanup_debug_info on bfd_object. + +2005-05-05 H.J. Lu + + * elflink.c (_bfd_elf_provide_section_bound_symbols): Use + "__bss_start" instead of "_edata" as fallback. + +2005-05-05 H.J. Lu + + * bfd-in2.h: Regenerated. + +2005-05-05 Paul Brook + + * config.bfd: Use bfd_elf32_i386_vxworks_vec for i?86-*-vxworks. + * configure.in: Add bfd_elf32_i386_vxworks_vec. i386 targets need + elf-vxworks.lo. + * configure: Regenerate. + * Makefile.am (BFD32_BACKENDS): Add elf-vxworks.lo. + (BFD32_BACKENDS_CFILES): Add elf-vxworks.c. + (elf32-i386.lo): Depend on elf-vxworks.h. + (elf-vxworks.lo): New rule. + * Makefile.in: Regenerate. + * elf-bfd.h (elf_backend_data): Update type of + elf_backend_emit_relocs. + (_bfd_elf_link_output_relocs): Update prototype. + * elflink.c (_bfd_elf_link_output_relocs): Always use + bed->elf_backend_emit_relocs when outputting relocations. + * elfxx-target.h (elf_backend_emit_relocs): Default to + _bfd_elf_link_output_relocs. + * targets.c (bfd_elf32_i386_vxworks_vec): Declare. + (_bfd_target_vector): Add bfd_elf32_i386_vxworks_vec. + * elf32-i386.c: Add elf32-i386-vxworks target BFD. + (elf_i386_plt0_entry): Remove padding. + (elf_i386_pic_plt0_entry): Ditto. + (PLTRESOLVE_RELOCS_SHLIB, PLTRESOLVE_RELOCS): Define. + (PLT_NON_JUMP_SLOT_RELOCS): Define. + (elf_i386_link_hash_table): Add srelplt2, hgot, hplt, is_vxworks and + plt0_pad_byte fields. + (elf_i386_link_hash_table_create): Zero them. + (elf_i386_create_dynamic_sections): Create static relocation section. + (allocate_dynrelocs): Allocate space for static PLT relocations. + (elf_i386_size_dynamic_sections): Save shortcuts to PLT and GOT + symbols. Give PLT symbols function type. Don't strip PLT sections + if we have exported symbols from them. + (elf_i386_finish_dynamic_symbol): Fill in VxWorks PLT static + relocation section. Don't mark _GLOBAL_OFFSET_TABLE_ as absolute on + VxWorks. + (elf_i386_finish_dynamic_sections): Allow different pad bytes. + Add relocation for GOT location. Fill in PLT static relocations. + (elf_i386_vxworks_link_hash_table_create): New function. + (elf_i386_vxworks_link_output_symbol_hook): New function. + * elf-vxworks.h: New file. + +2005-05-05 H.J. Lu + + * section.c (bfd_make_section_anyway_with_flags): New. + (bfd_make_section_anyway): Call bfd_make_section_anyway_with_flags, + (bfd_make_section_with_flags): New. + (bfd_make_section): Call bfd_make_section_with_flags. + + * elf-m10300.c (_bfd_mn10300_elf_create_got_section): Call + bfd_make_section_with_flags/bfd_make_section_anyway_with_flags + instead of bfd_make_section/bfd_make_section and don't call + bfd_set_section_flags. + (mn10300_elf_check_relocs): Likewise. + (_bfd_mn10300_elf_create_dynamic_sections): Likewise. + * elf32-arm.c (create_got_section): Likewise. + (bfd_elf32_arm_add_glue_sections_to_bfd): Likewise. + (elf32_arm_check_relocs): Likewise. + * elf32-cris.c (cris_elf_check_relocs): Likewise. + * elf32-frv.c (elf32_frv_add_symbol_hook): Likewise. + (_frv_create_got_section): Likewise. + (elf32_frvfdpic_create_dynamic_sections): Likewise. + * elf32-hppa.c (elf32_hppa_create_dynamic_sections): Likewise. + (elf32_hppa_check_relocs): Likewise. + * elf32-i370.c (i370_elf_create_dynamic_sections): Likewise. + (i370_elf_check_relocs): Likewise. + * elf32-i386.c (create_got_section): Likewise. + (elf_i386_check_relocs): Likewise. + * elf32-m32r.c (m32r_elf_add_symbol_hook): Likewise. + (create_got_section): Likewise. + (m32r_elf_create_dynamic_sections): Likewise. + (m32r_elf_check_relocs): Likewise. + * elf32-m68k.c (elf_m68k_check_relocs): Likewise. + * elf32-ppc.c (ppc_elf_create_got): Likewise. + (ppc_elf_create_dynamic_sections): Likewise. + (ppc_elf_add_symbol_hook): Likewise. + (ppc_elf_check_relocs): Likewise. + * elf32-s390.c (create_got_section): Likewise. + (elf_s390_check_relocs): Likewise. + * elf32-sh.c (create_got_section): Likewise. + (sh_elf_create_dynamic_sections): Likewise. + (sh_elf_check_relocs): Likewise. + * elf32-vax.c (elf_vax_check_relocs): Likewise. + * elf32-xstormy16.c (xstormy16_elf_check_relocs): Likewise. + * elf32-xtensa.c (elf_xtensa_create_dynamic_sections): Likewise. + (add_extra_plt_sections): Likewise. + * elf64-alpha.c (elf64_alpha_add_symbol_hook): Likewise. + (elf64_alpha_create_got_section): Likewise. + (elf64_alpha_create_dynamic_sections): Likewise. + (elf64_alpha_check_relocs): Likewise. + * elf64-hppa.c (get_reloc_section): Likewise. + (get_opd): Likewise. + (get_plt): Likewise. + (get_dlt): Likewise. + (get_stub): Likewise. + (elf64_hppa_create_dynamic_sectionso): Likewise. + * elf64-mmix.c (mmix_elf_check_common_relocs): Likewise. + * elf64-ppc.c (create_linkage_sections): Likewise. + (ppc64_elf_check_relocs): Likewise. + * elf64-s390.c (create_got_section): Likewise. + (elf_s390_check_relocs): Likewise. + * elf64-sh64.c (sh_elf64_check_relocs): Likewise. + (sh64_elf64_create_dynamic_sections): Likewise. + * elf64-x86-64.c (create_got_section): Likewise. + (elf64_x86_64_check_relocs): Likewise. + * elflink.c (_bfd_elf_create_got_section): Likewise. + (_bfd_elf_link_create_dynamic_sections): Likewise. + (elf_link_add_object_symbols): Likewise. + * elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Likewise. + (elfNN_ia64_create_dynamic_sections): Likewise. + (get_fptr): Likewise. + (get_pltoff): Likewise. + (get_reloc_section): Likewise. + (elfNN_ia64_object_p): Likewise. + * elfxx-mips.c (mips_elf_rel_dyn_section): Likewise. + (mips_elf_create_compact_rel_section): Likewise. + (mips_elf_create_got_section): Likewise. + (_bfd_mips_elf_create_dynamic_sections): Likewise. + * elfxx-sparc.c (create_got_section): Likewise. + (_bfd_sparc_elf_check_relocs): Likewise. + + * elf.c (_bfd_elf_new_section_hook): Call _bfd_elf_get_sec_type_attr + on linker created sections. + +2005-05-05 H.J. Lu + + PR 882 + * elflink.c (_bfd_elf_link_assign_sym_version): Allow version + script on executable. + +2005-05-05 John Levon + + * dwarf2.c (read_abbrevs): If bfd_realloc fails, free currently + allocated memory before returning. + (decode_line_info): Likewise. + (_bfd_dwarf2_cleanup_debug_info): New function: Frees memory + allocated by functions in this file. + * elf-bfd.h (_bfd_dwarf2_cleanup_debug_info): Prototype. + * elf.c (_bfd_elf_close_and_cleanup): Call + _bfd_dwarf2_cleanup_debug_info. + +2005-05-05 Hans-Peter Nilsson + + * Makefile.am (INCLUDES): Don't -D_GNU_SOURCE here. + * configure.in: Call AC_GNU_SOURCE here, after AC_PROG_CC. + * configure, config.in, Makefile.in: Regenerate. + * sysdep.h (stpcpy): Revert last change. + +2005-05-05 Hans-Peter Nilsson + + * sysdep.h (stpcpy): Wrap declaration in parentheses. + +2005-05-04 H.J. Lu + + * elfxx-ia64.c (ARCH_SIZE): New. + (LOG_SECTION_ALIGN): Likewise. + (elfNN_ia64_create_dynamic_sections): Use LOG_SECTION_ALIGN to + align relocation sections. + (get_fptr): Likewise. + (get_reloc_section): Likewise. + (elfNN_ia64_tprel_base): Likewise. + (elfNN_ia64_check_relocs): Support 32bit relocations. + (allocate_global_fptr_got): Likewise. + (allocate_dynrel_entries): Likewise. + (set_got_entry): Likewise. + (set_pltoff_entry): Likewise. + (elfNN_ia64_relocate_section): Likewise. + +2005-05-04 H.J. Lu + + * configure.in: Add AC_CHECK_DECLS(stpcpy). + * configure: Regenerate. + * config.in: Likewise. + + * sysdep.h (stpcpy): New. + +2005-05-04 Nick Clifton + + * Update the address and phone number of the FSF organization in + the GPL notices in the following files: + aix386-core.c, aix5ppc-core.c, aout-adobe.c, aout-arm.c, + aout-cris.c, aout-ns32k.c, aout-sparcle.c, aout-target.h, + aout-tic30.c, aout0.c, aout32.c, aout64.c, aoutf1.h, aoutx.h, + archive.c, archive64.c, archures.c, armnetbsd.c, bfd-in.h, + bfd-in2.h, bfd.c, bfdio.c, bfdwin.c, binary.c, bout.c, cache.c, + cf-i386lynx.c, cf-m68klynx.c, cf-sparclynx.c, cisco-core.c, + coff-a29k.c, coff-alpha.c, coff-apollo.c, coff-arm.c, coff-aux.c, + coff-go32.c, coff-h8300.c, coff-h8500.c, coff-i386.c, coff-i860.c, + coff-i960.c, coff-ia64.c, coff-m68k.c, coff-m88k.c, coff-maxq.c, + coff-mcore.c, coff-mips.c, coff-or32.c, coff-pmac.c, coff-ppc.c, + coff-rs6000.c, coff-sh.c, coff-sparc.c, coff-stgo32.c, + coff-svm68k.c, coff-tic30.c, coff-tic4x.c, coff-tic54x.c, + coff-tic80.c, coff-u68k.c, coff-w65.c, coff-we32k.c, coff-z8k.c, + coff64-rs6000.c, coffcode.h, coffgen.c, cofflink.c, coffswap.h, + corefile.c, cpu-a29k.c, cpu-alpha.c, cpu-arc.c, cpu-arm.c, + cpu-avr.c, cpu-cr16c.c, cpu-cris.c, cpu-crx.c, cpu-d10v.c, + cpu-d30v.c, cpu-dlx.c, cpu-fr30.c, cpu-frv.c, cpu-h8300.c, + cpu-h8500.c, cpu-hppa.c, cpu-i370.c, cpu-i386.c, cpu-i860.c, + cpu-i960.c, cpu-ia64-opc.c, cpu-ia64.c, cpu-ip2k.c, cpu-iq2000.c, + cpu-m10200.c, cpu-m10300.c, cpu-m32r.c, cpu-m68hc11.c, + cpu-m68hc12.c, cpu-m68k.c, cpu-m88k.c, cpu-maxq.c, cpu-mcore.c, + cpu-mips.c, cpu-mmix.c, cpu-msp430.c, cpu-ns32k.c, cpu-openrisc.c, + cpu-or32.c, cpu-pdp11.c, cpu-pj.c, cpu-powerpc.c, cpu-rs6000.c, + cpu-s390.c, cpu-sh.c, cpu-sparc.c, cpu-tic30.c, cpu-tic4x.c, + cpu-tic54x.c, cpu-tic80.c, cpu-v850.c, cpu-vax.c, cpu-w65.c, + cpu-we32k.c, cpu-xstormy16.c, cpu-xtensa.c, cpu-z8k.c, demo64.c, + dwarf1.c, dwarf2.c, ecoff.c, ecofflink.c, ecoffswap.h, + efi-app-ia32.c, efi-app-ia64.c, elf-bfd.h, elf-eh-frame.c, + elf-hppa.h, elf-m10200.c, elf-m10300.c, elf-strtab.c, elf.c, + elf32-am33lin.c, elf32-arc.c, elf32-arm.c, elf32-avr.c, + elf32-cr16c.c, elf32-cris.c, elf32-crx.c, elf32-d10v.c, + elf32-d30v.c, elf32-dlx.c, elf32-fr30.c, elf32-frv.c, elf32-gen.c, + elf32-h8300.c, elf32-hppa.c, elf32-hppa.h, elf32-i370.c, + elf32-i386.c, elf32-i860.c, elf32-i960.c, elf32-ip2k.c, + elf32-iq2000.c, elf32-m32r.c, elf32-m68hc11.c, elf32-m68hc12.c, + elf32-m68hc1x.c, elf32-m68hc1x.h, elf32-m68k.c, elf32-m88k.c, + elf32-mcore.c, elf32-mips.c, elf32-msp430.c, elf32-openrisc.c, + elf32-or32.c, elf32-pj.c, elf32-ppc.c, elf32-ppc.h, elf32-s390.c, + elf32-sh-symbian.c, elf32-sh.c, elf32-sh64-com.c, elf32-sh64.c, + elf32-sh64.h, elf32-sparc.c, elf32-v850.c, elf32-vax.c, + elf32-xstormy16.c, elf32-xtensa.c, elf32.c, elf64-alpha.c, + elf64-gen.c, elf64-hppa.c, elf64-hppa.h, elf64-mips.c, + elf64-mmix.c, elf64-ppc.c, elf64-ppc.h, elf64-s390.c, + elf64-sh64.c, elf64-sparc.c, elf64-x86-64.c, elf64.c, elfcode.h, + elfcore.h, elflink.c, elfn32-mips.c, elfxx-ia64.c, elfxx-mips.c, + elfxx-mips.h, elfxx-sparc.c, elfxx-sparc.h, elfxx-target.h, + epoc-pe-arm.c, epoc-pei-arm.c, format.c, freebsd.h, gen-aout.c, + genlink.h, hash.c, host-aout.c, hp300bsd.c, hp300hpux.c, + hppabsd-core.c, hpux-core.c, i386aout.c, i386bsd.c, i386dynix.c, + i386freebsd.c, i386linux.c, i386lynx.c, i386mach3.c, i386msdos.c, + i386netbsd.c, i386os9k.c, ieee.c, ihex.c, init.c, irix-core.c, + libaout.h, libbfd-in.h, libbfd.c, libbfd.h, libcoff-in.h, + libcoff.h, libecoff.h, libhppa.h, libieee.h, libnlm.h, liboasys.h, + libpei.h, libxcoff.h, linker.c, lynx-core.c, m68k4knetbsd.c, + m68klinux.c, m68klynx.c, m68knetbsd.c, m88kmach3.c, m88kopenbsd.c, + mach-o-target.c, mach-o.c, mach-o.h, merge.c, mipsbsd.c, mmo.c, + netbsd-core.c, netbsd.h, newsos3.c, nlm-target.h, nlm.c, + nlm32-alpha.c, nlm32-i386.c, nlm32-ppc.c, nlm32-sparc.c, nlm32.c, + nlm64.c, nlmcode.h, nlmswap.h, ns32k.h, ns32knetbsd.c, oasys.c, + opncls.c, osf-core.c, pc532-mach.c, pdp11.c, pe-arm.c, pe-i386.c, + pe-mcore.c, pe-mips.c, pe-ppc.c, pe-sh.c, peXXigen.c, + pef-traceback.h, pef.c, pef.h, pei-arm.c, pei-i386.c, pei-mcore.c, + pei-mips.c, pei-ppc.c, pei-sh.c, peicode.h, ppcboot.c, + ptrace-core.c, reloc.c, reloc16.c, riscix.c, rs6000-core.c, + sco5-core.c, section.c, simple.c, som.c, som.h, sparclinux.c, + sparclynx.c, sparcnetbsd.c, srec.c, stab-syms.c, stabs.c, sunos.c, + syms.c, sysdep.h, targets.c, tekhex.c, ticoff.h, trad-core.c, + vax1knetbsd.c, vaxbsd.c, vaxnetbsd.c, versados.c, vms-gsd.c, + vms-hdr.c, vms-misc.c, vms-tir.c, vms.c, vms.h, xcoff-target.h, + xcofflink.c, xsym.c, xsym.h, xtensa-isa.c, xtensa-modules.c, + hosts/alphavms.h + +2005-05-04 H.J. Lu + + * bfd-in.h (_bfd_elf_provide_section_bound_symbols): New. + * bfd-in2.h: Regenerated. + + * elflink.c (bfd_elf_set_symbol): New. + (_bfd_elf_provide_symbol): Call it. + (_bfd_elf_provide_section_bound_symbols): New. + +2005-05-04 H.J. Lu + + * elflink.c (_bfd_elf_merge_symbol): Only skip weak definitions + at the end, if a strong definition has already been seen. + +2005-05-04 Alan Modra + + * section.c (struct bfd_section): Replace link_order_head and + link_order_tail with map_head and map_tail union. + (STD_SECTION): Update. + (_bfd_strip_section_from_output): Delete. + * aoutx.h: Update throughout for above changes. + * coff-ppc.c: Likewise. + * cofflink.c: Likewise. + * ecoff.c: Likewise. + * elf-eh-frame.c: Likewise. + * elf-m10300.c: Likewise. + * elf.c: Likewise. + * elf32-arm.c: Likewise. + * elf32-cris.c: Likewise. + * elf32-hppa.c: Likewise. + * elf32-i386.c: Likewise. + * elf32-m32r.c: Likewise. + * elf32-m68hc1x.c: Likewise. + * elf32-m68k.c: Likewise. + * elf32-ppc.c: Likewise. + * elf32-s390.c: Likewise. + * elf32-sh.c: Likewise. + * elf32-vax.c: Likewise. + * elf32-xtensa.c: Likewise. + * elf64-alpha.c: Likewise. + * elf64-hppa.c: Likewise. + * elf64-ppc.c: Likewise. + * elf64-s390.c: Likewise. + * elf64-sh64.c: Likewise. + * elf64-x86-64.c: Likewise. + * elflink.c: Likewise. + * elfxx-ia64.c: Likewise. + * elfxx-mips.c: Likewise. + * elfxx-sparc.c: Likewise. + * linker.c: Likewise. + * merge.c: Likewise. + * pdp11.c: Likewise. + * xcofflink.c: Likewise. + * elflink.c (bfd_boolean bfd_elf_size_dynsym_hash_dynstr): Split + out from bfd_elf_size_dynamic_sections. + * bfd-in.h (bfd_boolean bfd_elf_size_dynsym_hash_dynstr): Declare. + * bfd-in2.h: Regenerate. + +2005-05-04 Alan Modra + + * section.c (bfd_section_list_remove): Don't clear s->next. + (bfd_section_list_append): Always init s->prev. + (bfd_section_list_prepend): Define. + (bfd_section_list_insert_after): Minor optimization. + (bfd_section_removed_from_list): Rewrite. + * elf.c (assign_section_numbers): Simplify list traversal now that + bfd_section_list_remove doesn't destroy removed section next ptr. + * sunos.c (sunos_add_dynamic_symbols): Likewise. + * elfxx-ia64.c (elfNN_ia64_object_p): Use bfd_section_list_prepend. + * xcofflink.c (_bfd_xcoff_bfd_final_link): Simplify list traversal. + * bfd-in2.h: Regenerate. + +2005-05-02 H.J. Lu + + * bfd.c (bfd): Remove section_tail and add section_last. + (bfd_preserve): Likewise. + (bfd_preserve_save): Likewise. + (bfd_preserve_restore): Likewise. + * opncls.c (_bfd_new_bfd): Likewise. + + * coffcode.h (coff_compute_section_file_positions): Updated. + (coff_compute_section_file_positions): Likewise. + * elf.c (assign_section_numbers): Likewise. + * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise. + * elf64-mmix.c (mmix_elf_final_link): Likewise. + * elfxx-ia64.c (elfNN_ia64_object_p): Likewise. + * elfxx-mips.c (_bfd_mips_elf_link_hash_table_create): Likewise. + * sunos.c (sunos_add_dynamic_symbols): Likewise. + * xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise. + + * ecoff.c (bfd_debug_section): Initialize prev. + + * section.c (bfd_section): Add prev. + (bfd_section_list_remove): Updated. + (bfd_section_list_append): New. + (bfd_section_list_insert_after): New. + (bfd_section_list_insert_before): New. + (bfd_section_list_insert): Removed. + (bfd_section_removed_from_list): Updated. + (STD_SECTION): Initialize prev. + (bfd_section_init): Updated. + (bfd_section_list_clear): Updated. + + * bfd-in2.h: Regenerated. + +2005-05-02 H.J. Lu + + * elf.c (_bfd_elf_new_section_hook): Don't call + _bfd_elf_get_sec_type_attr on sections from input files. + +2005-05-02 H.J. Lu + + * merge.c (sec_merge_init): Call bfd_hash_table_init_n with + hash table size 16699 instead of bfd_hash_table_init. + +2005-05-01 Paul Brook + + * elflink.c (_bfd_elf_merge_symbol): Skip weak definitions if a strong + definition has already been seen. + +2005-05-01 Paul Brook + + * elf32-arm.c (bfd_elf32_arm_process_before_allocation): Treat + R_ARM_PLT32 the same as R_ARM_PC24. + (arm_add_to_rel): Ditto. + +2005-04-29 Ralf Corsepius + + * config.bfd: Add h8300*-*-rtemscoff. + Switch h8300*-*-rtems* to elf. + +2005-04-29 Daniel Jacobowitz + + * aclocal.m4, Makefile.in: Regnerated. + 2005-04-28 Paul Brook Merge changes only applied to Makefile.in. @@ -1638,7 +2130,7 @@ i386aout.c, i386msdos.c, i386os9k.c, ieee.c, mach-o.c, nlm32-sparc.c, oasys.c, opncls.c, pdp11.c, pe-mips.c, peXXigen.c, pef.c, peicode.h, reloc.c, riscix.c, section.c, simple.c, som.c, - sparclynx.c, targets.c, vms-misc.c, vms-tir.c, xsym.c, doc/chew.c, + sparclynx.c, targets.c, vms-misc.c, vms-tir.c, xsym.c, hosts/delta68.h, hosts/vaxbsd.h: Remove #if 0'd code throughout. Similarly, collapse #if 1'd code. diff -uprN binutils-2.16.90.0.2/bfd/cisco-core.c binutils-2.16.90.0.3/bfd/cisco-core.c --- binutils-2.16.90.0.2/bfd/cisco-core.c 2004-07-27 21:36:06.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/cisco-core.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/coff64-rs6000.c binutils-2.16.90.0.3/bfd/coff64-rs6000.c --- binutils-2.16.90.0.2/bfd/coff64-rs6000.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/coff64-rs6000.c 2005-05-10 15:46:41.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/coff-a29k.c binutils-2.16.90.0.3/bfd/coff-a29k.c --- binutils-2.16.90.0.2/bfd/coff-a29k.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/coff-a29k.c 2005-05-10 15:46:41.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define A29K 1 diff -uprN binutils-2.16.90.0.2/bfd/coff-alpha.c binutils-2.16.90.0.3/bfd/coff-alpha.c --- binutils-2.16.90.0.2/bfd/coff-alpha.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/coff-alpha.c 2005-05-10 15:46:41.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/coff-apollo.c binutils-2.16.90.0.3/bfd/coff-apollo.c --- binutils-2.16.90.0.2/bfd/coff-apollo.c 2004-01-14 13:07:42.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/coff-apollo.c 2005-05-10 15:46:41.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/coff-arm.c binutils-2.16.90.0.3/bfd/coff-arm.c --- binutils-2.16.90.0.2/bfd/coff-arm.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/coff-arm.c 2005-05-10 15:46:41.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/coff-aux.c binutils-2.16.90.0.3/bfd/coff-aux.c --- binutils-2.16.90.0.2/bfd/coff-aux.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/coff-aux.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define TARGET_SYM m68kaux_coff_vec #define TARGET_NAME "coff-m68k-aux" diff -uprN binutils-2.16.90.0.2/bfd/coffcode.h binutils-2.16.90.0.3/bfd/coffcode.h --- binutils-2.16.90.0.2/bfd/coffcode.h 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/coffcode.h 2005-05-10 15:46:41.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Most of this hacked by Steve Chamberlain, sac@cygnus.com. */ @@ -1717,7 +1717,6 @@ coff_set_alignment_hook (bfd *abfd, asec { struct internal_scnhdr *hdr = (struct internal_scnhdr *) scnhdr; asection *real_sec; - asection **ps; if ((hdr->s_flags & STYP_OVRFLO) == 0) return; @@ -1729,14 +1728,10 @@ coff_set_alignment_hook (bfd *abfd, asec real_sec->reloc_count = hdr->s_paddr; real_sec->lineno_count = hdr->s_vaddr; - for (ps = &abfd->sections; *ps != NULL; ps = &(*ps)->next) + if (!bfd_section_removed_from_list (abfd, section)) { - if (*ps == section) - { - bfd_section_list_remove (abfd, ps); - --abfd->section_count; - break; - } + bfd_section_list_remove (abfd, section); + --abfd->section_count; } } @@ -3033,11 +3028,12 @@ coff_compute_section_file_positions (bfd /* Rethread the linked list into sorted order; at the same time, assign target_index values. */ target_index = 1; - abfd->sections = section_list[0]; + abfd->sections = NULL; + abfd->section_last = NULL; for (i = 0; i < count; i++) { current = section_list[i]; - current->next = section_list[i + 1]; + bfd_section_list_append (abfd, current); /* Later, if the section has zero size, we'll be throwing it away, so we don't want to number it now. Note that having @@ -3056,7 +3052,6 @@ coff_compute_section_file_positions (bfd else current->target_index = target_index++; } - abfd->section_tail = ¤t->next; free (section_list); } diff -uprN binutils-2.16.90.0.2/bfd/coffgen.c binutils-2.16.90.0.3/bfd/coffgen.c --- binutils-2.16.90.0.2/bfd/coffgen.c 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/coffgen.c 2005-05-10 15:46:41.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Most of this hacked by Steve Chamberlain, sac@cygnus.com. Split out of coffcode.h by Ian Taylor, ian@cygnus.com. */ diff -uprN binutils-2.16.90.0.2/bfd/coff-go32.c binutils-2.16.90.0.3/bfd/coff-go32.c --- binutils-2.16.90.0.2/bfd/coff-go32.c 2001-08-27 11:44:51.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/coff-go32.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define TARGET_SYM go32coff_vec #define TARGET_NAME "coff-go32" diff -uprN binutils-2.16.90.0.2/bfd/coff-h8300.c binutils-2.16.90.0.3/bfd/coff-h8300.c --- binutils-2.16.90.0.2/bfd/coff-h8300.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/coff-h8300.c 2005-05-10 15:46:41.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/coff-h8500.c binutils-2.16.90.0.3/bfd/coff-h8500.c --- binutils-2.16.90.0.2/bfd/coff-h8500.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/coff-h8500.c 2005-05-10 15:46:41.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/coff-i386.c binutils-2.16.90.0.3/bfd/coff-i386.c --- binutils-2.16.90.0.2/bfd/coff-i386.c 2004-11-22 12:33:30.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/coff-i386.c 2005-05-10 15:46:41.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/coff-i860.c binutils-2.16.90.0.3/bfd/coff-i860.c --- binutils-2.16.90.0.2/bfd/coff-i860.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/coff-i860.c 2005-05-10 15:46:41.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/coff-i960.c binutils-2.16.90.0.3/bfd/coff-i960.c --- binutils-2.16.90.0.2/bfd/coff-i960.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/coff-i960.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define I960 1 #define BADMAG(x) I960BADMAG(x) diff -uprN binutils-2.16.90.0.2/bfd/coff-ia64.c binutils-2.16.90.0.3/bfd/coff-ia64.c --- binutils-2.16.90.0.2/bfd/coff-ia64.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/coff-ia64.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cofflink.c binutils-2.16.90.0.3/bfd/cofflink.c --- binutils-2.16.90.0.2/bfd/cofflink.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/cofflink.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file contains the COFF backend linker code. */ @@ -693,7 +693,7 @@ _bfd_coff_final_link (bfd *abfd, { o->reloc_count = 0; o->lineno_count = 0; - for (p = o->link_order_head; p != NULL; p = p->next) + for (p = o->map_head.link_order; p != NULL; p = p->next) { if (p->type == bfd_indirect_link_order) { @@ -888,7 +888,7 @@ _bfd_coff_final_link (bfd *abfd, for (o = abfd->sections; o != NULL; o = o->next) { - for (p = o->link_order_head; p != NULL; p = p->next) + for (p = o->map_head.link_order; p != NULL; p = p->next) { if (p->type == bfd_indirect_link_order && bfd_family_coff (p->u.indirect.section->owner)) diff -uprN binutils-2.16.90.0.2/bfd/coff-m68k.c binutils-2.16.90.0.3/bfd/coff-m68k.c --- binutils-2.16.90.0.2/bfd/coff-m68k.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/coff-m68k.c 2005-05-10 15:46:41.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/coff-m88k.c binutils-2.16.90.0.3/bfd/coff-m88k.c --- binutils-2.16.90.0.2/bfd/coff-m88k.c 2004-01-14 13:07:42.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/coff-m88k.c 2005-05-10 15:46:41.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define M88 1 /* Customize various include files */ #include "bfd.h" diff -uprN binutils-2.16.90.0.2/bfd/coff-maxq.c binutils-2.16.90.0.3/bfd/coff-maxq.c --- binutils-2.16.90.0.2/bfd/coff-maxq.c 2004-11-22 12:33:30.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/coff-maxq.c 2005-05-10 15:46:41.000000000 -0700 @@ -19,8 +19,8 @@ for more details. You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., 59 - Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/coff-mcore.c binutils-2.16.90.0.3/bfd/coff-mcore.c --- binutils-2.16.90.0.2/bfd/coff-mcore.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/coff-mcore.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,8 +16,8 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ +Foundation, 51 Franklin Street - Fifth Floor, +Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/coff-mips.c binutils-2.16.90.0.3/bfd/coff-mips.c --- binutils-2.16.90.0.2/bfd/coff-mips.c 2004-11-22 12:33:30.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/coff-mips.c 2005-05-10 15:46:41.000000000 -0700 @@ -19,7 +19,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/coff-or32.c binutils-2.16.90.0.3/bfd/coff-or32.c --- binutils-2.16.90.0.2/bfd/coff-or32.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/coff-or32.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define OR32 1 diff -uprN binutils-2.16.90.0.2/bfd/coff-pmac.c binutils-2.16.90.0.3/bfd/coff-pmac.c --- binutils-2.16.90.0.2/bfd/coff-pmac.c 2001-03-09 11:15:30.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/coff-pmac.c 2005-05-10 15:46:41.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Tweak coffcode.h based on this being a PowerMac instead of RS/6000. */ diff -uprN binutils-2.16.90.0.2/bfd/coff-ppc.c binutils-2.16.90.0.3/bfd/coff-ppc.c --- binutils-2.16.90.0.2/bfd/coff-ppc.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/coff-ppc.c 2005-05-10 15:46:41.000000000 -0700 @@ -23,8 +23,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ /* Current State: - objdump works @@ -2113,7 +2113,7 @@ ppc_bfd_coff_final_link (abfd, info) o->reloc_count = 0; o->lineno_count = 0; - for (p = o->link_order_head; p != NULL; p = p->next) + for (p = o->map_head.link_order; p != NULL; p = p->next) { if (p->type == bfd_indirect_link_order) { @@ -2295,7 +2295,7 @@ ppc_bfd_coff_final_link (abfd, info) for (o = abfd->sections; o != NULL; o = o->next) { - for (p = o->link_order_head; p != NULL; p = p->next) + for (p = o->map_head.link_order; p != NULL; p = p->next) { if (p->type == bfd_indirect_link_order && (bfd_get_flavour (p->u.indirect.section->owner) diff -uprN binutils-2.16.90.0.2/bfd/coff-rs6000.c binutils-2.16.90.0.3/bfd/coff-rs6000.c --- binutils-2.16.90.0.2/bfd/coff-rs6000.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/coff-rs6000.c 2005-05-10 15:46:41.000000000 -0700 @@ -24,7 +24,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/coff-sh.c binutils-2.16.90.0.3/bfd/coff-sh.c --- binutils-2.16.90.0.2/bfd/coff-sh.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/coff-sh.c 2005-05-10 15:46:41.000000000 -0700 @@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/coff-sparc.c binutils-2.16.90.0.3/bfd/coff-sparc.c --- binutils-2.16.90.0.2/bfd/coff-sparc.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/coff-sparc.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/coff-stgo32.c binutils-2.16.90.0.3/bfd/coff-stgo32.c --- binutils-2.16.90.0.2/bfd/coff-stgo32.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/coff-stgo32.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file handles now also stubbed coff images. The stub is a small DOS executable program before the coff image to load it in memory diff -uprN binutils-2.16.90.0.2/bfd/coff-svm68k.c binutils-2.16.90.0.3/bfd/coff-svm68k.c --- binutils-2.16.90.0.2/bfd/coff-svm68k.c 1999-06-03 11:01:53.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/coff-svm68k.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define TARGET_SYM m68ksysvcoff_vec #define TARGET_NAME "coff-m68k-sysv" diff -uprN binutils-2.16.90.0.2/bfd/coffswap.h binutils-2.16.90.0.3/bfd/coffswap.h --- binutils-2.16.90.0.2/bfd/coffswap.h 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/coffswap.h 2005-05-10 15:46:41.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file contains routines used to swap COFF data. It is a header file because the details of swapping depend on the details of the diff -uprN binutils-2.16.90.0.2/bfd/coff-tic30.c binutils-2.16.90.0.3/bfd/coff-tic30.c --- binutils-2.16.90.0.2/bfd/coff-tic30.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/coff-tic30.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/coff-tic4x.c binutils-2.16.90.0.3/bfd/coff-tic4x.c --- binutils-2.16.90.0.2/bfd/coff-tic4x.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/coff-tic4x.c 2005-05-10 15:46:41.000000000 -0700 @@ -18,8 +18,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/coff-tic54x.c binutils-2.16.90.0.3/bfd/coff-tic54x.c --- binutils-2.16.90.0.2/bfd/coff-tic54x.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/coff-tic54x.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/coff-tic80.c binutils-2.16.90.0.3/bfd/coff-tic80.c --- binutils-2.16.90.0.2/bfd/coff-tic80.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/coff-tic80.c 2005-05-10 15:46:41.000000000 -0700 @@ -21,13 +21,21 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ +Foundation, 51 Franklin Street - Fifth Floor, +Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "bfdlink.h" #include "sysdep.h" #include "libbfd.h" +#ifdef _CONST +/* Newlib-based hosts define _CONST as a STDC-safe alias for const, + but to the tic80 toolchain it means something altogether different. + Since sysdep.h will have pulled in stdio.h and hence _ansi.h which + contains this definition, we must undef it before including the + tic80-specific definition. */ +#undef _CONST +#endif /* _CONST */ #include "coff/tic80.h" #include "coff/internal.h" #include "libcoff.h" diff -uprN binutils-2.16.90.0.2/bfd/coff-u68k.c binutils-2.16.90.0.3/bfd/coff-u68k.c --- binutils-2.16.90.0.2/bfd/coff-u68k.c 1999-06-03 11:01:53.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/coff-u68k.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define TARGET_SYM m68kcoffun_vec #define TARGET_NAME "coff-m68k-un" diff -uprN binutils-2.16.90.0.2/bfd/coff-w65.c binutils-2.16.90.0.3/bfd/coff-w65.c --- binutils-2.16.90.0.2/bfd/coff-w65.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/coff-w65.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/coff-we32k.c binutils-2.16.90.0.3/bfd/coff-we32k.c --- binutils-2.16.90.0.2/bfd/coff-we32k.c 2004-01-14 13:07:43.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/coff-we32k.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/coff-z8k.c binutils-2.16.90.0.3/bfd/coff-z8k.c --- binutils-2.16.90.0.2/bfd/coff-z8k.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/coff-z8k.c 2005-05-10 15:46:41.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/config.bfd binutils-2.16.90.0.3/bfd/config.bfd --- binutils-2.16.90.0.2/bfd/config.bfd 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/config.bfd 2005-05-10 15:46:41.000000000 -0700 @@ -369,7 +369,12 @@ case "${targ}" in targ_selvecs=bfd_elf32_frv_vec ;; - h8300*-*-elf) + h8300*-*-rtemscoff*) + targ_defvec=h8300coff_vec + targ_underscore=yes + ;; + + h8300*-*-elf | h8300*-*-rtems*) targ_defvec=bfd_elf32_h8300_vec targ_underscore=yes ;; @@ -601,7 +606,7 @@ case "${targ}" in targ_defvec=i386aout_vec ;; i[3-7]86-*-vxworks) - targ_defvec=bfd_elf32_i386_vec + targ_defvec=bfd_elf32_i386_vxworks_vec targ_underscore=yes ;; i[3-7]86-*-chaos) diff -uprN binutils-2.16.90.0.2/bfd/config.in binutils-2.16.90.0.3/bfd/config.in --- binutils-2.16.90.0.2/bfd/config.in 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/config.in 2005-05-10 15:46:41.000000000 -0700 @@ -63,6 +63,10 @@ don't. */ #undef HAVE_DECL_REALLOC +/* Define to 1 if you have the declaration of `stpcpy', and to 0 if you don't. + */ +#undef HAVE_DECL_STPCPY + /* Define to 1 if you have the declaration of `strstr', and to 0 if you don't. */ #undef HAVE_DECL_STRSTR @@ -298,13 +302,13 @@ /* Define to the version of this package. */ #undef PACKAGE_VERSION -/* The number of bytes in type long */ +/* The size of a `long', as computed by sizeof. */ #undef SIZEOF_LONG -/* The number of bytes in type long long */ +/* The size of a `long long', as computed by sizeof. */ #undef SIZEOF_LONG_LONG -/* The number of bytes in type off_t */ +/* The size of a `off_t', as computed by sizeof. */ #undef SIZEOF_OFF_T /* If using the C implementation of alloca, define if you know the @@ -318,6 +322,9 @@ /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS +/* Define if you can safely include both and . */ +#undef STRING_WITH_STRINGS + /* Define to 1 if you can safely include both and . */ #undef TIME_WITH_SYS_TIME @@ -333,6 +340,11 @@ /* Version number of package */ #undef VERSION +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif + /* Define to empty if `const' does not conform to ANSI C. */ #undef const diff -uprN binutils-2.16.90.0.2/bfd/configure binutils-2.16.90.0.3/bfd/configure --- binutils-2.16.90.0.2/bfd/configure 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/configure 2005-05-10 15:46:41.000000000 -0700 @@ -2835,7 +2835,7 @@ fi # Define the identity of the package. PACKAGE=bfd - VERSION=2.16.90.0.2 + VERSION=2.16.90.0.3 cat >>confdefs.h <<_ACEOF @@ -5138,6 +5138,12 @@ ac_link='$CC -o conftest$ac_exeext $CFLA ac_compiler_gnu=$ac_cv_c_compiler_gnu +cat >>confdefs.h <<\_ACEOF +#define _GNU_SOURCE 1 +_ACEOF + + + ALL_LINGUAS="fr tr ja es sv da zh_CN ro rw" if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. @@ -8428,26 +8434,25 @@ echo "$as_me:$LINENO: result: $bfd_cv_ha echo "${ECHO_T}$bfd_cv_has_long_long" >&6 if test $bfd_cv_has_long_long = yes; then BFD_HOST_LONG_LONG=1 - echo "$as_me:$LINENO: checking size of long long" >&5 -echo $ECHO_N "checking size of long long... $ECHO_C" >&6 -if test "${ac_cv_sizeof_long_long+set}" = set; then + echo "$as_me:$LINENO: checking for long long" >&5 +echo $ECHO_N "checking for long long... $ECHO_C" >&6 +if test "${ac_cv_type_long_long+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include "confdefs.h" -#include - - +$ac_includes_default int main () { -switch (0) case 0: case (sizeof (long long) == $ac_size):; +if ((long long *) 0) + return 0; +if (sizeof (long long)) + return 0; ; return 0; } @@ -8474,53 +8479,84 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_sizeof_long_long=$ac_size + ac_cv_type_long_long=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 +ac_cv_type_long_long=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - if test x$ac_cv_sizeof_long_long != x ; then break; fi -done - fi +echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 +echo "${ECHO_T}$ac_cv_type_long_long" >&6 -if test x$ac_cv_sizeof_long_long = x ; then - { { echo "$as_me:$LINENO: error: cannot determine a size for long long" >&5 -echo "$as_me: error: cannot determine a size for long long" >&2;} - { (exit 1); exit 1; }; } -fi -echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 -echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6 - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long -_ACEOF - - -fi - -echo "$as_me:$LINENO: checking size of long" >&5 -echo $ECHO_N "checking size of long... $ECHO_C" >&6 -if test "${ac_cv_sizeof_long+set}" = set; then +echo "$as_me:$LINENO: checking size of long long" >&5 +echo $ECHO_N "checking size of long long... $ECHO_C" >&6 +if test "${ac_cv_sizeof_long_long+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. - cat >conftest.$ac_ext <<_ACEOF + if test "$ac_cv_type_long_long" = yes; then + # The cast to unsigned long works around a bug in the HP C Compiler + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. + # This bug is HP SR number 8606223364. + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. +cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include "confdefs.h" -#include - +$ac_includes_default +int +main () +{ +static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)]; +test_array [0] = 0 + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_lo=0 ac_mid=0 + while :; do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default int main () { -switch (0) case 0: case (sizeof (long) == $ac_size):; +static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)]; +test_array [0] = 0 + ; return 0; } @@ -8547,112 +8583,24 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_sizeof_long=$ac_size + ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 +ac_lo=`expr $ac_mid + 1` + if test $ac_lo -le $ac_mid; then + ac_lo= ac_hi= + break + fi + ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - if test x$ac_cv_sizeof_long != x ; then break; fi -done - -fi - -if test x$ac_cv_sizeof_long = x ; then - { { echo "$as_me:$LINENO: error: cannot determine a size for long" >&5 -echo "$as_me: error: cannot determine a size for long" >&2;} - { (exit 1); exit 1; }; } -fi -echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 -echo "${ECHO_T}$ac_cv_sizeof_long" >&6 - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_LONG $ac_cv_sizeof_long -_ACEOF - - -if test "x${ac_cv_sizeof_long}" = "x8"; then - host64=true - BFD_HOST_64BIT_LONG=1 - test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long" - test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long" -elif test "x${ac_cv_sizeof_long_long}" = "x8"; then - test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long long" - test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long long" -fi - -if test -n "${HOST_64BIT_TYPE}" -a -n "${HOST_U_64BIT_TYPE}"; then - BFD_HOST_64_BIT_DEFINED=1 - BFD_HOST_64_BIT="${HOST_64BIT_TYPE}" - BFD_HOST_U_64_BIT="${HOST_U_64BIT_TYPE}" -fi - - - - - - - -# Put a plausible default for CC_FOR_BUILD in Makefile. -if test -z "$CC_FOR_BUILD"; then - if test "x$cross_compiling" = "xno"; then - CC_FOR_BUILD='$(CC)' - else - CC_FOR_BUILD=gcc - fi -fi - -# Also set EXEEXT_FOR_BUILD. -if test "x$cross_compiling" = "xno"; then - EXEEXT_FOR_BUILD='$(EXEEXT)' -else - echo "$as_me:$LINENO: checking for build system executable suffix" >&5 -echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6 -if test "${bfd_cv_build_exeext+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + done else - rm -f conftest* - echo 'int main () { return 0; }' > conftest.c - bfd_cv_build_exeext= - ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5 - for file in conftest.*; do - case $file in - *.c | *.o | *.obj | *.ilk | *.pdb) ;; - *) bfd_cv_build_exeext=`echo $file | sed -e s/conftest//` ;; - esac - done - rm -f conftest* - test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no -fi -echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5 -echo "${ECHO_T}$bfd_cv_build_exeext" >&6 - EXEEXT_FOR_BUILD="" - test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext} -fi - - - - - - - + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -for ac_header in stddef.h string.h strings.h stdlib.h time.h unistd.h -do -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -if eval "test \"\${$as_ac_Header+set}\" = set"; then - echo "$as_me:$LINENO: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 -if eval "test \"\${$as_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking $ac_header usability" >&5 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -8660,7 +8608,15 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default -#include <$ac_header> +int +main () +{ +static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)]; +test_array [0] = 0 + + ; + return 0; +} _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 @@ -8684,135 +8640,89 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -ac_header_compiler=no -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking $ac_header presence" >&5 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF + ac_hi=-1 ac_mid=-1 + while :; do + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include <$ac_header> +$ac_includes_default +int +main () +{ +static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} _ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag - else - ac_cpp_err= - fi + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_lo=$ac_mid; break else - ac_cpp_err=yes + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_hi=`expr '(' $ac_mid ')' - 1` + if test $ac_mid -le $ac_hi; then + ac_lo= ac_hi= + break + fi + ac_mid=`expr 2 '*' $ac_mid` fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - ac_header_preproc=no +ac_lo= ac_hi= fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +# Binary search between lo and hi bounds. +while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)]; +test_array [0] = 0 -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in - yes:no: ) - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} - ac_header_preproc=yes - ;; - no:yes:* ) - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} - ( - cat <<\_ASBOX -## ------------------------------------------ ## -## Report this to the AC_PACKAGE_NAME lists. ## -## ------------------------------------------ ## -_ASBOX - ) | - sed "s/^/$as_me: WARNING: /" >&2 - ;; -esac -echo "$as_me:$LINENO: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 -if eval "test \"\${$as_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - eval "$as_ac_Header=\$ac_header_preproc" -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 - -fi -if test `eval echo '${'$as_ac_Header'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - - - -for ac_header in fcntl.h sys/file.h sys/time.h -do -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -if eval "test \"\${$as_ac_Header+set}\" = set"; then - echo "$as_me:$LINENO: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 -if eval "test \"\${$as_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -else - # Is the header compilable? -echo "$as_me:$LINENO: checking $ac_header usability" >&5 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -#include <$ac_header> + ; + return 0; +} _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 @@ -8836,112 +8746,113 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_header_compiler=yes + ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_header_compiler=no +ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6 - -# Is the header present? -echo "$as_me:$LINENO: checking $ac_header presence" >&5 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF +done +case $ac_lo in +?*) ac_cv_sizeof_long_long=$ac_lo;; +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77 +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute sizeof (long long), 77 +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } ;; +esac +else + if test "$cross_compiling" = yes; then + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot run test program while cross compiling +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +else + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include <$ac_header> +$ac_includes_default +long longval () { return (long) (sizeof (long long)); } +unsigned long ulongval () { return (long) (sizeof (long long)); } +#include +#include +int +main () +{ + + FILE *f = fopen ("conftest.val", "w"); + if (! f) + exit (1); + if (((long) (sizeof (long long))) < 0) + { + long i = longval (); + if (i != ((long) (sizeof (long long)))) + exit (1); + fprintf (f, "%ld\n", i); + } + else + { + unsigned long i = ulongval (); + if (i != ((long) (sizeof (long long)))) + exit (1); + fprintf (f, "%lu\n", i); + } + exit (ferror (f) || fclose (f) != 0); + + ; + return 0; +} _ACEOF -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then - if test -s conftest.err; then - ac_cpp_err=$ac_c_preproc_warn_flag - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag - else - ac_cpp_err= - fi -else - ac_cpp_err=yes -fi -if test -z "$ac_cpp_err"; then - ac_header_preproc=yes + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_sizeof_long_long=`cat conftest.val` else - echo "$as_me: failed program was:" >&5 + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - ac_header_preproc=no +( exit $ac_status ) +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77 +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute sizeof (long long), 77 +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } fi -rm -f conftest.err conftest.$ac_ext -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6 - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in - yes:no: ) - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} - ac_header_preproc=yes - ;; - no:yes:* ) - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} - ( - cat <<\_ASBOX -## ------------------------------------------ ## -## Report this to the AC_PACKAGE_NAME lists. ## -## ------------------------------------------ ## -_ASBOX - ) | - sed "s/^/$as_me: WARNING: /" >&2 - ;; -esac -echo "$as_me:$LINENO: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 -if eval "test \"\${$as_ac_Header+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +rm -f conftest.val else - eval "$as_ac_Header=\$ac_header_preproc" + ac_cv_sizeof_long_long=0 fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 - fi -if test `eval echo '${'$as_ac_Header'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 +echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6 +cat >>confdefs.h <<_ACEOF +#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long _ACEOF -fi -done +fi -echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 -echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 -if test "${ac_cv_header_time+set}" = set; then +echo "$as_me:$LINENO: checking for long" >&5 +echo $ECHO_N "checking for long... $ECHO_C" >&6 +if test "${ac_cv_type_long+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF @@ -8950,15 +8861,14 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include -#include -#include - +$ac_includes_default int main () { -if ((struct tm *) 0) -return 0; +if ((long *) 0) + return 0; +if (sizeof (long)) + return 0; ; return 0; } @@ -8985,52 +8895,43 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_header_time=yes + ac_cv_type_long=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -ac_cv_header_time=no +ac_cv_type_long=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 -echo "${ECHO_T}$ac_cv_header_time" >&6 -if test $ac_cv_header_time = yes; then - -cat >>confdefs.h <<\_ACEOF -#define TIME_WITH_SYS_TIME 1 -_ACEOF - -fi - - +echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 +echo "${ECHO_T}$ac_cv_type_long" >&6 - - - -ac_header_dirent=no -for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do - as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 -echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 -if eval "test \"\${$as_ac_Header+set}\" = set"; then +echo "$as_me:$LINENO: checking size of long" >&5 +echo $ECHO_N "checking size of long... $ECHO_C" >&6 +if test "${ac_cv_sizeof_long+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF + if test "$ac_cv_type_long" = yes; then + # The cast to unsigned long works around a bug in the HP C Compiler + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. + # This bug is HP SR number 8606223364. + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. +cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include -#include <$ac_hdr> - +$ac_includes_default int main () { -if ((DIR *) 0) -return 0; +static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)]; +test_array [0] = 0 + ; return 0; } @@ -9057,60 +8958,28 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - eval "$as_ac_Header=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_Header=no" -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 -_ACEOF - -ac_header_dirent=$ac_hdr; break -fi - -done -# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. -if test $ac_header_dirent = dirent.h; then - echo "$as_me:$LINENO: checking for library containing opendir" >&5 -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 -if test "${ac_cv_search_opendir+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_func_search_save_LIBS=$LIBS -ac_cv_search_opendir=no -cat >conftest.$ac_ext <<_ACEOF + ac_lo=0 ac_mid=0 + while :; do + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char opendir (); +$ac_includes_default int main () { -opendir (); +static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; +test_array [0] = 0 + ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 @@ -9124,48 +8993,50 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_search_opendir="none required" + ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 +ac_lo=`expr $ac_mid + 1` + if test $ac_lo -le $ac_mid; then + ac_lo= ac_hi= + break + fi + ac_mid=`expr 2 '*' $ac_mid + 1` fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -if test "$ac_cv_search_opendir" = no; then - for ac_lib in dir; do - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - cat >conftest.$ac_ext <<_ACEOF +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char opendir (); +$ac_includes_default int main () { -opendir (); +static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)]; +test_array [0] = 0 + ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 @@ -9179,65 +9050,34 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_search_opendir="-l$ac_lib" -break -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - done -fi -LIBS=$ac_func_search_save_LIBS -fi -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 -echo "${ECHO_T}$ac_cv_search_opendir" >&6 -if test "$ac_cv_search_opendir" != no; then - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" - -fi - -else - echo "$as_me:$LINENO: checking for library containing opendir" >&5 -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 -if test "${ac_cv_search_opendir+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_func_search_save_LIBS=$LIBS -ac_cv_search_opendir=no -cat >conftest.$ac_ext <<_ACEOF + ac_hi=-1 ac_mid=-1 + while :; do + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char opendir (); +$ac_includes_default int main () { -opendir (); +static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)]; +test_array [0] = 0 + ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 @@ -9251,48 +9091,58 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_search_opendir="none required" + ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 +ac_hi=`expr '(' $ac_mid ')' - 1` + if test $ac_mid -le $ac_hi; then + ac_lo= ac_hi= + break + fi + ac_mid=`expr 2 '*' $ac_mid` fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -if test "$ac_cv_search_opendir" = no; then - for ac_lib in x; do - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - cat >conftest.$ac_ext <<_ACEOF +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_lo= ac_hi= +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +# Binary search between lo and hi bounds. +while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char opendir (); +$ac_includes_default int main () { -opendir (); +static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; +test_array [0] = 0 + ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 @@ -9306,48 +9156,36 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_search_opendir="-l$ac_lib" -break + ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 +ac_lo=`expr '(' $ac_mid ')' + 1` fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - done -fi -LIBS=$ac_func_search_save_LIBS -fi -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 -echo "${ECHO_T}$ac_cv_search_opendir" >&6 -if test "$ac_cv_search_opendir" != no; then - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" - -fi - -fi - - - - - - - - -for ac_func in fcntl getpagesize setitimer sysconf fdopen getuid getgid -do -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $ac_func" >&5 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 -if eval "test \"\${$as_ac_var+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +done +case $ac_lo in +?*) ac_cv_sizeof_long=$ac_lo;; +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute sizeof (long), 77 +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } ;; +esac +else + if test "$cross_compiling" = yes; then + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot run test program while cross compiling +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ @@ -9355,49 +9193,965 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -{ -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif - +$ac_includes_default +long longval () { return (long) (sizeof (long)); } +unsigned long ulongval () { return (long) (sizeof (long)); } +#include +#include int main () { -return f != $ac_func; - ; - return 0; + + FILE *f = fopen ("conftest.val", "w"); + if (! f) + exit (1); + if (((long) (sizeof (long))) < 0) + { + long i = longval (); + if (i != ((long) (sizeof (long)))) + exit (1); + fprintf (f, "%ld\n", i); + } + else + { + unsigned long i = ulongval (); + if (i != ((long) (sizeof (long)))) + exit (1); + fprintf (f, "%lu\n", i); + } + exit (ferror (f) || fclose (f) != 0); + + ; + return 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_sizeof_long=`cat conftest.val` +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute sizeof (long), 77 +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +rm -f conftest.val +else + ac_cv_sizeof_long=0 +fi +fi +echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 +echo "${ECHO_T}$ac_cv_sizeof_long" >&6 +cat >>confdefs.h <<_ACEOF +#define SIZEOF_LONG $ac_cv_sizeof_long +_ACEOF + + +if test "x${ac_cv_sizeof_long}" = "x8"; then + host64=true + BFD_HOST_64BIT_LONG=1 + test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long" + test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long" +elif test "x${ac_cv_sizeof_long_long}" = "x8"; then + test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long long" + test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long long" +fi + +if test -n "${HOST_64BIT_TYPE}" -a -n "${HOST_U_64BIT_TYPE}"; then + BFD_HOST_64_BIT_DEFINED=1 + BFD_HOST_64_BIT="${HOST_64BIT_TYPE}" + BFD_HOST_U_64_BIT="${HOST_U_64BIT_TYPE}" +fi + + + + + + + +# Put a plausible default for CC_FOR_BUILD in Makefile. +if test -z "$CC_FOR_BUILD"; then + if test "x$cross_compiling" = "xno"; then + CC_FOR_BUILD='$(CC)' + else + CC_FOR_BUILD=gcc + fi +fi + +# Also set EXEEXT_FOR_BUILD. +if test "x$cross_compiling" = "xno"; then + EXEEXT_FOR_BUILD='$(EXEEXT)' +else + echo "$as_me:$LINENO: checking for build system executable suffix" >&5 +echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6 +if test "${bfd_cv_build_exeext+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + rm -f conftest* + echo 'int main () { return 0; }' > conftest.c + bfd_cv_build_exeext= + ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5 + for file in conftest.*; do + case $file in + *.c | *.o | *.obj | *.ilk | *.pdb) ;; + *) bfd_cv_build_exeext=`echo $file | sed -e s/conftest//` ;; + esac + done + rm -f conftest* + test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no +fi +echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5 +echo "${ECHO_T}$bfd_cv_build_exeext" >&6 + EXEEXT_FOR_BUILD="" + test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext} +fi + + + + + + + + +for ac_header in stddef.h string.h strings.h stdlib.h time.h unistd.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------------ ## +## Report this to the AC_PACKAGE_NAME lists. ## +## ------------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=\$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + +for ac_header in fcntl.h sys/file.h sys/time.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + ( + cat <<\_ASBOX +## ------------------------------------------ ## +## Report this to the AC_PACKAGE_NAME lists. ## +## ------------------------------------------ ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=\$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + +echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 +echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 +if test "${ac_cv_header_time+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#include + +int +main () +{ +if ((struct tm *) 0) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_header_time=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_header_time=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 +echo "${ECHO_T}$ac_cv_header_time" >&6 +if test $ac_cv_header_time = yes; then + +cat >>confdefs.h <<\_ACEOF +#define TIME_WITH_SYS_TIME 1 +_ACEOF + +fi + + + + + + +ac_header_dirent=no +for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do + as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 +echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include <$ac_hdr> + +int +main () +{ +if ((DIR *) 0) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_Header=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_Header=no" +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 +_ACEOF + +ac_header_dirent=$ac_hdr; break +fi + +done +# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. +if test $ac_header_dirent = dirent.h; then + echo "$as_me:$LINENO: checking for library containing opendir" >&5 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 +if test "${ac_cv_search_opendir+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_func_search_save_LIBS=$LIBS +ac_cv_search_opendir=no +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char opendir (); +int +main () +{ +opendir (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_opendir="none required" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +if test "$ac_cv_search_opendir" = no; then + for ac_lib in dir; do + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char opendir (); +int +main () +{ +opendir (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_opendir="-l$ac_lib" +break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + done +fi +LIBS=$ac_func_search_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 +echo "${ECHO_T}$ac_cv_search_opendir" >&6 +if test "$ac_cv_search_opendir" != no; then + test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" + +fi + +else + echo "$as_me:$LINENO: checking for library containing opendir" >&5 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 +if test "${ac_cv_search_opendir+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_func_search_save_LIBS=$LIBS +ac_cv_search_opendir=no +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char opendir (); +int +main () +{ +opendir (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_opendir="none required" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +if test "$ac_cv_search_opendir" = no; then + for ac_lib in x; do + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char opendir (); +int +main () +{ +opendir (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_opendir="-l$ac_lib" +break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + done +fi +LIBS=$ac_func_search_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 +echo "${ECHO_T}$ac_cv_search_opendir" >&6 +if test "$ac_cv_search_opendir" != no; then + test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" + +fi + +fi + +echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5 +echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6 +if test "${gcc_cv_header_string+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + gcc_cv_header_string=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +gcc_cv_header_string=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5 +echo "${ECHO_T}$gcc_cv_header_string" >&6 +if test $gcc_cv_header_string = yes; then + +cat >>confdefs.h <<\_ACEOF +#define STRING_WITH_STRINGS 1 +_ACEOF + +fi + + + + + + + + +for ac_func in fcntl getpagesize setitimer sysconf fdopen getuid getgid +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext @@ -10276,6 +11030,78 @@ _ACEOF fi +echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5 +echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_stpcpy+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef stpcpy + char *p = (char *) stpcpy; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_stpcpy=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_stpcpy=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5 +echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6 +if test $ac_cv_have_decl_stpcpy = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STPCPY 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STPCPY 0 +_ACEOF + + +fi + + echo "$as_me:$LINENO: checking whether strstr is declared" >&5 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_strstr+set}" = set; then @@ -11994,8 +12820,9 @@ do bfd_elf32_hppa_nbsd_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;; bfd_elf32_hppa_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;; bfd_elf32_i370_vec) tb="$tb elf32-i370.lo elf32.lo $elf" ;; - bfd_elf32_i386_freebsd_vec) tb="$tb elf32-i386.lo elf32.lo $elf" ;; - bfd_elf32_i386_vec) tb="$tb elf32-i386.lo elf32.lo $elf" ;; + bfd_elf32_i386_freebsd_vec) tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;; + bfd_elf32_i386_vxworks_vec) tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;; + bfd_elf32_i386_vec) tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;; bfd_elf32_i860_little_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;; bfd_elf32_i860_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;; bfd_elf32_i960_vec) tb="$tb elf32-i960.lo elf32.lo $elf" ;; @@ -12340,60 +13167,328 @@ echo $ECHO_N "checking for $ac_func... $ if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + +if test x"$ac_cv_func_ftello" = xyes -a x"$ac_cv_func_fseeko" = xyes; then + echo "$as_me:$LINENO: checking for off_t" >&5 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6 +if test "${ac_cv_type_off_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +if ((off_t *) 0) + return 0; +if (sizeof (off_t)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_off_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_off_t=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 +echo "${ECHO_T}$ac_cv_type_off_t" >&6 + +echo "$as_me:$LINENO: checking size of off_t" >&5 +echo $ECHO_N "checking size of off_t... $ECHO_C" >&6 +if test "${ac_cv_sizeof_off_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$ac_cv_type_off_t" = yes; then + # The cast to unsigned long works around a bug in the HP C Compiler + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. + # This bug is HP SR number 8606223364. + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. +cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func +$ac_includes_default +int +main () +{ +static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= 0)]; +test_array [0] = 0 -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_lo=0 ac_mid=0 + while :; do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)]; +test_array [0] = 0 -#ifdef __STDC__ -# include -#else -# include -#endif + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_hi=$ac_mid; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -#undef $ac_func +ac_lo=`expr $ac_mid + 1` + if test $ac_lo -le $ac_mid; then + ac_lo= ac_hi= + break + fi + ac_mid=`expr 2 '*' $ac_mid + 1` +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () { -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_$ac_func) || defined (__stub___$ac_func) -choke me -#else -char (*f) () = $ac_func; -#endif -#ifdef __cplusplus -} -#endif +static int test_array [1 - 2 * !(((long) (sizeof (off_t))) < 0)]; +test_array [0] = 0 + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_hi=-1 ac_mid=-1 + while :; do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default int main () { -return f != $ac_func; +static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= $ac_mid)]; +test_array [0] = 0 + ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 @@ -12407,53 +13502,51 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' + { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - eval "$as_ac_var=yes" + ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -eval "$as_ac_var=no" +ac_hi=`expr '(' $ac_mid ')' - 1` + if test $ac_mid -le $ac_hi; then + ac_lo= ac_hi= + break + fi + ac_mid=`expr 2 '*' $ac_mid` fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 +ac_lo= ac_hi= fi -done - -if test x"$ac_cv_func_ftello" = xyes -a x"$ac_cv_func_fseeko" = xyes; then - echo "$as_me:$LINENO: checking size of off_t" >&5 -echo $ECHO_N "checking size of off_t... $ECHO_C" >&6 -if test "${ac_cv_sizeof_off_t+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +# Binary search between lo and hi bounds. +while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include "confdefs.h" -#include - - +$ac_includes_default int main () { -switch (0) case 0: case (sizeof (off_t) == $ac_size):; +static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)]; +test_array [0] = 0 + ; return 0; } @@ -12480,26 +13573,103 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - ac_cv_sizeof_off_t=$ac_size + ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 +ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - if test x$ac_cv_sizeof_off_t != x ; then break; fi done +case $ac_lo in +?*) ac_cv_sizeof_off_t=$ac_lo;; +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77 +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute sizeof (off_t), 77 +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } ;; +esac +else + if test "$cross_compiling" = yes; then + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot run test program while cross compiling +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +long longval () { return (long) (sizeof (off_t)); } +unsigned long ulongval () { return (long) (sizeof (off_t)); } +#include +#include +int +main () +{ -fi + FILE *f = fopen ("conftest.val", "w"); + if (! f) + exit (1); + if (((long) (sizeof (off_t))) < 0) + { + long i = longval (); + if (i != ((long) (sizeof (off_t)))) + exit (1); + fprintf (f, "%ld\n", i); + } + else + { + unsigned long i = ulongval (); + if (i != ((long) (sizeof (off_t)))) + exit (1); + fprintf (f, "%lu\n", i); + } + exit (ferror (f) || fclose (f) != 0); + + ; + return 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_sizeof_off_t=`cat conftest.val` +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -if test x$ac_cv_sizeof_off_t = x ; then - { { echo "$as_me:$LINENO: error: cannot determine a size for off_t" >&5 -echo "$as_me: error: cannot determine a size for off_t" >&2;} +( exit $ac_status ) +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77 +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute sizeof (off_t), 77 +See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +rm -f conftest.val +else + ac_cv_sizeof_off_t=0 +fi +fi echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6 - cat >>confdefs.h <<_ACEOF #define SIZEOF_OFF_T $ac_cv_sizeof_off_t _ACEOF diff -uprN binutils-2.16.90.0.2/bfd/configure.in binutils-2.16.90.0.3/bfd/configure.in --- binutils-2.16.90.0.2/bfd/configure.in 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/configure.in 2005-05-10 15:46:41.000000000 -0700 @@ -8,7 +8,7 @@ AC_CONFIG_SRCDIR([libbfd.c]) AC_CANONICAL_TARGET AC_ISC_POSIX -AM_INIT_AUTOMAKE(bfd, 2.16.90.0.2) +AM_INIT_AUTOMAKE(bfd, 2.16.90.0.3) dnl These must be called before AM_PROG_LIBTOOL, because it may want dnl to call AC_CHECK_PROG. @@ -70,6 +70,7 @@ bfd_default_target_size=32 # host stuff: AC_PROG_CC +AC_GNU_SOURCE ALL_LINGUAS="fr tr ja es sv da zh_CN ro rw" CY_GNU_GETTEXT @@ -92,10 +93,10 @@ AC_CACHE_VAL(bfd_cv_has_long_long, AC_MSG_RESULT($bfd_cv_has_long_long) if test $bfd_cv_has_long_long = yes; then BFD_HOST_LONG_LONG=1 - AC_COMPILE_CHECK_SIZEOF(long long) + AC_CHECK_SIZEOF(long long) fi -AC_COMPILE_CHECK_SIZEOF(long) +AC_CHECK_SIZEOF(long) if test "x${ac_cv_sizeof_long}" = "x8"; then host64=true BFD_HOST_64BIT_LONG=1 @@ -124,6 +125,7 @@ AC_CHECK_HEADERS(stddef.h string.h strin AC_CHECK_HEADERS(fcntl.h sys/file.h sys/time.h) AC_HEADER_TIME AC_HEADER_DIRENT +ACX_HEADER_STRING AC_CHECK_FUNCS(fcntl getpagesize setitimer sysconf fdopen getuid getgid) AC_CHECK_FUNCS(strtoull) @@ -140,6 +142,7 @@ AC_CHECK_DECLS(free) AC_CHECK_DECLS(getenv) AC_CHECK_DECLS(malloc) AC_CHECK_DECLS(realloc) +AC_CHECK_DECLS(stpcpy) AC_CHECK_DECLS(strstr) # If we are configured native, pick a core file support file. @@ -589,8 +592,9 @@ do bfd_elf32_hppa_nbsd_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;; bfd_elf32_hppa_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;; bfd_elf32_i370_vec) tb="$tb elf32-i370.lo elf32.lo $elf" ;; - bfd_elf32_i386_freebsd_vec) tb="$tb elf32-i386.lo elf32.lo $elf" ;; - bfd_elf32_i386_vec) tb="$tb elf32-i386.lo elf32.lo $elf" ;; + bfd_elf32_i386_freebsd_vec) tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;; + bfd_elf32_i386_vxworks_vec) tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;; + bfd_elf32_i386_vec) tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;; bfd_elf32_i860_little_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;; bfd_elf32_i860_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;; bfd_elf32_i960_vec) tb="$tb elf32-i960.lo elf32.lo $elf" ;; @@ -903,7 +907,7 @@ AC_SUBST(bfd_default_target_size) # upward compatible. AC_CHECK_FUNCS(ftello ftello64 fseeko fseeko64) if test x"$ac_cv_func_ftello" = xyes -a x"$ac_cv_func_fseeko" = xyes; then - AC_COMPILE_CHECK_SIZEOF(off_t) + AC_CHECK_SIZEOF(off_t) fi AC_MSG_CHECKING([file_ptr type]) bfd_file_ptr="long" diff -uprN binutils-2.16.90.0.2/bfd/COPYING binutils-2.16.90.0.3/bfd/COPYING --- binutils-2.16.90.0.2/bfd/COPYING 2001-03-09 11:15:20.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/COPYING 2005-05-10 15:46:40.000000000 -0700 @@ -2,7 +2,7 @@ Version 2, June 1991 Copyright 1989, 1991, 1997 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -305,7 +305,7 @@ the "copyright" line and a pointer to wh You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. diff -uprN binutils-2.16.90.0.2/bfd/corefile.c binutils-2.16.90.0.3/bfd/corefile.c --- binutils-2.16.90.0.2/bfd/corefile.c 2004-01-14 13:07:43.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/corefile.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* SECTION diff -uprN binutils-2.16.90.0.2/bfd/cpu-a29k.c binutils-2.16.90.0.3/bfd/cpu-a29k.c --- binutils-2.16.90.0.2/bfd/cpu-a29k.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-a29k.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-alpha.c binutils-2.16.90.0.3/bfd/cpu-alpha.c --- binutils-2.16.90.0.2/bfd/cpu-alpha.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/cpu-alpha.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-arc.c binutils-2.16.90.0.3/bfd/cpu-arc.c --- binutils-2.16.90.0.2/bfd/cpu-arc.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-arc.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-arm.c binutils-2.16.90.0.3/bfd/cpu-arm.c --- binutils-2.16.90.0.2/bfd/cpu-arm.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/cpu-arm.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-avr.c binutils-2.16.90.0.3/bfd/cpu-avr.c --- binutils-2.16.90.0.2/bfd/cpu-avr.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-avr.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-cr16c.c binutils-2.16.90.0.3/bfd/cpu-cr16c.c --- binutils-2.16.90.0.2/bfd/cpu-cr16c.c 2004-04-12 12:56:33.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/cpu-cr16c.c 2005-05-10 15:46:41.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-cris.c binutils-2.16.90.0.3/bfd/cpu-cris.c --- binutils-2.16.90.0.2/bfd/cpu-cris.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/cpu-cris.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-crx.c binutils-2.16.90.0.3/bfd/cpu-crx.c --- binutils-2.16.90.0.2/bfd/cpu-crx.c 2004-07-27 21:36:07.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/cpu-crx.c 2005-05-10 15:46:41.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-d10v.c binutils-2.16.90.0.3/bfd/cpu-d10v.c --- binutils-2.16.90.0.2/bfd/cpu-d10v.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-d10v.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-d30v.c binutils-2.16.90.0.3/bfd/cpu-d30v.c --- binutils-2.16.90.0.2/bfd/cpu-d30v.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-d30v.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-dlx.c binutils-2.16.90.0.3/bfd/cpu-dlx.c --- binutils-2.16.90.0.2/bfd/cpu-dlx.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-dlx.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-fr30.c binutils-2.16.90.0.3/bfd/cpu-fr30.c --- binutils-2.16.90.0.2/bfd/cpu-fr30.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-fr30.c 2005-05-10 15:46:41.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-frv.c binutils-2.16.90.0.3/bfd/cpu-frv.c --- binutils-2.16.90.0.2/bfd/cpu-frv.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/cpu-frv.c 2005-05-10 15:46:41.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-h8300.c binutils-2.16.90.0.3/bfd/cpu-h8300.c --- binutils-2.16.90.0.2/bfd/cpu-h8300.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/cpu-h8300.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-h8500.c binutils-2.16.90.0.3/bfd/cpu-h8500.c --- binutils-2.16.90.0.2/bfd/cpu-h8500.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/cpu-h8500.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-hppa.c binutils-2.16.90.0.3/bfd/cpu-hppa.c --- binutils-2.16.90.0.2/bfd/cpu-hppa.c 2004-01-14 13:07:43.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-hppa.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-i370.c binutils-2.16.90.0.3/bfd/cpu-i370.c --- binutils-2.16.90.0.2/bfd/cpu-i370.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-i370.c 2005-05-10 15:46:41.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-i386.c binutils-2.16.90.0.3/bfd/cpu-i386.c --- binutils-2.16.90.0.2/bfd/cpu-i386.c 2004-11-22 12:33:30.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-i386.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-i860.c binutils-2.16.90.0.3/bfd/cpu-i860.c --- binutils-2.16.90.0.2/bfd/cpu-i860.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-i860.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-i960.c binutils-2.16.90.0.3/bfd/cpu-i960.c --- binutils-2.16.90.0.2/bfd/cpu-i960.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-i960.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-ia64.c binutils-2.16.90.0.3/bfd/cpu-ia64.c --- binutils-2.16.90.0.2/bfd/cpu-ia64.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-ia64.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-ia64-opc.c binutils-2.16.90.0.3/bfd/cpu-ia64-opc.c --- binutils-2.16.90.0.2/bfd/cpu-ia64-opc.c 2004-01-14 13:07:43.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-ia64-opc.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Logically, this code should be part of libopcode but since some of the operand insertion/extraction functions help bfd to implement diff -uprN binutils-2.16.90.0.2/bfd/cpu-ip2k.c binutils-2.16.90.0.3/bfd/cpu-ip2k.c --- binutils-2.16.90.0.2/bfd/cpu-ip2k.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-ip2k.c 2005-05-10 15:46:41.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-iq2000.c binutils-2.16.90.0.3/bfd/cpu-iq2000.c --- binutils-2.16.90.0.2/bfd/cpu-iq2000.c 2004-01-14 13:07:43.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-iq2000.c 2005-05-10 15:46:41.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-m10200.c binutils-2.16.90.0.3/bfd/cpu-m10200.c --- binutils-2.16.90.0.2/bfd/cpu-m10200.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-m10200.c 2005-05-10 15:46:41.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-m10300.c binutils-2.16.90.0.3/bfd/cpu-m10300.c --- binutils-2.16.90.0.2/bfd/cpu-m10300.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/cpu-m10300.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-m32r.c binutils-2.16.90.0.3/bfd/cpu-m32r.c --- binutils-2.16.90.0.2/bfd/cpu-m32r.c 2004-01-14 13:07:43.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-m32r.c 2005-05-10 15:46:41.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-m68hc11.c binutils-2.16.90.0.3/bfd/cpu-m68hc11.c --- binutils-2.16.90.0.2/bfd/cpu-m68hc11.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-m68hc11.c 2005-05-10 15:46:41.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-m68hc12.c binutils-2.16.90.0.3/bfd/cpu-m68hc12.c --- binutils-2.16.90.0.2/bfd/cpu-m68hc12.c 2003-05-15 13:42:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/cpu-m68hc12.c 2005-05-10 15:46:41.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-m68k.c binutils-2.16.90.0.3/bfd/cpu-m68k.c --- binutils-2.16.90.0.2/bfd/cpu-m68k.c 2004-05-27 11:26:02.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/cpu-m68k.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-m88k.c binutils-2.16.90.0.3/bfd/cpu-m88k.c --- binutils-2.16.90.0.2/bfd/cpu-m88k.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-m88k.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-maxq.c binutils-2.16.90.0.3/bfd/cpu-maxq.c --- binutils-2.16.90.0.2/bfd/cpu-maxq.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/cpu-maxq.c 2005-05-10 15:46:41.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-mcore.c binutils-2.16.90.0.3/bfd/cpu-mcore.c --- binutils-2.16.90.0.2/bfd/cpu-mcore.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/cpu-mcore.c 2005-05-10 15:46:41.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-mips.c binutils-2.16.90.0.3/bfd/cpu-mips.c --- binutils-2.16.90.0.2/bfd/cpu-mips.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/cpu-mips.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-mmix.c binutils-2.16.90.0.3/bfd/cpu-mmix.c --- binutils-2.16.90.0.2/bfd/cpu-mmix.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-mmix.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-msp430.c binutils-2.16.90.0.3/bfd/cpu-msp430.c --- binutils-2.16.90.0.2/bfd/cpu-msp430.c 2004-01-14 13:07:43.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-msp430.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-ns32k.c binutils-2.16.90.0.3/bfd/cpu-ns32k.c --- binutils-2.16.90.0.2/bfd/cpu-ns32k.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/cpu-ns32k.c 2005-05-10 15:46:41.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-openrisc.c binutils-2.16.90.0.3/bfd/cpu-openrisc.c --- binutils-2.16.90.0.2/bfd/cpu-openrisc.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-openrisc.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-or32.c binutils-2.16.90.0.3/bfd/cpu-or32.c --- binutils-2.16.90.0.2/bfd/cpu-or32.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-or32.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-pdp11.c binutils-2.16.90.0.3/bfd/cpu-pdp11.c --- binutils-2.16.90.0.2/bfd/cpu-pdp11.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-pdp11.c 2005-05-10 15:46:41.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-pj.c binutils-2.16.90.0.3/bfd/cpu-pj.c --- binutils-2.16.90.0.2/bfd/cpu-pj.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-pj.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-powerpc.c binutils-2.16.90.0.3/bfd/cpu-powerpc.c --- binutils-2.16.90.0.2/bfd/cpu-powerpc.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/cpu-powerpc.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-rs6000.c binutils-2.16.90.0.3/bfd/cpu-rs6000.c --- binutils-2.16.90.0.2/bfd/cpu-rs6000.c 2004-01-14 13:07:43.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-rs6000.c 2005-05-10 15:46:41.000000000 -0700 @@ -22,7 +22,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-s390.c binutils-2.16.90.0.3/bfd/cpu-s390.c --- binutils-2.16.90.0.2/bfd/cpu-s390.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-s390.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-sh.c binutils-2.16.90.0.3/bfd/cpu-sh.c --- binutils-2.16.90.0.2/bfd/cpu-sh.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/cpu-sh.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-sparc.c binutils-2.16.90.0.3/bfd/cpu-sparc.c --- binutils-2.16.90.0.2/bfd/cpu-sparc.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-sparc.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-tic30.c binutils-2.16.90.0.3/bfd/cpu-tic30.c --- binutils-2.16.90.0.2/bfd/cpu-tic30.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-tic30.c 2005-05-10 15:46:41.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-tic4x.c binutils-2.16.90.0.3/bfd/cpu-tic4x.c --- binutils-2.16.90.0.2/bfd/cpu-tic4x.c 2003-05-05 14:46:46.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/cpu-tic4x.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-tic54x.c binutils-2.16.90.0.3/bfd/cpu-tic54x.c --- binutils-2.16.90.0.2/bfd/cpu-tic54x.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-tic54x.c 2005-05-10 15:46:41.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-tic80.c binutils-2.16.90.0.3/bfd/cpu-tic80.c --- binutils-2.16.90.0.2/bfd/cpu-tic80.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-tic80.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-v850.c binutils-2.16.90.0.3/bfd/cpu-v850.c --- binutils-2.16.90.0.2/bfd/cpu-v850.c 2004-01-14 13:07:43.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-v850.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-vax.c binutils-2.16.90.0.3/bfd/cpu-vax.c --- binutils-2.16.90.0.2/bfd/cpu-vax.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-vax.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-w65.c binutils-2.16.90.0.3/bfd/cpu-w65.c --- binutils-2.16.90.0.2/bfd/cpu-w65.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-w65.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You w65ould have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-we32k.c binutils-2.16.90.0.3/bfd/cpu-we32k.c --- binutils-2.16.90.0.2/bfd/cpu-we32k.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-we32k.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-xstormy16.c binutils-2.16.90.0.3/bfd/cpu-xstormy16.c --- binutils-2.16.90.0.2/bfd/cpu-xstormy16.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-xstormy16.c 2005-05-10 15:46:41.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-xtensa.c binutils-2.16.90.0.3/bfd/cpu-xtensa.c --- binutils-2.16.90.0.2/bfd/cpu-xtensa.c 2003-05-05 14:46:46.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/cpu-xtensa.c 2005-05-10 15:46:41.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/cpu-z8k.c binutils-2.16.90.0.3/bfd/cpu-z8k.c --- binutils-2.16.90.0.2/bfd/cpu-z8k.c 2004-01-14 13:07:43.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/cpu-z8k.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/demo64.c binutils-2.16.90.0.3/bfd/demo64.c --- binutils-2.16.90.0.2/bfd/demo64.c 2001-10-04 14:35:43.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/demo64.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define ARCH_SIZE 64 diff -uprN binutils-2.16.90.0.2/bfd/doc/ChangeLog binutils-2.16.90.0.3/bfd/doc/ChangeLog --- binutils-2.16.90.0.2/bfd/doc/ChangeLog 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/doc/ChangeLog 2005-05-10 15:46:43.000000000 -0700 @@ -1,3 +1,24 @@ +2005-05-09 Daniel Jacobowitz + + * Makefile.am: Use a temporary file to build chew. + * Makefile.in: Regenerated. + +2005-05-04 Nick Clifton + + * chew.c: Update the address and phone number of the FSF + organization in the GPL notice. + +2005-05-05 H.J. Lu + + * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE. + * Makefile.in: Regenerate. + +2005-04-29 Daniel Jacobowitz + + * Makefile.am: Remove stamp rules. Depend on chew.c + instead of $(MKDOC). + * Makefile.in: Regnerated. + 2005-04-21 H.J. Lu * Makefile.am (INCLUDES): New. Add -D_GNU_SOURCE. @@ -22,6 +43,11 @@ building chew. * Makefile.in: Regenerate. +2005-02-01 Ben Elliston + + * chew.c: Remove #if 0'd code throughout. Similarly, collapse #if + 1'd code. + 2004-12-20 Ian Lance Taylor * Makefile.am: Use $(SHELL) whenever we run move-if-change. diff -uprN binutils-2.16.90.0.2/bfd/doc/chew.c binutils-2.16.90.0.3/bfd/doc/chew.c --- binutils-2.16.90.0.2/bfd/doc/chew.c 2005-04-09 12:03:01.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/doc/chew.c 2005-05-10 15:46:43.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Yet another way of extracting documentation from source. No, I haven't finished it yet, but I hope you people like it better diff -uprN binutils-2.16.90.0.2/bfd/doc/fdl.texi binutils-2.16.90.0.3/bfd/doc/fdl.texi --- binutils-2.16.90.0.2/bfd/doc/fdl.texi 2005-04-09 12:03:01.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/doc/fdl.texi 2005-05-10 15:46:43.000000000 -0700 @@ -4,7 +4,7 @@ @display Copyright (C) 2000, 2003 Free Software Foundation, Inc. -59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. diff -uprN binutils-2.16.90.0.2/bfd/doc/Makefile.am binutils-2.16.90.0.3/bfd/doc/Makefile.am --- binutils-2.16.90.0.2/bfd/doc/Makefile.am 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/doc/Makefile.am 2005-05-10 15:46:43.000000000 -0700 @@ -54,11 +54,14 @@ info_TEXINFOS = bfd.texinfo MKDOC = chew$(EXEEXT_FOR_BUILD) -INCLUDES = -D_GNU_SOURCE -I.. -I$(srcdir)/.. -I$(srcdir)/../../include \ +INCLUDES = -I.. -I$(srcdir)/.. -I$(srcdir)/../../include \ -I$(srcdir)/../../intl -I../../intl -$(MKDOC): chew.o - $(CC_FOR_BUILD) -o $(MKDOC) chew.o $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) +$(MKDOC): $(srcdir)/chew.c + $(CC_FOR_BUILD) -o chew.$$$$ $(srcdir)/chew.c \ + $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) $(H_CFLAGS) \ + $(INCLUDES); \ + $(SHELL) $(srcdir)/../../move-if-change chew.$$$$ $(MKDOC) chew.o: chew.c $(CC_FOR_BUILD) -c $(INCLUDES) $(H_CFLAGS) $(CFLAGS_FOR_BUILD) $(srcdir)/chew.c diff -uprN binutils-2.16.90.0.2/bfd/doc/Makefile.in binutils-2.16.90.0.3/bfd/doc/Makefile.in --- binutils-2.16.90.0.2/bfd/doc/Makefile.in 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/doc/Makefile.in 2005-05-10 15:46:43.000000000 -0700 @@ -40,7 +40,6 @@ subdir = doc DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ - $(top_srcdir)/../config/accross.m4 \ $(top_srcdir)/../config/acx.m4 $(top_srcdir)/../bfd/bfd.m4 \ $(top_srcdir)/../bfd/warning.m4 $(top_srcdir)/../libtool.m4 \ $(top_srcdir)/../gettext.m4 $(top_srcdir)/configure.in @@ -262,7 +261,7 @@ SRCIPROT = $(srcdir)/../cache.c $(srcdir TEXIDIR = $(srcdir)/../../texinfo/fsf info_TEXINFOS = bfd.texinfo MKDOC = chew$(EXEEXT_FOR_BUILD) -INCLUDES = -D_GNU_SOURCE -I.. -I$(srcdir)/.. -I$(srcdir)/../../include \ +INCLUDES = -I.. -I$(srcdir)/.. -I$(srcdir)/../../include \ -I$(srcdir)/../../intl -I../../intl LIBBFD_H_DEP = \ @@ -586,8 +585,11 @@ uninstall-am: uninstall uninstall-am uninstall-info-am -$(MKDOC): chew.o - $(CC_FOR_BUILD) -o $(MKDOC) chew.o $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) +$(MKDOC): $(srcdir)/chew.c + $(CC_FOR_BUILD) -o chew.$$$$ $(srcdir)/chew.c \ + $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) $(H_CFLAGS) \ + $(INCLUDES); \ + $(SHELL) $(srcdir)/../../move-if-change chew.$$$$ $(MKDOC) chew.o: chew.c $(CC_FOR_BUILD) -c $(INCLUDES) $(H_CFLAGS) $(CFLAGS_FOR_BUILD) $(srcdir)/chew.c diff -uprN binutils-2.16.90.0.2/bfd/dwarf1.c binutils-2.16.90.0.3/bfd/dwarf1.c --- binutils-2.16.90.0.2/bfd/dwarf1.c 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/dwarf1.c 2005-05-10 15:46:41.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/dwarf2.c binutils-2.16.90.0.3/bfd/dwarf2.c --- binutils-2.16.90.0.2/bfd/dwarf2.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/dwarf2.c 2005-05-10 15:46:41.000000000 -0700 @@ -27,7 +27,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" @@ -447,11 +447,28 @@ read_abbrevs (bfd *abfd, bfd_uint64_t of { if ((cur_abbrev->num_attrs % ATTR_ALLOC_CHUNK) == 0) { + struct attr_abbrev *tmp; + amt = cur_abbrev->num_attrs + ATTR_ALLOC_CHUNK; amt *= sizeof (struct attr_abbrev); - cur_abbrev->attrs = bfd_realloc (cur_abbrev->attrs, amt); - if (! cur_abbrev->attrs) - return 0; + tmp = bfd_realloc (cur_abbrev->attrs, amt); + if (tmp == NULL) + { + size_t i; + + for (i = 0; i < ABBREV_HASH_SIZE; i++) + { + struct abbrev_info *abbrev = abbrevs[i]; + + while (abbrev) + { + free (abbrev->attrs); + abbrev = abbrev->next; + } + } + return NULL; + } + cur_abbrev->attrs = tmp; } cur_abbrev->attrs[cur_abbrev->num_attrs].name @@ -963,11 +980,18 @@ decode_line_info (struct comp_unit *unit if ((table->num_dirs % DIR_ALLOC_CHUNK) == 0) { + char **tmp; + amt = table->num_dirs + DIR_ALLOC_CHUNK; amt *= sizeof (char *); - table->dirs = bfd_realloc (table->dirs, amt); - if (! table->dirs) - return 0; + + tmp = bfd_realloc (table->dirs, amt); + if (tmp == NULL) + { + free (table->dirs); + return NULL; + } + table->dirs = tmp; } table->dirs[table->num_dirs++] = cur_dir; @@ -982,11 +1006,19 @@ decode_line_info (struct comp_unit *unit if ((table->num_files % FILE_ALLOC_CHUNK) == 0) { + struct fileinfo *tmp; + amt = table->num_files + FILE_ALLOC_CHUNK; amt *= sizeof (struct fileinfo); - table->files = bfd_realloc (table->files, amt); - if (! table->files) - return 0; + + tmp = bfd_realloc (table->files, amt); + if (tmp == NULL) + { + free (table->files); + free (table->dirs); + return NULL; + } + table->files = tmp; } table->files[table->num_files].name = cur_file; @@ -1073,11 +1105,19 @@ decode_line_info (struct comp_unit *unit line_ptr += bytes_read; if ((table->num_files % FILE_ALLOC_CHUNK) == 0) { + struct fileinfo *tmp; + amt = table->num_files + FILE_ALLOC_CHUNK; amt *= sizeof (struct fileinfo); - table->files = bfd_realloc (table->files, amt); - if (! table->files) - return 0; + tmp = bfd_realloc (table->files, amt); + if (tmp == NULL) + { + free (table->files); + free (table->dirs); + free (filename); + return NULL; + } + table->files = tmp; } table->files[table->num_files].name = cur_file; table->files[table->num_files].dir = @@ -1094,7 +1134,10 @@ decode_line_info (struct comp_unit *unit default: (*_bfd_error_handler) (_("Dwarf Error: mangled line number section.")); bfd_set_error (bfd_error_bad_value); - return 0; + free (filename); + free (table->files); + free (table->dirs); + return NULL; } break; case DW_LNS_copy: @@ -2003,3 +2046,45 @@ _bfd_dwarf2_find_nearest_line (bfd *abfd return FALSE; } + +void +_bfd_dwarf2_cleanup_debug_info (bfd *abfd) +{ + struct comp_unit *each; + struct dwarf2_debug *stash; + + if (abfd == NULL || elf_tdata (abfd) == NULL) + return; + + stash = elf_tdata (abfd)->dwarf2_find_line_info; + + if (stash == NULL) + return; + + for (each = stash->all_comp_units; each; each = each->next_unit) + { + struct abbrev_info **abbrevs = each->abbrevs; + size_t i; + + for (i = 0; i < ABBREV_HASH_SIZE; i++) + { + struct abbrev_info *abbrev = abbrevs[i]; + + while (abbrev) + { + free (abbrev->attrs); + abbrev = abbrev->next; + } + } + + if (each->line_table) + { + free (each->line_table->dirs); + free (each->line_table->files); + } + } + + free (stash->dwarf_abbrev_buffer); + free (stash->dwarf_line_buffer); + free (stash->dwarf_ranges_buffer); +} diff -uprN binutils-2.16.90.0.2/bfd/ecoff.c binutils-2.16.90.0.3/bfd/ecoff.c --- binutils-2.16.90.0.2/bfd/ecoff.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/ecoff.c 2005-05-10 15:46:41.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" @@ -52,8 +52,8 @@ /* This stuff is somewhat copied from coffcode.h. */ static asection bfd_debug_section = { - /* name, id, index, next, flags, user_set_vma, */ - "*DEBUG*", 0, 0, NULL, 0, 0, + /* name, id, index, next, prev, flags, user_set_vma, */ + "*DEBUG*", 0, 0, NULL, NULL, 0, 0, /* linker_mark, linker_has_input, gc_mark, segment_mark, */ 0, 0, 0, 0, /* sec_info_type, use_rela_p, has_tls_reloc, has_gp_reloc, */ @@ -76,8 +76,8 @@ static asection bfd_debug_section = NULL, /* symbol_ptr_ptr, */ NULL, - /* link_order_head, link_order_tail */ - NULL, NULL + /* map_head, map_tail */ + { NULL }, { NULL } }; /* Create an ECOFF object. */ @@ -4523,7 +4523,7 @@ _bfd_ecoff_bfd_final_link (bfd *abfd, st for (o = abfd->sections; o != NULL; o = o->next) { o->reloc_count = 0; - for (p = o->link_order_head; + for (p = o->map_head.link_order; p != NULL; p = p->next) if (p->type == bfd_indirect_link_order) @@ -4593,7 +4593,7 @@ _bfd_ecoff_bfd_final_link (bfd *abfd, st for (o = abfd->sections; o != NULL; o = o->next) { - for (p = o->link_order_head; + for (p = o->map_head.link_order; p != NULL; p = p->next) { diff -uprN binutils-2.16.90.0.2/bfd/ecofflink.c binutils-2.16.90.0.3/bfd/ecofflink.c --- binutils-2.16.90.0.2/bfd/ecofflink.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/ecofflink.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/ecoffswap.h binutils-2.16.90.0.3/bfd/ecoffswap.h --- binutils-2.16.90.0.2/bfd/ecoffswap.h 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/ecoffswap.h 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* NOTE: This is a header file, but it contains executable routines. This is done this way because these routines are substantially diff -uprN binutils-2.16.90.0.2/bfd/efi-app-ia32.c binutils-2.16.90.0.3/bfd/efi-app-ia32.c --- binutils-2.16.90.0.2/bfd/efi-app-ia32.c 2004-01-14 13:07:43.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/efi-app-ia32.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/efi-app-ia64.c binutils-2.16.90.0.3/bfd/efi-app-ia64.c --- binutils-2.16.90.0.2/bfd/efi-app-ia64.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/efi-app-ia64.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/elf32-am33lin.c binutils-2.16.90.0.3/bfd/elf32-am33lin.c --- binutils-2.16.90.0.2/bfd/elf32-am33lin.c 2004-01-14 13:07:43.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/elf32-am33lin.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define elf_symbol_leading_char 0 diff -uprN binutils-2.16.90.0.2/bfd/elf32-arc.c binutils-2.16.90.0.3/bfd/elf32-arc.c --- binutils-2.16.90.0.2/bfd/elf32-arc.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/elf32-arc.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/elf32-arm.c binutils-2.16.90.0.3/bfd/elf32-arm.c --- binutils-2.16.90.0.2/bfd/elf32-arm.c 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-arm.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "elf/arm.h" #include "bfd.h" @@ -1414,12 +1414,13 @@ create_got_section (bfd *dynobj, struct if (!htab->sgot || !htab->sgotplt) abort (); - htab->srelgot = bfd_make_section (dynobj, ".rel.got"); + htab->srelgot = bfd_make_section_with_flags (dynobj, ".rel.got", + (SEC_ALLOC | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED + | SEC_READONLY)); if (htab->srelgot == NULL - || ! bfd_set_section_flags (dynobj, htab->srelgot, - (SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS - | SEC_IN_MEMORY | SEC_LINKER_CREATED - | SEC_READONLY)) || ! bfd_set_section_alignment (dynobj, htab->srelgot, 2)) return FALSE; return TRUE; @@ -1897,10 +1898,11 @@ bfd_elf32_arm_add_glue_sections_to_bfd ( of this section. */ flags = SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_CODE | SEC_READONLY; - sec = bfd_make_section (abfd, ARM2THUMB_GLUE_SECTION_NAME); + sec = bfd_make_section_with_flags (abfd, + ARM2THUMB_GLUE_SECTION_NAME, + flags); if (sec == NULL - || !bfd_set_section_flags (abfd, sec, flags) || !bfd_set_section_alignment (abfd, sec, 2)) return FALSE; @@ -1916,10 +1918,11 @@ bfd_elf32_arm_add_glue_sections_to_bfd ( flags = SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_CODE | SEC_READONLY; - sec = bfd_make_section (abfd, THUMB2ARM_GLUE_SECTION_NAME); + sec = bfd_make_section_with_flags (abfd, + THUMB2ARM_GLUE_SECTION_NAME, + flags); if (sec == NULL - || !bfd_set_section_flags (abfd, sec, flags) || !bfd_set_section_alignment (abfd, sec, 2)) return FALSE; @@ -2073,6 +2076,7 @@ bfd_elf32_arm_process_before_allocation switch (r_type) { case R_ARM_PC24: + case R_ARM_PLT32: #ifndef OLD_ARM_ABI case R_ARM_CALL: case R_ARM_JUMP24: @@ -2093,7 +2097,7 @@ bfd_elf32_arm_process_before_allocation break; default: - break; + abort (); } } @@ -3557,6 +3561,7 @@ arm_add_to_rel (bfd * abfd, break; case R_ARM_PC24: + case R_ARM_PLT32: #ifndef OLD_ARM_ABI case R_ARM_CALL: case R_ARM_JUMP24: @@ -4688,7 +4693,6 @@ elf32_arm_check_relocs (bfd *abfd, struc { flagword flags; - sreloc = bfd_make_section (dynobj, name); flags = (SEC_HAS_CONTENTS | SEC_READONLY | SEC_IN_MEMORY | SEC_LINKER_CREATED); if ((sec->flags & SEC_ALLOC) != 0 @@ -4696,8 +4700,10 @@ elf32_arm_check_relocs (bfd *abfd, struc relocations mapped. */ && !htab->symbian_p) flags |= SEC_ALLOC | SEC_LOAD; + sreloc = bfd_make_section_with_flags (dynobj, + name, + flags); if (sreloc == NULL - || ! bfd_set_section_flags (dynobj, sreloc, flags) || ! bfd_set_section_alignment (dynobj, sreloc, 2)) return FALSE; } @@ -5503,7 +5509,7 @@ elf32_arm_size_dynamic_sections (bfd * o if (strip) { - _bfd_strip_section_from_output (info, s); + s->flags |= SEC_EXCLUDE; continue; } @@ -6532,8 +6538,8 @@ elf32_arm_symbian_link_hash_table_create return ret; } -static struct bfd_elf_special_section const - elf32_arm_symbian_special_sections[]= +static struct bfd_elf_special_section const + symbian_special_sections_d[]= { /* In a BPABI executable, the dynamic linking sections do not go in the loadable read-only segment. The post-linker may wish to @@ -6542,17 +6548,93 @@ static struct bfd_elf_special_section co { ".dynamic", 8, 0, SHT_DYNAMIC, 0 }, { ".dynstr", 7, 0, SHT_STRTAB, 0 }, { ".dynsym", 7, 0, SHT_DYNSYM, 0 }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const + symbian_special_sections_g[]= +{ + /* In a BPABI executable, the dynamic linking sections do not go in + the loadable read-only segment. The post-linker may wish to + refer to these sections, but they are not part of the final + program image. */ { ".got", 4, 0, SHT_PROGBITS, 0 }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const + symbian_special_sections_h[]= +{ + /* In a BPABI executable, the dynamic linking sections do not go in + the loadable read-only segment. The post-linker may wish to + refer to these sections, but they are not part of the final + program image. */ { ".hash", 5, 0, SHT_HASH, 0 }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const + symbian_special_sections_i[]= +{ /* These sections do not need to be writable as the SymbianOS postlinker will arrange things so that no dynamic relocation is required. */ { ".init_array", 11, 0, SHT_INIT_ARRAY, SHF_ALLOC }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const + symbian_special_sections_f[]= +{ + /* These sections do not need to be writable as the SymbianOS + postlinker will arrange things so that no dynamic relocation is + required. */ { ".fini_array", 11, 0, SHT_FINI_ARRAY, SHF_ALLOC }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const + symbian_special_sections_p[]= +{ + /* These sections do not need to be writable as the SymbianOS + postlinker will arrange things so that no dynamic relocation is + required. */ { ".preinit_array", 14, 0, SHT_PREINIT_ARRAY, SHF_ALLOC }, { NULL, 0, 0, 0, 0 } }; +static struct bfd_elf_special_section const * + elf32_arm_symbian_special_sections[27]= +{ + NULL, /* 'a' */ + NULL, /* 'b' */ + NULL, /* 'c' */ + symbian_special_sections_d, /* 'd' */ + NULL, /* 'e' */ + symbian_special_sections_f, /* 'f' */ + symbian_special_sections_g, /* 'g' */ + symbian_special_sections_h, /* 'h' */ + symbian_special_sections_i, /* 'i' */ + NULL, /* 'j' */ + NULL, /* 'k' */ + NULL, /* 'l' */ + NULL, /* 'm' */ + NULL, /* 'n' */ + NULL, /* 'o' */ + symbian_special_sections_p, /* 'p' */ + NULL, /* 'q' */ + NULL, /* 'r' */ + NULL, /* 's' */ + NULL, /* 't' */ + NULL, /* 'u' */ + NULL, /* 'v' */ + NULL, /* 'w' */ + NULL, /* 'x' */ + NULL, /* 'y' */ + NULL, /* 'z' */ + NULL /* other */ +}; + static void elf32_arm_symbian_begin_write_processing (bfd *abfd, struct bfd_link_info *link_info diff -uprN binutils-2.16.90.0.2/bfd/elf32-avr.c binutils-2.16.90.0.3/bfd/elf32-avr.c --- binutils-2.16.90.0.2/bfd/elf32-avr.c 2005-04-09 12:02:57.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-avr.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/elf32.c binutils-2.16.90.0.3/bfd/elf32.c --- binutils-2.16.90.0.2/bfd/elf32.c 2001-03-09 11:15:56.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/elf32.c 2005-05-10 15:46:42.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define ARCH_SIZE 32 diff -uprN binutils-2.16.90.0.2/bfd/elf32-cr16c.c binutils-2.16.90.0.3/bfd/elf32-cr16c.c --- binutils-2.16.90.0.2/bfd/elf32-cr16c.c 2005-04-09 12:02:57.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-cr16c.c 2005-05-10 15:46:41.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/elf32-cris.c binutils-2.16.90.0.3/bfd/elf32-cris.c --- binutils-2.16.90.0.2/bfd/elf32-cris.c 2005-04-09 12:02:57.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-cris.c 2005-05-10 15:46:41.000000000 -0700 @@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" @@ -2542,15 +2542,15 @@ cris_elf_check_relocs (abfd, info, sec, srelgot = bfd_get_section_by_name (dynobj, ".rela.got"); if (srelgot == NULL) { - srelgot = bfd_make_section (dynobj, ".rela.got"); + srelgot = bfd_make_section_with_flags (dynobj, + ".rela.got", + (SEC_ALLOC + | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED + | SEC_READONLY)); if (srelgot == NULL - || !bfd_set_section_flags (dynobj, srelgot, - (SEC_ALLOC - | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED - | SEC_READONLY)) || !bfd_set_section_alignment (dynobj, srelgot, 2)) return FALSE; } @@ -2787,15 +2787,14 @@ cris_elf_check_relocs (abfd, info, sec, sreloc = bfd_get_section_by_name (dynobj, name); if (sreloc == NULL) { - sreloc = bfd_make_section (dynobj, name); + sreloc = bfd_make_section_with_flags (dynobj, name, + (SEC_ALLOC + | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED + | SEC_READONLY)); if (sreloc == NULL - || !bfd_set_section_flags (dynobj, sreloc, - (SEC_ALLOC - | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED - | SEC_READONLY)) || !bfd_set_section_alignment (dynobj, sreloc, 2)) return FALSE; } @@ -2991,7 +2990,7 @@ elf_cris_size_dynamic_sections (output_b if (strip) { - _bfd_strip_section_from_output (info, s); + s->flags |= SEC_EXCLUDE; continue; } diff -uprN binutils-2.16.90.0.2/bfd/elf32-crx.c binutils-2.16.90.0.3/bfd/elf32-crx.c --- binutils-2.16.90.0.2/bfd/elf32-crx.c 2005-04-09 12:02:57.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-crx.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/elf32-d10v.c binutils-2.16.90.0.3/bfd/elf32-d10v.c --- binutils-2.16.90.0.2/bfd/elf32-d10v.c 2004-11-22 12:33:30.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/elf32-d10v.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/elf32-d30v.c binutils-2.16.90.0.3/bfd/elf32-d30v.c --- binutils-2.16.90.0.2/bfd/elf32-d30v.c 2005-04-09 12:02:57.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-d30v.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/elf32-dlx.c binutils-2.16.90.0.3/bfd/elf32-dlx.c --- binutils-2.16.90.0.2/bfd/elf32-dlx.c 2005-04-09 12:02:57.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-dlx.c 2005-05-10 15:46:41.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/elf32-fr30.c binutils-2.16.90.0.3/bfd/elf32-fr30.c --- binutils-2.16.90.0.2/bfd/elf32-fr30.c 2005-04-09 12:02:57.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-fr30.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/elf32-frv.c binutils-2.16.90.0.3/bfd/elf32-frv.c --- binutils-2.16.90.0.2/bfd/elf32-frv.c 2005-04-09 12:02:57.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-frv.c 2005-05-10 15:46:41.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" @@ -112,7 +112,7 @@ static reloc_howto_type elf32_frv_howto_ FALSE), /* pcrel_offset */ /* A 16 bit pc-relative relocation. */ - HOWTO (R_FRV_LABEL16, /* type */ + HOWTO (R_FRV_LABEL16, /* type */ 2, /* rightshift */ 2, /* size (0 = byte, 1 = short, 2 = long) */ 16, /* bitsize */ @@ -124,10 +124,10 @@ static reloc_howto_type elf32_frv_howto_ FALSE, /* partial_inplace */ 0xffff, /* src_mask */ 0xffff, /* dst_mask */ - TRUE), /* pcrel_offset */ + TRUE), /* pcrel_offset */ /* A 24-bit pc-relative relocation. */ - HOWTO (R_FRV_LABEL24, /* type */ + HOWTO (R_FRV_LABEL24, /* type */ 2, /* rightshift */ 2, /* size (0 = byte, 1 = short, 2 = long) */ 26, /* bitsize */ @@ -139,9 +139,9 @@ static reloc_howto_type elf32_frv_howto_ FALSE, /* partial_inplace */ 0x7e03ffff, /* src_mask */ 0x7e03ffff, /* dst_mask */ - TRUE), /* pcrel_offset */ + TRUE), /* pcrel_offset */ - HOWTO (R_FRV_LO16, /* type */ + HOWTO (R_FRV_LO16, /* type */ 0, /* rightshift */ 2, /* size (0 = byte, 1 = short, 2 = long) */ 16, /* bitsize */ @@ -153,9 +153,9 @@ static reloc_howto_type elf32_frv_howto_ FALSE, /* partial_inplace */ 0xffff, /* src_mask */ 0xffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + FALSE), /* pcrel_offset */ - HOWTO (R_FRV_HI16, /* type */ + HOWTO (R_FRV_HI16, /* type */ 0, /* rightshift */ 2, /* size (0 = byte, 1 = short, 2 = long) */ 16, /* bitsize */ @@ -167,9 +167,9 @@ static reloc_howto_type elf32_frv_howto_ FALSE, /* partial_inplace */ 0xffff, /* src_mask */ 0xffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + FALSE), /* pcrel_offset */ - HOWTO (R_FRV_GPREL12, /* type */ + HOWTO (R_FRV_GPREL12, /* type */ 0, /* rightshift */ 2, /* size (0 = byte, 1 = short, 2 = long) */ 12, /* bitsize */ @@ -177,13 +177,13 @@ static reloc_howto_type elf32_frv_howto_ 0, /* bitpos */ complain_overflow_dont, /* complain_on_overflow */ bfd_elf_generic_reloc, /* special_function */ - "R_FRV_GPREL12", /* name */ + "R_FRV_GPREL12", /* name */ FALSE, /* partial_inplace */ - 0xfff, /* src_mask */ - 0xfff, /* dst_mask */ - FALSE), /* pcrel_offset */ + 0xfff, /* src_mask */ + 0xfff, /* dst_mask */ + FALSE), /* pcrel_offset */ - HOWTO (R_FRV_GPRELU12, /* type */ + HOWTO (R_FRV_GPRELU12, /* type */ 0, /* rightshift */ 2, /* size (0 = byte, 1 = short, 2 = long) */ 12, /* bitsize */ @@ -191,13 +191,13 @@ static reloc_howto_type elf32_frv_howto_ 0, /* bitpos */ complain_overflow_dont, /* complain_on_overflow */ bfd_elf_generic_reloc, /* special_function */ - "R_FRV_GPRELU12", /* name */ + "R_FRV_GPRELU12", /* name */ FALSE, /* partial_inplace */ - 0xfff, /* src_mask */ - 0x3f03f, /* dst_mask */ - FALSE), /* pcrel_offset */ + 0xfff, /* src_mask */ + 0x3f03f, /* dst_mask */ + FALSE), /* pcrel_offset */ - HOWTO (R_FRV_GPREL32, /* type */ + HOWTO (R_FRV_GPREL32, /* type */ 0, /* rightshift */ 2, /* size (0 = byte, 1 = short, 2 = long) */ 32, /* bitsize */ @@ -207,11 +207,11 @@ static reloc_howto_type elf32_frv_howto_ bfd_elf_generic_reloc, /* special_function */ "R_FRV_GPREL32", /* name */ FALSE, /* partial_inplace */ - 0xffffffff, /* src_mask */ + 0xffffffff, /* src_mask */ 0xffffffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + FALSE), /* pcrel_offset */ - HOWTO (R_FRV_GPRELHI, /* type */ + HOWTO (R_FRV_GPRELHI, /* type */ 0, /* rightshift */ 2, /* size (0 = byte, 1 = short, 2 = long) */ 16, /* bitsize */ @@ -221,11 +221,11 @@ static reloc_howto_type elf32_frv_howto_ bfd_elf_generic_reloc, /* special_function */ "R_FRV_GPRELHI", /* name */ FALSE, /* partial_inplace */ - 0xffff, /* src_mask */ + 0xffff, /* src_mask */ 0xffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + FALSE), /* pcrel_offset */ - HOWTO (R_FRV_GPRELLO, /* type */ + HOWTO (R_FRV_GPRELLO, /* type */ 0, /* rightshift */ 2, /* size (0 = byte, 1 = short, 2 = long) */ 16, /* bitsize */ @@ -235,13 +235,13 @@ static reloc_howto_type elf32_frv_howto_ bfd_elf_generic_reloc, /* special_function */ "R_FRV_GPRELLO", /* name */ FALSE, /* partial_inplace */ - 0xffff, /* src_mask */ + 0xffff, /* src_mask */ 0xffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + FALSE), /* pcrel_offset */ /* A 12-bit signed operand with the GOT offset for the address of the symbol. */ - HOWTO (R_FRV_GOT12, /* type */ + HOWTO (R_FRV_GOT12, /* type */ 0, /* rightshift */ 2, /* size (0 = byte, 1 = short, 2 = long) */ 12, /* bitsize */ @@ -251,13 +251,13 @@ static reloc_howto_type elf32_frv_howto_ bfd_elf_generic_reloc, /* special_function */ "R_FRV_GOT12", /* name */ FALSE, /* partial_inplace */ - 0xfff, /* src_mask */ - 0xfff, /* dst_mask */ - FALSE), /* pcrel_offset */ + 0xfff, /* src_mask */ + 0xfff, /* dst_mask */ + FALSE), /* pcrel_offset */ /* The upper 16 bits of the GOT offset for the address of the symbol. */ - HOWTO (R_FRV_GOTHI, /* type */ + HOWTO (R_FRV_GOTHI, /* type */ 0, /* rightshift */ 2, /* size (0 = byte, 1 = short, 2 = long) */ 16, /* bitsize */ @@ -267,13 +267,13 @@ static reloc_howto_type elf32_frv_howto_ bfd_elf_generic_reloc, /* special_function */ "R_FRV_GOTHI", /* name */ FALSE, /* partial_inplace */ - 0xffff, /* src_mask */ + 0xffff, /* src_mask */ 0xffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + FALSE), /* pcrel_offset */ /* The lower 16 bits of the GOT offset for the address of the symbol. */ - HOWTO (R_FRV_GOTLO, /* type */ + HOWTO (R_FRV_GOTLO, /* type */ 0, /* rightshift */ 2, /* size (0 = byte, 1 = short, 2 = long) */ 16, /* bitsize */ @@ -285,7 +285,7 @@ static reloc_howto_type elf32_frv_howto_ FALSE, /* partial_inplace */ 0xffff, /* src_mask */ 0xffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + FALSE), /* pcrel_offset */ /* The 32-bit address of the canonical descriptor of a function. */ HOWTO (R_FRV_FUNCDESC, /* type */ @@ -314,9 +314,9 @@ static reloc_howto_type elf32_frv_howto_ bfd_elf_generic_reloc, /* special_function */ "R_FRV_FUNCDESC_GOT12", /* name */ FALSE, /* partial_inplace */ - 0xfff, /* src_mask */ - 0xfff, /* dst_mask */ - FALSE), /* pcrel_offset */ + 0xfff, /* src_mask */ + 0xfff, /* dst_mask */ + FALSE), /* pcrel_offset */ /* The upper 16 bits of the GOT offset for the address of the canonical descriptor of a function. */ @@ -332,7 +332,7 @@ static reloc_howto_type elf32_frv_howto_ FALSE, /* partial_inplace */ 0xffff, /* src_mask */ 0xffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + FALSE), /* pcrel_offset */ /* The lower 16 bits of the GOT offset for the address of the canonical descriptor of a function. */ @@ -348,7 +348,7 @@ static reloc_howto_type elf32_frv_howto_ FALSE, /* partial_inplace */ 0xffff, /* src_mask */ 0xffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + FALSE), /* pcrel_offset */ /* The 64-bit descriptor of a function. */ HOWTO (R_FRV_FUNCDESC_VALUE, /* type */ @@ -377,9 +377,9 @@ static reloc_howto_type elf32_frv_howto_ bfd_elf_generic_reloc, /* special_function */ "R_FRV_FUNCDESC_GOTOFF12", /* name */ FALSE, /* partial_inplace */ - 0xfff, /* src_mask */ - 0xfff, /* dst_mask */ - FALSE), /* pcrel_offset */ + 0xfff, /* src_mask */ + 0xfff, /* dst_mask */ + FALSE), /* pcrel_offset */ /* The upper 16 bits of the GOT offset for the address of the canonical descriptor of a function. */ @@ -395,7 +395,7 @@ static reloc_howto_type elf32_frv_howto_ FALSE, /* partial_inplace */ 0xffff, /* src_mask */ 0xffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + FALSE), /* pcrel_offset */ /* The lower 16 bits of the GOT offset for the address of the canonical descriptor of a function. */ @@ -411,11 +411,11 @@ static reloc_howto_type elf32_frv_howto_ FALSE, /* partial_inplace */ 0xffff, /* src_mask */ 0xffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + FALSE), /* pcrel_offset */ /* A 12-bit signed operand with the GOT offset for the address of the symbol. */ - HOWTO (R_FRV_GOTOFF12, /* type */ + HOWTO (R_FRV_GOTOFF12, /* type */ 0, /* rightshift */ 2, /* size (0 = byte, 1 = short, 2 = long) */ 12, /* bitsize */ @@ -425,13 +425,13 @@ static reloc_howto_type elf32_frv_howto_ bfd_elf_generic_reloc, /* special_function */ "R_FRV_GOTOFF12", /* name */ FALSE, /* partial_inplace */ - 0xfff, /* src_mask */ - 0xfff, /* dst_mask */ - FALSE), /* pcrel_offset */ + 0xfff, /* src_mask */ + 0xfff, /* dst_mask */ + FALSE), /* pcrel_offset */ /* The upper 16 bits of the GOT offset for the address of the symbol. */ - HOWTO (R_FRV_GOTOFFHI, /* type */ + HOWTO (R_FRV_GOTOFFHI, /* type */ 0, /* rightshift */ 2, /* size (0 = byte, 1 = short, 2 = long) */ 16, /* bitsize */ @@ -443,7 +443,7 @@ static reloc_howto_type elf32_frv_howto_ FALSE, /* partial_inplace */ 0xffff, /* src_mask */ 0xffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + FALSE), /* pcrel_offset */ /* The lower 16 bits of the GOT offset for the address of the symbol. */ @@ -459,7 +459,7 @@ static reloc_howto_type elf32_frv_howto_ FALSE, /* partial_inplace */ 0xffff, /* src_mask */ 0xffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + FALSE), /* pcrel_offset */ /* A 24-bit pc-relative relocation referencing the TLS PLT entry for a thread-local symbol. If the symbol number is 0, it refers to @@ -476,7 +476,7 @@ static reloc_howto_type elf32_frv_howto_ FALSE, /* partial_inplace */ 0x7e03ffff, /* src_mask */ 0x7e03ffff, /* dst_mask */ - TRUE), /* pcrel_offset */ + TRUE), /* pcrel_offset */ /* A 64-bit TLS descriptor for a symbol. This relocation is only valid as a REL, dynamic relocation. */ @@ -496,7 +496,7 @@ static reloc_howto_type elf32_frv_howto_ /* A 12-bit signed operand with the GOT offset for the TLS descriptor of the symbol. */ - HOWTO (R_FRV_GOTTLSDESC12, /* type */ + HOWTO (R_FRV_GOTTLSDESC12, /* type */ 0, /* rightshift */ 2, /* size (0 = byte, 1 = short, 2 = long) */ 12, /* bitsize */ @@ -506,13 +506,13 @@ static reloc_howto_type elf32_frv_howto_ bfd_elf_generic_reloc, /* special_function */ "R_FRV_GOTTLSDESC12", /* name */ FALSE, /* partial_inplace */ - 0xfff, /* src_mask */ - 0xfff, /* dst_mask */ - FALSE), /* pcrel_offset */ + 0xfff, /* src_mask */ + 0xfff, /* dst_mask */ + FALSE), /* pcrel_offset */ /* The upper 16 bits of the GOT offset for the TLS descriptor of the symbol. */ - HOWTO (R_FRV_GOTTLSDESCHI, /* type */ + HOWTO (R_FRV_GOTTLSDESCHI, /* type */ 0, /* rightshift */ 2, /* size (0 = byte, 1 = short, 2 = long) */ 16, /* bitsize */ @@ -524,7 +524,7 @@ static reloc_howto_type elf32_frv_howto_ FALSE, /* partial_inplace */ 0xffff, /* src_mask */ 0xffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + FALSE), /* pcrel_offset */ /* The lower 16 bits of the GOT offset for the TLS descriptor of the symbol. */ @@ -540,11 +540,11 @@ static reloc_howto_type elf32_frv_howto_ FALSE, /* partial_inplace */ 0xffff, /* src_mask */ 0xffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + FALSE), /* pcrel_offset */ /* A 12-bit signed operand with the offset from the module base address to the thread-local symbol address. */ - HOWTO (R_FRV_TLSMOFF12, /* type */ + HOWTO (R_FRV_TLSMOFF12, /* type */ 0, /* rightshift */ 2, /* size (0 = byte, 1 = short, 2 = long) */ 12, /* bitsize */ @@ -554,13 +554,13 @@ static reloc_howto_type elf32_frv_howto_ bfd_elf_generic_reloc, /* special_function */ "R_FRV_TLSMOFF12", /* name */ FALSE, /* partial_inplace */ - 0xfff, /* src_mask */ - 0xfff, /* dst_mask */ - FALSE), /* pcrel_offset */ + 0xfff, /* src_mask */ + 0xfff, /* dst_mask */ + FALSE), /* pcrel_offset */ /* The upper 16 bits of the offset from the module base address to the thread-local symbol address. */ - HOWTO (R_FRV_TLSMOFFHI, /* type */ + HOWTO (R_FRV_TLSMOFFHI, /* type */ 0, /* rightshift */ 2, /* size (0 = byte, 1 = short, 2 = long) */ 16, /* bitsize */ @@ -572,7 +572,7 @@ static reloc_howto_type elf32_frv_howto_ FALSE, /* partial_inplace */ 0xffff, /* src_mask */ 0xffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + FALSE), /* pcrel_offset */ /* The lower 16 bits of the offset from the module base address to the thread-local symbol address. */ @@ -588,11 +588,11 @@ static reloc_howto_type elf32_frv_howto_ FALSE, /* partial_inplace */ 0xffff, /* src_mask */ 0xffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + FALSE), /* pcrel_offset */ /* A 12-bit signed operand with the GOT offset for the TLSOFF entry for a symbol. */ - HOWTO (R_FRV_GOTTLSOFF12, /* type */ + HOWTO (R_FRV_GOTTLSOFF12, /* type */ 0, /* rightshift */ 2, /* size (0 = byte, 1 = short, 2 = long) */ 12, /* bitsize */ @@ -602,13 +602,13 @@ static reloc_howto_type elf32_frv_howto_ bfd_elf_generic_reloc, /* special_function */ "R_FRV_GOTTLSOFF12", /* name */ FALSE, /* partial_inplace */ - 0xfff, /* src_mask */ - 0xfff, /* dst_mask */ - FALSE), /* pcrel_offset */ + 0xfff, /* src_mask */ + 0xfff, /* dst_mask */ + FALSE), /* pcrel_offset */ /* The upper 16 bits of the GOT offset for the TLSOFF entry for a symbol. */ - HOWTO (R_FRV_GOTTLSOFFHI, /* type */ + HOWTO (R_FRV_GOTTLSOFFHI, /* type */ 0, /* rightshift */ 2, /* size (0 = byte, 1 = short, 2 = long) */ 16, /* bitsize */ @@ -620,7 +620,7 @@ static reloc_howto_type elf32_frv_howto_ FALSE, /* partial_inplace */ 0xffff, /* src_mask */ 0xffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + FALSE), /* pcrel_offset */ /* The lower 16 bits of the GOT offset for the TLSOFF entry for a symbol. */ @@ -636,7 +636,7 @@ static reloc_howto_type elf32_frv_howto_ FALSE, /* partial_inplace */ 0xffff, /* src_mask */ 0xffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + FALSE), /* pcrel_offset */ /* The 32-bit offset from the thread pointer (not the module base address) to a thread-local symbol. */ @@ -707,7 +707,7 @@ static reloc_howto_type elf32_frv_howto_ /* A 32-bit offset from the module base address to the thread-local symbol address. */ - HOWTO (R_FRV_TLSMOFF, /* type */ + HOWTO (R_FRV_TLSMOFF, /* type */ 0, /* rightshift */ 2, /* size (0 = byte, 1 = short, 2 = long) */ 32, /* bitsize */ @@ -719,40 +719,40 @@ static reloc_howto_type elf32_frv_howto_ FALSE, /* partial_inplace */ 0xffffffff, /* src_mask */ 0xffffffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + FALSE), /* pcrel_offset */ }; /* GNU extension to record C++ vtable hierarchy. */ static reloc_howto_type elf32_frv_vtinherit_howto = - HOWTO (R_FRV_GNU_VTINHERIT, /* type */ - 0, /* rightshift */ - 2, /* size (0 = byte, 1 = short, 2 = long) */ - 0, /* bitsize */ - FALSE, /* pc_relative */ - 0, /* bitpos */ - complain_overflow_dont, /* complain_on_overflow */ - NULL, /* special_function */ - "R_FRV_GNU_VTINHERIT", /* name */ - FALSE, /* partial_inplace */ - 0, /* src_mask */ - 0, /* dst_mask */ - FALSE); /* pcrel_offset */ + HOWTO (R_FRV_GNU_VTINHERIT, /* type */ + 0, /* rightshift */ + 2, /* size (0 = byte, 1 = short, 2 = long) */ + 0, /* bitsize */ + FALSE, /* pc_relative */ + 0, /* bitpos */ + complain_overflow_dont, /* complain_on_overflow */ + NULL, /* special_function */ + "R_FRV_GNU_VTINHERIT", /* name */ + FALSE, /* partial_inplace */ + 0, /* src_mask */ + 0, /* dst_mask */ + FALSE); /* pcrel_offset */ /* GNU extension to record C++ vtable member usage. */ static reloc_howto_type elf32_frv_vtentry_howto = - HOWTO (R_FRV_GNU_VTENTRY, /* type */ - 0, /* rightshift */ - 2, /* size (0 = byte, 1 = short, 2 = long) */ - 0, /* bitsize */ - FALSE, /* pc_relative */ - 0, /* bitpos */ - complain_overflow_dont, /* complain_on_overflow */ - _bfd_elf_rel_vtable_reloc_fn, /* special_function */ - "R_FRV_GNU_VTENTRY", /* name */ - FALSE, /* partial_inplace */ - 0, /* src_mask */ - 0, /* dst_mask */ - FALSE); /* pcrel_offset */ + HOWTO (R_FRV_GNU_VTENTRY, /* type */ + 0, /* rightshift */ + 2, /* size (0 = byte, 1 = short, 2 = long) */ + 0, /* bitsize */ + FALSE, /* pc_relative */ + 0, /* bitpos */ + complain_overflow_dont, /* complain_on_overflow */ + _bfd_elf_rel_vtable_reloc_fn, /* special_function */ + "R_FRV_GNU_VTENTRY", /* name */ + FALSE, /* partial_inplace */ + 0, /* src_mask */ + 0, /* dst_mask */ + FALSE); /* pcrel_offset */ /* The following 3 relocations are REL. The only difference to the entries in the table above are that partial_inplace is TRUE. */ @@ -1872,7 +1872,7 @@ _frvfdpic_emit_got_relocs_plt_entries (s ->output_offset, R_FRV_TLSOFF, idx, ad, entry); } - + bfd_put_32 (output_bfd, ad, frvfdpic_got_section (info)->contents + frvfdpic_got_initial_offset (info) @@ -2004,7 +2004,7 @@ _frvfdpic_emit_got_relocs_plt_entries (s { bfd_byte *plt_code = frvfdpic_plt_section (info)->contents + entry->tlsplt_entry; - + if (info->executable && (entry->symndx != -1 || FRVFDPIC_SYM_LOCAL (info, entry->d.h))) @@ -2032,7 +2032,7 @@ _frvfdpic_emit_got_relocs_plt_entries (s else idx = 0; } - + /* *ABS*+addend is special for TLS relocations, use only the addend for the TLS offset, and take the module id as 0. */ @@ -2044,7 +2044,7 @@ _frvfdpic_emit_got_relocs_plt_entries (s TLS offset to the addend. */ else if (sec) ad += sec->output_section->vma - tls_biased_base (info); - + if ((bfd_signed_vma)ad >= -(1 << (16 - 1)) && (bfd_signed_vma)ad < (1 << (16 - 1))) { @@ -2974,7 +2974,7 @@ elf32_frv_relocate_section (output_bfd, (LOCAL_EXEC_P ((info), (picrel))) #define RELAX_TLSDESC_INITIAL_EXEC_P(info, picrel) \ (INITIAL_EXEC_P ((info), (picrel))) - + #define RELAX_GOTTLSOFF_LOCAL_EXEC_P(info, picrel, value) \ (LOCAL_EXEC_P ((info), (picrel)) \ && TLSMOFF_IN_RANGE_FOR_SETLOS_P((value), (info))) @@ -2991,7 +2991,7 @@ elf32_frv_relocate_section (output_bfd, name, input_bfd, input_section, rel->r_offset); return FALSE; } - + if (RELAX_GETTLSOFF_LOCAL_EXEC_P (info, picrel, relocation + rel->r_addend)) { @@ -3128,7 +3128,7 @@ elf32_frv_relocate_section (output_bfd, } break; - + case R_FRV_GOTTLSDESCLO: insn = bfd_get_32 (input_bfd, contents + rel->r_offset); @@ -3176,7 +3176,7 @@ elf32_frv_relocate_section (output_bfd, } break; - + case R_FRV_TLSDESC_RELAX: insn = bfd_get_32 (input_bfd, contents + rel->r_offset); @@ -3506,12 +3506,12 @@ elf32_frv_relocate_section (output_bfd, /* There's nothing to relax in these: - R_FRV_TLSDESC_VALUE - R_FRV_TLSOFF - R_FRV_TLSMOFF12 - R_FRV_TLSMOFFHI - R_FRV_TLSMOFFLO - R_FRV_TLSMOFF + R_FRV_TLSDESC_VALUE + R_FRV_TLSOFF + R_FRV_TLSMOFF12 + R_FRV_TLSMOFFHI + R_FRV_TLSMOFFLO + R_FRV_TLSMOFF */ default: @@ -3921,7 +3921,7 @@ elf32_frv_relocate_section (output_bfd, ? _frvfdpic_osec_to_segment (output_bfd, sec->output_section) : tls_segment; break; - + case R_FRV_TLSDESC_VALUE: case R_FRV_TLSOFF: /* These shouldn't be present in input object files. */ @@ -4213,11 +4213,11 @@ elf32_frv_add_symbol_hook (abfd, info, s if (scomm == NULL) { - scomm = bfd_make_section (abfd, ".scommon"); - if (scomm == NULL - || !bfd_set_section_flags (abfd, scomm, (SEC_ALLOC - | SEC_IS_COMMON - | SEC_LINKER_CREATED))) + scomm = bfd_make_section_with_flags (abfd, ".scommon", + (SEC_ALLOC + | SEC_IS_COMMON + | SEC_LINKER_CREATED)); + if (scomm == NULL) return FALSE; } @@ -4282,17 +4282,15 @@ _frv_create_got_section (bfd *abfd, stru | SEC_LINKER_CREATED); pltflags = flags; - s = bfd_make_section (abfd, ".got"); + s = bfd_make_section_with_flags (abfd, ".got", flags); if (s == NULL - || !bfd_set_section_flags (abfd, s, flags) || !bfd_set_section_alignment (abfd, s, ptralign)) return FALSE; if (bed->want_got_plt) { - s = bfd_make_section (abfd, ".got.plt"); + s = bfd_make_section_with_flags (abfd, ".got.plt", flags); if (s == NULL - || !bfd_set_section_flags (abfd, s, flags) || !bfd_set_section_alignment (abfd, s, ptralign)) return FALSE; } @@ -4306,8 +4304,7 @@ _frv_create_got_section (bfd *abfd, stru bh = NULL; if (!(_bfd_generic_link_add_one_symbol (info, abfd, "_GLOBAL_OFFSET_TABLE_", BSF_GLOBAL, s, - bed->got_symbol_offset, (const char *) NULL, FALSE, - bed->collect, &bh))) + 0, (const char *) NULL, FALSE, bed->collect, &bh))) return FALSE; h = (struct elf_link_hash_entry *) bh; h->def_regular = 1; @@ -4323,7 +4320,7 @@ _frv_create_got_section (bfd *abfd, stru } /* The first bit of the global offset table is the header. */ - s->size += bed->got_header_size + bed->got_symbol_offset; + s->size += bed->got_header_size; /* This is the machine-specific part. Create and initialize section data for the got. */ @@ -4337,18 +4334,18 @@ _frv_create_got_section (bfd *abfd, stru if (! frvfdpic_relocs_info (info)) return FALSE; - s = bfd_make_section (abfd, ".rel.got"); + s = bfd_make_section_with_flags (abfd, ".rel.got", + (flags | SEC_READONLY)); if (s == NULL - || ! bfd_set_section_flags (abfd, s, (flags | SEC_READONLY)) || ! bfd_set_section_alignment (abfd, s, 2)) return FALSE; frvfdpic_gotrel_section (info) = s; /* Machine-specific. */ - s = bfd_make_section (abfd, ".rofixup"); + s = bfd_make_section_with_flags (abfd, ".rofixup", + (flags | SEC_READONLY)); if (s == NULL - || ! bfd_set_section_flags (abfd, s, (flags | SEC_READONLY)) || ! bfd_set_section_alignment (abfd, s, 2)) return FALSE; @@ -4395,9 +4392,8 @@ _frv_create_got_section (bfd *abfd, stru if (bed->plt_readonly) pltflags |= SEC_READONLY; - s = bfd_make_section (abfd, ".plt"); + s = bfd_make_section_with_flags (abfd, ".plt", pltflags); if (s == NULL - || ! bfd_set_section_flags (abfd, s, pltflags) || ! bfd_set_section_alignment (abfd, s, bed->plt_alignment)) return FALSE; /* FRV-specific: remember it. */ @@ -4425,9 +4421,9 @@ _frv_create_got_section (bfd *abfd, stru } /* FRV-specific: we want rel relocations for the plt. */ - s = bfd_make_section (abfd, ".rel.plt"); + s = bfd_make_section_with_flags (abfd, ".rel.plt", + flags | SEC_READONLY); if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY) || ! bfd_set_section_alignment (abfd, s, bed->s->log_file_align)) return FALSE; /* FRV-specific: remember it. */ @@ -4473,9 +4469,9 @@ elf32_frvfdpic_create_dynamic_sections ( image and use a R_*_COPY reloc to tell the dynamic linker to initialize them at run time. The linker script puts the .dynbss section into the .bss section of the final image. */ - s = bfd_make_section (abfd, ".dynbss"); - if (s == NULL - || ! bfd_set_section_flags (abfd, s, SEC_ALLOC | SEC_LINKER_CREATED)) + s = bfd_make_section_with_flags (abfd, ".dynbss", + SEC_ALLOC | SEC_LINKER_CREATED); + if (s == NULL) return FALSE; /* The .rel[a].bss section holds copy relocs. This section is not @@ -4491,11 +4487,11 @@ elf32_frvfdpic_create_dynamic_sections ( copy relocs. */ if (! info->shared) { - s = bfd_make_section (abfd, - (bed->default_use_rela_p - ? ".rela.bss" : ".rel.bss")); + s = bfd_make_section_with_flags (abfd, + (bed->default_use_rela_p + ? ".rela.bss" : ".rel.bss"), + flags | SEC_READONLY); if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY) || ! bfd_set_section_alignment (abfd, s, bed->s->log_file_align)) return FALSE; } @@ -4580,7 +4576,7 @@ _frvfdpic_count_tls_entries (struct frvf bfd_boolean subtract) { const int l = subtract ? -1 : 1; - + /* Allocate space for a GOT entry with the TLS offset of the symbol. */ if (entry->tlsoff12) @@ -4764,7 +4760,7 @@ _frvfdpic_relax_tls_entries (struct frvf _frvfdpic_count_tls_entries (entry, dinfo, TRUE); changed = TRUE; } - + entry->tlsplt = entry->tlsoff12 = entry->tlsofflos = entry->tlsoffhilo = 0; } @@ -5248,7 +5244,7 @@ _frvfdpic_assign_plt_entries (void **ent else size = 16; } - + frvfdpic_plt_section (dinfo->g.info)->size += size; } @@ -5836,7 +5832,7 @@ elf32_frvfdpic_finish_dynamic_sections ( && (hend->type == bfd_link_hash_defined || hend->type == bfd_link_hash_defweak)) { - bfd_vma value = + bfd_vma value = frvfdpic_gotfixup_section (info)->output_section->vma + frvfdpic_gotfixup_section (info)->output_offset + frvfdpic_gotfixup_section (info)->size @@ -6279,7 +6275,7 @@ elf32_frv_check_relocs (abfd, info, sec, case R_FRV_TLSDESC_VALUE: picrel->relocstlsd++; goto bad_reloc; - + case R_FRV_GOTTLSDESC12: picrel->tlsdesc12 = 1; break; @@ -6299,13 +6295,13 @@ elf32_frv_check_relocs (abfd, info, sec, picrel->tlsoff12 = 1; info->flags |= DF_STATIC_TLS; break; - + case R_FRV_GOTTLSOFFHI: case R_FRV_GOTTLSOFFLO: picrel->tlsoffhilo = 1; info->flags |= DF_STATIC_TLS; break; - + case R_FRV_TLSOFF: picrel->relocstlsoff++; info->flags |= DF_STATIC_TLS; diff -uprN binutils-2.16.90.0.2/bfd/elf32-gen.c binutils-2.16.90.0.3/bfd/elf32-gen.c --- binutils-2.16.90.0.2/bfd/elf32-gen.c 2005-04-09 12:02:57.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-gen.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/elf32-h8300.c binutils-2.16.90.0.3/bfd/elf32-h8300.c --- binutils-2.16.90.0.2/bfd/elf32-h8300.c 2004-11-22 12:33:30.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/elf32-h8300.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/elf32-hppa.c binutils-2.16.90.0.3/bfd/elf32-hppa.c --- binutils-2.16.90.0.2/bfd/elf32-hppa.c 2005-04-09 12:02:57.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-hppa.c 2005-05-10 15:46:41.000000000 -0700 @@ -22,7 +22,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" @@ -952,15 +952,14 @@ elf32_hppa_create_dynamic_sections (bfd htab->srelplt = bfd_get_section_by_name (abfd, ".rela.plt"); htab->sgot = bfd_get_section_by_name (abfd, ".got"); - htab->srelgot = bfd_make_section (abfd, ".rela.got"); + htab->srelgot = bfd_make_section_with_flags (abfd, ".rela.got", + (SEC_ALLOC + | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED + | SEC_READONLY)); if (htab->srelgot == NULL - || ! bfd_set_section_flags (abfd, htab->srelgot, - (SEC_ALLOC - | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED - | SEC_READONLY)) || ! bfd_set_section_alignment (abfd, htab->srelgot, 2)) return FALSE; @@ -1388,13 +1387,14 @@ elf32_hppa_check_relocs (bfd *abfd, { flagword flags; - sreloc = bfd_make_section (dynobj, name); flags = (SEC_HAS_CONTENTS | SEC_READONLY | SEC_IN_MEMORY | SEC_LINKER_CREATED); if ((sec->flags & SEC_ALLOC) != 0) flags |= SEC_ALLOC | SEC_LOAD; + sreloc = bfd_make_section_with_flags (dynobj, + name, + flags); if (sreloc == NULL - || !bfd_set_section_flags (dynobj, sreloc, flags) || !bfd_set_section_alignment (dynobj, sreloc, 2)) return FALSE; } @@ -2270,7 +2270,7 @@ elf32_hppa_size_dynamic_sections (bfd *o adjust_dynamic_symbol is called, and it is that function which decides whether anything needs to go into these sections. */ - _bfd_strip_section_from_output (info, s); + s->flags |= SEC_EXCLUDE; continue; } @@ -2376,7 +2376,7 @@ elf32_hppa_setup_section_lists (bfd *out /* We can't use output_bfd->section_count here to find the top output section index as some sections may have been removed, and - _bfd_strip_section_from_output doesn't renumber the indices. */ + strip_excluded_output_sections doesn't renumber the indices. */ for (section = output_bfd->sections, top_index = 0; section != NULL; section = section->next) diff -uprN binutils-2.16.90.0.2/bfd/elf32-hppa.h binutils-2.16.90.0.3/bfd/elf32-hppa.h --- binutils-2.16.90.0.2/bfd/elf32-hppa.h 2004-01-14 13:07:43.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/elf32-hppa.h 2005-05-10 15:46:41.000000000 -0700 @@ -27,7 +27,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF32_HPPA_H #define _ELF32_HPPA_H diff -uprN binutils-2.16.90.0.2/bfd/elf32-i370.c binutils-2.16.90.0.3/bfd/elf32-i370.c --- binutils-2.16.90.0.2/bfd/elf32-i370.c 2005-04-09 12:02:57.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-i370.c 2005-05-10 15:46:41.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file is based on a preliminary PowerPC ELF ABI. But its been hacked on for the IBM 360/370 architectures. @@ -449,24 +449,24 @@ i370_elf_create_dynamic_sections (abfd, flags = (SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_LINKER_CREATED); - s = bfd_make_section (abfd, ".dynsbss"); - if (s == NULL - || ! bfd_set_section_flags (abfd, s, SEC_ALLOC)) + s = bfd_make_section_with_flags (abfd, ".dynsbss", + SEC_ALLOC | SEC_LINKER_CREATED); + if (s == NULL) return FALSE; if (! info->shared) { - s = bfd_make_section (abfd, ".rela.sbss"); + s = bfd_make_section_with_flags (abfd, ".rela.sbss", + flags | SEC_READONLY); if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY) || ! bfd_set_section_alignment (abfd, s, 2)) return FALSE; } /* xxx beats me, seem to need a rela.text ... */ - s = bfd_make_section (abfd, ".rela.text"); + s = bfd_make_section_with_flags (abfd, ".rela.text", + flags | SEC_READONLY); if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY) || ! bfd_set_section_alignment (abfd, s, 2)) return FALSE; return TRUE; @@ -699,7 +699,7 @@ i370_elf_size_dynamic_sections (output_b if (s->size == 0) { /* Strip this section if we don't need it; see the - comment below. */ + comment below. */ strip = TRUE; } else @@ -756,18 +756,12 @@ i370_elf_size_dynamic_sections (output_b if (strip) { - asection **spp; - - for (spp = &s->output_section->owner->sections; - *spp != NULL; - spp = &(*spp)->next) + if (!bfd_section_removed_from_list (s->output_section->owner, + s->output_section)) { - if (*spp == s->output_section) - { - bfd_section_list_remove (s->output_section->owner, spp); - --s->output_section->owner->section_count; - break; - } + bfd_section_list_remove (s->output_section->owner, + s->output_section); + --s->output_section->owner->section_count; } continue; } @@ -936,13 +930,13 @@ i370_elf_check_relocs (abfd, info, sec, { flagword flags; - sreloc = bfd_make_section (dynobj, name); flags = (SEC_HAS_CONTENTS | SEC_READONLY | SEC_IN_MEMORY | SEC_LINKER_CREATED); if ((sec->flags & SEC_ALLOC) != 0) flags |= SEC_ALLOC | SEC_LOAD; + sreloc = bfd_make_section_with_flags (dynobj, name, + flags); if (sreloc == NULL - || ! bfd_set_section_flags (dynobj, sreloc, flags) || ! bfd_set_section_alignment (dynobj, sreloc, 2)) return FALSE; } @@ -1028,20 +1022,16 @@ i370_elf_finish_dynamic_sections (output } } - /* Add a blrl instruction at _GLOBAL_OFFSET_TABLE_-4 so that a function can - easily find the address of the _GLOBAL_OFFSET_TABLE_. */ -/* XXX this is clearly very wrong for the 370 arch */ if (sgot) { unsigned char *contents = sgot->contents; - bfd_put_32 (output_bfd, (bfd_vma) 0x4e800021 /* blrl */, contents); if (sdyn == NULL) - bfd_put_32 (output_bfd, (bfd_vma) 0, contents+4); + bfd_put_32 (output_bfd, (bfd_vma) 0, contents); else bfd_put_32 (output_bfd, sdyn->output_section->vma + sdyn->output_offset, - contents+4); + contents); elf_section_data (sgot->output_section)->this_hdr.sh_entsize = 4; } @@ -1088,7 +1078,7 @@ i370_elf_finish_dynamic_sections (output } /* Set the sh_info field of the output .dynsym section to the - index of the first global symbol. */ + index of the first global symbol. */ elf_section_data (sdynsym->output_section)->this_hdr.sh_info = maxdindx + 1; } @@ -1221,8 +1211,8 @@ i370_elf_relocate_section (output_bfd, i || r_type == R_I370_RELATIVE)) { /* In these cases, we don't need the relocation - value. We check specially because in some - obscure cases sec->output_section will be NULL. */ + value. We check specially because in some + obscure cases sec->output_section will be NULL. */ relocation = 0; } else @@ -1265,7 +1255,7 @@ i370_elf_relocate_section (output_bfd, i continue; /* Relocations that may need to be propagated if this is a shared - object. */ + object. */ case (int)R_I370_REL31: /* If these relocations are not to a named symbol, they can be handled right here, no need to bother the dynamic linker. */ @@ -1275,7 +1265,7 @@ i370_elf_relocate_section (output_bfd, i /* fall through */ /* Relocations that always need to be propagated if this is a shared - object. */ + object. */ case (int)R_I370_ADDR31: case (int)R_I370_ADDR16: if (info->shared @@ -1292,8 +1282,8 @@ i370_elf_relocate_section (output_bfd, i #endif /* When generating a shared object, these relocations - are copied into the output file to be resolved at run - time. */ + are copied into the output file to be resolved at run + time. */ if (sreloc == NULL) { @@ -1329,7 +1319,7 @@ i370_elf_relocate_section (output_bfd, i if (skip) memset (&outrel, 0, sizeof outrel); /* h->dynindx may be -1 if this symbol was marked to - become local. */ + become local. */ else if (h != NULL && ((! info->symbolic && h->dynindx != -1) || !h->def_regular)) @@ -1383,8 +1373,8 @@ i370_elf_relocate_section (output_bfd, i bfd_elf32_swap_reloca_out (output_bfd, &outrel, loc); /* This reloc will be computed at runtime, so there's no - need to do anything now, unless this is a RELATIVE - reloc in an unallocated section. */ + need to do anything now, unless this is a RELATIVE + reloc in an unallocated section. */ if (skip == -1 || (input_section->flags & SEC_ALLOC) != 0 || ELF32_R_TYPE (outrel.r_info) != R_I370_RELATIVE) @@ -1493,7 +1483,6 @@ i370_elf_post_process_headers (abfd, lin #define elf_info_to_howto i370_elf_info_to_howto #define elf_backend_plt_not_loaded 1 -#define elf_backend_got_symbol_offset 4 #define elf_backend_rela_normal 1 #define bfd_elf32_bfd_reloc_type_lookup i370_elf_reloc_type_lookup diff -uprN binutils-2.16.90.0.2/bfd/elf32-i386.c binutils-2.16.90.0.3/bfd/elf32-i386.c --- binutils-2.16.90.0.2/bfd/elf32-i386.c 2005-04-09 12:02:57.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-i386.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,13 +16,14 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" #include "bfdlink.h" #include "libbfd.h" #include "elf-bfd.h" +#include "elf-vxworks.h" /* 386 uses REL relocations instead of RELA. */ #define USE_REL 1 @@ -471,15 +472,15 @@ elf_i386_grok_psinfo (bfd *abfd, Elf_Int #define PLT_ENTRY_SIZE 16 /* The first entry in an absolute procedure linkage table looks like - this. See the SVR4 ABI i386 supplement to see how this works. */ + this. See the SVR4 ABI i386 supplement to see how this works. + Will be padded to PLT_ENTRY_SIZE with htab->plt0_pad_byte. */ -static const bfd_byte elf_i386_plt0_entry[PLT_ENTRY_SIZE] = +static const bfd_byte elf_i386_plt0_entry[12] = { 0xff, 0x35, /* pushl contents of address */ 0, 0, 0, 0, /* replaced with address of .got + 4. */ 0xff, 0x25, /* jmp indirect */ - 0, 0, 0, 0, /* replaced with address of .got + 8. */ - 0, 0, 0, 0 /* pad out to 16 bytes. */ + 0, 0, 0, 0 /* replaced with address of .got + 8. */ }; /* Subsequent entries in an absolute procedure linkage table look like @@ -495,13 +496,13 @@ static const bfd_byte elf_i386_plt_entry 0, 0, 0, 0 /* replaced with offset to start of .plt. */ }; -/* The first entry in a PIC procedure linkage table look like this. */ +/* The first entry in a PIC procedure linkage table look like this. + Will be padded to PLT_ENTRY_SIZE with htab->plt0_pad_byte. */ -static const bfd_byte elf_i386_pic_plt0_entry[PLT_ENTRY_SIZE] = +static const bfd_byte elf_i386_pic_plt0_entry[12] = { 0xff, 0xb3, 4, 0, 0, 0, /* pushl 4(%ebx) */ - 0xff, 0xa3, 8, 0, 0, 0, /* jmp *8(%ebx) */ - 0, 0, 0, 0 /* pad out to 16 bytes. */ + 0xff, 0xa3, 8, 0, 0, 0 /* jmp *8(%ebx) */ }; /* Subsequent entries in a PIC procedure linkage table look like this. */ @@ -516,6 +517,12 @@ static const bfd_byte elf_i386_pic_plt_e 0, 0, 0, 0 /* replaced with offset to start of .plt. */ }; +/* On VxWorks, the .rel.plt.unloaded section has absolute relocations + for the PLTResolve stub and then for each PLT entry. */ +#define PLTRESOLVE_RELOCS_SHLIB 0 +#define PLTRESOLVE_RELOCS 2 +#define PLT_NON_JUMP_SLOT_RELOCS 2 + /* The i386 linker needs to keep track of the number of relocs that it decides to copy as dynamic relocs in check_relocs for each symbol. This is so that it can later discard them if they are found to be @@ -595,7 +602,19 @@ struct elf_i386_link_hash_table asection *srelplt; asection *sdynbss; asection *srelbss; - + + /* The (unloaded but important) .rel.plt.unloaded section on VxWorks. */ + asection *srelplt2; + + /* Short-cuts to frequently used symbols for VxWorks targets. */ + struct elf_link_hash_entry *hgot, *hplt; + + /* True if the target system is VxWorks. */ + int is_vxworks; + + /* Value used to fill the last word of the first plt entry. */ + bfd_byte plt0_pad_byte; + union { bfd_signed_vma refcount; bfd_vma offset; @@ -668,6 +687,11 @@ elf_i386_link_hash_table_create (bfd *ab ret->srelbss = NULL; ret->tls_ldm_got.refcount = 0; ret->sym_sec.abfd = NULL; + ret->is_vxworks = 0; + ret->srelplt2 = NULL; + ret->hgot = NULL; + ret->hplt = NULL; + ret->plt0_pad_byte = 0; return &ret->elf.root; } @@ -689,12 +713,13 @@ create_got_section (bfd *dynobj, struct if (!htab->sgot || !htab->sgotplt) abort (); - htab->srelgot = bfd_make_section (dynobj, ".rel.got"); + htab->srelgot = bfd_make_section_with_flags (dynobj, ".rel.got", + (SEC_ALLOC | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED + | SEC_READONLY)); if (htab->srelgot == NULL - || ! bfd_set_section_flags (dynobj, htab->srelgot, - (SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS - | SEC_IN_MEMORY | SEC_LINKER_CREATED - | SEC_READONLY)) || ! bfd_set_section_alignment (dynobj, htab->srelgot, 2)) return FALSE; return TRUE; @@ -708,6 +733,9 @@ static bfd_boolean elf_i386_create_dynamic_sections (bfd *dynobj, struct bfd_link_info *info) { struct elf_i386_link_hash_table *htab; + asection * s; + int flags; + const struct elf_backend_data *bed = get_elf_backend_data (dynobj); htab = elf_i386_hash_table (info); if (!htab->sgot && !create_got_section (dynobj, info)) @@ -726,6 +754,18 @@ elf_i386_create_dynamic_sections (bfd *d || (!info->shared && !htab->srelbss)) abort (); + if (htab->is_vxworks && !info->shared) + { + s = bfd_make_section (dynobj, ".rel.plt.unloaded"); + flags = (SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_READONLY + | SEC_LINKER_CREATED); + if (s == NULL + || ! bfd_set_section_flags (dynobj, s, flags) + || ! bfd_set_section_alignment (dynobj, s, bed->s->log_file_align)) + return FALSE; + htab->srelplt2 = s; + } + return TRUE; } @@ -1098,13 +1138,14 @@ elf_i386_check_relocs (bfd *abfd, { flagword flags; - sreloc = bfd_make_section (dynobj, name); flags = (SEC_HAS_CONTENTS | SEC_READONLY | SEC_IN_MEMORY | SEC_LINKER_CREATED); if ((sec->flags & SEC_ALLOC) != 0) flags |= SEC_ALLOC | SEC_LOAD; + sreloc = bfd_make_section_with_flags (dynobj, + name, + flags); if (sreloc == NULL - || ! bfd_set_section_flags (dynobj, sreloc, flags) || ! bfd_set_section_alignment (dynobj, sreloc, 2)) return FALSE; } @@ -1526,6 +1567,26 @@ allocate_dynrelocs (struct elf_link_hash /* We also need to make an entry in the .rel.plt section. */ htab->srelplt->size += sizeof (Elf32_External_Rel); + + if (htab->is_vxworks && !info->shared) + { + /* VxWorks has a second set of relocations for each PLT entry + in executables. They go in a separate relocation section, + which is processed by the kernel loader. */ + + /* There are two relocations for the initial PLT entry: an + R_386_32 relocation for _GLOBAL_OFFSET_TABLE_ + 4 and an + R_386_32 relocation for _GLOBAL_OFFSET_TABLE_ + 8. */ + + if (h->plt.offset == PLT_ENTRY_SIZE) + htab->srelplt2->size += (sizeof (Elf32_External_Rel) * 2); + + /* There are two extra relocations for each subsequent PLT entry: + an R_386_32 relocation for the GOT entry, and an R_386_32 + relocation for the PLT entry. */ + + htab->srelplt2->size += (sizeof (Elf32_External_Rel) * 2); + } } else { @@ -1816,6 +1877,27 @@ elf_i386_size_dynamic_sections (bfd *out else htab->tls_ldm_got.offset = -1; + if (htab->is_vxworks) + { + /* Save the GOT and PLT symbols in the hash table for easy access. + Mark them as having relocations; they might not, but we won't + know for sure until we build the GOT in finish_dynamic_symbol. */ + + htab->hgot = elf_link_hash_lookup (elf_hash_table (info), + "_GLOBAL_OFFSET_TABLE_", + FALSE, FALSE, FALSE); + if (htab->hgot) + htab->hgot->indx = -2; + htab->hplt = elf_link_hash_lookup (elf_hash_table (info), + "_PROCEDURE_LINKAGE_TABLE_", + FALSE, FALSE, FALSE); + if (htab->hplt) + htab->hplt->indx = -2; + + if (htab->is_vxworks && htab->hplt && htab->splt->flags & SEC_CODE) + htab->hplt->type = STT_FUNC; + } + /* Allocate global sym .plt and .got entries, and space for global sym dynamic relocs. */ elf_link_hash_traverse (&htab->elf, allocate_dynrelocs, (PTR) info); @@ -1825,6 +1907,8 @@ elf_i386_size_dynamic_sections (bfd *out relocs = FALSE; for (s = dynobj->sections; s != NULL; s = s->next) { + bfd_boolean strip_section = TRUE; + if ((s->flags & SEC_LINKER_CREATED) == 0) continue; @@ -1834,10 +1918,16 @@ elf_i386_size_dynamic_sections (bfd *out { /* Strip this section if we don't need it; see the comment below. */ + /* We'd like to strip these sections if they aren't needed, but if + we've exported dynamic symbols from them we must leave them. + It's too late to tell BFD to get rid of the symbols. */ + + if (htab->hplt != NULL) + strip_section = FALSE; } else if (strncmp (bfd_get_section_name (dynobj, s), ".rel", 4) == 0) { - if (s->size != 0 && s != htab->srelplt) + if (s->size != 0 && s != htab->srelplt && s != htab->srelplt2) relocs = TRUE; /* We use the reloc_count field as a counter if we need @@ -1850,7 +1940,7 @@ elf_i386_size_dynamic_sections (bfd *out continue; } - if (s->size == 0) + if (s->size == 0 && strip_section) { /* If we don't need this section, strip it from the output file. This is mostly to handle .rel.bss and @@ -1862,7 +1952,7 @@ elf_i386_size_dynamic_sections (bfd *out function which decides whether anything needs to go into these sections. */ - _bfd_strip_section_from_output (info, s); + s->flags |= SEC_EXCLUDE; continue; } @@ -3029,6 +3119,43 @@ elf_i386_finish_dynamic_symbol (bfd *out + htab->sgotplt->output_offset + got_offset), htab->splt->contents + h->plt.offset + 2); + + if (htab->is_vxworks) + { + int s, k, reloc_index; + + /* Create the R_386_32 relocation referencing the GOT + for this PLT entry. */ + + /* S: Current slot number (zero-based). */ + s = (h->plt.offset - PLT_ENTRY_SIZE) / PLT_ENTRY_SIZE; + /* K: Number of relocations for PLTResolve. */ + if (info->shared) + k = PLTRESOLVE_RELOCS_SHLIB; + else + k = PLTRESOLVE_RELOCS; + /* Skip the PLTresolve relocations, and the relocations for + the other PLT slots. */ + reloc_index = k + s * PLT_NON_JUMP_SLOT_RELOCS; + loc = (htab->srelplt2->contents + reloc_index + * sizeof (Elf32_External_Rel)); + + rel.r_offset = (htab->splt->output_section->vma + + htab->splt->output_offset + + h->plt.offset + 2), + rel.r_info = ELF32_R_INFO (htab->hgot->indx, R_386_32); + bfd_elf32_swap_reloc_out (output_bfd, &rel, loc); + + /* Create the R_386_32 relocation referencing the beginning of + the PLT for this GOT entry. */ + rel.r_offset = (htab->sgotplt->output_section->vma + + htab->sgotplt->output_offset + + got_offset); + rel.r_info = ELF32_R_INFO (htab->hplt->indx, R_386_32); + bfd_elf32_swap_reloc_out (output_bfd, &rel, + loc + sizeof (Elf32_External_Rel)); + } + } else { @@ -3138,9 +3265,12 @@ elf_i386_finish_dynamic_symbol (bfd *out bfd_elf32_swap_reloc_out (output_bfd, &rel, loc); } - /* Mark _DYNAMIC and _GLOBAL_OFFSET_TABLE_ as absolute. */ + /* Mark _DYNAMIC and _GLOBAL_OFFSET_TABLE_ as absolute. + On VxWorks, the _GLOBAL_OFFSET_TABLE_ symbol is not absolute: it + is relative to the ".got" section. */ if (strcmp (h->root.root.string, "_DYNAMIC") == 0 - || strcmp (h->root.root.string, "_GLOBAL_OFFSET_TABLE_") == 0) + || (strcmp (h->root.root.string, "_GLOBAL_OFFSET_TABLE_") == 0 + && !htab->is_vxworks)) sym->st_shndx = SHN_ABS; return TRUE; @@ -3248,12 +3378,20 @@ elf_i386_finish_dynamic_sections (bfd *o if (htab->splt && htab->splt->size > 0) { if (info->shared) - memcpy (htab->splt->contents, - elf_i386_pic_plt0_entry, PLT_ENTRY_SIZE); + { + memcpy (htab->splt->contents, elf_i386_pic_plt0_entry, + sizeof (elf_i386_pic_plt0_entry)); + memset (htab->splt->contents + sizeof (elf_i386_pic_plt0_entry), + htab->plt0_pad_byte, + PLT_ENTRY_SIZE - sizeof (elf_i386_pic_plt0_entry)); + } else { - memcpy (htab->splt->contents, - elf_i386_plt0_entry, PLT_ENTRY_SIZE); + memcpy (htab->splt->contents, elf_i386_plt0_entry, + sizeof(elf_i386_plt0_entry)); + memset (htab->splt->contents + sizeof (elf_i386_plt0_entry), + htab->plt0_pad_byte, + PLT_ENTRY_SIZE - sizeof (elf_i386_plt0_entry)); bfd_put_32 (output_bfd, (htab->sgotplt->output_section->vma + htab->sgotplt->output_offset @@ -3264,12 +3402,69 @@ elf_i386_finish_dynamic_sections (bfd *o + htab->sgotplt->output_offset + 8), htab->splt->contents + 8); + + if (htab->is_vxworks) + { + Elf_Internal_Rela rel; + struct elf_link_hash_entry *hgot; + + /* The VxWorks GOT is relocated by the dynamic linker. + Therefore, we must emit relocations rather than + simply computing the values now. */ + hgot = elf_link_hash_lookup (elf_hash_table (info), + "_GLOBAL_OFFSET_TABLE_", + FALSE, FALSE, FALSE); + /* Generate a relocation for _GLOBAL_OFFSET_TABLE_ + 4. + On IA32 we use REL relocations so the addend goes in + the PLT directly. */ + rel.r_offset = (htab->splt->output_section->vma + + htab->splt->output_offset + + 2); + rel.r_info = ELF32_R_INFO (hgot->indx, R_386_32); + bfd_elf32_swap_reloc_out (output_bfd, &rel, + htab->srelplt2->contents); + /* Generate a relocation for _GLOBAL_OFFSET_TABLE_ + 8. */ + rel.r_offset = (htab->splt->output_section->vma + + htab->splt->output_offset + + 8); + rel.r_info = ELF32_R_INFO (hgot->indx, R_386_32); + bfd_elf32_swap_reloc_out (output_bfd, &rel, + htab->srelplt2->contents + + sizeof (Elf32_External_Rel)); + } } /* UnixWare sets the entsize of .plt to 4, although that doesn't really seem like the right value. */ elf_section_data (htab->splt->output_section) ->this_hdr.sh_entsize = 4; + + /* Correct the .rel.plt.unloaded relocations. */ + if (htab->is_vxworks && !info->shared) + { + int num_plts = (htab->splt->size / PLT_ENTRY_SIZE) - 1; + char *p; + + p = htab->srelplt2->contents; + if (info->shared) + p += PLTRESOLVE_RELOCS_SHLIB * sizeof (Elf32_External_Rel); + else + p += PLTRESOLVE_RELOCS * sizeof (Elf32_External_Rel); + + for (; num_plts; num_plts--) + { + Elf_Internal_Rela rel; + bfd_elf32_swap_reloc_in (output_bfd, p, &rel); + rel.r_info = ELF32_R_INFO (htab->hgot->indx, R_386_32); + bfd_elf32_swap_reloc_out (output_bfd, &rel, p); + p += sizeof (Elf32_External_Rel); + + bfd_elf32_swap_reloc_in (output_bfd, p, &rel); + rel.r_info = ELF32_R_INFO (htab->hplt->indx, R_386_32); + bfd_elf32_swap_reloc_out (output_bfd, &rel, p); + p += sizeof (Elf32_External_Rel); + } + } } } @@ -3380,3 +3575,74 @@ elf_i386_post_process_headers (bfd *abfd #define elf32_bed elf32_i386_fbsd_bed #include "elf32-target.h" + +/* VxWorks support. */ + +#undef TARGET_LITTLE_SYM +#define TARGET_LITTLE_SYM bfd_elf32_i386_vxworks_vec +#undef TARGET_LITTLE_NAME +#define TARGET_LITTLE_NAME "elf32-i386-vxworks" + + +/* Like elf_i386_link_hash_table_create but with tweaks for VxWorks. */ + +static struct bfd_link_hash_table * +elf_i386_vxworks_link_hash_table_create (bfd *abfd) +{ + struct bfd_link_hash_table *ret; + struct elf_i386_link_hash_table *htab; + + ret = elf_i386_link_hash_table_create (abfd); + if (ret) + { + htab = (struct elf_i386_link_hash_table *) ret; + htab->is_vxworks = 1; + htab->plt0_pad_byte = 0x90; + } + + return ret; +} + + +/* Tweak magic VxWorks symbols as they are written to the output file. */ +static bfd_boolean +elf_i386_vxworks_link_output_symbol_hook (struct bfd_link_info *info + ATTRIBUTE_UNUSED, + const char *name, + Elf_Internal_Sym *sym, + asection *input_sec ATTRIBUTE_UNUSED, + struct elf_link_hash_entry *h + ATTRIBUTE_UNUSED) +{ + /* Ignore the first dummy symbol. */ + if (!name) + return TRUE; + + return elf_vxworks_link_output_symbol_hook (name, sym); +} + +#undef elf_backend_post_process_headers +#undef bfd_elf32_bfd_link_hash_table_create +#define bfd_elf32_bfd_link_hash_table_create \ + elf_i386_vxworks_link_hash_table_create +#undef elf_backend_add_symbol_hook +#define elf_backend_add_symbol_hook \ + elf_vxworks_add_symbol_hook +#undef elf_backend_link_output_symbol_hook +#define elf_backend_link_output_symbol_hook \ + elf_i386_vxworks_link_output_symbol_hook +#undef elf_backend_emit_relocs +#define elf_backend_emit_relocs elf_vxworks_emit_relocs +#undef elf_backend_final_write_processing +#define elf_backend_final_write_processing \ + elf_vxworks_final_write_processing + +/* On VxWorks, we emit relocations against _PROCEDURE_LINKAGE_TABLE_, so + define it. */ +#undef elf_backend_want_plt_sym +#define elf_backend_want_plt_sym 1 + +#undef elf32_bed +#define elf32_bed elf32_i386_vxworks_bed + +#include "elf32-target.h" diff -uprN binutils-2.16.90.0.2/bfd/elf32-i860.c binutils-2.16.90.0.3/bfd/elf32-i860.c --- binutils-2.16.90.0.2/bfd/elf32-i860.c 2005-04-09 12:02:57.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-i860.c 2005-05-10 15:46:41.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/elf32-i960.c binutils-2.16.90.0.3/bfd/elf32-i960.c --- binutils-2.16.90.0.2/bfd/elf32-i960.c 2004-01-14 13:07:43.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/elf32-i960.c 2005-05-10 15:46:41.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/elf32-ip2k.c binutils-2.16.90.0.3/bfd/elf32-ip2k.c --- binutils-2.16.90.0.2/bfd/elf32-ip2k.c 2005-04-09 12:02:57.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-ip2k.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/elf32-iq2000.c binutils-2.16.90.0.3/bfd/elf32-iq2000.c --- binutils-2.16.90.0.2/bfd/elf32-iq2000.c 2005-04-09 12:02:57.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-iq2000.c 2005-05-10 15:46:41.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/elf32-m32r.c binutils-2.16.90.0.3/bfd/elf32-m32r.c --- binutils-2.16.90.0.2/bfd/elf32-m32r.c 2005-04-09 12:02:58.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-m32r.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" @@ -1461,10 +1461,10 @@ m32r_elf_add_symbol_hook (abfd, info, sy flagword flags = (SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_LINKER_CREATED); - s = bfd_make_section_anyway (abfd, ".sdata"); + s = bfd_make_section_anyway_with_flags (abfd, ".sdata", + flags); if (s == NULL) return FALSE; - bfd_set_section_flags (abfd, s, flags); bfd_set_section_alignment (abfd, s, 2); } @@ -1719,15 +1719,14 @@ create_got_section (dynobj, info) if (! htab->sgot || ! htab->sgotplt) abort (); - htab->srelgot = bfd_make_section (dynobj, ".rela.got"); + htab->srelgot = bfd_make_section_with_flags (dynobj, ".rela.got", + (SEC_ALLOC + | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED + | SEC_READONLY)); if (htab->srelgot == NULL - || ! bfd_set_section_flags (dynobj, htab->srelgot, - (SEC_ALLOC - | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED - | SEC_READONLY)) || ! bfd_set_section_alignment (dynobj, htab->srelgot, 2)) return FALSE; @@ -1762,10 +1761,9 @@ m32r_elf_create_dynamic_sections (abfd, if (bed->plt_readonly) pltflags |= SEC_READONLY; - s = bfd_make_section (abfd, ".plt"); + s = bfd_make_section_with_flags (abfd, ".plt", pltflags); htab->splt = s; if (s == NULL - || ! bfd_set_section_flags (abfd, s, pltflags) || ! bfd_set_section_alignment (abfd, s, bed->plt_alignment)) return FALSE; @@ -1789,11 +1787,11 @@ m32r_elf_create_dynamic_sections (abfd, return FALSE; } - s = bfd_make_section (abfd, - bed->default_use_rela_p ? ".rela.plt" : ".rel.plt"); + s = bfd_make_section_with_flags (abfd, + bed->default_use_rela_p ? ".rela.plt" : ".rel.plt", + flags | SEC_READONLY); htab->srelplt = s; if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY) || ! bfd_set_section_alignment (abfd, s, ptralign)) return FALSE; @@ -1819,9 +1817,9 @@ m32r_elf_create_dynamic_sections (abfd, strcat (relname, secname); if (bfd_get_section_by_name (abfd, secname)) continue; - s = bfd_make_section (abfd, relname); + s = bfd_make_section_with_flags (abfd, relname, + flags | SEC_READONLY); if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY) || ! bfd_set_section_alignment (abfd, s, ptralign)) return FALSE; } @@ -1835,10 +1833,10 @@ m32r_elf_create_dynamic_sections (abfd, image and use a R_*_COPY reloc to tell the dynamic linker to initialize them at run time. The linker script puts the .dynbss section into the .bss section of the final image. */ - s = bfd_make_section (abfd, ".dynbss"); + s = bfd_make_section_with_flags (abfd, ".dynbss", + SEC_ALLOC | SEC_LINKER_CREATED); htab->sdynbss = s; - if (s == NULL - || ! bfd_set_section_flags (abfd, s, SEC_ALLOC)) + if (s == NULL) return FALSE; /* The .rel[a].bss section holds copy relocs. This section is not normally needed. We need to create it here, though, so that the @@ -1853,12 +1851,12 @@ m32r_elf_create_dynamic_sections (abfd, copy relocs. */ if (! info->shared) { - s = bfd_make_section (abfd, - (bed->default_use_rela_p - ? ".rela.bss" : ".rel.bss")); + s = bfd_make_section_with_flags (abfd, + (bed->default_use_rela_p + ? ".rela.bss" : ".rel.bss"), + flags | SEC_READONLY); htab->srelbss = s; if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY) || ! bfd_set_section_alignment (abfd, s, ptralign)) return FALSE; } @@ -2448,7 +2446,7 @@ printf("m32r_elf_size_dynamic_sections() adjust_dynamic_symbol is called, and it is that function which decides whether anything needs to go into these sections. */ - _bfd_strip_section_from_output (info, s); + s->flags |= SEC_EXCLUDE; continue; } @@ -4108,13 +4106,14 @@ m32r_elf_check_relocs (abfd, info, sec, { flagword flags; - sreloc = bfd_make_section (dynobj, name); flags = (SEC_HAS_CONTENTS | SEC_READONLY | SEC_IN_MEMORY | SEC_LINKER_CREATED); if ((sec->flags & SEC_ALLOC) != 0) flags |= SEC_ALLOC | SEC_LOAD; + sreloc = bfd_make_section_with_flags (dynobj, + name, + flags); if (sreloc == NULL - || ! bfd_set_section_flags (dynobj, sreloc, flags) || ! bfd_set_section_alignment (dynobj, sreloc, 2)) return FALSE; } @@ -4184,11 +4183,44 @@ m32r_elf_check_relocs (abfd, info, sec, return TRUE; } -static struct bfd_elf_special_section const m32r_elf_special_sections[]= +static struct bfd_elf_special_section const + m32r_elf_special_sections_s[] = { { ".sdata", 6, -2, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE }, { ".sbss", 5, -2, SHT_NOBITS, SHF_ALLOC + SHF_WRITE }, - { NULL, 0, 0, 0, 0 } + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const * + m32r_elf_special_sections[27] = +{ + NULL, /* 'a' */ + NULL, /* 'b' */ + NULL, /* 'c' */ + NULL, /* 'd' */ + NULL, /* 'e' */ + NULL, /* 'f' */ + NULL, /* 'g' */ + NULL, /* 'h' */ + NULL, /* 'i' */ + NULL, /* 'j' */ + NULL, /* 'k' */ + NULL, /* 'l' */ + NULL, /* 'm' */ + NULL, /* 'n' */ + NULL, /* 'o' */ + NULL, /* 'p' */ + NULL, /* 'q' */ + NULL, /* 'r' */ + m32r_elf_special_sections_s, /* 's' */ + NULL, /* 't' */ + NULL, /* 'u' */ + NULL, /* 'v' */ + NULL, /* 'w' */ + NULL, /* 'x' */ + NULL, /* 'y' */ + NULL, /* 'z' */ + NULL /* other */ }; static bfd_boolean diff -uprN binutils-2.16.90.0.2/bfd/elf32-m68hc11.c binutils-2.16.90.0.3/bfd/elf32-m68hc11.c --- binutils-2.16.90.0.2/bfd/elf32-m68hc11.c 2004-07-27 21:36:07.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-m68hc11.c 2005-05-10 15:46:42.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" @@ -1257,14 +1257,65 @@ m68hc11_elf_relax_delete_bytes (bfd *abf are located in .page0. - The .vectors is the section that represents the interrupt vectors. */ -static struct bfd_elf_special_section const elf32_m68hc11_special_sections[]= +static struct bfd_elf_special_section const + m68hc11_special_sections_e[] = { { ".eeprom", 7, 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const + m68hc11_special_sections_s[]= +{ { ".softregs", 9, 0, SHT_NOBITS, SHF_ALLOC + SHF_WRITE }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const + m68hc11_special_sections_p[]= +{ { ".page0", 6, 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const + m68hc11_special_sections_v[]= +{ { ".vectors", 8, 0, SHT_PROGBITS, SHF_ALLOC }, { NULL, 0, 0, 0, 0 } }; + +static struct bfd_elf_special_section const * + elf32_m68hc11_special_sections[27] = +{ + NULL, /* 'a' */ + NULL, /* 'b' */ + NULL, /* 'c' */ + NULL, /* 'd' */ + m68hc11_special_sections_e, /* 'e' */ + NULL, /* 'f' */ + NULL, /* 'g' */ + NULL, /* 'h' */ + NULL, /* 'i' */ + NULL, /* 'j' */ + NULL, /* 'k' */ + NULL, /* 'l' */ + NULL, /* 'm' */ + NULL, /* 'n' */ + NULL, /* 'o' */ + m68hc11_special_sections_p, /* 'p' */ + NULL, /* 'q' */ + NULL, /* 'r' */ + m68hc11_special_sections_s, /* 's' */ + NULL, /* 't' */ + NULL, /* 'u' */ + m68hc11_special_sections_v, /* 'v' */ + NULL, /* 'w' */ + NULL, /* 'x' */ + NULL, /* 'y' */ + NULL, /* 'z' */ + NULL /* other */ +}; #define ELF_ARCH bfd_arch_m68hc11 #define ELF_MACHINE_CODE EM_68HC11 diff -uprN binutils-2.16.90.0.2/bfd/elf32-m68hc12.c binutils-2.16.90.0.3/bfd/elf32-m68hc12.c --- binutils-2.16.90.0.2/bfd/elf32-m68hc12.c 2004-07-27 21:36:07.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-m68hc12.c 2005-05-10 15:46:42.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" @@ -535,14 +535,65 @@ m68hc12_elf_set_mach_from_flags (bfd *ab Page0 accesses are faster on the M68HC12. - The .vectors is the section that represents the interrupt vectors. */ -static struct bfd_elf_special_section const elf32_m68hc12_special_sections[]= +static struct bfd_elf_special_section const + m68hc12_special_sections_e[] = { { ".eeprom", 7, 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const + m68hc12_special_sections_s[]= +{ { ".softregs", 9, 0, SHT_NOBITS, SHF_ALLOC + SHF_WRITE }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const + m68hc12_special_sections_p[]= +{ { ".page0", 6, 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const + m68hc12_special_sections_v[]= +{ { ".vectors", 8, 0, SHT_PROGBITS, SHF_ALLOC }, { NULL, 0, 0, 0, 0 } }; + +static struct bfd_elf_special_section const * + elf32_m68hc12_special_sections[27] = +{ + NULL, /* 'a' */ + NULL, /* 'b' */ + NULL, /* 'c' */ + NULL, /* 'd' */ + m68hc12_special_sections_e, /* 'e' */ + NULL, /* 'f' */ + NULL, /* 'g' */ + NULL, /* 'h' */ + NULL, /* 'i' */ + NULL, /* 'j' */ + NULL, /* 'k' */ + NULL, /* 'l' */ + NULL, /* 'm' */ + NULL, /* 'n' */ + NULL, /* 'o' */ + m68hc12_special_sections_p, /* 'p' */ + NULL, /* 'q' */ + NULL, /* 'r' */ + m68hc12_special_sections_s, /* 's' */ + NULL, /* 't' */ + NULL, /* 'u' */ + m68hc12_special_sections_v, /* 'v' */ + NULL, /* 'w' */ + NULL, /* 'x' */ + NULL, /* 'y' */ + NULL, /* 'z' */ + NULL /* other */ +}; #define ELF_ARCH bfd_arch_m68hc12 #define ELF_MACHINE_CODE EM_68HC12 diff -uprN binutils-2.16.90.0.2/bfd/elf32-m68hc1x.c binutils-2.16.90.0.3/bfd/elf32-m68hc1x.c --- binutils-2.16.90.0.2/bfd/elf32-m68hc1x.c 2005-04-09 12:02:58.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-m68hc1x.c 2005-05-10 15:46:42.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" @@ -265,7 +265,7 @@ elf32_m68hc11_setup_section_lists (bfd * /* We can't use output_bfd->section_count here to find the top output section index as some sections may have been removed, and - _bfd_strip_section_from_output doesn't renumber the indices. */ + strip_excluded_output_sections doesn't renumber the indices. */ for (section = output_bfd->sections, top_index = 0; section != NULL; section = section->next) diff -uprN binutils-2.16.90.0.2/bfd/elf32-m68hc1x.h binutils-2.16.90.0.3/bfd/elf32-m68hc1x.h --- binutils-2.16.90.0.2/bfd/elf32-m68hc1x.h 2004-04-12 12:56:33.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-m68hc1x.h 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF32_M68HC1X_H #define _ELF32_M68HC1X_H diff -uprN binutils-2.16.90.0.2/bfd/elf32-m68k.c binutils-2.16.90.0.3/bfd/elf32-m68k.c --- binutils-2.16.90.0.2/bfd/elf32-m68k.c 2005-04-09 12:02:58.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-m68k.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" @@ -517,15 +517,15 @@ elf_m68k_check_relocs (abfd, info, sec, srelgot = bfd_get_section_by_name (dynobj, ".rela.got"); if (srelgot == NULL) { - srelgot = bfd_make_section (dynobj, ".rela.got"); + srelgot = bfd_make_section_with_flags (dynobj, + ".rela.got", + (SEC_ALLOC + | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED + | SEC_READONLY)); if (srelgot == NULL - || !bfd_set_section_flags (dynobj, srelgot, - (SEC_ALLOC - | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED - | SEC_READONLY)) || !bfd_set_section_alignment (dynobj, srelgot, 2)) return FALSE; } @@ -691,15 +691,15 @@ elf_m68k_check_relocs (abfd, info, sec, sreloc = bfd_get_section_by_name (dynobj, name); if (sreloc == NULL) { - sreloc = bfd_make_section (dynobj, name); + sreloc = bfd_make_section_with_flags (dynobj, + name, + (SEC_ALLOC + | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED + | SEC_READONLY)); if (sreloc == NULL - || !bfd_set_section_flags (dynobj, sreloc, - (SEC_ALLOC - | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED - | SEC_READONLY)) || !bfd_set_section_alignment (dynobj, sreloc, 2)) return FALSE; } @@ -1241,7 +1241,7 @@ elf_m68k_size_dynamic_sections (output_b if (strip) { - _bfd_strip_section_from_output (info, s); + s->flags |= SEC_EXCLUDE; continue; } diff -uprN binutils-2.16.90.0.2/bfd/elf32-m88k.c binutils-2.16.90.0.3/bfd/elf32-m88k.c --- binutils-2.16.90.0.2/bfd/elf32-m88k.c 2001-03-09 11:37:58.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/elf32-m88k.c 2005-05-10 15:46:42.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/elf32-mcore.c binutils-2.16.90.0.3/bfd/elf32-mcore.c --- binutils-2.16.90.0.2/bfd/elf32-mcore.c 2004-11-22 12:33:30.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/elf32-mcore.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file is based on a preliminary RCE ELF ABI. The information may not match the final RCE ELF ABI. */ @@ -662,13 +662,52 @@ mcore_elf_check_relocs (abfd, info, sec, return TRUE; } -static struct bfd_elf_special_section const mcore_elf_special_sections[]= +static struct bfd_elf_special_section const + mcore_special_sections_c [] = { { ".ctors", 6, -2, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const + mcore_special_sections_d[]= +{ { ".dtors", 6, -2, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE }, { NULL, 0, 0, 0, 0 } }; +static struct bfd_elf_special_section const * + mcore_elf_special_sections[27]= +{ + NULL, /* 'a' */ + NULL, /* 'b' */ + mcore_special_sections_c, /* 'c' */ + mcore_special_sections_d, /* 'd' */ + NULL, /* 'e' */ + NULL, /* 'f' */ + NULL, /* 'g' */ + NULL, /* 'h' */ + NULL, /* 'i' */ + NULL, /* 'j' */ + NULL, /* 'k' */ + NULL, /* 'l' */ + NULL, /* 'm' */ + NULL, /* 'n' */ + NULL, /* 'o' */ + NULL, /* 'p' */ + NULL, /* 'q' */ + NULL, /* 'r' */ + NULL, /* 's' */ + NULL, /* 't' */ + NULL, /* 'u' */ + NULL, /* 'v' */ + NULL, /* 'w' */ + NULL, /* 'x' */ + NULL, /* 'y' */ + NULL, /* 'z' */ + NULL /* other */ +}; + #define TARGET_BIG_SYM bfd_elf32_mcore_big_vec #define TARGET_BIG_NAME "elf32-mcore-big" #define TARGET_LITTLE_SYM bfd_elf32_mcore_little_vec diff -uprN binutils-2.16.90.0.2/bfd/elf32-mips.c binutils-2.16.90.0.3/bfd/elf32-mips.c --- binutils-2.16.90.0.2/bfd/elf32-mips.c 2005-04-09 12:02:58.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-mips.c 2005-05-10 15:46:42.000000000 -0700 @@ -23,7 +23,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file handles MIPS ELF targets. SGI Irix 5 uses a slightly different MIPS ELF from other targets. This matters when linking. diff -uprN binutils-2.16.90.0.2/bfd/elf32-msp430.c binutils-2.16.90.0.3/bfd/elf32-msp430.c --- binutils-2.16.90.0.2/bfd/elf32-msp430.c 2004-11-22 12:33:30.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/elf32-msp430.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/elf32-openrisc.c binutils-2.16.90.0.3/bfd/elf32-openrisc.c --- binutils-2.16.90.0.2/bfd/elf32-openrisc.c 2004-11-22 12:33:30.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/elf32-openrisc.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/elf32-or32.c binutils-2.16.90.0.3/bfd/elf32-or32.c --- binutils-2.16.90.0.2/bfd/elf32-or32.c 2004-07-27 21:36:08.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-or32.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/elf32-pj.c binutils-2.16.90.0.3/bfd/elf32-pj.c --- binutils-2.16.90.0.2/bfd/elf32-pj.c 2002-12-16 12:22:51.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/elf32-pj.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/elf32-ppc.c binutils-2.16.90.0.3/bfd/elf32-ppc.c --- binutils-2.16.90.0.2/bfd/elf32-ppc.c 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-ppc.c 2005-05-10 15:46:42.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the - Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ /* This file is based on a preliminary PowerPC ELF ABI. The information may not match the final PowerPC ELF ABI. It includes @@ -1736,18 +1736,69 @@ ppc_elf_additional_program_headers (bfd that the linker doesn't crater when trying to make more than 2 sections. */ -static struct bfd_elf_special_section const ppc_elf_special_sections[]= +static struct bfd_elf_special_section const + ppc_special_sections_p[] = +{ + { ".plt", 4, 0, SHT_NOBITS, SHF_ALLOC + SHF_EXECINSTR }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const + ppc_special_sections_s[] = { - { ".tags", 5, 0, SHT_ORDERED, SHF_ALLOC }, { ".sdata", 6, -2, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE }, { ".sbss", 5, -2, SHT_NOBITS, SHF_ALLOC + SHF_WRITE }, { ".sdata2", 7, -2, SHT_PROGBITS, SHF_ALLOC }, { ".sbss2", 6, -2, SHT_PROGBITS, SHF_ALLOC }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const + ppc_special_sections_t[] = +{ + { ".tags", 5, 0, SHT_ORDERED, SHF_ALLOC }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const + ppc_special_sections_other[]= +{ { ".PPC.EMB.apuinfo", 16, 0, SHT_NOTE, 0 }, { ".PPC.EMB.sdata0", 15, 0, SHT_PROGBITS, SHF_ALLOC }, { ".PPC.EMB.sbss0", 14, 0, SHT_PROGBITS, SHF_ALLOC }, - { ".plt", 4, 0, SHT_NOBITS, SHF_ALLOC + SHF_EXECINSTR }, - { NULL, 0, 0, 0, 0 } + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const * + ppc_elf_special_sections[27]= +{ + NULL, /* 'a' */ + NULL, /* 'b' */ + NULL, /* 'c' */ + NULL, /* 'd' */ + NULL, /* 'e' */ + NULL, /* 'f' */ + NULL, /* 'g' */ + NULL, /* 'h' */ + NULL, /* 'i' */ + NULL, /* 'j' */ + NULL, /* 'k' */ + NULL, /* 'l' */ + NULL, /* 'm' */ + NULL, /* 'n' */ + NULL, /* 'o' */ + ppc_special_sections_p, /* 'p' */ + NULL, /* 'q' */ + NULL, /* 'r' */ + ppc_special_sections_s, /* 's' */ + ppc_special_sections_t, /* 's' */ + NULL, /* 'u' */ + NULL, /* 'v' */ + NULL, /* 'w' */ + NULL, /* 'x' */ + NULL, /* 'y' */ + NULL, /* 'z' */ + ppc_special_sections_other, /* other */ }; /* Very simple linked list structure for recording apuinfo values. */ @@ -2131,6 +2182,11 @@ struct ppc_elf_link_hash_table bfd_vma offset; } tlsld_got; + /* Size of reserved GOT entries. */ + unsigned int got_header_size; + /* Non-zero if allocating the header left a gap. */ + unsigned int got_gap; + /* Small local sym to section mapping cache. */ struct sym_sec_cache sym_sec; }; @@ -2220,12 +2276,10 @@ ppc_elf_create_got (bfd *abfd, struct bf if (!bfd_set_section_flags (abfd, s, flags)) return FALSE; - htab->relgot = bfd_make_section (abfd, ".rela.got"); + flags = (SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS | SEC_IN_MEMORY + | SEC_LINKER_CREATED | SEC_READONLY); + htab->relgot = bfd_make_section_with_flags (abfd, ".rela.got", flags); if (!htab->relgot - || ! bfd_set_section_flags (abfd, htab->relgot, - (SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS - | SEC_IN_MEMORY | SEC_LINKER_CREATED - | SEC_READONLY)) || ! bfd_set_section_alignment (abfd, htab->relgot, 2)) return FALSE; @@ -2256,17 +2310,19 @@ ppc_elf_create_dynamic_sections (bfd *ab | SEC_LINKER_CREATED); htab->dynbss = bfd_get_section_by_name (abfd, ".dynbss"); - htab->dynsbss = s = bfd_make_section (abfd, ".dynsbss"); - if (s == NULL - || ! bfd_set_section_flags (abfd, s, SEC_ALLOC | SEC_LINKER_CREATED)) + s = bfd_make_section_with_flags (abfd, ".dynsbss", + SEC_ALLOC | SEC_LINKER_CREATED); + htab->dynsbss = s; + if (s == NULL) return FALSE; if (! info->shared) { htab->relbss = bfd_get_section_by_name (abfd, ".rela.bss"); - htab->relsbss = s = bfd_make_section (abfd, ".rela.sbss"); + s = bfd_make_section_with_flags (abfd, ".rela.sbss", + flags | SEC_READONLY); + htab->relsbss = s; if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY) || ! bfd_set_section_alignment (abfd, s, 2)) return FALSE; } @@ -2276,7 +2332,7 @@ ppc_elf_create_dynamic_sections (bfd *ab if (s == NULL) abort (); - flags = SEC_ALLOC | SEC_CODE | SEC_IN_MEMORY | SEC_LINKER_CREATED; + flags = SEC_ALLOC | SEC_CODE | SEC_LINKER_CREATED; return bfd_set_section_flags (abfd, s, flags); } @@ -2384,9 +2440,10 @@ ppc_elf_add_symbol_hook (bfd *abfd, if (!htab->elf.dynobj) htab->elf.dynobj = abfd; - htab->sbss = bfd_make_section_anyway (htab->elf.dynobj, ".sbss"); - if (htab->sbss == NULL - || ! bfd_set_section_flags (htab->elf.dynobj, htab->sbss, flags)) + htab->sbss = bfd_make_section_anyway_with_flags (htab->elf.dynobj, + ".sbss", + flags); + if (htab->sbss == NULL) return FALSE; } @@ -2415,9 +2472,10 @@ ppc_elf_create_linker_section (bfd *abfd if (!htab->elf.dynobj) htab->elf.dynobj = abfd; - s = bfd_make_section_anyway (htab->elf.dynobj, lsect->name); + s = bfd_make_section_anyway_with_flags (htab->elf.dynobj, + lsect->name, + flags); if (s == NULL - || !bfd_set_section_flags (htab->elf.dynobj, s, flags) || !bfd_set_section_alignment (htab->elf.dynobj, s, 2)) return FALSE; lsect->section = s; @@ -2621,15 +2679,15 @@ ppc_elf_check_relocs (bfd *abfd, /* If a relocation refers to _GLOBAL_OFFSET_TABLE_, create the .got. This shows up in particular in an R_PPC_ADDR32 in the eabi startup code. */ - if (h && strcmp (h->root.root.string, "_GLOBAL_OFFSET_TABLE_") == 0) + if (h != NULL + && htab->got == NULL + && strcmp (h->root.root.string, "_GLOBAL_OFFSET_TABLE_") == 0) { - if (htab->got == NULL) - { - if (htab->elf.dynobj == NULL) - htab->elf.dynobj = abfd; - if (!ppc_elf_create_got (htab->elf.dynobj, info)) - return FALSE; - } + if (htab->elf.dynobj == NULL) + htab->elf.dynobj = abfd; + if (!ppc_elf_create_got (htab->elf.dynobj, info)) + return FALSE; + BFD_ASSERT (h == htab->elf.hgot); } r_type = ELF32_R_TYPE (rel->r_info); @@ -2855,8 +2913,7 @@ ppc_elf_check_relocs (bfd *abfd, case R_PPC_REL14_BRTAKEN: case R_PPC_REL14_BRNTAKEN: case R_PPC_REL32: - if (h == NULL - || strcmp (h->root.root.string, "_GLOBAL_OFFSET_TABLE_") == 0) + if (h == NULL || h == htab->elf.hgot) break; /* fall through */ @@ -2947,13 +3004,13 @@ ppc_elf_check_relocs (bfd *abfd, { flagword flags; - sreloc = bfd_make_section (htab->elf.dynobj, name); flags = (SEC_HAS_CONTENTS | SEC_READONLY | SEC_IN_MEMORY | SEC_LINKER_CREATED | SEC_ALLOC | SEC_LOAD); + sreloc = bfd_make_section_with_flags (htab->elf.dynobj, + name, + flags); if (sreloc == NULL - || ! bfd_set_section_flags (htab->elf.dynobj, - sreloc, flags) || ! bfd_set_section_alignment (htab->elf.dynobj, sreloc, 2)) return FALSE; @@ -3235,8 +3292,7 @@ ppc_elf_gc_sweep_hook (bfd *abfd, case R_PPC_REL14_BRTAKEN: case R_PPC_REL14_BRNTAKEN: case R_PPC_REL32: - if (h == NULL - || strcmp (h->root.root.string, "_GLOBAL_OFFSET_TABLE_") == 0) + if (h == NULL || h == htab->elf.hgot) break; /* Fall thru */ @@ -3643,6 +3699,34 @@ ppc_elf_adjust_dynamic_symbol (struct bf return TRUE; } +/* Allocate NEED contiguous space in .got, and return the offset. + Handles allocation of the got header when crossing 32k. */ + +static bfd_vma +allocate_got (struct ppc_elf_link_hash_table *htab, unsigned int need) +{ + bfd_vma where; + unsigned int max_before_header = 32764; + + if (need <= htab->got_gap) + { + where = max_before_header - htab->got_gap; + htab->got_gap -= need; + } + else + { + if (htab->got->size + need > max_before_header + && htab->got->size <= max_before_header) + { + htab->got_gap = max_before_header - htab->got->size; + htab->got->size = max_before_header + htab->got_header_size; + } + where = htab->got->size; + htab->got->size += need; + } + return where; +} + /* Allocate space in associated reloc sections for dynamic relocs. */ static bfd_boolean @@ -3744,33 +3828,32 @@ allocate_dynrelocs (struct elf_link_hash else { bfd_boolean dyn; - eh->elf.got.offset = htab->got->size; + unsigned int need = 0; if ((eh->tls_mask & TLS_TLS) != 0) { if ((eh->tls_mask & TLS_LD) != 0) - htab->got->size += 8; + need += 8; if ((eh->tls_mask & TLS_GD) != 0) - htab->got->size += 8; + need += 8; if ((eh->tls_mask & (TLS_TPREL | TLS_TPRELGD)) != 0) - htab->got->size += 4; + need += 4; if ((eh->tls_mask & TLS_DTPREL) != 0) - htab->got->size += 4; + need += 4; } else - htab->got->size += 4; + need += 4; + eh->elf.got.offset = allocate_got (htab, need); dyn = htab->elf.dynamic_sections_created; if ((info->shared || WILL_CALL_FINISH_DYNAMIC_SYMBOL (dyn, 0, &eh->elf)) && (ELF_ST_VISIBILITY (eh->elf.other) == STV_DEFAULT || eh->elf.root.type != bfd_link_hash_undefweak)) { - /* All the entries we allocated need relocs. */ - htab->relgot->size - += ((htab->got->size - eh->elf.got.offset) / 4 - * sizeof (Elf32_External_Rela)); - /* Except LD only needs one. */ + /* All the entries we allocated need relocs. + Except LD only needs one. */ if ((eh->tls_mask & TLS_LD) != 0) - htab->relgot->size -= sizeof (Elf32_External_Rela); + need -= 4; + htab->relgot->size += need * (sizeof (Elf32_External_Rela) / 4); } } } @@ -3927,15 +4010,7 @@ ppc_elf_size_dynamic_sections (bfd *outp } } - if (htab->tlsld_got.refcount > 0) - { - htab->tlsld_got.offset = htab->got->size; - htab->got->size += 8; - if (info->shared) - htab->relgot->size += sizeof (Elf32_External_Rela); - } - else - htab->tlsld_got.offset = (bfd_vma) -1; + htab->got_header_size = 16; /* Set up .got offsets for local syms, and space for local dynamic relocs. */ @@ -3946,7 +4021,6 @@ ppc_elf_size_dynamic_sections (bfd *outp char *lgot_masks; bfd_size_type locsymcount; Elf_Internal_Shdr *symtab_hdr; - asection *srel; if (!is_ppc_elf_target (ibfd->xvec)) continue; @@ -3988,8 +4062,6 @@ ppc_elf_size_dynamic_sections (bfd *outp locsymcount = symtab_hdr->sh_info; end_local_got = local_got + locsymcount; lgot_masks = (char *) end_local_got; - s = htab->got; - srel = htab->relgot; for (; local_got < end_local_got; ++local_got, ++lgot_masks) if (*local_got > 0) { @@ -3997,41 +4069,60 @@ ppc_elf_size_dynamic_sections (bfd *outp { /* If just an LD reloc, we'll just use htab->tlsld_got.offset. */ - if (htab->tlsld_got.offset == (bfd_vma) -1) - { - htab->tlsld_got.offset = s->size; - s->size += 8; - if (info->shared) - srel->size += sizeof (Elf32_External_Rela); - } + htab->tlsld_got.refcount += 1; *local_got = (bfd_vma) -1; } else { - *local_got = s->size; + unsigned int need = 0; if ((*lgot_masks & TLS_TLS) != 0) { if ((*lgot_masks & TLS_GD) != 0) - s->size += 8; + need += 8; if ((*lgot_masks & (TLS_TPREL | TLS_TPRELGD)) != 0) - s->size += 4; + need += 4; if ((*lgot_masks & TLS_DTPREL) != 0) - s->size += 4; + need += 4; } else - s->size += 4; + need += 4; + *local_got = allocate_got (htab, need); if (info->shared) - srel->size += ((s->size - *local_got) / 4 - * sizeof (Elf32_External_Rela)); + htab->relgot->size += (need + * (sizeof (Elf32_External_Rela) / 4)); } } else *local_got = (bfd_vma) -1; } + if (htab->tlsld_got.refcount > 0) + { + htab->tlsld_got.offset = allocate_got (htab, 8); + if (info->shared) + htab->relgot->size += sizeof (Elf32_External_Rela); + } + else + htab->tlsld_got.offset = (bfd_vma) -1; + /* Allocate space for global sym dynamic relocs. */ elf_link_hash_traverse (elf_hash_table (info), allocate_dynrelocs, info); + if (htab->got != NULL) + { + unsigned int g_o_t = 32768; + + /* If we haven't allocated the header, do so now. */ + if (htab->got->size <= 32768) + { + g_o_t = htab->got->size; + htab->got->size += htab->got_header_size; + } + g_o_t += 4; + + htab->elf.hgot->root.u.def.value = g_o_t; + } + /* We've now determined the sizes of the various dynamic sections. Allocate memory for them. */ relocs = FALSE; @@ -4084,7 +4175,7 @@ ppc_elf_size_dynamic_sections (bfd *outp if (s->size == 0) { - _bfd_strip_section_from_output (info, s); + s->flags |= SEC_EXCLUDE; continue; } @@ -5268,7 +5359,8 @@ ppc_elf_relocate_section (bfd *output_bf } } - relocation = htab->got->output_offset + off - 4; + relocation = htab->got->output_offset + off; + relocation -= htab->elf.hgot->root.u.def.value; /* Addends on got relocations don't make much sense. x+off@got is actually x@got+off, and since the got is @@ -5342,7 +5434,7 @@ ppc_elf_relocate_section (bfd *output_bf /* If these relocations are not to a named symbol, they can be handled right here, no need to bother the dynamic linker. */ if (SYMBOL_REFERENCES_LOCAL (info, h) - || strcmp (h->root.root.string, "_GLOBAL_OFFSET_TABLE_") == 0) + || h == htab->elf.hgot) break; /* fall through */ @@ -5947,8 +6039,8 @@ ppc_elf_finish_dynamic_symbol (bfd *outp #endif /* Mark some specially defined symbols as absolute. */ - if (strcmp (h->root.root.string, "_DYNAMIC") == 0 - || strcmp (h->root.root.string, "_GLOBAL_OFFSET_TABLE_") == 0 + if (h == htab->elf.hgot + || strcmp (h->root.root.string, "_DYNAMIC") == 0 || strcmp (h->root.root.string, "_PROCEDURE_LINKAGE_TABLE_") == 0) sym->st_shndx = SHN_ABS; @@ -6030,17 +6122,18 @@ ppc_elf_finish_dynamic_sections (bfd *ou /* Add a blrl instruction at _GLOBAL_OFFSET_TABLE_-4 so that a function can easily find the address of the _GLOBAL_OFFSET_TABLE_. */ - if (htab->got) + if (htab->got != NULL) { - unsigned char *contents = htab->got->contents; - bfd_put_32 (output_bfd, 0x4e800021 /* blrl */, contents); + unsigned char *p = htab->got->contents; + bfd_vma val; - if (sdyn == NULL) - bfd_put_32 (output_bfd, 0, contents + 4); - else - bfd_put_32 (output_bfd, - sdyn->output_section->vma + sdyn->output_offset, - contents + 4); + p += elf_hash_table (info)->hgot->root.u.def.value; + bfd_put_32 (output_bfd, 0x4e800021 /* blrl */, p - 4); + + val = 0; + if (sdyn != NULL) + val = sdyn->output_section->vma + sdyn->output_offset; + bfd_put_32 (output_bfd, val, p); elf_section_data (htab->got->output_section)->this_hdr.sh_entsize = 4; } @@ -6071,10 +6164,8 @@ ppc_elf_finish_dynamic_sections (bfd *ou #endif #define elf_backend_plt_not_loaded 1 -#define elf_backend_got_symbol_offset 4 #define elf_backend_can_gc_sections 1 #define elf_backend_can_refcount 1 -#define elf_backend_got_header_size 12 #define elf_backend_rela_normal 1 #define bfd_elf32_mkobject ppc_elf_mkobject diff -uprN binutils-2.16.90.0.2/bfd/elf32-ppc.h binutils-2.16.90.0.3/bfd/elf32-ppc.h --- binutils-2.16.90.0.2/bfd/elf32-ppc.h 2005-04-09 12:02:58.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-ppc.h 2005-05-10 15:46:42.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ asection *ppc_elf_tls_setup (bfd *, struct bfd_link_info *); bfd_boolean ppc_elf_tls_optimize (bfd *, struct bfd_link_info *); diff -uprN binutils-2.16.90.0.2/bfd/elf32-s390.c binutils-2.16.90.0.3/bfd/elf32-s390.c --- binutils-2.16.90.0.2/bfd/elf32-s390.c 2005-04-09 12:02:58.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-s390.c 2005-05-10 15:46:42.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" @@ -803,12 +803,13 @@ create_got_section (dynobj, info) if (!htab->sgot || !htab->sgotplt) abort (); - htab->srelgot = bfd_make_section (dynobj, ".rela.got"); + htab->srelgot = bfd_make_section_with_flags (dynobj, ".rela.got", + (SEC_ALLOC | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED + | SEC_READONLY)); if (htab->srelgot == NULL - || ! bfd_set_section_flags (dynobj, htab->srelgot, - (SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS - | SEC_IN_MEMORY | SEC_LINKER_CREATED - | SEC_READONLY)) || ! bfd_set_section_alignment (dynobj, htab->srelgot, 2)) return FALSE; return TRUE; @@ -1281,13 +1282,14 @@ elf_s390_check_relocs (abfd, info, sec, { flagword flags; - sreloc = bfd_make_section (dynobj, name); flags = (SEC_HAS_CONTENTS | SEC_READONLY | SEC_IN_MEMORY | SEC_LINKER_CREATED); if ((sec->flags & SEC_ALLOC) != 0) flags |= SEC_ALLOC | SEC_LOAD; + sreloc = bfd_make_section_with_flags (dynobj, + name, + flags); if (sreloc == NULL - || ! bfd_set_section_flags (dynobj, sreloc, flags) || ! bfd_set_section_alignment (dynobj, sreloc, 2)) return FALSE; } @@ -2124,7 +2126,7 @@ elf_s390_size_dynamic_sections (output_b function which decides whether anything needs to go into these sections. */ - _bfd_strip_section_from_output (info, s); + s->flags |= SEC_EXCLUDE; continue; } diff -uprN binutils-2.16.90.0.2/bfd/elf32-sh64.c binutils-2.16.90.0.3/bfd/elf32-sh64.c --- binutils-2.16.90.0.2/bfd/elf32-sh64.c 2005-04-09 12:02:58.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-sh64.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define SH64_ELF @@ -754,10 +754,43 @@ sh64_elf_merge_symbol_attribute (struct return; } -static struct bfd_elf_special_section const sh64_elf_special_sections[]= +static struct bfd_elf_special_section const + sh64_special_sections_c[] = { { ".cranges", 8, 0, SHT_PROGBITS, 0 }, - { NULL, 0, 0, 0, 0 } + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const * + sh64_elf_special_sections[27]= +{ + NULL, /* 'a' */ + NULL, /* 'b' */ + sh64_special_sections_c, /* 'c' */ + NULL, /* 'd' */ + NULL, /* 'e' */ + NULL, /* 'f' */ + NULL, /* 'g' */ + NULL, /* 'h' */ + NULL, /* 'i' */ + NULL, /* 'j' */ + NULL, /* 'k' */ + NULL, /* 'l' */ + NULL, /* 'm' */ + NULL, /* 'n' */ + NULL, /* 'o' */ + NULL, /* 'p' */ + NULL, /* 'q' */ + NULL, /* 'r' */ + NULL, /* 's' */ + NULL, /* 't' */ + NULL, /* 'u' */ + NULL, /* 'v' */ + NULL, /* 'w' */ + NULL, /* 'x' */ + NULL, /* 'y' */ + NULL, /* 'z' */ + NULL /* other */ }; #undef TARGET_BIG_SYM diff -uprN binutils-2.16.90.0.2/bfd/elf32-sh64-com.c binutils-2.16.90.0.3/bfd/elf32-sh64-com.c --- binutils-2.16.90.0.2/bfd/elf32-sh64-com.c 2004-07-27 21:36:08.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-sh64-com.c 2005-05-10 15:46:42.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define SH64_ELF diff -uprN binutils-2.16.90.0.2/bfd/elf32-sh64.h binutils-2.16.90.0.3/bfd/elf32-sh64.h --- binutils-2.16.90.0.2/bfd/elf32-sh64.h 2004-01-14 13:07:43.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/elf32-sh64.h 2005-05-10 15:46:42.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef ELF32_SH64_H #define ELF32_SH64_H diff -uprN binutils-2.16.90.0.2/bfd/elf32-sh.c binutils-2.16.90.0.3/bfd/elf32-sh.c --- binutils-2.16.90.0.2/bfd/elf32-sh.c 2005-04-09 12:02:58.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-sh.c 2005-05-10 15:46:42.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" @@ -3649,15 +3649,13 @@ create_got_section (bfd *dynobj, struct if (! htab->sgot || ! htab->sgotplt) abort (); - htab->srelgot = bfd_make_section (dynobj, ".rela.got"); + htab->srelgot = bfd_make_section_with_flags (dynobj, ".rela.got", + (SEC_ALLOC | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED + | SEC_READONLY)); if (htab->srelgot == NULL - || ! bfd_set_section_flags (dynobj, htab->srelgot, - (SEC_ALLOC - | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED - | SEC_READONLY)) || ! bfd_set_section_alignment (dynobj, htab->srelgot, 2)) return FALSE; return TRUE; @@ -3706,10 +3704,9 @@ sh_elf_create_dynamic_sections (bfd *abf if (bed->plt_readonly) pltflags |= SEC_READONLY; - s = bfd_make_section (abfd, ".plt"); + s = bfd_make_section_with_flags (abfd, ".plt", pltflags); htab->splt = s; if (s == NULL - || ! bfd_set_section_flags (abfd, s, pltflags) || ! bfd_set_section_alignment (abfd, s, bed->plt_alignment)) return FALSE; @@ -3735,11 +3732,11 @@ sh_elf_create_dynamic_sections (bfd *abf return FALSE; } - s = bfd_make_section (abfd, - bed->default_use_rela_p ? ".rela.plt" : ".rel.plt"); + s = bfd_make_section_with_flags (abfd, + bed->default_use_rela_p ? ".rela.plt" : ".rel.plt", + flags | SEC_READONLY); htab->srelplt = s; if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY) || ! bfd_set_section_alignment (abfd, s, ptralign)) return FALSE; @@ -3765,9 +3762,9 @@ sh_elf_create_dynamic_sections (bfd *abf strcat (relname, secname); if (bfd_get_section_by_name (abfd, secname)) continue; - s = bfd_make_section (abfd, relname); + s = bfd_make_section_with_flags (abfd, relname, + flags | SEC_READONLY); if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY) || ! bfd_set_section_alignment (abfd, s, ptralign)) return FALSE; } @@ -3781,10 +3778,10 @@ sh_elf_create_dynamic_sections (bfd *abf image and use a R_*_COPY reloc to tell the dynamic linker to initialize them at run time. The linker script puts the .dynbss section into the .bss section of the final image. */ - s = bfd_make_section (abfd, ".dynbss"); + s = bfd_make_section_with_flags (abfd, ".dynbss", + SEC_ALLOC | SEC_LINKER_CREATED); htab->sdynbss = s; - if (s == NULL - || ! bfd_set_section_flags (abfd, s, SEC_ALLOC)) + if (s == NULL) return FALSE; /* The .rel[a].bss section holds copy relocs. This section is not @@ -3800,12 +3797,12 @@ sh_elf_create_dynamic_sections (bfd *abf copy relocs. */ if (! info->shared) { - s = bfd_make_section (abfd, - (bed->default_use_rela_p - ? ".rela.bss" : ".rel.bss")); + s = bfd_make_section_with_flags (abfd, + (bed->default_use_rela_p + ? ".rela.bss" : ".rel.bss"), + flags | SEC_READONLY); htab->srelbss = s; if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY) || ! bfd_set_section_alignment (abfd, s, ptralign)) return FALSE; } @@ -4389,7 +4386,7 @@ sh_elf_size_dynamic_sections (bfd *outpu function which decides whether anything needs to go into these sections. */ - _bfd_strip_section_from_output (info, s); + s->flags |= SEC_EXCLUDE; continue; } @@ -6531,14 +6528,14 @@ sh_elf_check_relocs (bfd *abfd, struct b { flagword flags; - sreloc = bfd_make_section (htab->root.dynobj, name); flags = (SEC_HAS_CONTENTS | SEC_READONLY | SEC_IN_MEMORY | SEC_LINKER_CREATED); if ((sec->flags & SEC_ALLOC) != 0) flags |= SEC_ALLOC | SEC_LOAD; + sreloc = bfd_make_section_with_flags (htab->root.dynobj, + name, + flags); if (sreloc == NULL - || ! bfd_set_section_flags (htab->root.dynobj, - sreloc, flags) || ! bfd_set_section_alignment (htab->root.dynobj, sreloc, 2)) return FALSE; diff -uprN binutils-2.16.90.0.2/bfd/elf32-sh-symbian.c binutils-2.16.90.0.3/bfd/elf32-sh-symbian.c --- binutils-2.16.90.0.2/bfd/elf32-sh-symbian.c 2005-04-09 12:02:58.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-sh-symbian.c 2005-05-10 15:46:42.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Stop elf32-sh.c from defining any target vectors. */ #define SH_TARGET_ALREADY_DEFINED diff -uprN binutils-2.16.90.0.2/bfd/elf32-sparc.c binutils-2.16.90.0.3/bfd/elf32-sparc.c --- binutils-2.16.90.0.2/bfd/elf32-sparc.c 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-sparc.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/elf32-v850.c binutils-2.16.90.0.3/bfd/elf32-v850.c --- binutils-2.16.90.0.2/bfd/elf32-v850.c 2005-04-09 12:02:58.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-v850.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* XXX FIXME: This code is littered with 32bit int, 16bit short, 8bit char dependencies. As is the gas & simulator code for the v850. */ @@ -3121,35 +3121,92 @@ v850_elf_relax_section (abfd, sec, link_ goto finish; } -static struct bfd_elf_special_section const v850_elf_special_sections[]= +static struct bfd_elf_special_section const + v850_special_sections_c[]= +{ + { ".call_table_data", 16, 0, SHT_PROGBITS, (SHF_ALLOC + + SHF_WRITE) }, + { ".call_table_text", 16, 0, SHT_PROGBITS, (SHF_ALLOC + SHF_WRITE + + SHF_EXECINSTR) }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const + v850_special_sections_r[]= { - { ".sdata", 6, -2, SHT_PROGBITS, (SHF_ALLOC + SHF_WRITE - + SHF_V850_GPREL) }, { ".rosdata", 8, -2, SHT_PROGBITS, (SHF_ALLOC + SHF_V850_GPREL) }, + { ".rozdata", 8, -2, SHT_PROGBITS, (SHF_ALLOC + + SHF_V850_R0REL) }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const + v850_special_sections_s[]= +{ + { ".sdata", 6, -2, SHT_PROGBITS, (SHF_ALLOC + SHF_WRITE + + SHF_V850_GPREL) }, { ".sbss", 5, -2, SHT_NOBITS, (SHF_ALLOC + SHF_WRITE + SHF_V850_GPREL) }, { ".scommon", 8, -2, SHT_V850_SCOMMON, (SHF_ALLOC + SHF_WRITE + SHF_V850_GPREL) }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const + v850_special_sections_t[]= +{ { ".tdata", 6, -2, SHT_PROGBITS, (SHF_ALLOC + SHF_WRITE + SHF_V850_EPREL) }, { ".tbss", 5, -2, SHT_NOBITS, (SHF_ALLOC + SHF_WRITE + SHF_V850_EPREL) }, { ".tcommon", 8, -2, SHT_V850_TCOMMON, (SHF_ALLOC + SHF_WRITE + SHF_V850_R0REL) }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const + v850_special_sections_z[]= +{ { ".zdata", 6, -2, SHT_PROGBITS, (SHF_ALLOC + SHF_WRITE + SHF_V850_R0REL) }, - { ".rozdata", 8, -2, SHT_PROGBITS, (SHF_ALLOC - + SHF_V850_R0REL) }, { ".zbss", 5, -2, SHT_NOBITS, (SHF_ALLOC + SHF_WRITE + SHF_V850_R0REL) }, { ".zcommon", 8, -2, SHT_V850_ZCOMMON, (SHF_ALLOC + SHF_WRITE + SHF_V850_R0REL) }, - { ".call_table_data", 16, 0, SHT_PROGBITS, (SHF_ALLOC - + SHF_WRITE) }, - { ".call_table_text", 16, 0, SHT_PROGBITS, (SHF_ALLOC + SHF_WRITE - + SHF_EXECINSTR) }, - { NULL, 0, 0, 0, 0 } + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const * + v850_elf_special_sections[27] = +{ + NULL, /* 'a' */ + NULL, /* 'b' */ + v850_special_sections_c, /* 'c' */ + NULL, /* 'd' */ + NULL, /* 'e' */ + NULL, /* 'f' */ + NULL, /* 'g' */ + NULL, /* 'h' */ + NULL, /* 'i' */ + NULL, /* 'j' */ + NULL, /* 'k' */ + NULL, /* 'l' */ + NULL, /* 'm' */ + NULL, /* 'n' */ + NULL, /* 'o' */ + NULL, /* 'p' */ + NULL, /* 'q' */ + v850_special_sections_r, /* 'r' */ + v850_special_sections_s, /* 's' */ + v850_special_sections_t, /* 't' */ + NULL, /* 'u' */ + NULL, /* 'v' */ + NULL, /* 'w' */ + NULL, /* 'x' */ + NULL, /* 'y' */ + v850_special_sections_z, /* 'z' */ + NULL /* other */ }; #define TARGET_LITTLE_SYM bfd_elf32_v850_vec diff -uprN binutils-2.16.90.0.2/bfd/elf32-vax.c binutils-2.16.90.0.3/bfd/elf32-vax.c --- binutils-2.16.90.0.2/bfd/elf32-vax.c 2005-04-09 12:02:58.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-vax.c 2005-05-10 15:46:42.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" @@ -631,15 +631,15 @@ elf_vax_check_relocs (abfd, info, sec, r srelgot = bfd_get_section_by_name (dynobj, ".rela.got"); if (srelgot == NULL) { - srelgot = bfd_make_section (dynobj, ".rela.got"); + srelgot = bfd_make_section_with_flags (dynobj, + ".rela.got", + (SEC_ALLOC + | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED + | SEC_READONLY)); if (srelgot == NULL - || !bfd_set_section_flags (dynobj, srelgot, - (SEC_ALLOC - | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED - | SEC_READONLY)) || !bfd_set_section_alignment (dynobj, srelgot, 2)) return FALSE; } @@ -760,15 +760,15 @@ elf_vax_check_relocs (abfd, info, sec, r sreloc = bfd_get_section_by_name (dynobj, name); if (sreloc == NULL) { - sreloc = bfd_make_section (dynobj, name); + sreloc = bfd_make_section_with_flags (dynobj, + name, + (SEC_ALLOC + | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED + | SEC_READONLY)); if (sreloc == NULL - || !bfd_set_section_flags (dynobj, sreloc, - (SEC_ALLOC - | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED - | SEC_READONLY)) || !bfd_set_section_alignment (dynobj, sreloc, 2)) return FALSE; } @@ -1273,7 +1273,7 @@ elf_vax_size_dynamic_sections (output_bf if (strip) { - _bfd_strip_section_from_output (info, s); + s->flags |= SEC_EXCLUDE; continue; } diff -uprN binutils-2.16.90.0.2/bfd/elf32-xstormy16.c binutils-2.16.90.0.3/bfd/elf32-xstormy16.c --- binutils-2.16.90.0.2/bfd/elf32-xstormy16.c 2004-11-22 12:33:31.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/elf32-xstormy16.c 2005-05-10 15:46:42.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" @@ -470,16 +470,16 @@ xstormy16_elf_check_relocs (abfd, info, splt = bfd_get_section_by_name (dynobj, ".plt"); if (splt == NULL) { - splt = bfd_make_section (dynobj, ".plt"); + splt = bfd_make_section_with_flags (dynobj, ".plt", + (SEC_ALLOC + | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED + | SEC_READONLY + | SEC_CODE)); + if (splt == NULL - || ! bfd_set_section_flags (dynobj, splt, - (SEC_ALLOC - | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED - | SEC_READONLY - | SEC_CODE)) || ! bfd_set_section_alignment (dynobj, splt, 1)) return FALSE; } diff -uprN binutils-2.16.90.0.2/bfd/elf32-xtensa.c binutils-2.16.90.0.3/bfd/elf32-xtensa.c --- binutils-2.16.90.0.2/bfd/elf32-xtensa.c 2005-04-09 12:02:58.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf32-xtensa.c 2005-05-10 15:46:42.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" @@ -1105,23 +1105,21 @@ elf_xtensa_create_dynamic_sections (bfd return FALSE; /* Create ".rela.got". */ - s = bfd_make_section (dynobj, ".rela.got"); + s = bfd_make_section_with_flags (dynobj, ".rela.got", flags); if (s == NULL - || ! bfd_set_section_flags (dynobj, s, flags) || ! bfd_set_section_alignment (dynobj, s, 2)) return FALSE; /* Create ".got.loc" (literal tables for use by dynamic linker). */ - s = bfd_make_section (dynobj, ".got.loc"); + s = bfd_make_section_with_flags (dynobj, ".got.loc", flags); if (s == NULL - || ! bfd_set_section_flags (dynobj, s, flags) || ! bfd_set_section_alignment (dynobj, s, 2)) return FALSE; /* Create ".xt.lit.plt" (literal table for ".got.plt*"). */ - s = bfd_make_section (dynobj, ".xt.lit.plt"); + s = bfd_make_section_with_flags (dynobj, ".xt.lit.plt", + noalloc_flags); if (s == NULL - || ! bfd_set_section_flags (dynobj, s, noalloc_flags) || ! bfd_set_section_alignment (dynobj, s, 2)) return FALSE; @@ -1151,17 +1149,16 @@ add_extra_plt_sections (bfd *dynobj, int sname = (char *) bfd_malloc (10); sprintf (sname, ".plt.%u", chunk); - s = bfd_make_section (dynobj, sname); + s = bfd_make_section_with_flags (dynobj, sname, + flags | SEC_CODE); if (s == NULL - || ! bfd_set_section_flags (dynobj, s, flags | SEC_CODE) || ! bfd_set_section_alignment (dynobj, s, 2)) return FALSE; sname = (char *) bfd_malloc (14); sprintf (sname, ".got.plt.%u", chunk); - s = bfd_make_section (dynobj, sname); + s = bfd_make_section_with_flags (dynobj, sname, flags); if (s == NULL - || ! bfd_set_section_flags (dynobj, s, flags) || ! bfd_set_section_alignment (dynobj, s, 2)) return FALSE; } @@ -1462,7 +1459,7 @@ elf_xtensa_size_dynamic_sections (bfd *o } if (strip) - _bfd_strip_section_from_output (info, s); + s->flags |= SEC_EXCLUDE; else { /* Allocate memory for the section contents. */ @@ -9482,14 +9479,58 @@ xtensa_callback_required_dependence (bfd /* The default literal sections should always be marked as "code" (i.e., SHF_EXECINSTR). This is particularly important for the Linux kernel module loader so that the literals are not placed after the text. */ -static struct bfd_elf_special_section const elf_xtensa_special_sections[]= +static struct bfd_elf_special_section const + xtensa_special_sections_f[]= { - { ".literal", 8, 0, SHT_PROGBITS, SHF_ALLOC + SHF_EXECINSTR }, - { ".init.literal", 13, 0, SHT_PROGBITS, SHF_ALLOC + SHF_EXECINSTR }, { ".fini.literal", 13, 0, SHT_PROGBITS, SHF_ALLOC + SHF_EXECINSTR }, { NULL, 0, 0, 0, 0 } }; +static struct bfd_elf_special_section const + xtensa_special_sections_i[]= +{ + { ".init.literal", 13, 0, SHT_PROGBITS, SHF_ALLOC + SHF_EXECINSTR }, + { NULL, 0, 0, 0, 0 } +}; +static struct bfd_elf_special_section const + xtensa_special_sections_l[]= +{ + { ".literal", 8, 0, SHT_PROGBITS, SHF_ALLOC + SHF_EXECINSTR }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const * + elf_xtensa_special_sections[27] = +{ + NULL, /* 'a' */ + NULL, /* 'b' */ + NULL, /* 'c' */ + NULL, /* 'd' */ + NULL, /* 'e' */ + xtensa_special_sections_f, /* 'f' */ + NULL, /* 'g' */ + NULL, /* 'h' */ + xtensa_special_sections_i, /* 'i' */ + NULL, /* 'j' */ + NULL, /* 'k' */ + xtensa_special_sections_l, /* 'l' */ + NULL, /* 'm' */ + NULL, /* 'n' */ + NULL, /* 'o' */ + NULL, /* 'p' */ + NULL, /* 'q' */ + NULL, /* 'r' */ + NULL, /* 's' */ + NULL, /* 't' */ + NULL, /* 'u' */ + NULL, /* 'v' */ + NULL, /* 'w' */ + NULL, /* 'x' */ + NULL, /* 'y' */ + NULL, /* 'z' */ + NULL /* other */ +}; + #ifndef ELF_ARCH #define TARGET_LITTLE_SYM bfd_elf32_xtensa_le_vec diff -uprN binutils-2.16.90.0.2/bfd/elf64-alpha.c binutils-2.16.90.0.3/bfd/elf64-alpha.c --- binutils-2.16.90.0.2/bfd/elf64-alpha.c 2005-04-09 12:02:58.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf64-alpha.c 2005-05-10 15:46:42.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* We need a published ABI spec for this. Until one comes out, don't assume this'll remain unchanged forever. */ @@ -2371,11 +2371,11 @@ elf64_alpha_add_symbol_hook (abfd, info, if (scomm == NULL) { - scomm = bfd_make_section (abfd, ".scommon"); - if (scomm == NULL - || !bfd_set_section_flags (abfd, scomm, (SEC_ALLOC - | SEC_IS_COMMON - | SEC_LINKER_CREATED))) + scomm = bfd_make_section_with_flags (abfd, ".scommon", + (SEC_ALLOC + | SEC_IS_COMMON + | SEC_LINKER_CREATED)); + if (scomm == NULL) return FALSE; } @@ -2403,12 +2403,11 @@ elf64_alpha_create_got_section(abfd, inf return TRUE; } - s = bfd_make_section (abfd, ".got"); + s = bfd_make_section_with_flags (abfd, ".got", (SEC_ALLOC | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED)); if (s == NULL - || !bfd_set_section_flags (abfd, s, (SEC_ALLOC | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED)) || !bfd_set_section_alignment (abfd, s, 3)) return FALSE; @@ -2430,13 +2429,13 @@ elf64_alpha_create_dynamic_sections (abf /* We need to create .plt, .rela.plt, .got, and .rela.got sections. */ - s = bfd_make_section (abfd, ".plt"); + s = bfd_make_section_with_flags (abfd, ".plt", + (SEC_ALLOC | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED + | SEC_CODE)); if (s == NULL - || ! bfd_set_section_flags (abfd, s, (SEC_ALLOC | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED - | SEC_CODE)) || ! bfd_set_section_alignment (abfd, s, 3)) return FALSE; @@ -2456,13 +2455,13 @@ elf64_alpha_create_dynamic_sections (abf && ! bfd_elf_link_record_dynamic_symbol (info, h)) return FALSE; - s = bfd_make_section (abfd, ".rela.plt"); + s = bfd_make_section_with_flags (abfd, ".rela.plt", + (SEC_ALLOC | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED + | SEC_READONLY)); if (s == NULL - || !bfd_set_section_flags (abfd, s, (SEC_ALLOC | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED - | SEC_READONLY)) || ! bfd_set_section_alignment (abfd, s, 3)) return FALSE; @@ -2472,13 +2471,13 @@ elf64_alpha_create_dynamic_sections (abf if (!elf64_alpha_create_got_section (abfd, info)) return FALSE; - s = bfd_make_section(abfd, ".rela.got"); + s = bfd_make_section_with_flags (abfd, ".rela.got", + (SEC_ALLOC | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED + | SEC_READONLY)); if (s == NULL - || !bfd_set_section_flags (abfd, s, (SEC_ALLOC | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED - | SEC_READONLY)) || !bfd_set_section_alignment (abfd, s, 3)) return FALSE; @@ -3147,13 +3146,14 @@ elf64_alpha_check_relocs (abfd, info, se { flagword flags; - sreloc = bfd_make_section (dynobj, rel_sec_name); flags = (SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_LINKER_CREATED | SEC_READONLY); if (sec->flags & SEC_ALLOC) flags |= SEC_ALLOC | SEC_LOAD; + sreloc = bfd_make_section_with_flags (dynobj, + rel_sec_name, + flags); if (sreloc == NULL - || !bfd_set_section_flags (dynobj, sreloc, flags) || !bfd_set_section_alignment (dynobj, sreloc, 3)) return FALSE; } @@ -4058,7 +4058,7 @@ elf64_alpha_size_dynamic_sections (outpu } if (strip) - _bfd_strip_section_from_output (info, s); + s->flags |= SEC_EXCLUDE; else { /* Allocate memory for the section contents. */ @@ -5184,7 +5184,7 @@ elf64_alpha_final_link (abfd, info) } } - for (p = o->link_order_head; + for (p = o->map_head.link_order; p != (struct bfd_link_order *) NULL; p = p->next) { @@ -5305,7 +5305,7 @@ elf64_alpha_final_link (abfd, info) /* Skip this section later on (I don't think this currently matters, but someday it might). */ - o->link_order_head = (struct bfd_link_order *) NULL; + o->map_head.link_order = (struct bfd_link_order *) NULL; mdebug_sec = o; } @@ -5370,13 +5370,46 @@ elf64_alpha_reloc_type_class (rela) } } -static struct bfd_elf_special_section const elf64_alpha_special_sections[]= +static struct bfd_elf_special_section const + alpha_special_sections_s[]= { { ".sdata", 6, -2, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE + SHF_ALPHA_GPREL }, { ".sbss", 5, -2, SHT_NOBITS, SHF_ALLOC + SHF_WRITE + SHF_ALPHA_GPREL }, { NULL, 0, 0, 0, 0 } }; +static struct bfd_elf_special_section const * + elf64_alpha_special_sections[27] = +{ + NULL, /* 'a' */ + NULL, /* 'b' */ + NULL, /* 'c' */ + NULL, /* 'd' */ + NULL, /* 'e' */ + NULL, /* 'f' */ + NULL, /* 'g' */ + NULL, /* 'h' */ + NULL, /* 'i' */ + NULL, /* 'j' */ + NULL, /* 'k' */ + NULL, /* 'l' */ + NULL, /* 'm' */ + NULL, /* 'n' */ + NULL, /* 'o' */ + NULL, /* 'p' */ + NULL, /* 'q' */ + NULL, /* 'r' */ + alpha_special_sections_s, /* 's' */ + NULL, /* 't' */ + NULL, /* 'u' */ + NULL, /* 'v' */ + NULL, /* 'w' */ + NULL, /* 'x' */ + NULL, /* 'y' */ + NULL, /* 'z' */ + NULL /* other */ +}; + /* ECOFF swapping routines. These are used when dealing with the .mdebug section, which is in the ECOFF debugging format. Copied from elf32-mips.c. */ diff -uprN binutils-2.16.90.0.2/bfd/elf64.c binutils-2.16.90.0.3/bfd/elf64.c --- binutils-2.16.90.0.2/bfd/elf64.c 1999-06-03 11:01:54.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf64.c 2005-05-10 15:46:42.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define ARCH_SIZE 64 diff -uprN binutils-2.16.90.0.2/bfd/elf64-gen.c binutils-2.16.90.0.3/bfd/elf64-gen.c --- binutils-2.16.90.0.2/bfd/elf64-gen.c 2005-04-09 12:02:58.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf64-gen.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/elf64-hppa.c binutils-2.16.90.0.3/bfd/elf64-hppa.c --- binutils-2.16.90.0.2/bfd/elf64-hppa.c 2005-04-09 12:02:58.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf64-hppa.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "alloca-conf.h" #include "bfd.h" @@ -532,15 +532,14 @@ get_reloc_section (abfd, hppa_info, sec) srel = bfd_get_section_by_name (dynobj, srel_name); if (srel == NULL) { - srel = bfd_make_section (dynobj, srel_name); + srel = bfd_make_section_with_flags (dynobj, srel_name, + (SEC_ALLOC + | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED + | SEC_READONLY)); if (srel == NULL - || !bfd_set_section_flags (dynobj, srel, - (SEC_ALLOC - | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED - | SEC_READONLY)) || !bfd_set_section_alignment (dynobj, srel, 3)) return FALSE; } @@ -1232,14 +1231,13 @@ get_opd (abfd, info, hppa_info) if (!dynobj) hppa_info->root.dynobj = dynobj = abfd; - opd = bfd_make_section (dynobj, ".opd"); + opd = bfd_make_section_with_flags (dynobj, ".opd", + (SEC_ALLOC + | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED)); if (!opd - || !bfd_set_section_flags (dynobj, opd, - (SEC_ALLOC - | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED)) || !bfd_set_section_alignment (abfd, opd, 3)) { BFD_ASSERT (0); @@ -1270,14 +1268,13 @@ get_plt (abfd, info, hppa_info) if (!dynobj) hppa_info->root.dynobj = dynobj = abfd; - plt = bfd_make_section (dynobj, ".plt"); + plt = bfd_make_section_with_flags (dynobj, ".plt", + (SEC_ALLOC + | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED)); if (!plt - || !bfd_set_section_flags (dynobj, plt, - (SEC_ALLOC - | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED)) || !bfd_set_section_alignment (abfd, plt, 3)) { BFD_ASSERT (0); @@ -1308,14 +1305,13 @@ get_dlt (abfd, info, hppa_info) if (!dynobj) hppa_info->root.dynobj = dynobj = abfd; - dlt = bfd_make_section (dynobj, ".dlt"); + dlt = bfd_make_section_with_flags (dynobj, ".dlt", + (SEC_ALLOC + | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED)); if (!dlt - || !bfd_set_section_flags (dynobj, dlt, - (SEC_ALLOC - | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED)) || !bfd_set_section_alignment (abfd, dlt, 3)) { BFD_ASSERT (0); @@ -1346,15 +1342,13 @@ get_stub (abfd, info, hppa_info) if (!dynobj) hppa_info->root.dynobj = dynobj = abfd; - stub = bfd_make_section (dynobj, ".stub"); + stub = bfd_make_section_with_flags (dynobj, ".stub", + (SEC_ALLOC | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_READONLY + | SEC_LINKER_CREATED)); if (!stub - || !bfd_set_section_flags (dynobj, stub, - (SEC_ALLOC - | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_READONLY - | SEC_LINKER_CREATED)) || !bfd_set_section_alignment (abfd, stub, 3)) { BFD_ASSERT (0); @@ -1424,46 +1418,46 @@ elf64_hppa_create_dynamic_sections (abfd if (! get_opd (abfd, info, elf64_hppa_hash_table (info))) return FALSE; - s = bfd_make_section(abfd, ".rela.dlt"); + s = bfd_make_section_with_flags (abfd, ".rela.dlt", + (SEC_ALLOC | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_READONLY + | SEC_LINKER_CREATED)); if (s == NULL - || !bfd_set_section_flags (abfd, s, (SEC_ALLOC | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_READONLY - | SEC_LINKER_CREATED)) || !bfd_set_section_alignment (abfd, s, 3)) return FALSE; elf64_hppa_hash_table (info)->dlt_rel_sec = s; - s = bfd_make_section(abfd, ".rela.plt"); + s = bfd_make_section_with_flags (abfd, ".rela.plt", + (SEC_ALLOC | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_READONLY + | SEC_LINKER_CREATED)); if (s == NULL - || !bfd_set_section_flags (abfd, s, (SEC_ALLOC | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_READONLY - | SEC_LINKER_CREATED)) || !bfd_set_section_alignment (abfd, s, 3)) return FALSE; elf64_hppa_hash_table (info)->plt_rel_sec = s; - s = bfd_make_section(abfd, ".rela.data"); + s = bfd_make_section_with_flags (abfd, ".rela.data", + (SEC_ALLOC | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_READONLY + | SEC_LINKER_CREATED)); if (s == NULL - || !bfd_set_section_flags (abfd, s, (SEC_ALLOC | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_READONLY - | SEC_LINKER_CREATED)) || !bfd_set_section_alignment (abfd, s, 3)) return FALSE; elf64_hppa_hash_table (info)->other_rel_sec = s; - s = bfd_make_section(abfd, ".rela.opd"); + s = bfd_make_section_with_flags (abfd, ".rela.opd", + (SEC_ALLOC | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_READONLY + | SEC_LINKER_CREATED)); if (s == NULL - || !bfd_set_section_flags (abfd, s, (SEC_ALLOC | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_READONLY - | SEC_LINKER_CREATED)) || !bfd_set_section_alignment (abfd, s, 3)) return FALSE; elf64_hppa_hash_table (info)->opd_rel_sec = s; @@ -1808,7 +1802,7 @@ elf64_hppa_size_dynamic_sections (output if (strip) { - _bfd_strip_section_from_output (info, s); + s->flags |= SEC_EXCLUDE; continue; } @@ -2677,13 +2671,52 @@ elf64_hppa_elf_get_symbol_type (elf_sym, return type; } -static struct bfd_elf_special_section const elf64_hppa_special_sections[]= +static struct bfd_elf_special_section const + hppa_special_sections_f[]= { { ".fini", 5, 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const + hppa_special_sections_i[]= +{ { ".init", 5, 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE }, { NULL, 0, 0, 0, 0 } }; +static struct bfd_elf_special_section const * + elf64_hppa_special_sections[27] = +{ + NULL, /* 'a' */ + NULL, /* 'b' */ + NULL, /* 'c' */ + NULL, /* 'd' */ + NULL, /* 'e' */ + hppa_special_sections_f, /* 'f' */ + NULL, /* 'g' */ + NULL, /* 'h' */ + hppa_special_sections_i, /* 'i' */ + NULL, /* 'j' */ + NULL, /* 'k' */ + NULL, /* 'l' */ + NULL, /* 'm' */ + NULL, /* 'n' */ + NULL, /* 'o' */ + NULL, /* 'f' */ + NULL, /* 'q' */ + NULL, /* 'r' */ + NULL, /* 's' */ + NULL, /* 't' */ + NULL, /* 'u' */ + NULL, /* 'v' */ + NULL, /* 'w' */ + NULL, /* 'x' */ + NULL, /* 'y' */ + NULL, /* 'z' */ + NULL /* other */ +}; + /* The hash bucket size is the standard one, namely 4. */ const struct elf_size_info hppa64_elf_size_info = diff -uprN binutils-2.16.90.0.2/bfd/elf64-hppa.h binutils-2.16.90.0.3/bfd/elf64-hppa.h --- binutils-2.16.90.0.2/bfd/elf64-hppa.h 2002-03-07 11:52:36.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/elf64-hppa.h 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF64_HPPA_H #define _ELF64_HPPA_H diff -uprN binutils-2.16.90.0.2/bfd/elf64-mips.c binutils-2.16.90.0.3/bfd/elf64-mips.c --- binutils-2.16.90.0.2/bfd/elf64-mips.c 2005-04-09 12:02:58.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf64-mips.c 2005-05-10 15:46:42.000000000 -0700 @@ -19,7 +19,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file supports the 64-bit MIPS ELF ABI. diff -uprN binutils-2.16.90.0.2/bfd/elf64-mmix.c binutils-2.16.90.0.3/bfd/elf64-mmix.c --- binutils-2.16.90.0.2/bfd/elf64-mmix.c 2005-04-09 12:02:59.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf64-mmix.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* No specific ABI or "processor-specific supplement" defined. */ @@ -1890,19 +1890,17 @@ mmix_elf_check_common_relocs (abfd, inf if (allocated_gregs_section == NULL) { allocated_gregs_section - = bfd_make_section (bpo_greg_owner, - MMIX_LD_ALLOCATED_REG_CONTENTS_SECTION_NAME); + = bfd_make_section_with_flags (bpo_greg_owner, + MMIX_LD_ALLOCATED_REG_CONTENTS_SECTION_NAME, + (SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED)); /* Setting both SEC_ALLOC and SEC_LOAD means the section is treated like any other section, and we'd get errors for address overlap with the text section. Let's set none of those flags, as that is what currently happens for usual GREG allocations, and that works. */ if (allocated_gregs_section == NULL - || !bfd_set_section_flags (bpo_greg_owner, - allocated_gregs_section, - (SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED)) || !bfd_set_section_alignment (bpo_greg_owner, allocated_gregs_section, 3)) @@ -2249,7 +2247,6 @@ mmix_elf_final_link (abfd, info) /* We never output a register section, though we create one for temporary measures. Check that nobody entered contents into it. */ asection *reg_section; - asection **secpp; reg_section = bfd_get_section_by_name (abfd, MMIX_REG_SECTION_NAME); @@ -2260,11 +2257,7 @@ mmix_elf_final_link (abfd, info) _bfd_abort (__FILE__, __LINE__, _("Register section has contents\n")); /* Really remove the section. */ - for (secpp = &abfd->sections; - *secpp != reg_section; - secpp = &(*secpp)->next) - ; - bfd_section_list_remove (abfd, secpp); + bfd_section_list_remove (abfd, reg_section); --abfd->section_count; } diff -uprN binutils-2.16.90.0.2/bfd/elf64-ppc.c binutils-2.16.90.0.3/bfd/elf64-ppc.c --- binutils-2.16.90.0.2/bfd/elf64-ppc.c 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf64-ppc.c 2005-05-10 15:46:42.000000000 -0700 @@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., - 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* The 64-bit PowerPC ELF ABI may be found at http://www.linuxbase.org/spec/ELF/ppc64/PPC-elf64abi.txt, and @@ -67,7 +67,6 @@ static bfd_vma opd_entry_value #define elf_backend_want_plt_sym 0 #define elf_backend_plt_alignment 3 #define elf_backend_plt_not_loaded 1 -#define elf_backend_got_symbol_offset 0 #define elf_backend_got_header_size 8 #define elf_backend_can_gc_sections 1 #define elf_backend_can_refcount 1 @@ -2370,9 +2369,14 @@ struct ppc64_elf_obj_tdata asection *got; asection *relgot; - /* Used during garbage collection. We attach global symbols defined - on removed .opd entries to this section so that the sym is removed. */ - asection *deleted_section; + union { + /* Used during garbage collection. We attach global symbols defined + on removed .opd entries to this section so that the sym is removed. */ + asection *deleted_section; + + /* Used when adding symbols. */ + bfd_boolean has_dotsym; + } u; /* TLS local dynamic got entry handling. Suppose for multiple GOT sections means we potentially need one of these for each input bfd. */ @@ -2504,17 +2508,62 @@ ppc64_elf_merge_private_bfd_data (bfd *i /* Add extra PPC sections. */ -static struct bfd_elf_special_section const ppc64_elf_special_sections[]= +static struct bfd_elf_special_section const + ppc64_special_sections_p[]= +{ + { ".plt", 4, 0, SHT_NOBITS, 0 }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const + ppc64_special_sections_s[]= { { ".sdata", 6, -2, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE }, { ".sbss", 5, -2, SHT_NOBITS, SHF_ALLOC + SHF_WRITE }, - { ".plt", 4, 0, SHT_NOBITS, 0 }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const + ppc64_special_sections_t[]= +{ { ".toc", 4, 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE }, { ".toc1", 5, 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE }, { ".tocbss", 7, 0, SHT_NOBITS, SHF_ALLOC + SHF_WRITE }, { NULL, 0, 0, 0, 0 } }; +static struct bfd_elf_special_section const * + ppc64_elf_special_sections[27]= +{ + NULL, /* 'a' */ + NULL, /* 'b' */ + NULL, /* 'c' */ + NULL, /* 'd' */ + NULL, /* 'e' */ + NULL, /* 'f' */ + NULL, /* 'g' */ + NULL, /* 'h' */ + NULL, /* 'i' */ + NULL, /* 'j' */ + NULL, /* 'k' */ + NULL, /* 'l' */ + NULL, /* 'm' */ + NULL, /* 'n' */ + NULL, /* 'o' */ + ppc64_special_sections_p, /* 'p' */ + NULL, /* 'q' */ + NULL, /* 'r' */ + ppc64_special_sections_s, /* 's' */ + ppc64_special_sections_t, /* 't' */ + NULL, /* 'u' */ + NULL, /* 'v' */ + NULL, /* 'w' */ + NULL, /* 'x' */ + NULL, /* 'y' */ + NULL, /* 'z' */ + NULL /* other */ +}; + struct _ppc64_elf_section_data { struct bfd_elf_section_data elf; @@ -2709,7 +2758,7 @@ ppc64_elf_get_synthetic_symtab (bfd *abf long j; /* Trim duplicate syms, since we may have merged the normal and dynamic symbols. Actually, we only care about syms that have - different values, so trim any with the same value. */ + different values, so trim any with the same value. */ for (i = 1, j = 1; i < symcount; ++i) if (syms[i - 1]->value + syms[i - 1]->section->vma != syms[i]->value + syms[i]->section->vma) @@ -3667,25 +3716,25 @@ create_linkage_sections (bfd *dynobj, st /* Create .sfpr for code to save and restore fp regs. */ flags = (SEC_ALLOC | SEC_LOAD | SEC_CODE | SEC_READONLY | SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_LINKER_CREATED); - htab->sfpr = bfd_make_section_anyway (dynobj, ".sfpr"); + htab->sfpr = bfd_make_section_anyway_with_flags (dynobj, ".sfpr", + flags); if (htab->sfpr == NULL - || ! bfd_set_section_flags (dynobj, htab->sfpr, flags) || ! bfd_set_section_alignment (dynobj, htab->sfpr, 2)) return FALSE; /* Create .glink for lazy dynamic linking support. */ - htab->glink = bfd_make_section_anyway (dynobj, ".glink"); + htab->glink = bfd_make_section_anyway_with_flags (dynobj, ".glink", + flags); if (htab->glink == NULL - || ! bfd_set_section_flags (dynobj, htab->glink, flags) || ! bfd_set_section_alignment (dynobj, htab->glink, 2)) return FALSE; /* Create .branch_lt for plt_branch stubs. */ flags = (SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_LINKER_CREATED); - htab->brlt = bfd_make_section_anyway (dynobj, ".branch_lt"); + htab->brlt = bfd_make_section_anyway_with_flags (dynobj, ".branch_lt", + flags); if (htab->brlt == NULL - || ! bfd_set_section_flags (dynobj, htab->brlt, flags) || ! bfd_set_section_alignment (dynobj, htab->brlt, 3)) return FALSE; @@ -3693,9 +3742,10 @@ create_linkage_sections (bfd *dynobj, st { flags = (SEC_ALLOC | SEC_LOAD | SEC_READONLY | SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_LINKER_CREATED); - htab->relbrlt = bfd_make_section_anyway (dynobj, ".rela.branch_lt"); + htab->relbrlt = bfd_make_section_anyway_with_flags (dynobj, + ".rela.branch_lt", + flags); if (!htab->relbrlt - || ! bfd_set_section_flags (dynobj, htab->relbrlt, flags) || ! bfd_set_section_alignment (dynobj, htab->relbrlt, 3)) return FALSE; } @@ -3725,15 +3775,14 @@ create_got_section (bfd *abfd, struct bf flags = (SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_LINKER_CREATED); - got = bfd_make_section (abfd, ".got"); + got = bfd_make_section_with_flags (abfd, ".got", flags); if (!got - || !bfd_set_section_flags (abfd, got, flags) || !bfd_set_section_alignment (abfd, got, 3)) return FALSE; - relgot = bfd_make_section (abfd, ".rela.got"); + relgot = bfd_make_section_with_flags (abfd, ".rela.got", + flags | SEC_READONLY); if (!relgot - || ! bfd_set_section_flags (abfd, relgot, flags | SEC_READONLY) || ! bfd_set_section_alignment (abfd, relgot, 3)) return FALSE; @@ -3998,10 +4047,10 @@ make_fdh (struct bfd_link_info *info, function type. */ static bfd_boolean -ppc64_elf_add_symbol_hook (bfd *ibfd ATTRIBUTE_UNUSED, +ppc64_elf_add_symbol_hook (bfd *ibfd, struct bfd_link_info *info ATTRIBUTE_UNUSED, Elf_Internal_Sym *isym, - const char **name ATTRIBUTE_UNUSED, + const char **name, flagword *flags ATTRIBUTE_UNUSED, asection **sec, bfd_vma *value ATTRIBUTE_UNUSED) @@ -4009,6 +4058,13 @@ ppc64_elf_add_symbol_hook (bfd *ibfd ATT if (*sec != NULL && strcmp (bfd_get_section_name (ibfd, *sec), ".opd") == 0) isym->st_info = ELF_ST_INFO (ELF_ST_BIND (isym->st_info), STT_FUNC); + + if ((*name)[0] == '.' + && ELF_ST_BIND (isym->st_info) == STB_GLOBAL + && ELF_ST_TYPE (isym->st_info) < STT_SECTION + && is_ppc64_elf_target (ibfd->xvec)) + ppc64_elf_tdata (ibfd)->u.has_dotsym = 1; + return TRUE; } @@ -4122,12 +4178,18 @@ add_symbol_adjust (struct elf_link_hash_ } static bfd_boolean -ppc64_elf_check_directives (bfd *abfd ATTRIBUTE_UNUSED, - struct bfd_link_info *info) +ppc64_elf_check_directives (bfd *abfd, struct bfd_link_info *info) { struct ppc_link_hash_table *htab; struct add_symbol_adjust_data data; + if (!is_ppc64_elf_target (abfd->xvec)) + return TRUE; + + if (!ppc64_elf_tdata (abfd)->u.has_dotsym) + return TRUE; + ppc64_elf_tdata (abfd)->u.deleted_section = NULL; + htab = ppc_hash_table (info); if (!is_ppc64_elf_target (htab->elf.root.creator)) return TRUE; @@ -4686,12 +4748,13 @@ ppc64_elf_check_relocs (bfd *abfd, struc { flagword flags; - sreloc = bfd_make_section (dynobj, name); flags = (SEC_HAS_CONTENTS | SEC_READONLY | SEC_IN_MEMORY | SEC_LINKER_CREATED | SEC_ALLOC | SEC_LOAD); + sreloc = bfd_make_section_with_flags (dynobj, + name, + flags); if (sreloc == NULL - || ! bfd_set_section_flags (dynobj, sreloc, flags) || ! bfd_set_section_alignment (dynobj, sreloc, 3)) return FALSE; } @@ -4768,7 +4831,7 @@ opd_entry_value (asection *opd_sec, if (!bfd_get_section_contents (opd_bfd, opd_sec, &val, offset, 8)) return (bfd_vma) -1; - + if (code_sec != NULL) { asection *sec, *likely = NULL; @@ -5446,15 +5509,25 @@ func_desc_adjust (struct elf_link_hash_e } /* Fake function descriptors are made undefweak. If the function - code symbol is strong undefined, make the fake sym the same. */ + code symbol is strong undefined, make the fake sym the same. + If the function code symbol is defined, then force the fake + descriptor local; We can't support overriding of symbols in a + shared library on a fake descriptor. */ if (fdh != NULL && fdh->fake - && fdh->elf.root.type == bfd_link_hash_undefweak - && fh->elf.root.type == bfd_link_hash_undefined) + && fdh->elf.root.type == bfd_link_hash_undefweak) { - fdh->elf.root.type = bfd_link_hash_undefined; - bfd_link_add_undef (&htab->elf.root, &fdh->elf.root); + if (fh->elf.root.type == bfd_link_hash_undefined) + { + fdh->elf.root.type = bfd_link_hash_undefined; + bfd_link_add_undef (&htab->elf.root, &fdh->elf.root); + } + else if (fh->elf.root.type == bfd_link_hash_defined + || fh->elf.root.type == bfd_link_hash_defweak) + { + _bfd_elf_link_hash_hide_symbol (info, &fdh->elf, TRUE); + } } if (fdh != NULL @@ -5539,7 +5612,7 @@ ppc64_elf_func_desc_adjust (bfd *obfd AT elf_link_hash_traverse (&htab->elf, func_desc_adjust, info); if (htab->sfpr->size == 0) - _bfd_strip_section_from_output (info, htab->sfpr); + htab->sfpr->flags |= SEC_EXCLUDE; return TRUE; } @@ -5931,13 +6004,13 @@ adjust_opd_syms (struct elf_link_hash_en if (adjust == -1) { /* This entry has been deleted. */ - asection *dsec = ppc64_elf_tdata (sym_sec->owner)->deleted_section; + asection *dsec = ppc64_elf_tdata (sym_sec->owner)->u.deleted_section; if (dsec == NULL) { for (dsec = sym_sec->owner->sections; dsec; dsec = dsec->next) if (elf_discarded_section (dsec)) { - ppc64_elf_tdata (sym_sec->owner)->deleted_section = dsec; + ppc64_elf_tdata (sym_sec->owner)->u.deleted_section = dsec; break; } } @@ -7687,7 +7760,7 @@ ppc64_elf_size_dynamic_sections (bfd *ou if (s->size == 0) { - _bfd_strip_section_from_output (info, s); + s->flags |= SEC_EXCLUDE; continue; } @@ -7716,7 +7789,7 @@ ppc64_elf_size_dynamic_sections (bfd *ou if (s != NULL && s != htab->got) { if (s->size == 0) - _bfd_strip_section_from_output (info, s); + s->flags |= SEC_EXCLUDE; else { s->contents = bfd_zalloc (ibfd, s->size); @@ -7728,7 +7801,7 @@ ppc64_elf_size_dynamic_sections (bfd *ou if (s != NULL) { if (s->size == 0) - _bfd_strip_section_from_output (info, s); + s->flags |= SEC_EXCLUDE; else { s->contents = bfd_zalloc (ibfd, s->size); @@ -8336,7 +8409,7 @@ ppc64_elf_setup_section_lists (bfd *outp /* We can't use output_bfd->section_count here to find the top output section index as some sections may have been removed, and - _bfd_strip_section_from_output doesn't renumber the indices. */ + strip_excluded_output_sections doesn't renumber the indices. */ for (section = output_bfd->sections, top_index = 0; section != NULL; section = section->next) diff -uprN binutils-2.16.90.0.2/bfd/elf64-ppc.h binutils-2.16.90.0.3/bfd/elf64-ppc.h --- binutils-2.16.90.0.2/bfd/elf64-ppc.h 2005-04-09 12:02:59.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf64-ppc.h 2005-05-10 15:46:42.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ void ppc64_elf_init_stub_bfd (bfd *, struct bfd_link_info *); diff -uprN binutils-2.16.90.0.2/bfd/elf64-s390.c binutils-2.16.90.0.3/bfd/elf64-s390.c --- binutils-2.16.90.0.2/bfd/elf64-s390.c 2005-04-09 12:02:59.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf64-s390.c 2005-05-10 15:46:42.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" @@ -756,12 +756,13 @@ create_got_section (dynobj, info) if (!htab->sgot || !htab->sgotplt) abort (); - htab->srelgot = bfd_make_section (dynobj, ".rela.got"); + htab->srelgot = bfd_make_section_with_flags (dynobj, ".rela.got", + (SEC_ALLOC | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED + | SEC_READONLY)); if (htab->srelgot == NULL - || ! bfd_set_section_flags (dynobj, htab->srelgot, - (SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS - | SEC_IN_MEMORY | SEC_LINKER_CREATED - | SEC_READONLY)) || ! bfd_set_section_alignment (dynobj, htab->srelgot, 3)) return FALSE; return TRUE; @@ -1246,13 +1247,14 @@ elf_s390_check_relocs (abfd, info, sec, { flagword flags; - sreloc = bfd_make_section (dynobj, name); flags = (SEC_HAS_CONTENTS | SEC_READONLY | SEC_IN_MEMORY | SEC_LINKER_CREATED); if ((sec->flags & SEC_ALLOC) != 0) flags |= SEC_ALLOC | SEC_LOAD; + sreloc = bfd_make_section_with_flags (dynobj, + name, + flags); if (sreloc == NULL - || ! bfd_set_section_flags (dynobj, sreloc, flags) || ! bfd_set_section_alignment (dynobj, sreloc, 3)) return FALSE; } @@ -2095,7 +2097,7 @@ elf_s390_size_dynamic_sections (output_b function which decides whether anything needs to go into these sections. */ - _bfd_strip_section_from_output (info, s); + s->flags |= SEC_EXCLUDE; continue; } diff -uprN binutils-2.16.90.0.2/bfd/elf64-sh64.c binutils-2.16.90.0.3/bfd/elf64-sh64.c --- binutils-2.16.90.0.2/bfd/elf64-sh64.c 2005-04-09 12:02:59.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf64-sh64.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define SH64_ELF64 @@ -2530,15 +2530,15 @@ sh_elf64_check_relocs (bfd *abfd, struct srelgot = bfd_get_section_by_name (dynobj, ".rela.got"); if (srelgot == NULL) { - srelgot = bfd_make_section (dynobj, ".rela.got"); + srelgot = bfd_make_section_with_flags (dynobj, + ".rela.got", + (SEC_ALLOC + | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED + | SEC_READONLY)); if (srelgot == NULL - || ! bfd_set_section_flags (dynobj, srelgot, - (SEC_ALLOC - | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED - | SEC_READONLY)) || ! bfd_set_section_alignment (dynobj, srelgot, 2)) return FALSE; } @@ -2732,13 +2732,14 @@ sh_elf64_check_relocs (bfd *abfd, struct { flagword flags; - sreloc = bfd_make_section (dynobj, name); flags = (SEC_HAS_CONTENTS | SEC_READONLY | SEC_IN_MEMORY | SEC_LINKER_CREATED); if ((sec->flags & SEC_ALLOC) != 0) flags |= SEC_ALLOC | SEC_LOAD; + sreloc = bfd_make_section_with_flags (dynobj, + name, + flags); if (sreloc == NULL - || ! bfd_set_section_flags (dynobj, sreloc, flags) || ! bfd_set_section_alignment (dynobj, sreloc, 2)) return FALSE; } @@ -3211,9 +3212,8 @@ sh64_elf64_create_dynamic_sections (bfd if (bed->plt_readonly) pltflags |= SEC_READONLY; - s = bfd_make_section (abfd, ".plt"); + s = bfd_make_section_with_flags (abfd, ".plt", pltflags); if (s == NULL - || ! bfd_set_section_flags (abfd, s, pltflags) || ! bfd_set_section_alignment (abfd, s, bed->plt_alignment)) return FALSE; @@ -3238,10 +3238,10 @@ sh64_elf64_create_dynamic_sections (bfd return FALSE; } - s = bfd_make_section (abfd, - bed->default_use_rela_p ? ".rela.plt" : ".rel.plt"); + s = bfd_make_section_with_flags (abfd, + bed->default_use_rela_p ? ".rela.plt" : ".rel.plt", + flags | SEC_READONLY); if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY) || ! bfd_set_section_alignment (abfd, s, ptralign)) return FALSE; @@ -3264,9 +3264,9 @@ sh64_elf64_create_dynamic_sections (bfd relname = (char *) bfd_malloc (strlen (secname) + 6); strcpy (relname, ".rela"); strcat (relname, secname); - s = bfd_make_section (abfd, relname); + s = bfd_make_section_with_flags (abfd, relname, + flags | SEC_READONLY); if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY) || ! bfd_set_section_alignment (abfd, s, ptralign)) return FALSE; } @@ -3280,9 +3280,9 @@ sh64_elf64_create_dynamic_sections (bfd image and use a R_*_COPY reloc to tell the dynamic linker to initialize them at run time. The linker script puts the .dynbss section into the .bss section of the final image. */ - s = bfd_make_section (abfd, ".dynbss"); - if (s == NULL - || ! bfd_set_section_flags (abfd, s, SEC_ALLOC)) + s = bfd_make_section_with_flags (abfd, ".dynbss", + SEC_ALLOC | SEC_LINKER_CREATED); + if (s == NULL) return FALSE; /* The .rel[a].bss section holds copy relocs. This section is not @@ -3298,11 +3298,11 @@ sh64_elf64_create_dynamic_sections (bfd copy relocs. */ if (! info->shared) { - s = bfd_make_section (abfd, - (bed->default_use_rela_p - ? ".rela.bss" : ".rel.bss")); + s = bfd_make_section_with_flags (abfd, + (bed->default_use_rela_p + ? ".rela.bss" : ".rel.bss"), + flags | SEC_READONLY); if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY) || ! bfd_set_section_alignment (abfd, s, ptralign)) return FALSE; } @@ -3640,7 +3640,7 @@ sh64_elf64_size_dynamic_sections (bfd *o if (strip) { - _bfd_strip_section_from_output (info, s); + s->flags |= SEC_EXCLUDE; continue; } @@ -4063,10 +4063,43 @@ sh64_elf64_merge_symbol_attribute (struc return; } -static struct bfd_elf_special_section const sh64_elf64_special_sections[]= +static struct bfd_elf_special_section const + sh64_special_sections_c[] = { { ".cranges", 8, 0, SHT_PROGBITS, 0 }, - { NULL, 0, 0, 0, 0 } + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const * + sh64_elf64_special_sections[27]= +{ + NULL, /* 'a' */ + NULL, /* 'b' */ + sh64_special_sections_c, /* 'c' */ + NULL, /* 'd' */ + NULL, /* 'e' */ + NULL, /* 'f' */ + NULL, /* 'g' */ + NULL, /* 'h' */ + NULL, /* 'i' */ + NULL, /* 'j' */ + NULL, /* 'k' */ + NULL, /* 'l' */ + NULL, /* 'm' */ + NULL, /* 'n' */ + NULL, /* 'o' */ + NULL, /* 'p' */ + NULL, /* 'q' */ + NULL, /* 'r' */ + NULL, /* 's' */ + NULL, /* 't' */ + NULL, /* 'u' */ + NULL, /* 'v' */ + NULL, /* 'w' */ + NULL, /* 'x' */ + NULL, /* 'y' */ + NULL, /* 'z' */ + NULL /* other */ }; #define TARGET_BIG_SYM bfd_elf64_sh64_vec diff -uprN binutils-2.16.90.0.2/bfd/elf64-sparc.c binutils-2.16.90.0.3/bfd/elf64-sparc.c --- binutils-2.16.90.0.2/bfd/elf64-sparc.c 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf64-sparc.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/elf64-x86-64.c binutils-2.16.90.0.3/bfd/elf64-x86-64.c --- binutils-2.16.90.0.2/bfd/elf64-x86-64.c 2005-04-09 12:02:59.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf64-x86-64.c 2005-05-10 15:46:42.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" @@ -459,12 +459,13 @@ create_got_section (bfd *dynobj, struct if (!htab->sgot || !htab->sgotplt) abort (); - htab->srelgot = bfd_make_section (dynobj, ".rela.got"); + htab->srelgot = bfd_make_section_with_flags (dynobj, ".rela.got", + (SEC_ALLOC | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED + | SEC_READONLY)); if (htab->srelgot == NULL - || ! bfd_set_section_flags (dynobj, htab->srelgot, - (SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS - | SEC_IN_MEMORY | SEC_LINKER_CREATED - | SEC_READONLY)) || ! bfd_set_section_alignment (dynobj, htab->srelgot, 3)) return FALSE; return TRUE; @@ -893,13 +894,14 @@ elf64_x86_64_check_relocs (bfd *abfd, st { flagword flags; - sreloc = bfd_make_section (dynobj, name); flags = (SEC_HAS_CONTENTS | SEC_READONLY | SEC_IN_MEMORY | SEC_LINKER_CREATED); if ((sec->flags & SEC_ALLOC) != 0) flags |= SEC_ALLOC | SEC_LOAD; + sreloc = bfd_make_section_with_flags (dynobj, + name, + flags); if (sreloc == NULL - || ! bfd_set_section_flags (dynobj, sreloc, flags) || ! bfd_set_section_alignment (dynobj, sreloc, 3)) return FALSE; } @@ -1654,7 +1656,7 @@ elf64_x86_64_size_dynamic_sections (bfd function which decides whether anything needs to go into these sections. */ - _bfd_strip_section_from_output (info, s); + s->flags |= SEC_EXCLUDE; continue; } diff -uprN binutils-2.16.90.0.2/bfd/elf-bfd.h binutils-2.16.90.0.3/bfd/elf-bfd.h --- binutils-2.16.90.0.2/bfd/elf-bfd.h 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf-bfd.h 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _LIBELF_H_ #define _LIBELF_H_ 1 @@ -873,7 +873,8 @@ struct elf_backend_data /* Emit relocations. Overrides default routine for emitting relocs, except during a relocatable link, or if all relocs are being emitted. */ bfd_boolean (*elf_backend_emit_relocs) - (bfd *, asection *, Elf_Internal_Shdr *, Elf_Internal_Rela *); + (bfd *, asection *, Elf_Internal_Shdr *, Elf_Internal_Rela *, + struct elf_link_hash_entry **); /* Count relocations. Not called for relocatable links or if all relocs are being preserved in the output. */ @@ -973,12 +974,9 @@ struct elf_backend_data const struct elf_size_info *s; - /* An array of target specific special section map. */ - const struct bfd_elf_special_section *special_sections; - - /* offset of the _GLOBAL_OFFSET_TABLE_ symbol from the start of the - .got section */ - bfd_vma got_symbol_offset; + /* An array of 27 target specific special section map arrays, + covering 'a' to 'z', plus other. */ + const struct bfd_elf_special_section **special_sections; /* The size in bytes of the header for the GOT. This includes the so-called reserved entries on some systems. */ @@ -1606,7 +1604,8 @@ extern bfd_boolean _bfd_elf_link_size_re (bfd *, Elf_Internal_Shdr *, asection *); extern bfd_boolean _bfd_elf_link_output_relocs - (bfd *, asection *, Elf_Internal_Shdr *, Elf_Internal_Rela *); + (bfd *, asection *, Elf_Internal_Shdr *, Elf_Internal_Rela *, + struct elf_link_hash_entry **); extern bfd_boolean _bfd_elf_fix_symbol_flags (struct elf_link_hash_entry *, struct elf_info_failed *); @@ -1728,6 +1727,10 @@ extern int bfd_elf_link_record_local_dyn extern bfd_boolean _bfd_elf_close_and_cleanup (bfd *); + +extern void _bfd_dwarf2_cleanup_debug_info + (bfd *); + extern bfd_reloc_status_type _bfd_elf_rel_vtable_reloc_fn (bfd *, arelent *, struct bfd_symbol *, void *, asection *, bfd *, char **); diff -uprN binutils-2.16.90.0.2/bfd/elf.c binutils-2.16.90.0.3/bfd/elf.c --- binutils-2.16.90.0.2/bfd/elf.c 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf.c 2005-05-10 15:46:41.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* SECTION @@ -2117,25 +2117,23 @@ bfd_section_from_elf_index (bfd *abfd, u return elf_elfsections (abfd)[index]->bfd_section; } -static struct bfd_elf_special_section const special_sections[] = +static struct bfd_elf_special_section const special_sections_b[] = { { ".bss", 4, -2, SHT_NOBITS, SHF_ALLOC + SHF_WRITE }, - { ".gnu.linkonce.b",15, -2, SHT_NOBITS, SHF_ALLOC + SHF_WRITE }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const special_sections_c[] = +{ { ".comment", 8, 0, SHT_PROGBITS, 0 }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const special_sections_d[] = +{ { ".data", 5, -2, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE }, { ".data1", 6, 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE }, { ".debug", 6, 0, SHT_PROGBITS, 0 }, - { ".fini", 5, 0, SHT_PROGBITS, SHF_ALLOC + SHF_EXECINSTR }, - { ".init", 5, 0, SHT_PROGBITS, SHF_ALLOC + SHF_EXECINSTR }, - { ".line", 5, 0, SHT_PROGBITS, 0 }, - { ".rodata", 7, -2, SHT_PROGBITS, SHF_ALLOC }, - { ".rodata1", 8, 0, SHT_PROGBITS, SHF_ALLOC }, - { ".tbss", 5, -2, SHT_NOBITS, SHF_ALLOC + SHF_WRITE + SHF_TLS }, - { ".tdata", 6, -2, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE + SHF_TLS }, - { ".text", 5, -2, SHT_PROGBITS, SHF_ALLOC + SHF_EXECINSTR }, - { ".init_array", 11, 0, SHT_INIT_ARRAY, SHF_ALLOC + SHF_WRITE }, - { ".fini_array", 11, 0, SHT_FINI_ARRAY, SHF_ALLOC + SHF_WRITE }, - { ".preinit_array", 14, 0, SHT_PREINIT_ARRAY, SHF_ALLOC + SHF_WRITE }, { ".debug_line", 11, 0, SHT_PROGBITS, 0 }, { ".debug_info", 11, 0, SHT_PROGBITS, 0 }, { ".debug_abbrev", 13, 0, SHT_PROGBITS, 0 }, @@ -2143,33 +2141,143 @@ static struct bfd_elf_special_section co { ".dynamic", 8, 0, SHT_DYNAMIC, SHF_ALLOC }, { ".dynstr", 7, 0, SHT_STRTAB, SHF_ALLOC }, { ".dynsym", 7, 0, SHT_DYNSYM, SHF_ALLOC }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const special_sections_f[] = +{ + { ".fini", 5, 0, SHT_PROGBITS, SHF_ALLOC + SHF_EXECINSTR }, + { ".fini_array", 11, 0, SHT_FINI_ARRAY, SHF_ALLOC + SHF_WRITE }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const special_sections_g[] = +{ + { ".gnu.linkonce.b",15, -2, SHT_NOBITS, SHF_ALLOC + SHF_WRITE }, { ".got", 4, 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE }, - { ".hash", 5, 0, SHT_HASH, SHF_ALLOC }, - { ".interp", 7, 0, SHT_PROGBITS, 0 }, - { ".plt", 4, 0, SHT_PROGBITS, SHF_ALLOC + SHF_EXECINSTR }, - { ".shstrtab", 9, 0, SHT_STRTAB, 0 }, - { ".strtab", 7, 0, SHT_STRTAB, 0 }, - { ".symtab", 7, 0, SHT_SYMTAB, 0 }, { ".gnu.version", 12, 0, SHT_GNU_versym, 0 }, { ".gnu.version_d", 14, 0, SHT_GNU_verdef, 0 }, { ".gnu.version_r", 14, 0, SHT_GNU_verneed, 0 }, + { ".gnu.liblist", 12, 0, SHT_GNU_LIBLIST, SHF_ALLOC }, + { ".gnu.conflict", 13, 0, SHT_RELA, SHF_ALLOC }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const special_sections_h[] = +{ + { ".hash", 5, 0, SHT_HASH, SHF_ALLOC }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const special_sections_i[] = +{ + { ".init", 5, 0, SHT_PROGBITS, SHF_ALLOC + SHF_EXECINSTR }, + { ".init_array", 11, 0, SHT_INIT_ARRAY, SHF_ALLOC + SHF_WRITE }, + { ".interp", 7, 0, SHT_PROGBITS, 0 }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const special_sections_l[] = +{ + { ".line", 5, 0, SHT_PROGBITS, 0 }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const special_sections_n[] = +{ { ".note.GNU-stack",15, 0, SHT_PROGBITS, 0 }, { ".note", 5, -1, SHT_NOTE, 0 }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const special_sections_p[] = +{ + { ".preinit_array", 14, 0, SHT_PREINIT_ARRAY, SHF_ALLOC + SHF_WRITE }, + { ".plt", 4, 0, SHT_PROGBITS, SHF_ALLOC + SHF_EXECINSTR }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const special_sections_r[] = +{ + { ".rodata", 7, -2, SHT_PROGBITS, SHF_ALLOC }, + { ".rodata1", 8, 0, SHT_PROGBITS, SHF_ALLOC }, { ".rela", 5, -1, SHT_RELA, 0 }, { ".rel", 4, -1, SHT_REL, 0 }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const special_sections_s[] = +{ + { ".shstrtab", 9, 0, SHT_STRTAB, 0 }, + { ".strtab", 7, 0, SHT_STRTAB, 0 }, + { ".symtab", 7, 0, SHT_SYMTAB, 0 }, { ".stabstr", 5, 3, SHT_STRTAB, 0 }, - { ".gnu.liblist", 12, 0, SHT_GNU_LIBLIST, SHF_ALLOC }, - { ".gnu.conflict", 13, 0, SHT_RELA, SHF_ALLOC }, { NULL, 0, 0, 0, 0 } }; +static struct bfd_elf_special_section const special_sections_t[] = +{ + { ".text", 5, -2, SHT_PROGBITS, SHF_ALLOC + SHF_EXECINSTR }, + { ".tbss", 5, -2, SHT_NOBITS, SHF_ALLOC + SHF_WRITE + SHF_TLS }, + { ".tdata", 6, -2, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE + SHF_TLS }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const *special_sections [27] = +{ + NULL, /* 'a' */ + special_sections_b, /* 'b' */ + special_sections_c, /* 'b' */ + special_sections_d, /* 'd' */ + NULL, /* 'e' */ + special_sections_f, /* 'f' */ + special_sections_g, /* 'g' */ + special_sections_h, /* 'h' */ + special_sections_i, /* 'i' */ + NULL, /* 'j' */ + NULL, /* 'k' */ + special_sections_l, /* 'l' */ + NULL, /* 'm' */ + special_sections_n, /* 'n' */ + NULL, /* 'o' */ + special_sections_p, /* 'p' */ + NULL, /* 'q' */ + special_sections_r, /* 'r' */ + special_sections_s, /* 's' */ + special_sections_t, /* 't' */ + NULL, /* 'u' */ + NULL, /* 'v' */ + NULL, /* 'w' */ + NULL, /* 'x' */ + NULL, /* 'y' */ + NULL, /* 'z' */ + NULL /* other */ +}; + static const struct bfd_elf_special_section * get_special_section (const char *name, - const struct bfd_elf_special_section *special_sections, + const struct bfd_elf_special_section **special_sections_p, unsigned int rela) { int i; - int len = strlen (name); + int len; + const struct bfd_elf_special_section *special_sections; + + if (name [0] == '.') + { + i = name [1] - 'a'; + if (i < 0 || i > 25) + i = 26; + } + else + i = 26; + + special_sections = special_sections_p [i]; + + if (!special_sections) + return special_sections; + + len= strlen (name); for (i = 0; special_sections[i].prefix != NULL; i++) { @@ -2245,12 +2353,18 @@ _bfd_elf_new_section_hook (bfd *abfd, as sec->used_by_bfd = sdata; } - elf_section_type (sec) = SHT_NULL; - ssect = _bfd_elf_get_sec_type_attr (abfd, sec->name); - if (ssect != NULL) + /* When we read a file, we don't need section type and flags unless + it is a linker created section. They will be overridden in + _bfd_elf_make_section_from_shdr anyway. */ + if (abfd->direction != read_direction + || (sec->flags & SEC_LINKER_CREATED) != 0) { - elf_section_type (sec) = ssect->type; - elf_section_flags (sec) = ssect->attr; + ssect = _bfd_elf_get_sec_type_attr (abfd, sec->name); + if (ssect != NULL) + { + elf_section_type (sec) = ssect->type; + elf_section_flags (sec) = ssect->attr; + } } /* Indicate whether or not this section should use RELA relocations. */ @@ -2494,7 +2608,7 @@ elf_fake_sections (bfd *abfd, asection * struct bfd_link_order *l; asection *elt; - for (l = asect->link_order_head; l != NULL; l = l->next) + for (l = asect->map_head.link_order; l != NULL; l = l->next) if (l->type == bfd_indirect_link_order && (elt = elf_next_in_group (l->u.indirect.section)) != NULL) do @@ -2611,7 +2725,7 @@ elf_fake_sections (bfd *abfd, asection * struct bfd_link_order *o; this_hdr->sh_size = 0; - for (o = asect->link_order_head; o != NULL; o = o->next) + for (o = asect->map_head.link_order; o != NULL; o = o->next) if (this_hdr->sh_size < o->offset + o->size) this_hdr->sh_size = o->offset + o->size; if (this_hdr->sh_size) @@ -2717,7 +2831,7 @@ bfd_elf_set_group_contents (bfd *abfd, a /* If this is a relocatable link, then the above did nothing because SEC is the output section. Look through the input sections instead. */ - for (l = sec->link_order_head; l != NULL; l = l->next) + for (l = sec->map_head.link_order; l != NULL; l = l->next) if (l->type == bfd_indirect_link_order && (elt = elf_next_in_group (l->u.indirect.section)) != NULL) do @@ -2757,22 +2871,18 @@ assign_section_numbers (bfd *abfd, struc /* SHT_GROUP sections are in relocatable files only. */ if (link_info == NULL || link_info->relocatable) { - asection **secp; - /* Put SHT_GROUP sections first. */ - secp = &abfd->sections; - while (*secp) + for (sec = abfd->sections; sec != NULL; sec = sec->next) { - d = elf_section_data (*secp); + d = elf_section_data (sec); if (d->this_hdr.sh_type == SHT_GROUP) { - if ((*secp)->flags & SEC_LINKER_CREATED) + if (sec->flags & SEC_LINKER_CREATED) { /* Remove the linker created SHT_GROUP sections. */ - bfd_section_list_remove (abfd, secp); + bfd_section_list_remove (abfd, sec); abfd->section_count--; - continue; } else { @@ -2781,8 +2891,6 @@ assign_section_numbers (bfd *abfd, struc d->this_idx = section_number++; } } - - secp = &(*secp)->next; } } @@ -2925,7 +3033,7 @@ assign_section_numbers (bfd *abfd, struc /* Find out what the corresponding section in output is. */ - for (p = sec->link_order_head; p != NULL; p = p->next) + for (p = sec->map_head.link_order; p != NULL; p = p->next) { s = p->u.indirect.section; if (p->type == bfd_indirect_link_order @@ -4296,7 +4404,7 @@ assign_file_positions_for_segments (bfd struct bfd_link_order *o; bfd_vma tbss_size = 0; - for (o = sec->link_order_head; o != NULL; o = o->next) + for (o = sec->map_head.link_order; o != NULL; o = o->next) if (tbss_size < o->offset + o->size) tbss_size = o->offset + o->size; @@ -6683,6 +6791,7 @@ _bfd_elf_close_and_cleanup (bfd *abfd) { if (elf_shstrtab (abfd) != NULL) _bfd_elf_strtab_free (elf_shstrtab (abfd)); + _bfd_dwarf2_cleanup_debug_info (abfd); } return _bfd_generic_close_and_cleanup (abfd); diff -uprN binutils-2.16.90.0.2/bfd/elfcode.h binutils-2.16.90.0.3/bfd/elfcode.h --- binutils-2.16.90.0.2/bfd/elfcode.h 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elfcode.h 2005-05-10 15:46:42.000000000 -0700 @@ -28,12 +28,12 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Problems and other issues to resolve. (1) BFD expects there to be some fixed number of "sections" in - the object file. I.E. there is a "section_count" variable in the + the object file. I.E. there is a "section_count" variable in the bfd structure which contains the number of sections. However, ELF supports multiple "views" of a file. In particular, with current implementations, executable files typically have two tables, a @@ -612,8 +612,13 @@ elf_object_p (bfd *abfd) if (i_ehdrp->e_shoff != 0) { + bfd_signed_vma where = i_ehdrp->e_shoff; + + if (where != (file_ptr) where) + goto got_wrong_format_error; + /* Seek to the section header table in the file. */ - if (bfd_seek (abfd, (file_ptr) i_ehdrp->e_shoff, SEEK_SET) != 0) + if (bfd_seek (abfd, (file_ptr) where, SEEK_SET) != 0) goto got_no_match; /* Read the first section header at index 0, and convert to internal @@ -625,13 +630,50 @@ elf_object_p (bfd *abfd) /* If the section count is zero, the actual count is in the first section header. */ if (i_ehdrp->e_shnum == SHN_UNDEF) - i_ehdrp->e_shnum = i_shdr.sh_size; + { + i_ehdrp->e_shnum = i_shdr.sh_size; + if (i_ehdrp->e_shnum != i_shdr.sh_size) + goto got_wrong_format_error; + } /* And similarly for the string table index. */ if (i_ehdrp->e_shstrndx == SHN_XINDEX) - i_ehdrp->e_shstrndx = i_shdr.sh_link; + { + i_ehdrp->e_shstrndx = i_shdr.sh_link; + if (i_ehdrp->e_shstrndx != i_shdr.sh_link) + goto got_wrong_format_error; + } + + /* Sanity check that we can read all of the section headers. + It ought to be good enough to just read the last one. */ + if (i_ehdrp->e_shnum != 1) + { + /* Check that we don't have a totally silly number of sections. */ + if (i_ehdrp->e_shnum > (unsigned int) -1 / sizeof (x_shdr)) + goto got_wrong_format_error; + + where += (i_ehdrp->e_shnum - 1) * sizeof (x_shdr); + if (where != (file_ptr) where) + goto got_wrong_format_error; + if ((bfd_size_type) where <= i_ehdrp->e_shoff) + goto got_wrong_format_error; + + if (bfd_seek (abfd, (file_ptr) where, SEEK_SET) != 0) + goto got_no_match; + if (bfd_bread (&x_shdr, sizeof x_shdr, abfd) != sizeof (x_shdr)) + goto got_no_match; + + /* Back to where we were. */ + where = i_ehdrp->e_shoff + sizeof (x_shdr); + if (bfd_seek (abfd, (file_ptr) where, SEEK_SET) != 0) + goto got_no_match; + } } + /* A further sanity check. */ + if (i_ehdrp->e_shstrndx >= i_ehdrp->e_shnum) + goto got_wrong_format_error; + /* Allocate space for a copy of the section header table in internal form. */ if (i_ehdrp->e_shnum != 0) @@ -1042,7 +1084,7 @@ elf_slurp_symbol_table (bfd *abfd, asymb symcount); /* Slurp in the symbols without the version information, - since that is more helpful than just quitting. */ + since that is more helpful than just quitting. */ verhdr = NULL; } @@ -1107,7 +1149,7 @@ elf_slurp_symbol_table (bfd *abfd, asymb sym->symbol.section = bfd_abs_section_ptr; /* If this is a relocatable file, then the symbol value is - already section relative. */ + already section relative. */ if ((abfd->flags & (EXEC_P | DYNAMIC)) != 0) sym->symbol.value -= sym->symbol.section->vma; diff -uprN binutils-2.16.90.0.2/bfd/elfcore.h binutils-2.16.90.0.3/bfd/elfcore.h --- binutils-2.16.90.0.2/bfd/elfcore.h 2005-04-09 12:02:59.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elfcore.h 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ char* elf_core_file_failing_command (bfd *abfd) diff -uprN binutils-2.16.90.0.2/bfd/elf-eh-frame.c binutils-2.16.90.0.3/bfd/elf-eh-frame.c --- binutils-2.16.90.0.2/bfd/elf-eh-frame.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf-eh-frame.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" @@ -853,8 +853,8 @@ _bfd_elf_discard_section_eh_frame_hdr (b /* This function is called from size_dynamic_sections. It needs to decide whether .eh_frame_hdr should be output or not, - because later on it is too late for calling _bfd_strip_section_from_output, - since dynamic symbol table has been sized. */ + because when the dynamic symbol table has been sized it is too late + to strip sections. */ bfd_boolean _bfd_elf_maybe_strip_eh_frame_hdr (struct bfd_link_info *info) @@ -888,7 +888,7 @@ _bfd_elf_maybe_strip_eh_frame_hdr (struc if (abfd == NULL) { - _bfd_strip_section_from_output (info, hdr_info->hdr_sec); + hdr_info->hdr_sec->flags |= SEC_EXCLUDE; hdr_info->hdr_sec = NULL; return TRUE; } diff -uprN binutils-2.16.90.0.2/bfd/elf-hppa.h binutils-2.16.90.0.3/bfd/elf-hppa.h --- binutils-2.16.90.0.2/bfd/elf-hppa.h 2004-11-22 12:33:30.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/elf-hppa.h 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define ELF_HOWTO_TABLE_SIZE R_PARISC_UNIMPLEMENTED + 1 diff -uprN binutils-2.16.90.0.2/bfd/elflink.c binutils-2.16.90.0.3/bfd/elflink.c --- binutils-2.16.90.0.2/bfd/elflink.c 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elflink.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" @@ -59,17 +59,15 @@ _bfd_elf_create_got_section (bfd *abfd, flags = bed->dynamic_sec_flags; - s = bfd_make_section (abfd, ".got"); + s = bfd_make_section_with_flags (abfd, ".got", flags); if (s == NULL - || !bfd_set_section_flags (abfd, s, flags) || !bfd_set_section_alignment (abfd, s, ptralign)) return FALSE; if (bed->want_got_plt) { - s = bfd_make_section (abfd, ".got.plt"); + s = bfd_make_section_with_flags (abfd, ".got.plt", flags); if (s == NULL - || !bfd_set_section_flags (abfd, s, flags) || !bfd_set_section_alignment (abfd, s, ptralign)) return FALSE; } @@ -83,7 +81,7 @@ _bfd_elf_create_got_section (bfd *abfd, bh = NULL; if (!(_bfd_generic_link_add_one_symbol (info, abfd, "_GLOBAL_OFFSET_TABLE_", BSF_GLOBAL, s, - bed->got_symbol_offset, NULL, FALSE, bed->collect, &bh))) + 0, NULL, FALSE, bed->collect, &bh))) return FALSE; h = (struct elf_link_hash_entry *) bh; h->def_regular = 1; @@ -98,7 +96,7 @@ _bfd_elf_create_got_section (bfd *abfd, } /* The first bit of the global offset table is the header. */ - s->size += bed->got_header_size + bed->got_symbol_offset; + s->size += bed->got_header_size; return TRUE; } @@ -156,17 +154,17 @@ _bfd_elf_link_create_dynamic_sections (b shared library does not. */ if (info->executable) { - s = bfd_make_section (abfd, ".interp"); - if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY)) + s = bfd_make_section_with_flags (abfd, ".interp", + flags | SEC_READONLY); + if (s == NULL) return FALSE; } if (! info->traditional_format) { - s = bfd_make_section (abfd, ".eh_frame_hdr"); + s = bfd_make_section_with_flags (abfd, ".eh_frame_hdr", + flags | SEC_READONLY); if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY) || ! bfd_set_section_alignment (abfd, s, 2)) return FALSE; elf_hash_table (info)->eh_info.hdr_sec = s; @@ -174,38 +172,37 @@ _bfd_elf_link_create_dynamic_sections (b /* Create sections to hold version informations. These are removed if they are not needed. */ - s = bfd_make_section (abfd, ".gnu.version_d"); + s = bfd_make_section_with_flags (abfd, ".gnu.version_d", + flags | SEC_READONLY); if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY) || ! bfd_set_section_alignment (abfd, s, bed->s->log_file_align)) return FALSE; - s = bfd_make_section (abfd, ".gnu.version"); + s = bfd_make_section_with_flags (abfd, ".gnu.version", + flags | SEC_READONLY); if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY) || ! bfd_set_section_alignment (abfd, s, 1)) return FALSE; - s = bfd_make_section (abfd, ".gnu.version_r"); + s = bfd_make_section_with_flags (abfd, ".gnu.version_r", + flags | SEC_READONLY); if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY) || ! bfd_set_section_alignment (abfd, s, bed->s->log_file_align)) return FALSE; - s = bfd_make_section (abfd, ".dynsym"); + s = bfd_make_section_with_flags (abfd, ".dynsym", + flags | SEC_READONLY); if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY) || ! bfd_set_section_alignment (abfd, s, bed->s->log_file_align)) return FALSE; - s = bfd_make_section (abfd, ".dynstr"); - if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY)) + s = bfd_make_section_with_flags (abfd, ".dynstr", + flags | SEC_READONLY); + if (s == NULL) return FALSE; - s = bfd_make_section (abfd, ".dynamic"); + s = bfd_make_section_with_flags (abfd, ".dynamic", flags); if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags) || ! bfd_set_section_alignment (abfd, s, bed->s->log_file_align)) return FALSE; @@ -238,9 +235,9 @@ _bfd_elf_link_create_dynamic_sections (b && ! bfd_elf_link_record_dynamic_symbol (info, h)) return FALSE; - s = bfd_make_section (abfd, ".hash"); + s = bfd_make_section_with_flags (abfd, ".hash", + flags | SEC_READONLY); if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY) || ! bfd_set_section_alignment (abfd, s, bed->s->log_file_align)) return FALSE; elf_section_data (s)->this_hdr.sh_entsize = bed->s->sizeof_hash_entry; @@ -280,9 +277,8 @@ _bfd_elf_create_dynamic_sections (bfd *a if (bed->plt_readonly) pltflags |= SEC_READONLY; - s = bfd_make_section (abfd, ".plt"); + s = bfd_make_section_with_flags (abfd, ".plt", pltflags); if (s == NULL - || ! bfd_set_section_flags (abfd, s, pltflags) || ! bfd_set_section_alignment (abfd, s, bed->plt_alignment)) return FALSE; @@ -306,10 +302,11 @@ _bfd_elf_create_dynamic_sections (bfd *a return FALSE; } - s = bfd_make_section (abfd, - bed->default_use_rela_p ? ".rela.plt" : ".rel.plt"); + s = bfd_make_section_with_flags (abfd, + (bed->default_use_rela_p + ? ".rela.plt" : ".rel.plt"), + flags | SEC_READONLY); if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY) || ! bfd_set_section_alignment (abfd, s, bed->s->log_file_align)) return FALSE; @@ -324,9 +321,10 @@ _bfd_elf_create_dynamic_sections (bfd *a image and use a R_*_COPY reloc to tell the dynamic linker to initialize them at run time. The linker script puts the .dynbss section into the .bss section of the final image. */ - s = bfd_make_section (abfd, ".dynbss"); - if (s == NULL - || ! bfd_set_section_flags (abfd, s, SEC_ALLOC | SEC_LINKER_CREATED)) + s = bfd_make_section_with_flags (abfd, ".dynbss", + (SEC_ALLOC + | SEC_LINKER_CREATED)); + if (s == NULL) return FALSE; /* The .rel[a].bss section holds copy relocs. This section is not @@ -342,11 +340,11 @@ _bfd_elf_create_dynamic_sections (bfd *a copy relocs. */ if (! info->shared) { - s = bfd_make_section (abfd, - (bed->default_use_rela_p - ? ".rela.bss" : ".rel.bss")); + s = bfd_make_section_with_flags (abfd, + (bed->default_use_rela_p + ? ".rela.bss" : ".rel.bss"), + flags | SEC_READONLY); if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY) || ! bfd_set_section_alignment (abfd, s, bed->s->log_file_align)) return FALSE; } @@ -922,7 +920,7 @@ _bfd_elf_merge_symbol (bfd *abfd, if (h->type == STT_TLS) { - ntbfd = abfd; + ntbfd = abfd; ntsec = sec; ntdef = newdef; tbfd = oldbfd; @@ -1204,6 +1202,10 @@ _bfd_elf_merge_symbol (bfd *abfd, *size_change_ok = TRUE; } + /* Skip weak definitions of symbols that are already defined. */ + if (newdef && olddef && newweak && !oldweak) + *skip = TRUE; + /* If the old symbol is from a dynamic object, and the new symbol is a definition which is not from a dynamic object, then the new symbol overrides the old symbol. Symbols from regular files @@ -1774,7 +1776,6 @@ _bfd_elf_link_assign_sym_version (struct d = (*t->match) (&t->locals, NULL, alc); if (d != NULL && h->dynindx != -1 - && info->shared && ! info->export_dynamic) (*bed->elf_backend_hide_symbol) (info, h, TRUE); } @@ -1901,7 +1902,6 @@ _bfd_elf_link_assign_sym_version (struct { h->verinfo.vertree = local_ver; if (h->dynindx != -1 - && info->shared && ! info->export_dynamic) { (*bed->elf_backend_hide_symbol) (info, h, TRUE); @@ -2134,7 +2134,9 @@ bfd_boolean _bfd_elf_link_output_relocs (bfd *output_bfd, asection *input_section, Elf_Internal_Shdr *input_rel_hdr, - Elf_Internal_Rela *internal_relocs) + Elf_Internal_Rela *internal_relocs, + struct elf_link_hash_entry **rel_hash + ATTRIBUTE_UNUSED) { Elf_Internal_Rela *irela; Elf_Internal_Rela *irelaend; @@ -3589,7 +3591,7 @@ elf_link_add_object_symbols (bfd *abfd, else if (sec->kept_section) { /* Symbols from discarded section are undefined, and have - default visibility. */ + default visibility. */ sec = bfd_und_section_ptr; isym->st_shndx = SHN_UNDEF; isym->st_other = STV_DEFAULT @@ -3624,12 +3626,12 @@ elf_link_add_object_symbols (bfd *abfd, if (tcomm == NULL) { - tcomm = bfd_make_section (abfd, ".tcommon"); - if (tcomm == NULL - || !bfd_set_section_flags (abfd, tcomm, (SEC_ALLOC - | SEC_IS_COMMON - | SEC_LINKER_CREATED - | SEC_THREAD_LOCAL))) + tcomm = bfd_make_section_with_flags (abfd, ".tcommon", + (SEC_ALLOC + | SEC_IS_COMMON + | SEC_LINKER_CREATED + | SEC_THREAD_LOCAL)); + if (tcomm == NULL) goto error_free_vers; } sec = tcomm; @@ -5282,12 +5284,8 @@ bfd_elf_size_dynamic_sections (bfd *outp if (elf_hash_table (info)->dynamic_sections_created) { - bfd_size_type dynsymcount; unsigned long section_sym_count; asection *s; - size_t bucketcount = 0; - size_t hash_entry_size; - unsigned int dtagcount; /* Set up the version definition section. */ s = bfd_get_section_by_name (dynobj, ".gnu.version_d"); @@ -5302,7 +5300,7 @@ bfd_elf_size_dynamic_sections (bfd *outp verdefs = verdefs->next; if (verdefs == NULL && !info->create_default_symver) - _bfd_strip_section_from_output (info, s); + s->flags |= SEC_EXCLUDE; else { unsigned int cdefs; @@ -5556,7 +5554,7 @@ bfd_elf_size_dynamic_sections (bfd *outp &sinfo); if (elf_tdata (output_bfd)->verref == NULL) - _bfd_strip_section_from_output (info, s); + s->flags |= SEC_EXCLUDE; else { Elf_Internal_Verneed *t; @@ -5645,6 +5643,37 @@ bfd_elf_size_dynamic_sections (bfd *outp } } + if ((elf_tdata (output_bfd)->cverrefs == 0 + && elf_tdata (output_bfd)->cverdefs == 0) + || _bfd_elf_link_renumber_dynsyms (output_bfd, info, + §ion_sym_count) == 0) + { + s = bfd_get_section_by_name (dynobj, ".gnu.version"); + s->flags |= SEC_EXCLUDE; + } + } + return TRUE; +} + +bfd_boolean +bfd_elf_size_dynsym_hash_dynstr (bfd *output_bfd, struct bfd_link_info *info) +{ + if (!is_elf_hash_table (info->hash)) + return TRUE; + + if (elf_hash_table (info)->dynamic_sections_created) + { + bfd *dynobj; + const struct elf_backend_data *bed; + asection *s; + bfd_size_type dynsymcount; + unsigned long section_sym_count; + size_t bucketcount = 0; + size_t hash_entry_size; + unsigned int dtagcount; + + dynobj = elf_hash_table (info)->dynobj; + /* Assign dynsym indicies. In a shared library we generate a section symbol for each output section, which come first. Next come all of the back-end allocated local dynamic syms, @@ -5656,17 +5685,8 @@ bfd_elf_size_dynamic_sections (bfd *outp /* Work out the size of the symbol version section. */ s = bfd_get_section_by_name (dynobj, ".gnu.version"); BFD_ASSERT (s != NULL); - if (dynsymcount == 0 - || (verdefs == NULL && elf_tdata (output_bfd)->verref == NULL - && !info->create_default_symver)) - { - _bfd_strip_section_from_output (info, s); - /* The DYNSYMCOUNT might have changed if we were going to - output a dynamic symbol table entry for S. */ - dynsymcount = _bfd_elf_link_renumber_dynsyms (output_bfd, info, - §ion_sym_count); - } - else + if (dynsymcount != 0 + && (s->flags & SEC_EXCLUDE) == 0) { s->size = dynsymcount * sizeof (Elf_External_Versym); s->contents = bfd_zalloc (output_bfd, s->size); @@ -5685,6 +5705,7 @@ bfd_elf_size_dynamic_sections (bfd *outp section as we went along in elf_link_add_object_symbols. */ s = bfd_get_section_by_name (dynobj, ".dynsym"); BFD_ASSERT (s != NULL); + bed = get_elf_backend_data (output_bfd); s->size = dynsymcount * bed->s->sizeof_sym; if (dynsymcount != 0) @@ -5950,7 +5971,7 @@ elf_link_sort_relocs (bfd *abfd, struct count = reldyn->size / ext_size; size = 0; - for (lo = reldyn->link_order_head; lo != NULL; lo = lo->next) + for (lo = reldyn->map_head.link_order; lo != NULL; lo = lo->next) if (lo->type == bfd_indirect_link_order) { asection *o = lo->u.indirect.section; @@ -5975,7 +5996,7 @@ elf_link_sort_relocs (bfd *abfd, struct else r_sym_mask = ~(bfd_vma) 0xffffffff; - for (lo = reldyn->link_order_head; lo != NULL; lo = lo->next) + for (lo = reldyn->map_head.link_order; lo != NULL; lo = lo->next) if (lo->type == bfd_indirect_link_order) { bfd_byte *erel, *erelend; @@ -6025,7 +6046,7 @@ elf_link_sort_relocs (bfd *abfd, struct qsort (s_non_relative, count - ret, sort_elt, elf_link_sort_cmp2); - for (lo = reldyn->link_order_head; lo != NULL; lo = lo->next) + for (lo = reldyn->map_head.link_order; lo != NULL; lo = lo->next) if (lo->type == bfd_indirect_link_order) { bfd_byte *erel, *erelend; @@ -6358,7 +6379,9 @@ elf_link_output_extsym (struct elf_link_ { (*_bfd_error_handler) (_("%B: %s symbol `%s' in %B is referenced by DSO"), - finfo->output_bfd, h->root.u.def.section->owner, + finfo->output_bfd, + h->root.u.def.section == bfd_abs_section_ptr + ? finfo->output_bfd : h->root.u.def.section->owner, ELF_ST_VISIBILITY (h->other) == STV_INTERNAL ? "internal" : ELF_ST_VISIBILITY (h->other) == STV_HIDDEN @@ -6759,8 +6782,7 @@ elf_link_input_bfd (struct elf_final_lin return TRUE; emit_relocs = (finfo->info->relocatable - || finfo->info->emitrelocations - || bed->elf_backend_emit_relocs); + || finfo->info->emitrelocations); symtab_hdr = &elf_tdata (input_bfd)->symtab_hdr; if (elf_bad_symtab (input_bfd)) @@ -7035,7 +7057,7 @@ elf_link_input_bfd (struct elf_final_lin bfd_set_error (bfd_error_bad_value); return FALSE; } - + while (h->root.type == bfd_link_hash_indirect || h->root.type == bfd_link_hash_warning) h = (struct elf_link_hash_entry *) h->root.u.i.link; @@ -7140,10 +7162,9 @@ elf_link_input_bfd (struct elf_final_lin Elf_Internal_Rela *irelaend; bfd_vma last_offset; struct elf_link_hash_entry **rel_hash; + struct elf_link_hash_entry **rel_hash_list; Elf_Internal_Shdr *input_rel_hdr, *input_rel_hdr2; unsigned int next_erel; - bfd_boolean (*reloc_emitter) - (bfd *, asection *, Elf_Internal_Shdr *, Elf_Internal_Rela *); bfd_boolean rela_normal; input_rel_hdr = &elf_section_data (o)->rel_hdr; @@ -7158,6 +7179,7 @@ elf_link_input_bfd (struct elf_final_lin rel_hash = (elf_section_data (o->output_section)->rel_hashes + elf_section_data (o->output_section)->rel_count + elf_section_data (o->output_section)->rel_count2); + rel_hash_list = rel_hash; last_offset = o->output_offset; if (!finfo->info->relocatable) last_offset += o->output_section->vma; @@ -7340,16 +7362,11 @@ elf_link_input_bfd (struct elf_final_lin } /* Swap out the relocs. */ - if (bed->elf_backend_emit_relocs - && !(finfo->info->relocatable - || finfo->info->emitrelocations)) - reloc_emitter = bed->elf_backend_emit_relocs; - else - reloc_emitter = _bfd_elf_link_output_relocs; - if (input_rel_hdr->sh_size != 0 - && ! (*reloc_emitter) (output_bfd, o, input_rel_hdr, - internal_relocs)) + && !bed->elf_backend_emit_relocs (output_bfd, o, + input_rel_hdr, + internal_relocs, + rel_hash_list)) return FALSE; input_rel_hdr2 = elf_section_data (o)->rel_hdr2; @@ -7357,8 +7374,11 @@ elf_link_input_bfd (struct elf_final_lin { internal_relocs += (NUM_SHDR_ENTRIES (input_rel_hdr) * bed->s->int_rels_per_ext_rel); - if (! (*reloc_emitter) (output_bfd, o, input_rel_hdr2, - internal_relocs)) + rel_hash_list += NUM_SHDR_ENTRIES (input_rel_hdr); + if (!bed->elf_backend_emit_relocs (output_bfd, o, + input_rel_hdr2, + internal_relocs, + rel_hash_list)) return FALSE; } } @@ -7645,10 +7665,10 @@ elf_fixup_link_order (bfd *abfd, asectio struct bfd_link_order **sections; asection *s; bfd_vma offset; - + seen_other = 0; seen_linkorder = 0; - for (p = o->link_order_head; p != NULL; p = p->next) + for (p = o->map_head.link_order; p != NULL; p = p->next) { if (p->type == bfd_indirect_link_order && (bfd_get_flavour ((sub = p->u.indirect.section->owner)) @@ -7677,12 +7697,12 @@ elf_fixup_link_order (bfd *abfd, asectio bfd_set_error (bfd_error_bad_value); return FALSE; } - + sections = (struct bfd_link_order **) xmalloc (seen_linkorder * sizeof (struct bfd_link_order *)); seen_linkorder = 0; - - for (p = o->link_order_head; p != NULL; p = p->next) + + for (p = o->map_head.link_order; p != NULL; p = p->next) { sections[seen_linkorder++] = p; } @@ -7796,7 +7816,7 @@ bfd_elf_final_link (bfd *abfd, struct bf struct bfd_elf_section_data *esdo = elf_section_data (o); o->reloc_count = 0; - for (p = o->link_order_head; p != NULL; p = p->next) + for (p = o->map_head.link_order; p != NULL; p = p->next) { unsigned int reloc_count = 0; struct bfd_elf_section_data *esdi = NULL; @@ -8136,7 +8156,7 @@ bfd_elf_final_link (bfd *abfd, struct bf { struct bfd_link_order *o; - for (o = sec->link_order_head; o != NULL; o = o->next) + for (o = sec->map_head.link_order; o != NULL; o = o->next) if (size < o->offset + o->size) size = o->offset + o->size; } @@ -8178,7 +8198,7 @@ bfd_elf_final_link (bfd *abfd, struct bf sub->output_has_begun = FALSE; for (o = abfd->sections; o != NULL; o = o->next) { - for (p = o->link_order_head; p != NULL; p = p->next) + for (p = o->map_head.link_order; p != NULL; p = p->next) { if (p->type == bfd_indirect_link_order && (bfd_get_flavour ((sub = p->u.indirect.section->owner)) @@ -9047,7 +9067,7 @@ elf_gc_mark_dynamic_ref_symbol (struct e return TRUE; } - + /* Mark sections containing global symbols. This is called through elf_link_hash_traverse. */ @@ -9068,7 +9088,7 @@ elf_mark_used_section (struct elf_link_h return TRUE; } - + /* Do mark and sweep of unused sections. */ bfd_boolean @@ -9138,7 +9158,7 @@ bfd_elf_gc_sections (bfd *abfd, struct b { /* _bfd_elf_discard_section_eh_frame knows how to discard orphaned FDEs so don't mark sections referenced by the - EH frame section. */ + EH frame section. */ if (strcmp (o->name, ".eh_frame") == 0) o->gc_mark = 1; else if (!_bfd_elf_gc_mark (info, o, gc_mark_hook)) @@ -9735,7 +9755,7 @@ _bfd_elf_section_already_linked (bfd *ab which we are really going to use. */ sec->output_section = bfd_abs_section_ptr; sec->kept_section = l->sec; - + if (flags & SEC_GROUP) { asection *first = elf_next_in_group (sec); @@ -9801,6 +9821,18 @@ _bfd_elf_section_already_linked (bfd *ab bfd_section_already_linked_table_insert (already_linked_list, sec); } +static void +bfd_elf_set_symbol (struct elf_link_hash_entry *h, bfd_vma val) +{ + h->root.type = bfd_link_hash_defined; + h->root.u.def.section = bfd_abs_section_ptr; + h->root.u.def.value = val; + h->def_regular = 1; + h->type = STT_OBJECT; + h->other = STV_HIDDEN | (h->other & ~ ELF_ST_VISIBILITY (-1)); + h->forced_local = 1; +} + /* Set NAME to VAL if the symbol exists and is undefined. */ void @@ -9812,14 +9844,62 @@ _bfd_elf_provide_symbol (struct bfd_link h = elf_link_hash_lookup (elf_hash_table (info), name, FALSE, FALSE, FALSE); if (h != NULL && (h->root.type == bfd_link_hash_undefined - || h->root.type == bfd_link_hash_undefweak)) + || h->root.type == bfd_link_hash_undefweak)) + bfd_elf_set_symbol (h, val); +} + +/* Set START and END to boundaries of SEC if they exist and are + undefined. */ + +void +_bfd_elf_provide_section_bound_symbols (struct bfd_link_info *info, + asection *sec, + const char *start, + const char *end) +{ + struct elf_link_hash_entry *hs, *he; + bfd_vma start_val, end_val; + bfd_boolean do_start, do_end; + + /* Check if we need them or not first. */ + hs = elf_link_hash_lookup (elf_hash_table (info), start, FALSE, + FALSE, FALSE); + do_start = (hs != NULL + && (hs->root.type == bfd_link_hash_undefined + || hs->root.type == bfd_link_hash_undefweak)); + + he = elf_link_hash_lookup (elf_hash_table (info), end, FALSE, + FALSE, FALSE); + do_end = (he != NULL + && (he->root.type == bfd_link_hash_undefined + || he->root.type == bfd_link_hash_undefweak)); + + if (!do_start && !do_end) + return; + + if (sec != NULL) { - h->root.type = bfd_link_hash_defined; - h->root.u.def.section = bfd_abs_section_ptr; - h->root.u.def.value = val; - h->def_regular = 1; - h->type = STT_OBJECT; - h->other = STV_HIDDEN | (h->other & ~ ELF_ST_VISIBILITY (-1)); - h->forced_local = 1; + start_val = sec->vma; + end_val = start_val + sec->size; + } + else + { + /* We have to choose those values very carefully. Some targets, + like alpha, may have relocation overflow with 0. "__bss_start" + should be defined in all cases. */ + struct elf_link_hash_entry *h + = elf_link_hash_lookup (elf_hash_table (info), "__bss_start", + FALSE, FALSE, FALSE); + if (h != NULL && h->root.type == bfd_link_hash_defined) + start_val = h->root.u.def.value; + else + start_val = 0; + end_val = start_val; } + + if (do_start) + bfd_elf_set_symbol (hs, start_val); + + if (do_end) + bfd_elf_set_symbol (he, end_val); } diff -uprN binutils-2.16.90.0.2/bfd/elf-m10200.c binutils-2.16.90.0.3/bfd/elf-m10200.c --- binutils-2.16.90.0.2/bfd/elf-m10200.c 2004-11-22 12:33:30.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/elf-m10200.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/elf-m10300.c binutils-2.16.90.0.3/bfd/elf-m10300.c --- binutils-2.16.90.0.2/bfd/elf-m10300.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf-m10300.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" @@ -576,9 +576,8 @@ _bfd_mn10300_elf_create_got_section (abf if (bed->plt_readonly) pltflags |= SEC_READONLY; - s = bfd_make_section (abfd, ".plt"); + s = bfd_make_section_with_flags (abfd, ".plt", pltflags); if (s == NULL - || ! bfd_set_section_flags (abfd, s, pltflags) || ! bfd_set_section_alignment (abfd, s, bed->plt_alignment)) return FALSE; @@ -601,17 +600,15 @@ _bfd_mn10300_elf_create_got_section (abf return FALSE; } - s = bfd_make_section (abfd, ".got"); + s = bfd_make_section_with_flags (abfd, ".got", flags); if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags) || ! bfd_set_section_alignment (abfd, s, ptralign)) return FALSE; if (bed->want_got_plt) { - s = bfd_make_section (abfd, ".got.plt"); + s = bfd_make_section_with_flags (abfd, ".got.plt", flags); if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags) || ! bfd_set_section_alignment (abfd, s, ptralign)) return FALSE; } @@ -623,8 +620,7 @@ _bfd_mn10300_elf_create_got_section (abf bh = NULL; if (!(_bfd_generic_link_add_one_symbol (info, abfd, "_GLOBAL_OFFSET_TABLE_", BSF_GLOBAL, s, - bed->got_symbol_offset, (const char *) NULL, FALSE, - bed->collect, &bh))) + 0, (const char *) NULL, FALSE, bed->collect, &bh))) return FALSE; h = (struct elf_link_hash_entry *) bh; h->def_regular = 1; @@ -637,7 +633,7 @@ _bfd_mn10300_elf_create_got_section (abf elf_hash_table (info)->hgot = h; /* The first bit of the global offset table is the header. */ - s->size += bed->got_header_size + bed->got_symbol_offset; + s->size += bed->got_header_size; return TRUE; } @@ -778,15 +774,15 @@ mn10300_elf_check_relocs (abfd, info, se srelgot = bfd_get_section_by_name (dynobj, ".rela.got"); if (srelgot == NULL) { - srelgot = bfd_make_section (dynobj, ".rela.got"); + srelgot = bfd_make_section_with_flags (dynobj, + ".rela.got", + (SEC_ALLOC + | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED + | SEC_READONLY)); if (srelgot == NULL - || ! bfd_set_section_flags (dynobj, srelgot, - (SEC_ALLOC - | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED - | SEC_READONLY)) || ! bfd_set_section_alignment (dynobj, srelgot, 2)) return FALSE; } @@ -812,7 +808,7 @@ mn10300_elf_check_relocs (abfd, info, se else { /* This is a global offset table entry for a local - symbol. */ + symbol. */ if (local_got_offsets == NULL) { size_t size; @@ -910,13 +906,14 @@ mn10300_elf_check_relocs (abfd, info, se { flagword flags; - sreloc = bfd_make_section (dynobj, name); flags = (SEC_HAS_CONTENTS | SEC_READONLY | SEC_IN_MEMORY | SEC_LINKER_CREATED); if ((sec->flags & SEC_ALLOC) != 0) flags |= SEC_ALLOC | SEC_LOAD; + sreloc = bfd_make_section_with_flags (dynobj, + name, + flags); if (sreloc == NULL - || ! bfd_set_section_flags (dynobj, sreloc, flags) || ! bfd_set_section_alignment (dynobj, sreloc, 2)) return FALSE; } @@ -1188,7 +1185,7 @@ mn10300_elf_final_link_relocate (howto, bfd_put_32 (input_bfd, value, hit_data); return bfd_reloc_ok; - + case R_MN10300_GOTPC16: /* Use global offset table as symbol value. */ @@ -1209,7 +1206,7 @@ mn10300_elf_final_link_relocate (howto, value -= bfd_get_section_by_name (dynobj, ".got")->output_section->vma; value += addend; - + bfd_put_32 (input_bfd, value, hit_data); return bfd_reloc_ok; @@ -1217,7 +1214,7 @@ mn10300_elf_final_link_relocate (howto, value -= bfd_get_section_by_name (dynobj, ".got")->output_section->vma; value += addend; - + if ((long) value > 0x7fffff || (long) value < -0x800000) return bfd_reloc_overflow; @@ -1230,7 +1227,7 @@ mn10300_elf_final_link_relocate (howto, value -= bfd_get_section_by_name (dynobj, ".got")->output_section->vma; value += addend; - + if ((long) value > 0xffff || (long) value < -0x10000) return bfd_reloc_overflow; @@ -1246,7 +1243,7 @@ mn10300_elf_final_link_relocate (howto, asection * splt; splt = bfd_get_section_by_name (dynobj, ".plt"); - + value = (splt->output_section->vma + splt->output_offset + h->plt.offset) - value; @@ -1269,7 +1266,7 @@ mn10300_elf_final_link_relocate (howto, asection * splt; splt = bfd_get_section_by_name (dynobj, ".plt"); - + value = (splt->output_section->vma + splt->output_offset + h->plt.offset) - value; @@ -1293,7 +1290,7 @@ mn10300_elf_final_link_relocate (howto, asection * sgot; sgot = bfd_get_section_by_name (dynobj, ".got"); - + if (h != NULL) { bfd_vma off; @@ -1375,7 +1372,7 @@ mn10300_elf_final_link_relocate (howto, return bfd_reloc_ok; } /* Fall through. */ - + default: return bfd_reloc_notsupported; } @@ -2385,7 +2382,7 @@ mn10300_elf_relax_section (abfd, sec, li splt = bfd_get_section_by_name (elf_hash_table (link_info) ->dynobj, ".plt"); - + value = ((splt->output_section->vma + splt->output_offset + h->root.plt.offset) @@ -2762,16 +2759,16 @@ mn10300_elf_relax_section (abfd, sec, li /* We can not relax 0x6b, 0x7b, 0x8b, 0x9b as no 24bit equivalent instructions exists. */ - if (code != 0x6b && code != 0x7b + if (code != 0x6b && code != 0x7b && code != 0x8b && code != 0x9b && ((code & 0x0f) == 0x09 || (code & 0x0f) == 0x08 || (code & 0x0f) == 0x0a || (code & 0x0f) == 0x0b || (code & 0x0f) == 0x0e)) { /* Not safe if the high bit is on as relaxing may - move the value out of high mem and thus not fit - in a signed 8bit value. This is currently over - conservative. */ + move the value out of high mem and thus not fit + in a signed 8bit value. This is currently over + conservative. */ if ((value & 0x80) == 0) { /* Note that we've changed the relocation contents, @@ -2859,8 +2856,8 @@ mn10300_elf_relax_section (abfd, sec, li if (code == 0xfe) { - /* Get the second opcode. */ - code = bfd_get_8 (abfd, contents + irel->r_offset - 2); + /* Get the second opcode. */ + code = bfd_get_8 (abfd, contents + irel->r_offset - 2); /* All the am33 32 -> 24 relaxing possibilities. */ /* We can not relax 0x6b, 0x7b, 0x8b, 0x9b as no 24bit @@ -2874,9 +2871,9 @@ mn10300_elf_relax_section (abfd, sec, li || (code & 0x0f) == 0x0e)) { /* Not safe if the high bit is on as relaxing may - move the value out of high mem and thus not fit - in a signed 16bit value. This is currently over - conservative. */ + move the value out of high mem and thus not fit + in a signed 16bit value. This is currently over + conservative. */ if ((value & 0x8000) == 0) { /* Note that we've changed the relocation contents, @@ -3825,8 +3822,8 @@ _bfd_mn10300_elf_merge_private_bfd_data && bfd_get_mach (obfd) < bfd_get_mach (ibfd)) { if (! bfd_set_arch_mach (obfd, bfd_get_arch (ibfd), - bfd_get_mach (ibfd))) - return FALSE; + bfd_get_mach (ibfd))) + return FALSE; } return TRUE; @@ -3925,10 +3922,11 @@ _bfd_mn10300_elf_create_dynamic_sections flags = (SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_LINKER_CREATED); - s = bfd_make_section (abfd, - bed->default_use_rela_p ? ".rela.plt" : ".rel.plt"); + s = bfd_make_section_with_flags (abfd, + (bed->default_use_rela_p + ? ".rela.plt" : ".rel.plt"), + flags | SEC_READONLY); if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY) || ! bfd_set_section_alignment (abfd, s, ptralign)) return FALSE; @@ -3953,9 +3951,9 @@ _bfd_mn10300_elf_create_dynamic_sections strcpy (relname, ".rela"); strcat (relname, secname); - s = bfd_make_section (abfd, relname); + s = bfd_make_section_with_flags (abfd, relname, + flags | SEC_READONLY); if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY) || ! bfd_set_section_alignment (abfd, s, ptralign)) return FALSE; } @@ -3969,9 +3967,9 @@ _bfd_mn10300_elf_create_dynamic_sections image and use a R_*_COPY reloc to tell the dynamic linker to initialize them at run time. The linker script puts the .dynbss section into the .bss section of the final image. */ - s = bfd_make_section (abfd, ".dynbss"); - if (s == NULL - || ! bfd_set_section_flags (abfd, s, SEC_ALLOC)) + s = bfd_make_section_with_flags (abfd, ".dynbss", + SEC_ALLOC | SEC_LINKER_CREATED); + if (s == NULL) return FALSE; /* The .rel[a].bss section holds copy relocs. This section is not @@ -3987,11 +3985,11 @@ _bfd_mn10300_elf_create_dynamic_sections copy relocs. */ if (! info->shared) { - s = bfd_make_section (abfd, - (bed->default_use_rela_p - ? ".rela.bss" : ".rel.bss")); + s = bfd_make_section_with_flags (abfd, + (bed->default_use_rela_p + ? ".rela.bss" : ".rel.bss"), + flags | SEC_READONLY); if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY) || ! bfd_set_section_alignment (abfd, s, ptralign)) return FALSE; } @@ -4291,7 +4289,7 @@ _bfd_mn10300_elf_size_dynamic_sections ( if (strip) { - _bfd_strip_section_from_output (info, s); + s->flags |= SEC_EXCLUDE; continue; } @@ -4694,11 +4692,11 @@ _bfd_mn10300_elf_reloc_type_class (const /* So we can set bits in e_flags. */ #define elf_backend_final_write_processing \ - _bfd_mn10300_elf_final_write_processing -#define elf_backend_object_p _bfd_mn10300_elf_object_p + _bfd_mn10300_elf_final_write_processing +#define elf_backend_object_p _bfd_mn10300_elf_object_p #define bfd_elf32_bfd_merge_private_bfd_data \ - _bfd_mn10300_elf_merge_private_bfd_data + _bfd_mn10300_elf_merge_private_bfd_data #define elf_backend_can_gc_sections 1 #define elf_backend_create_dynamic_sections \ diff -uprN binutils-2.16.90.0.2/bfd/elfn32-mips.c binutils-2.16.90.0.3/bfd/elfn32-mips.c --- binutils-2.16.90.0.2/bfd/elfn32-mips.c 2005-04-09 12:02:59.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elfn32-mips.c 2005-05-10 15:46:42.000000000 -0700 @@ -23,7 +23,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file handles MIPS ELF targets. SGI Irix 5 uses a slightly different MIPS ELF from other targets. This matters when linking. diff -uprN binutils-2.16.90.0.2/bfd/elf-strtab.c binutils-2.16.90.0.3/bfd/elf-strtab.c --- binutils-2.16.90.0.2/bfd/elf-strtab.c 2005-04-09 12:02:56.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elf-strtab.c 2005-05-10 15:46:41.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/elf-vxworks.c binutils-2.16.90.0.3/bfd/elf-vxworks.c --- binutils-2.16.90.0.2/bfd/elf-vxworks.c 1969-12-31 16:00:00.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/elf-vxworks.c 2005-05-10 15:46:41.000000000 -0700 @@ -0,0 +1,151 @@ +/* VxWorks support for ELF + Copyright 2005 Free Software Foundation, Inc. + + This file is part of BFD, the Binary File Descriptor library. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +/* This file provides routines used by all VxWorks targets. */ + +#include "bfd.h" +#include "sysdep.h" +#include "libbfd.h" +#include "elf-bfd.h" +#include "elf-vxworks.h" + +/* Tweak magic VxWorks symbols as they are loaded. */ +bfd_boolean +elf_vxworks_add_symbol_hook (bfd *abfd ATTRIBUTE_UNUSED, + struct bfd_link_info *info, + Elf_Internal_Sym *sym, + const char **namep, + flagword *flagsp, + asection **secp ATTRIBUTE_UNUSED, + bfd_vma *valp ATTRIBUTE_UNUSED) +{ + /* Ideally these "magic" symbols would be exported by libc.so.1 + which would be found via a DT_NEEDED tag, and then handled + specially by the linker at runtime. Except shared libraries + don't even link to libc.so.1 by default... + If the symbol is imported from, or will be put in a shared library, + give the symbol weak binding to get the desired samantics. + This transformation will be undone in + elf_i386_vxworks_link_output_symbol_hook. */ + if ((info->shared || abfd->flags & DYNAMIC) + && (strcmp (*namep, "__GOTT_INDEX__") == 0 + || strcmp (*namep, "__GOTT_BASE__") == 0)) + { + sym->st_info = ELF_ST_INFO (STB_WEAK, ELF_ST_TYPE (sym->st_info)); + *flagsp |= BSF_WEAK; + } + + return TRUE; +} + + +/* Tweak magic VxWorks symbols as they are written to the output file. */ +bfd_boolean +elf_vxworks_link_output_symbol_hook (const char *name, + Elf_Internal_Sym *sym) +{ + /* Reverse the effects of the hack in elf_vxworks_add_symbol_hook. */ + if (strcmp (name, "__GOTT_INDEX__") == 0 + || strcmp (name, "__GOTT_BASE__") == 0) + sym->st_info = ELF_ST_INFO (STB_GLOBAL, ELF_ST_TYPE (sym->st_info)); + + return TRUE; +} + + +/* Copy relocations into the output file. Fixes up relocations againt PLT + entries, then calls the generic routine. */ + +bfd_boolean +elf_vxworks_emit_relocs (bfd *output_bfd, + asection *input_section, + Elf_Internal_Shdr *input_rel_hdr, + Elf_Internal_Rela *internal_relocs, + struct elf_link_hash_entry **rel_hash) +{ + const struct elf_backend_data *bed; + Elf_Internal_Rela *irela; + Elf_Internal_Rela *irelaend; + int j; + + bed = get_elf_backend_data (output_bfd); + + irela = internal_relocs; + irelaend = irela + (NUM_SHDR_ENTRIES (input_rel_hdr) + * bed->s->int_rels_per_ext_rel); + while (irela < irelaend) + { + if ((output_bfd->flags & (DYNAMIC|EXEC_P)) + && *rel_hash + && (*rel_hash)->def_dynamic + && !(*rel_hash)->def_regular + && (*rel_hash)->root.type == bfd_link_hash_defined + && (*rel_hash)->root.u.def.section->output_section != NULL) + { + /* This is a relocation from an executable or shared library + against a symbol in a different shared library. We are + creating a definition in the output file but it does not come + from any of our normal (.o) files. ie. a PLT stub. + Normally this would be a relocation against against SHN_UNDEF + with the VMA of the PLT stub. This upsets the VxWorks loader. + Convert it to a section-relative relocation. + This gets some other symbols (for instance .dynbss), + but is conservatively correct. */ + for (j = 0; j < bed->s->int_rels_per_ext_rel; j++) + { + asection *sec = (*rel_hash)->root.u.def.section; + int this_idx = + elf_section_data (sec->output_section)->this_idx; + + irela[j].r_info = ELF32_R_INFO (this_idx, + ELF32_R_TYPE (irela[j].r_info)); + irela[j].r_addend += (*rel_hash)->root.u.def.value; + irela[j].r_addend += sec->output_offset; + } + /* Stop the generic routine adjusting this entry. */ + *rel_hash = NULL; + } + irela += bed->s->int_rels_per_ext_rel; + rel_hash++; + } + return _bfd_elf_link_output_relocs (output_bfd, input_section, + input_rel_hdr, internal_relocs, + rel_hash); +} + + +/* Set the sh_link and sh_info fields on the static plt relocation secton. */ + +void +elf_vxworks_final_write_processing (bfd *abfd, + bfd_boolean linker ATTRIBUTE_UNUSED) +{ + asection * sec; + struct bfd_elf_section_data *d; + + sec = bfd_get_section_by_name (abfd, ".rel.plt.unloaded"); + if (!sec) + return; + d = elf_section_data (sec); + d->this_hdr.sh_link = elf_tdata (abfd)->symtab_section; + sec = bfd_get_section_by_name (abfd, ".plt"); + if (sec) + d->this_hdr.sh_info = elf_section_data (sec)->this_idx; +} diff -uprN binutils-2.16.90.0.2/bfd/elf-vxworks.h binutils-2.16.90.0.3/bfd/elf-vxworks.h --- binutils-2.16.90.0.2/bfd/elf-vxworks.h 1969-12-31 16:00:00.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/elf-vxworks.h 2005-05-10 15:46:41.000000000 -0700 @@ -0,0 +1,32 @@ +/* VxWorks support for ELF + Copyright 2005 Free Software Foundation, Inc. + + This file is part of BFD, the Binary File Descriptor library. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#include "elf/common.h" +#include "elf/internal.h" + +bfd_boolean elf_vxworks_add_symbol_hook + (bfd *, struct bfd_link_info *, Elf_Internal_Sym *, const char **, + flagword *, asection **, bfd_vma *); +bfd_boolean elf_vxworks_link_output_symbol_hook + (const char *, Elf_Internal_Sym *); +bfd_boolean elf_vxworks_emit_relocs + (bfd *, asection *, Elf_Internal_Shdr *, Elf_Internal_Rela *, + struct elf_link_hash_entry **); +void elf_vxworks_final_write_processing (bfd *, bfd_boolean); diff -uprN binutils-2.16.90.0.2/bfd/elfxx-ia64.c binutils-2.16.90.0.3/bfd/elfxx-ia64.c --- binutils-2.16.90.0.2/bfd/elfxx-ia64.c 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elfxx-ia64.c 2005-05-10 15:46:42.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" @@ -28,6 +28,16 @@ #include "objalloc.h" #include "hashtab.h" +#define ARCH_SIZE NN + +#if ARCH_SIZE == 64 +#define LOG_SECTION_ALIGN 3 +#endif + +#if ARCH_SIZE == 32 +#define LOG_SECTION_ALIGN 2 +#endif + /* THE RULES for all the stuff the linker creates -- GOT Entries created in response to LTOFF or LTOFF_FPTR @@ -1426,11 +1436,11 @@ elfNN_ia64_add_symbol_hook (abfd, info, if (scomm == NULL) { - scomm = bfd_make_section (abfd, ".scommon"); - if (scomm == NULL - || !bfd_set_section_flags (abfd, scomm, (SEC_ALLOC - | SEC_IS_COMMON - | SEC_LINKER_CREATED))) + scomm = bfd_make_section_with_flags (abfd, ".scommon", + (SEC_ALLOC + | SEC_IS_COMMON + | SEC_LINKER_CREATED)); + if (scomm == NULL) return FALSE; } @@ -1558,7 +1568,7 @@ elfNN_ia64_modify_segment_map (abfd, inf int i; for (i = m->count - 1; i >= 0; --i) { - struct bfd_link_order *order = m->sections[i]->link_order_head; + struct bfd_link_order *order = m->sections[i]->map_head.link_order; while (order) { if (order->type == bfd_indirect_link_order) @@ -1864,25 +1874,25 @@ elfNN_ia64_create_dynamic_sections (abfd if (!get_pltoff (abfd, info, ia64_info)) return FALSE; - s = bfd_make_section(abfd, ".rela.IA_64.pltoff"); + s = bfd_make_section_with_flags (abfd, ".rela.IA_64.pltoff", + (SEC_ALLOC | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED + | SEC_READONLY)); if (s == NULL - || !bfd_set_section_flags (abfd, s, (SEC_ALLOC | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED - | SEC_READONLY)) - || !bfd_set_section_alignment (abfd, s, 3)) + || !bfd_set_section_alignment (abfd, s, LOG_SECTION_ALIGN)) return FALSE; ia64_info->rel_pltoff_sec = s; - s = bfd_make_section(abfd, ".rela.got"); + s = bfd_make_section_with_flags (abfd, ".rela.got", + (SEC_ALLOC | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED + | SEC_READONLY)); if (s == NULL - || !bfd_set_section_flags (abfd, s, (SEC_ALLOC | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED - | SEC_READONLY)) - || !bfd_set_section_alignment (abfd, s, 3)) + || !bfd_set_section_alignment (abfd, s, LOG_SECTION_ALIGN)) return FALSE; ia64_info->rel_got_sec = s; @@ -2028,15 +2038,14 @@ get_fptr (abfd, info, ia64_info) if (!dynobj) ia64_info->root.dynobj = dynobj = abfd; - fptr = bfd_make_section (dynobj, ".opd"); + fptr = bfd_make_section_with_flags (dynobj, ".opd", + (SEC_ALLOC + | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | (info->pie ? 0 : SEC_READONLY) + | SEC_LINKER_CREATED)); if (!fptr - || !bfd_set_section_flags (dynobj, fptr, - (SEC_ALLOC - | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | (info->pie ? 0 : SEC_READONLY) - | SEC_LINKER_CREATED)) || !bfd_set_section_alignment (abfd, fptr, 4)) { BFD_ASSERT (0); @@ -2048,15 +2057,15 @@ get_fptr (abfd, info, ia64_info) if (info->pie) { asection *fptr_rel; - fptr_rel = bfd_make_section(dynobj, ".rela.opd"); + fptr_rel = bfd_make_section_with_flags (dynobj, ".rela.opd", + (SEC_ALLOC | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED + | SEC_READONLY)); if (fptr_rel == NULL - || !bfd_set_section_flags (dynobj, fptr_rel, - (SEC_ALLOC | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED - | SEC_READONLY)) - || !bfd_set_section_alignment (abfd, fptr_rel, 3)) + || !bfd_set_section_alignment (abfd, fptr_rel, + LOG_SECTION_ALIGN)) { BFD_ASSERT (0); return NULL; @@ -2085,15 +2094,15 @@ get_pltoff (abfd, info, ia64_info) if (!dynobj) ia64_info->root.dynobj = dynobj = abfd; - pltoff = bfd_make_section (dynobj, ELF_STRING_ia64_pltoff); + pltoff = bfd_make_section_with_flags (dynobj, + ELF_STRING_ia64_pltoff, + (SEC_ALLOC + | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_SMALL_DATA + | SEC_LINKER_CREATED)); if (!pltoff - || !bfd_set_section_flags (dynobj, pltoff, - (SEC_ALLOC - | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_SMALL_DATA - | SEC_LINKER_CREATED)) || !bfd_set_section_alignment (abfd, pltoff, 4)) { BFD_ASSERT (0); @@ -2137,16 +2146,15 @@ get_reloc_section (abfd, ia64_info, sec, srel = bfd_get_section_by_name (dynobj, srel_name); if (srel == NULL && create) { - srel = bfd_make_section (dynobj, srel_name); + srel = bfd_make_section_with_flags (dynobj, srel_name, + (SEC_ALLOC | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED + | SEC_READONLY)); if (srel == NULL - || !bfd_set_section_flags (dynobj, srel, - (SEC_ALLOC - | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED - | SEC_READONLY)) - || !bfd_set_section_alignment (dynobj, srel, 3)) + || !bfd_set_section_alignment (dynobj, srel, + LOG_SECTION_ALIGN)) return NULL; } @@ -2270,11 +2278,13 @@ elfNN_ia64_check_relocs (abfd, info, sec info->flags |= DF_STATIC_TLS; break; + case R_IA64_DTPREL32MSB: + case R_IA64_DTPREL32LSB: case R_IA64_DTPREL64MSB: case R_IA64_DTPREL64LSB: if (info->shared || maybe_dynamic) need_entry = NEED_DYNREL; - dynrel_type = R_IA64_DTPREL64LSB; + dynrel_type = R_IA64_DTPRELNNLSB; break; case R_IA64_LTOFF_DTPREL22: @@ -2310,7 +2320,7 @@ elfNN_ia64_check_relocs (abfd, info, sec need_entry = NEED_FPTR | NEED_DYNREL; else need_entry = NEED_FPTR; - dynrel_type = R_IA64_FPTR64LSB; + dynrel_type = R_IA64_FPTRNNLSB; break; case R_IA64_LTOFF22: @@ -2360,7 +2370,7 @@ elfNN_ia64_check_relocs (abfd, info, sec /* Shared objects will always need at least a REL relocation. */ if (info->shared || maybe_dynamic) need_entry = NEED_DYNREL; - dynrel_type = R_IA64_DIR64LSB; + dynrel_type = R_IA64_DIRNNLSB; break; case R_IA64_IPLTMSB: @@ -2379,7 +2389,7 @@ elfNN_ia64_check_relocs (abfd, info, sec case R_IA64_PCREL64LSB: if (maybe_dynamic) need_entry = NEED_DYNREL; - dynrel_type = R_IA64_PCREL64LSB; + dynrel_type = R_IA64_PCRELNNLSB; break; } @@ -2543,7 +2553,7 @@ allocate_global_fptr_got (dyn_i, data) if (dyn_i->want_got && dyn_i->want_fptr - && elfNN_ia64_dynamic_symbol_p (dyn_i->h, x->info, R_IA64_FPTR64LSB)) + && elfNN_ia64_dynamic_symbol_p (dyn_i->h, x->info, R_IA64_FPTRNNLSB)) { dyn_i->got_offset = x->ofs; x->ofs += 8; @@ -2750,6 +2760,7 @@ allocate_dynrel_entries (dyn_i, data) switch (rent->type) { + case R_IA64_FPTR32LSB: case R_IA64_FPTR64LSB: /* Allocate one iff !want_fptr and not PIE, which by this point will be true only if we're actually allocating one statically @@ -2758,10 +2769,12 @@ allocate_dynrel_entries (dyn_i, data) if (dyn_i->want_fptr && !x->info->pie) continue; break; + case R_IA64_PCREL32LSB: case R_IA64_PCREL64LSB: if (!dynamic_symbol) continue; break; + case R_IA64_DIR32LSB: case R_IA64_DIR64LSB: if (!dynamic_symbol && !shared) continue; @@ -2774,6 +2787,7 @@ allocate_dynrel_entries (dyn_i, data) if (!dynamic_symbol) count *= 2; break; + case R_IA64_DTPREL32LSB: case R_IA64_TPREL64LSB: case R_IA64_DTPREL64LSB: case R_IA64_DTPMOD64LSB: @@ -3052,7 +3066,7 @@ elfNN_ia64_size_dynamic_sections (output } if (strip) - _bfd_strip_section_from_output (info, sec); + sec->flags |= SEC_EXCLUDE; else { /* Allocate memory for the section contents. */ @@ -3413,6 +3427,7 @@ set_got_entry (abfd, info, dyn_i, dynind } got_offset = dyn_i->dtpmod_offset; break; + case R_IA64_DTPREL32LSB: case R_IA64_DTPREL64LSB: done = dyn_i->dtprel_done; dyn_i->dtprel_done = TRUE; @@ -3437,9 +3452,12 @@ set_got_entry (abfd, info, dyn_i, dynind && (!dyn_i->h || ELF_ST_VISIBILITY (dyn_i->h->other) == STV_DEFAULT || dyn_i->h->root.type != bfd_link_hash_undefweak) + && dyn_r_type != R_IA64_DTPREL32LSB && dyn_r_type != R_IA64_DTPREL64LSB) || elfNN_ia64_dynamic_symbol_p (dyn_i->h, info, dyn_r_type) - || (dynindx != -1 && dyn_r_type == R_IA64_FPTR64LSB)) + || (dynindx != -1 + && (dyn_r_type == R_IA64_FPTR32LSB + || dyn_r_type == R_IA64_FPTR64LSB))) && (!dyn_i->want_ltoff_fptr || !info->pie || !dyn_i->h @@ -3448,9 +3466,10 @@ set_got_entry (abfd, info, dyn_i, dynind if (dynindx == -1 && dyn_r_type != R_IA64_TPREL64LSB && dyn_r_type != R_IA64_DTPMOD64LSB + && dyn_r_type != R_IA64_DTPREL32LSB && dyn_r_type != R_IA64_DTPREL64LSB) { - dyn_r_type = R_IA64_REL64LSB; + dyn_r_type = R_IA64_RELNNLSB; dynindx = 0; addend = value; } @@ -3459,6 +3478,18 @@ set_got_entry (abfd, info, dyn_i, dynind { switch (dyn_r_type) { + case R_IA64_REL32LSB: + dyn_r_type = R_IA64_REL32MSB; + break; + case R_IA64_DIR32LSB: + dyn_r_type = R_IA64_DIR32MSB; + break; + case R_IA64_FPTR32LSB: + dyn_r_type = R_IA64_FPTR32MSB; + break; + case R_IA64_DTPREL32LSB: + dyn_r_type = R_IA64_DTPREL32MSB; + break; case R_IA64_REL64LSB: dyn_r_type = R_IA64_REL64MSB; break; @@ -3588,9 +3619,9 @@ set_pltoff_entry (abfd, info, dyn_i, val unsigned int dyn_r_type; if (bfd_big_endian (abfd)) - dyn_r_type = R_IA64_REL64MSB; + dyn_r_type = R_IA64_RELNNMSB; else - dyn_r_type = R_IA64_REL64LSB; + dyn_r_type = R_IA64_RELNNLSB; elfNN_ia64_install_dyn_reloc (abfd, NULL, pltoff_sec, ia64_info->rel_pltoff_sec, @@ -3598,7 +3629,7 @@ set_pltoff_entry (abfd, info, dyn_i, val dyn_r_type, 0, value); elfNN_ia64_install_dyn_reloc (abfd, NULL, pltoff_sec, ia64_info->rel_pltoff_sec, - dyn_i->pltoff_offset + 8, + dyn_i->pltoff_offset + ARCH_SIZE / 8, dyn_r_type, 0, gp); } @@ -3616,7 +3647,7 @@ set_pltoff_entry (abfd, info, dyn_i, val /* Return the base VMA address which should be subtracted from real addresses when resolving @tprel() relocation. Main program TLS (whose template starts at PT_TLS p_vaddr) - is assigned offset round(16, PT_TLS p_align). */ + is assigned offset round(2 * size of pointer, PT_TLS p_align). */ static bfd_vma elfNN_ia64_tprel_base (info) @@ -3625,7 +3656,8 @@ elfNN_ia64_tprel_base (info) asection *tls_sec = elf_hash_table (info)->tls_sec; BFD_ASSERT (tls_sec != NULL); - return tls_sec->vma - align_power ((bfd_vma) 16, tls_sec->alignment_power); + return tls_sec->vma - align_power ((bfd_vma) ARCH_SIZE / 4, + tls_sec->alignment_power); } /* Return the base VMA address which should be subtracted from real addresses @@ -4096,7 +4128,7 @@ elfNN_ia64_relocate_section (output_bfd, case R_IA64_LTOFF64I: dyn_i = get_dyn_sym_info (ia64_info, h, input_bfd, rel, FALSE); value = set_got_entry (input_bfd, info, dyn_i, (h ? h->dynindx : -1), - rel->r_addend, value, R_IA64_DIR64LSB); + rel->r_addend, value, R_IA64_DIRNNLSB); value -= gp_val; r = elfNN_ia64_install_value (hit_addr, value, r_type); break; @@ -4149,7 +4181,7 @@ elfNN_ia64_relocate_section (output_bfd, } dynindx = 0; addend = value; - dyn_r_type = r_type + R_IA64_REL64LSB - R_IA64_FPTR64LSB; + dyn_r_type = r_type + R_IA64_RELNNLSB - R_IA64_FPTRNNLSB; } else if (h) { @@ -4213,7 +4245,7 @@ elfNN_ia64_relocate_section (output_bfd, } value = set_got_entry (output_bfd, info, dyn_i, dynindx, - rel->r_addend, value, R_IA64_FPTR64LSB); + rel->r_addend, value, R_IA64_FPTRNNLSB); value -= gp_val; r = elfNN_ia64_install_value (hit_addr, value, r_type); } @@ -4412,6 +4444,8 @@ elfNN_ia64_relocate_section (output_bfd, case R_IA64_DTPREL14: case R_IA64_DTPREL22: case R_IA64_DTPREL64I: + case R_IA64_DTPREL32LSB: + case R_IA64_DTPREL32MSB: case R_IA64_DTPREL64LSB: case R_IA64_DTPREL64MSB: value -= elfNN_ia64_dtprel_base (info); @@ -4450,7 +4484,7 @@ elfNN_ia64_relocate_section (output_bfd, case R_IA64_LTOFF_DTPREL22: if (!dynamic_symbol_p) value -= elfNN_ia64_dtprel_base (info); - got_r_type = R_IA64_DTPREL64LSB; + got_r_type = R_IA64_DTPRELNNLSB; break; } dyn_i = get_dyn_sym_info (ia64_info, h, input_bfd, rel, FALSE); @@ -4874,18 +4908,50 @@ elfNN_ia64_reloc_type_class (rela) } } -static struct bfd_elf_special_section const elfNN_ia64_special_sections[]= +static struct bfd_elf_special_section const + ia64_special_sections_s[]= { { ".sbss", 5, -1, SHT_NOBITS, SHF_ALLOC + SHF_WRITE + SHF_IA_64_SHORT }, { ".sdata", 6, -1, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE + SHF_IA_64_SHORT }, - { NULL, 0, 0, 0, 0 } + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const * + elfNN_ia64_special_sections[27] = +{ + NULL, /* 'a' */ + NULL, /* 'b' */ + NULL, /* 'c' */ + NULL, /* 'd' */ + NULL, /* 'e' */ + NULL, /* 'f' */ + NULL, /* 'g' */ + NULL, /* 'h' */ + NULL, /* 'i' */ + NULL, /* 'j' */ + NULL, /* 'k' */ + NULL, /* 'l' */ + NULL, /* 'm' */ + NULL, /* 'n' */ + NULL, /* 'o' */ + NULL, /* 'p' */ + NULL, /* 'q' */ + NULL, /* 'r' */ + ia64_special_sections_s, /* 's' */ + NULL, /* 't' */ + NULL, /* 'u' */ + NULL, /* 'v' */ + NULL, /* 'w' */ + NULL, /* 'x' */ + NULL, /* 'y' */ + NULL, /* 'z' */ + NULL /* other */ }; static bfd_boolean elfNN_ia64_object_p (bfd *abfd) { asection *sec; - asection **tail; asection *group, *unwi, *unw; flagword flags; const char *name; @@ -4926,19 +4992,16 @@ elfNN_ia64_object_p (bfd *abfd) strcpy (stpcpy (unw_name, ".gnu.linkonce.ia64unw."), name); unw = bfd_get_section_by_name (abfd, unw_name); - tail = abfd->section_tail; - /* We need to create a fake group section for it and its unwind sections. */ - group = bfd_make_section_anyway (abfd, name); - if (group == NULL - || ! bfd_set_section_flags (abfd, group, flags)) + group = bfd_make_section_anyway_with_flags (abfd, name, + flags); + if (group == NULL) return FALSE; /* Move the fake group section to the beginning. */ - BFD_ASSERT (*tail == group); - bfd_section_list_remove (abfd, tail); - bfd_section_list_insert (abfd, &abfd->sections, group); + bfd_section_list_remove (abfd, group); + bfd_section_list_prepend (abfd, group); elf_next_in_group (group) = sec; diff -uprN binutils-2.16.90.0.2/bfd/elfxx-mips.c binutils-2.16.90.0.3/bfd/elfxx-mips.c --- binutils-2.16.90.0.2/bfd/elfxx-mips.c 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elfxx-mips.c 2005-05-10 15:46:42.000000000 -0700 @@ -23,7 +23,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file handles functionality common to the different MIPS ABI's. */ @@ -962,7 +962,7 @@ mips_elf_create_procedure_table (void *h /* Skip this section later on (I don't think this currently matters, but someday it might). */ - s->link_order_head = NULL; + s->map_head.link_order = NULL; if (epdr != NULL) free (epdr); @@ -1908,15 +1908,14 @@ mips_elf_rel_dyn_section (bfd *dynobj, b sreloc = bfd_get_section_by_name (dynobj, dname); if (sreloc == NULL && create_p) { - sreloc = bfd_make_section (dynobj, dname); + sreloc = bfd_make_section_with_flags (dynobj, dname, + (SEC_ALLOC + | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED + | SEC_READONLY)); if (sreloc == NULL - || ! bfd_set_section_flags (dynobj, sreloc, - (SEC_ALLOC - | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED - | SEC_READONLY)) || ! bfd_set_section_alignment (dynobj, sreloc, MIPS_ELF_LOG_FILE_ALIGN (dynobj))) return NULL; @@ -3512,9 +3511,8 @@ mips_elf_create_compact_rel_section flags = (SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_LINKER_CREATED | SEC_READONLY); - s = bfd_make_section (abfd, ".compact_rel"); + s = bfd_make_section_with_flags (abfd, ".compact_rel", flags); if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags) || ! bfd_set_section_alignment (abfd, s, MIPS_ELF_LOG_FILE_ALIGN (abfd))) return FALSE; @@ -3555,9 +3553,8 @@ mips_elf_create_got_section (bfd *abfd, /* We have to use an alignment of 2**4 here because this is hardcoded in the function stub generation and in the linker script. */ - s = bfd_make_section (abfd, ".got"); + s = bfd_make_section_with_flags (abfd, ".got", flags); if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags) || ! bfd_set_section_alignment (abfd, s, 4)) return FALSE; @@ -5588,9 +5585,10 @@ _bfd_mips_elf_create_dynamic_sections (b if (bfd_get_section_by_name (abfd, MIPS_ELF_STUB_SECTION_NAME (abfd)) == NULL) { - s = bfd_make_section (abfd, MIPS_ELF_STUB_SECTION_NAME (abfd)); + s = bfd_make_section_with_flags (abfd, + MIPS_ELF_STUB_SECTION_NAME (abfd), + flags | SEC_CODE); if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags | SEC_CODE) || ! bfd_set_section_alignment (abfd, s, MIPS_ELF_LOG_FILE_ALIGN (abfd))) return FALSE; @@ -5600,9 +5598,9 @@ _bfd_mips_elf_create_dynamic_sections (b && !info->shared && bfd_get_section_by_name (abfd, ".rld_map") == NULL) { - s = bfd_make_section (abfd, ".rld_map"); + s = bfd_make_section_with_flags (abfd, ".rld_map", + flags &~ (flagword) SEC_READONLY); if (s == NULL - || ! bfd_set_section_flags (abfd, s, flags &~ (flagword) SEC_READONLY) || ! bfd_set_section_alignment (abfd, s, MIPS_ELF_LOG_FILE_ALIGN (abfd))) return FALSE; @@ -6796,7 +6794,7 @@ _bfd_mips_elf_size_dynamic_sections (bfd if (strip) { - _bfd_strip_section_from_output (info, s); + s->flags |= SEC_EXCLUDE; continue; } @@ -8870,7 +8868,6 @@ _bfd_mips_elf_link_hash_table_create (bf bfd_boolean _bfd_mips_elf_final_link (bfd *abfd, struct bfd_link_info *info) { - asection **secpp; asection *o; struct bfd_link_order *p; asection *reginfo_sec, *mdebug_sec, *gptab_data_sec, *gptab_bss_sec; @@ -8987,7 +8984,7 @@ _bfd_mips_elf_final_link (bfd *abfd, str /* We have found the .reginfo section in the output file. Look through all the link_orders comprising it and merge the information together. */ - for (p = o->link_order_head; p != NULL; p = p->next) + for (p = o->map_head.link_order; p != NULL; p = p->next) { asection *input_section; bfd *input_bfd; @@ -9030,7 +9027,7 @@ _bfd_mips_elf_final_link (bfd *abfd, str /* Skip this section later on (I don't think this currently matters, but someday it might). */ - o->link_order_head = NULL; + o->map_head.link_order = NULL; reginfo_sec = o; } @@ -9103,7 +9100,7 @@ _bfd_mips_elf_final_link (bfd *abfd, str return FALSE; } - for (p = o->link_order_head; p != NULL; p = p->next) + for (p = o->map_head.link_order; p != NULL; p = p->next) { asection *input_section; bfd *input_bfd; @@ -9214,9 +9211,10 @@ _bfd_mips_elf_final_link (bfd *abfd, str flagword flags = (SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_LINKER_CREATED | SEC_READONLY); - rtproc_sec = bfd_make_section (abfd, ".rtproc"); + rtproc_sec = bfd_make_section_with_flags (abfd, + ".rtproc", + flags); if (rtproc_sec == NULL - || ! bfd_set_section_flags (abfd, rtproc_sec, flags) || ! bfd_set_section_alignment (abfd, rtproc_sec, 4)) return FALSE; } @@ -9243,7 +9241,7 @@ _bfd_mips_elf_final_link (bfd *abfd, str /* Skip this section later on (I don't think this currently matters, but someday it might). */ - o->link_order_head = NULL; + o->map_head.link_order = NULL; mdebug_sec = o; } @@ -9262,7 +9260,7 @@ _bfd_mips_elf_final_link (bfd *abfd, str not used in executables files. */ if (! info->relocatable) { - for (p = o->link_order_head; p != NULL; p = p->next) + for (p = o->map_head.link_order; p != NULL; p = p->next) { asection *input_section; @@ -9282,14 +9280,10 @@ _bfd_mips_elf_final_link (bfd *abfd, str /* Skip this section later on (I don't think this currently matters, but someday it might). */ - o->link_order_head = NULL; + o->map_head.link_order = NULL; /* Really remove the section. */ - for (secpp = &abfd->sections; - *secpp != o; - secpp = &(*secpp)->next) - ; - bfd_section_list_remove (abfd, secpp); + bfd_section_list_remove (abfd, o); --abfd->section_count; continue; @@ -9336,7 +9330,7 @@ _bfd_mips_elf_final_link (bfd *abfd, str tab[0].gt_header.gt_unused = 0; /* Combine the input sections. */ - for (p = o->link_order_head; p != NULL; p = p->next) + for (p = o->map_head.link_order; p != NULL; p = p->next) { asection *input_section; bfd *input_bfd; @@ -9459,7 +9453,7 @@ _bfd_mips_elf_final_link (bfd *abfd, str /* Skip this section later on (I don't think this currently matters, but someday it might). */ - o->link_order_head = NULL; + o->map_head.link_order = NULL; } } @@ -9898,13 +9892,63 @@ _bfd_mips_elf_print_private_bfd_data (bf return TRUE; } -struct bfd_elf_special_section const _bfd_mips_elf_special_sections[]= +static struct bfd_elf_special_section const + mips_special_sections_l[]= { - { ".sdata", 6, -2, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE + SHF_MIPS_GPREL }, - { ".sbss", 5, -2, SHT_NOBITS, SHF_ALLOC + SHF_WRITE + SHF_MIPS_GPREL }, { ".lit4", 5, 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE + SHF_MIPS_GPREL }, { ".lit8", 5, 0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE + SHF_MIPS_GPREL }, - { ".ucode", 6, 0, SHT_MIPS_UCODE, 0 }, + { NULL, 0, 0, 0, 0 } +}; + +static struct bfd_elf_special_section const + mips_special_sections_m[]= +{ { ".mdebug", 7, 0, SHT_MIPS_DEBUG, 0 }, { NULL, 0, 0, 0, 0 } }; + +static struct bfd_elf_special_section const + mips_special_sections_s[]= +{ + { ".sdata", 6, -2, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE + SHF_MIPS_GPREL }, + { ".sbss", 5, -2, SHT_NOBITS, SHF_ALLOC + SHF_WRITE + SHF_MIPS_GPREL }, +}; + +static struct bfd_elf_special_section const + mips_special_sections_u[]= +{ + { ".ucode", 6, 0, SHT_MIPS_UCODE, 0 }, + { NULL, 0, 0, 0, 0 } +}; + +struct bfd_elf_special_section const * + _bfd_mips_elf_special_sections[27] = +{ + NULL, /* 'a' */ + NULL, /* 'b' */ + NULL, /* 'c' */ + NULL, /* 'd' */ + NULL, /* 'e' */ + NULL, /* 'f' */ + NULL, /* 'g' */ + NULL, /* 'h' */ + NULL, /* 'i' */ + NULL, /* 'j' */ + NULL, /* 'k' */ + mips_special_sections_l, /* 'l' */ + mips_special_sections_m, /* 'm' */ + NULL, /* 'n' */ + NULL, /* 'o' */ + NULL, /* 'p' */ + NULL, /* 'q' */ + NULL, /* 'r' */ + mips_special_sections_s, /* 'm' */ + NULL, /* 't' */ + mips_special_sections_u, /* 'u' */ + NULL, /* 'v' */ + NULL, /* 'w' */ + NULL, /* 'x' */ + NULL, /* 'y' */ + NULL, /* 'z' */ + NULL /* other */ +}; diff -uprN binutils-2.16.90.0.2/bfd/elfxx-mips.h binutils-2.16.90.0.3/bfd/elfxx-mips.h --- binutils-2.16.90.0.2/bfd/elfxx-mips.h 2005-04-09 12:02:59.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elfxx-mips.h 2005-05-10 15:46:42.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "elf/common.h" #include "elf/internal.h" @@ -126,7 +126,7 @@ extern bfd_boolean _bfd_mips_relax_secti extern bfd_vma _bfd_mips_elf_sign_extend (bfd_vma, int); -extern struct bfd_elf_special_section const _bfd_mips_elf_special_sections[]; +extern struct bfd_elf_special_section const *_bfd_mips_elf_special_sections[]; #define elf_backend_name_local_section_symbols \ _bfd_mips_elf_name_local_section_symbols #define elf_backend_special_sections _bfd_mips_elf_special_sections diff -uprN binutils-2.16.90.0.2/bfd/elfxx-sparc.c binutils-2.16.90.0.3/bfd/elfxx-sparc.c --- binutils-2.16.90.0.2/bfd/elfxx-sparc.c 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elfxx-sparc.c 2005-05-10 15:46:42.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file handles functionality common to the different SPARC ABI's. */ @@ -829,14 +829,14 @@ create_got_section (bfd *dynobj, struct htab->sgot = bfd_get_section_by_name (dynobj, ".got"); BFD_ASSERT (htab->sgot != NULL); - htab->srelgot = bfd_make_section (dynobj, ".rela.got"); + htab->srelgot = bfd_make_section_with_flags (dynobj, ".rela.got", + SEC_ALLOC + | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY + | SEC_LINKER_CREATED + | SEC_READONLY); if (htab->srelgot == NULL - || ! bfd_set_section_flags (dynobj, htab->srelgot, SEC_ALLOC - | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY - | SEC_LINKER_CREATED - | SEC_READONLY) || ! bfd_set_section_alignment (dynobj, htab->srelgot, htab->word_align_power)) return FALSE; @@ -1345,13 +1345,14 @@ _bfd_sparc_elf_check_relocs (bfd *abfd, { flagword flags; - sreloc = bfd_make_section (dynobj, name); flags = (SEC_HAS_CONTENTS | SEC_READONLY | SEC_IN_MEMORY | SEC_LINKER_CREATED); if ((sec->flags & SEC_ALLOC) != 0) flags |= SEC_ALLOC | SEC_LOAD; + sreloc = bfd_make_section_with_flags (dynobj, + name, + flags); if (sreloc == NULL - || ! bfd_set_section_flags (dynobj, sreloc, flags) || ! bfd_set_section_alignment (dynobj, sreloc, htab->word_align_power)) return FALSE; @@ -2181,7 +2182,7 @@ _bfd_sparc_elf_size_dynamic_sections (bf if (strip) { - _bfd_strip_section_from_output (info, s); + s->flags |= SEC_EXCLUDE; continue; } diff -uprN binutils-2.16.90.0.2/bfd/elfxx-sparc.h binutils-2.16.90.0.3/bfd/elfxx-sparc.h --- binutils-2.16.90.0.2/bfd/elfxx-sparc.h 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elfxx-sparc.h 2005-05-10 15:46:42.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "elf/common.h" #include "elf/internal.h" diff -uprN binutils-2.16.90.0.2/bfd/elfxx-target.h binutils-2.16.90.0.3/bfd/elfxx-target.h --- binutils-2.16.90.0.2/bfd/elfxx-target.h 2005-04-09 12:02:59.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/elfxx-target.h 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This structure contains everything that BFD knows about a target. It includes things like its byte order, name, what routines to call @@ -72,9 +72,6 @@ #define bfd_elfNN_get_section_contents_in_window \ _bfd_generic_get_section_contents_in_window -#ifndef elf_backend_got_symbol_offset -#define elf_backend_got_symbol_offset (bfd_vma) 0 -#endif #ifndef elf_backend_can_refcount #define elf_backend_can_refcount 0 #endif @@ -416,7 +413,7 @@ #define elf_backend_merge_symbol_attribute NULL #endif #ifndef elf_backend_emit_relocs -#define elf_backend_emit_relocs NULL +#define elf_backend_emit_relocs _bfd_elf_link_output_relocs #endif #ifndef elf_backend_count_relocs #define elf_backend_count_relocs NULL @@ -527,7 +524,7 @@ static const struct elf_backend_data elf ELF_MACHINE_CODE, /* elf_machine_code */ ELF_MAXPAGESIZE, /* maxpagesize */ ELF_MINPAGESIZE, /* minpagesize */ - ELF_DYNAMIC_SEC_FLAGS, /* dynamic_sec_flags */ + ELF_DYNAMIC_SEC_FLAGS, /* dynamic_sec_flags */ elf_info_to_howto, elf_info_to_howto_rel, elf_backend_sym_is_global, @@ -592,7 +589,6 @@ static const struct elf_backend_data elf ELF_MACHINE_ALT2, &elf_backend_size_info, elf_backend_special_sections, - elf_backend_got_symbol_offset, elf_backend_got_header_size, elf_backend_collect, elf_backend_type_change_ok, diff -uprN binutils-2.16.90.0.2/bfd/epoc-pe-arm.c binutils-2.16.90.0.3/bfd/epoc-pe-arm.c --- binutils-2.16.90.0.2/bfd/epoc-pe-arm.c 2001-03-09 11:15:59.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/epoc-pe-arm.c 2005-05-10 15:46:42.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define TARGET_UNDERSCORE 0 #define USER_LABEL_PREFIX "" diff -uprN binutils-2.16.90.0.2/bfd/epoc-pei-arm.c binutils-2.16.90.0.3/bfd/epoc-pei-arm.c --- binutils-2.16.90.0.2/bfd/epoc-pei-arm.c 2001-03-09 11:15:59.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/epoc-pei-arm.c 2005-05-10 15:46:42.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define TARGET_UNDERSCORE 0 #define USER_LABEL_PREFIX "" diff -uprN binutils-2.16.90.0.2/bfd/format.c binutils-2.16.90.0.3/bfd/format.c --- binutils-2.16.90.0.2/bfd/format.c 2005-04-09 12:02:59.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/format.c 2005-05-10 15:46:42.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* SECTION diff -uprN binutils-2.16.90.0.2/bfd/freebsd.h binutils-2.16.90.0.3/bfd/freebsd.h --- binutils-2.16.90.0.2/bfd/freebsd.h 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/freebsd.h 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* FreeBSD ZMAGIC files never have the header in the text. */ diff -uprN binutils-2.16.90.0.2/bfd/gen-aout.c binutils-2.16.90.0.3/bfd/gen-aout.c --- binutils-2.16.90.0.2/bfd/gen-aout.c 2004-01-14 13:07:43.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/gen-aout.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "/usr/include/a.out.h" #include diff -uprN binutils-2.16.90.0.2/bfd/genlink.h binutils-2.16.90.0.3/bfd/genlink.h --- binutils-2.16.90.0.2/bfd/genlink.h 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/genlink.h 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef GENLINK_H #define GENLINK_H diff -uprN binutils-2.16.90.0.2/bfd/hash.c binutils-2.16.90.0.3/bfd/hash.c --- binutils-2.16.90.0.2/bfd/hash.c 2005-04-09 12:02:59.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/hash.c 2005-05-10 15:46:42.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/host-aout.c binutils-2.16.90.0.3/bfd/host-aout.c --- binutils-2.16.90.0.2/bfd/host-aout.c 2001-10-04 14:35:43.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/host-aout.c 2005-05-10 15:46:42.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/hosts/alphavms.h binutils-2.16.90.0.3/bfd/hosts/alphavms.h --- binutils-2.16.90.0.2/bfd/hosts/alphavms.h 2005-04-09 12:03:01.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/hosts/alphavms.h 2005-05-10 15:46:43.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include diff -uprN binutils-2.16.90.0.2/bfd/hp300bsd.c binutils-2.16.90.0.3/bfd/hp300bsd.c --- binutils-2.16.90.0.2/bfd/hp300bsd.c 2003-03-19 09:19:13.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/hp300bsd.c 2005-05-10 15:46:42.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define TARGET_IS_BIG_ENDIAN_P #define N_HEADER_IN_TEXT(x) 0 diff -uprN binutils-2.16.90.0.2/bfd/hp300hpux.c binutils-2.16.90.0.3/bfd/hp300hpux.c --- binutils-2.16.90.0.2/bfd/hp300hpux.c 2005-04-09 12:02:59.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/hp300hpux.c 2005-05-10 15:46:42.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* hpux native ------------> | | diff -uprN binutils-2.16.90.0.2/bfd/hppabsd-core.c binutils-2.16.90.0.3/bfd/hppabsd-core.c --- binutils-2.16.90.0.2/bfd/hppabsd-core.c 2004-07-27 21:36:08.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/hppabsd-core.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. Written by the Center for Software Science at the University of Utah and by Cygnus Support. diff -uprN binutils-2.16.90.0.2/bfd/hpux-core.c binutils-2.16.90.0.3/bfd/hpux-core.c --- binutils-2.16.90.0.2/bfd/hpux-core.c 2004-11-22 12:33:31.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/hpux-core.c 2005-05-10 15:46:42.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file can only be compiled on systems which use HP/UX style core files. */ diff -uprN binutils-2.16.90.0.2/bfd/i386aout.c binutils-2.16.90.0.3/bfd/i386aout.c --- binutils-2.16.90.0.2/bfd/i386aout.c 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/i386aout.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* The only 386 aout system we have here is GO32 from DJ. These numbers make BFD work with that. If your aout 386 system diff -uprN binutils-2.16.90.0.2/bfd/i386bsd.c binutils-2.16.90.0.3/bfd/i386bsd.c --- binutils-2.16.90.0.2/bfd/i386bsd.c 2001-10-04 14:35:43.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/i386bsd.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This data should be correct for the format used under all the various BSD ports for 386 machines. */ diff -uprN binutils-2.16.90.0.2/bfd/i386dynix.c binutils-2.16.90.0.3/bfd/i386dynix.c --- binutils-2.16.90.0.2/bfd/i386dynix.c 2003-03-19 09:19:13.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/i386dynix.c 2005-05-10 15:46:42.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This BFD is currently only tested with gdb, writing object files may not work. */ diff -uprN binutils-2.16.90.0.2/bfd/i386freebsd.c binutils-2.16.90.0.3/bfd/i386freebsd.c --- binutils-2.16.90.0.2/bfd/i386freebsd.c 2001-10-04 14:35:43.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/i386freebsd.c 2005-05-10 15:46:42.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define BYTES_IN_WORD 4 #undef TARGET_IS_BIG_ENDIAN_P diff -uprN binutils-2.16.90.0.2/bfd/i386linux.c binutils-2.16.90.0.3/bfd/i386linux.c --- binutils-2.16.90.0.2/bfd/i386linux.c 2005-04-09 12:02:59.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/i386linux.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define TARGET_PAGE_SIZE 4096 #define ZMAGIC_DISK_BLOCK_SIZE 1024 diff -uprN binutils-2.16.90.0.2/bfd/i386lynx.c binutils-2.16.90.0.3/bfd/i386lynx.c --- binutils-2.16.90.0.2/bfd/i386lynx.c 2005-04-09 12:02:59.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/i386lynx.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define N_SHARED_LIB(x) 0 diff -uprN binutils-2.16.90.0.2/bfd/i386mach3.c binutils-2.16.90.0.3/bfd/i386mach3.c --- binutils-2.16.90.0.2/bfd/i386mach3.c 2003-03-19 09:19:13.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/i386mach3.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This is for Mach 3, which uses a.out, not Mach-O. */ diff -uprN binutils-2.16.90.0.2/bfd/i386msdos.c binutils-2.16.90.0.3/bfd/i386msdos.c --- binutils-2.16.90.0.2/bfd/i386msdos.c 2005-04-09 12:02:59.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/i386msdos.c 2005-05-10 15:46:42.000000000 -0700 @@ -20,7 +20,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" diff -uprN binutils-2.16.90.0.2/bfd/i386netbsd.c binutils-2.16.90.0.3/bfd/i386netbsd.c --- binutils-2.16.90.0.2/bfd/i386netbsd.c 2001-10-04 14:35:43.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/i386netbsd.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define BYTES_IN_WORD 4 #undef TARGET_IS_BIG_ENDIAN_P diff -uprN binutils-2.16.90.0.2/bfd/i386os9k.c binutils-2.16.90.0.3/bfd/i386os9k.c --- binutils-2.16.90.0.2/bfd/i386os9k.c 2005-04-09 12:02:59.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/i386os9k.c 2005-05-10 15:46:42.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" diff -uprN binutils-2.16.90.0.2/bfd/ieee.c binutils-2.16.90.0.3/bfd/ieee.c --- binutils-2.16.90.0.2/bfd/ieee.c 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/ieee.c 2005-05-10 15:46:42.000000000 -0700 @@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define KEEPMINUSPCININST 0 diff -uprN binutils-2.16.90.0.2/bfd/ihex.c binutils-2.16.90.0.3/bfd/ihex.c --- binutils-2.16.90.0.2/bfd/ihex.c 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/ihex.c 2005-05-10 15:46:42.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This is what Intel Hex files look like: diff -uprN binutils-2.16.90.0.2/bfd/init.c binutils-2.16.90.0.3/bfd/init.c --- binutils-2.16.90.0.2/bfd/init.c 2004-01-14 13:07:43.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/init.c 2005-05-10 15:46:42.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/irix-core.c binutils-2.16.90.0.3/bfd/irix-core.c --- binutils-2.16.90.0.2/bfd/irix-core.c 2005-04-09 12:03:00.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/irix-core.c 2005-05-10 15:46:42.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file can only be compiled on systems which use Irix style core files (namely, Irix 4 and Irix 5, so far). */ diff -uprN binutils-2.16.90.0.2/bfd/libaout.h binutils-2.16.90.0.3/bfd/libaout.h --- binutils-2.16.90.0.2/bfd/libaout.h 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/libaout.h 2005-05-10 15:46:42.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef LIBAOUT_H #define LIBAOUT_H diff -uprN binutils-2.16.90.0.2/bfd/libbfd.c binutils-2.16.90.0.3/bfd/libbfd.c --- binutils-2.16.90.0.2/bfd/libbfd.c 2005-04-09 12:03:00.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/libbfd.c 2005-05-10 15:46:42.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/libbfd.h binutils-2.16.90.0.3/bfd/libbfd.h --- binutils-2.16.90.0.2/bfd/libbfd.h 2005-04-09 12:03:00.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/libbfd.h 2005-05-10 15:46:42.000000000 -0700 @@ -26,7 +26,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "hashtab.h" diff -uprN binutils-2.16.90.0.2/bfd/libbfd-in.h binutils-2.16.90.0.3/bfd/libbfd-in.h --- binutils-2.16.90.0.2/bfd/libbfd-in.h 2005-04-09 12:03:00.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/libbfd-in.h 2005-05-10 15:46:42.000000000 -0700 @@ -21,7 +21,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "hashtab.h" diff -uprN binutils-2.16.90.0.2/bfd/libcoff.h binutils-2.16.90.0.3/bfd/libcoff.h --- binutils-2.16.90.0.2/bfd/libcoff.h 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/libcoff.h 2005-05-10 15:46:42.000000000 -0700 @@ -22,7 +22,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfdlink.h" diff -uprN binutils-2.16.90.0.2/bfd/libcoff-in.h binutils-2.16.90.0.3/bfd/libcoff-in.h --- binutils-2.16.90.0.2/bfd/libcoff-in.h 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/libcoff-in.h 2005-05-10 15:46:42.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfdlink.h" diff -uprN binutils-2.16.90.0.2/bfd/libecoff.h binutils-2.16.90.0.3/bfd/libecoff.h --- binutils-2.16.90.0.2/bfd/libecoff.h 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/libecoff.h 2005-05-10 15:46:42.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfdlink.h" diff -uprN binutils-2.16.90.0.2/bfd/libhppa.h binutils-2.16.90.0.3/bfd/libhppa.h --- binutils-2.16.90.0.2/bfd/libhppa.h 2004-01-14 13:07:43.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/libhppa.h 2005-05-10 15:46:42.000000000 -0700 @@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _LIBHPPA_H #define _LIBHPPA_H diff -uprN binutils-2.16.90.0.2/bfd/libieee.h binutils-2.16.90.0.3/bfd/libieee.h --- binutils-2.16.90.0.2/bfd/libieee.h 2002-12-16 12:22:52.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/libieee.h 2005-05-10 15:46:42.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ typedef struct { unsigned int index:24; diff -uprN binutils-2.16.90.0.2/bfd/libnlm.h binutils-2.16.90.0.3/bfd/libnlm.h --- binutils-2.16.90.0.2/bfd/libnlm.h 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/libnlm.h 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _LIBNLM_H_ #define _LIBNLM_H_ 1 diff -uprN binutils-2.16.90.0.2/bfd/liboasys.h binutils-2.16.90.0.3/bfd/liboasys.h --- binutils-2.16.90.0.2/bfd/liboasys.h 2002-12-16 12:22:52.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/liboasys.h 2005-05-10 15:46:42.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ typedef struct _oasys_symbol { diff -uprN binutils-2.16.90.0.2/bfd/libpei.h binutils-2.16.90.0.3/bfd/libpei.h --- binutils-2.16.90.0.2/bfd/libpei.h 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/libpei.h 2005-05-10 15:46:42.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Most of this hacked by Steve Chamberlain, sac@cygnus.com diff -uprN binutils-2.16.90.0.2/bfd/libxcoff.h binutils-2.16.90.0.3/bfd/libxcoff.h --- binutils-2.16.90.0.2/bfd/libxcoff.h 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/libxcoff.h 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef LIBXCOFF_H #define LIBXCOFF_H diff -uprN binutils-2.16.90.0.2/bfd/linker.c binutils-2.16.90.0.3/bfd/linker.c --- binutils-2.16.90.0.2/bfd/linker.c 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/linker.c 2005-05-10 15:46:42.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" @@ -309,7 +309,7 @@ SUBSUBSECTION of the <> structure. Each section in the output file will have a list of - <> structures attached to the <> + <> structures attached to the <> field (the <> structure is defined in <>). These structures describe how to create the contents of the output section in terms of the contents of @@ -2009,7 +2009,7 @@ _bfd_generic_final_link (bfd *abfd, stru /* Mark all sections which will be included in the output file. */ for (o = abfd->sections; o != NULL; o = o->next) - for (p = o->link_order_head; p != NULL; p = p->next) + for (p = o->map_head.link_order; p != NULL; p = p->next) if (p->type == bfd_indirect_link_order) p->u.indirect.section->linker_mark = TRUE; @@ -2038,7 +2038,7 @@ _bfd_generic_final_link (bfd *abfd, stru for (o = abfd->sections; o != NULL; o = o->next) { o->reloc_count = 0; - for (p = o->link_order_head; p != NULL; p = p->next) + for (p = o->map_head.link_order; p != NULL; p = p->next) { if (p->type == bfd_section_reloc_link_order || p->type == bfd_symbol_reloc_link_order) @@ -2094,7 +2094,7 @@ _bfd_generic_final_link (bfd *abfd, stru /* Handle all the link order information for the sections. */ for (o = abfd->sections; o != NULL; o = o->next) { - for (p = o->link_order_head; p != NULL; p = p->next) + for (p = o->map_head.link_order; p != NULL; p = p->next) { switch (p->type) { @@ -2614,11 +2614,11 @@ bfd_new_link_order (bfd *abfd, asection new->type = bfd_undefined_link_order; - if (section->link_order_tail != NULL) - section->link_order_tail->next = new; + if (section->map_tail.link_order != NULL) + section->map_tail.link_order->next = new; else - section->link_order_head = new; - section->link_order_tail = new; + section->map_head.link_order = new; + section->map_tail.link_order = new; return new; } diff -uprN binutils-2.16.90.0.2/bfd/lynx-core.c binutils-2.16.90.0.3/bfd/lynx-core.c --- binutils-2.16.90.0.2/bfd/lynx-core.c 2004-07-27 21:36:08.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/lynx-core.c 2005-05-10 15:46:42.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/m68k4knetbsd.c binutils-2.16.90.0.3/bfd/m68k4knetbsd.c --- binutils-2.16.90.0.2/bfd/m68k4knetbsd.c 2003-03-19 09:19:13.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/m68k4knetbsd.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define TARGET_IS_BIG_ENDIAN_P diff -uprN binutils-2.16.90.0.2/bfd/m68klinux.c binutils-2.16.90.0.3/bfd/m68klinux.c --- binutils-2.16.90.0.2/bfd/m68klinux.c 2004-07-27 21:36:08.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/m68klinux.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define TARGET_PAGE_SIZE 4096 #define ZMAGIC_DISK_BLOCK_SIZE 1024 diff -uprN binutils-2.16.90.0.2/bfd/m68klynx.c binutils-2.16.90.0.3/bfd/m68klynx.c --- binutils-2.16.90.0.2/bfd/m68klynx.c 2003-03-19 09:19:13.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/m68klynx.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define N_SHARED_LIB(x) 0 diff -uprN binutils-2.16.90.0.2/bfd/m68knetbsd.c binutils-2.16.90.0.3/bfd/m68knetbsd.c --- binutils-2.16.90.0.2/bfd/m68knetbsd.c 2003-03-19 09:19:13.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/m68knetbsd.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define TARGET_IS_BIG_ENDIAN_P diff -uprN binutils-2.16.90.0.2/bfd/m88kmach3.c binutils-2.16.90.0.3/bfd/m88kmach3.c --- binutils-2.16.90.0.2/bfd/m88kmach3.c 2003-03-19 09:19:13.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/m88kmach3.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define TARGET_PAGE_SIZE (4096*2) #define SEGMENT_SIZE 0x20000 diff -uprN binutils-2.16.90.0.2/bfd/m88kopenbsd.c binutils-2.16.90.0.3/bfd/m88kopenbsd.c --- binutils-2.16.90.0.2/bfd/m88kopenbsd.c 2004-05-27 11:26:02.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/m88kopenbsd.c 2005-05-10 15:46:42.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define TARGET_IS_BIG_ENDIAN_P diff -uprN binutils-2.16.90.0.2/bfd/mach-o.c binutils-2.16.90.0.3/bfd/mach-o.c --- binutils-2.16.90.0.2/bfd/mach-o.c 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/mach-o.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "mach-o.h" #include "bfd.h" diff -uprN binutils-2.16.90.0.2/bfd/mach-o.h binutils-2.16.90.0.3/bfd/mach-o.h --- binutils-2.16.90.0.2/bfd/mach-o.h 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/mach-o.h 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _BFD_MACH_O_H_ #define _BFD_MACH_O_H_ diff -uprN binutils-2.16.90.0.2/bfd/mach-o-target.c binutils-2.16.90.0.3/bfd/mach-o-target.c --- binutils-2.16.90.0.2/bfd/mach-o-target.c 2002-11-09 11:08:31.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/mach-o-target.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef TARGET_NAME #error TARGET_NAME must be defined diff -uprN binutils-2.16.90.0.2/bfd/Makefile.am binutils-2.16.90.0.3/bfd/Makefile.am --- binutils-2.16.90.0.2/bfd/Makefile.am 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/Makefile.am 2005-05-10 15:46:40.000000000 -0700 @@ -271,6 +271,7 @@ BFD32_BACKENDS = \ elflink.lo \ elf-strtab.lo \ elf-eh-frame.lo \ + elf-vxworks.lo \ epoc-pe-arm.lo \ epoc-pei-arm.lo \ hp300bsd.lo \ @@ -440,6 +441,7 @@ BFD32_BACKENDS_CFILES = \ elflink.c \ elf-strtab.c \ elf-eh-frame.c \ + elf-vxworks.c \ epoc-pe-arm.c \ epoc-pei-arm.c \ hp300bsd.c \ @@ -598,7 +600,7 @@ BFD_LIBS = @bfd_libs@ BFD_MACHINES = @bfd_machines@ TDEFAULTS = @tdefaults@ -INCLUDES = -D_GNU_SOURCE @HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) -I$(srcdir)/../intl -I../intl +INCLUDES = @HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) -I$(srcdir)/../intl -I../intl # C source files that correspond to .o's. SOURCE_CFILES = \ @@ -1263,7 +1265,7 @@ elf32-i370.lo: elf32-i370.c $(INCDIR)/fi elf32-i386.lo: elf32-i386.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \ $(INCDIR)/hashtab.h elf-bfd.h $(INCDIR)/elf/common.h \ $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/i386.h \ - $(INCDIR)/elf/reloc-macros.h elf32-target.h + $(INCDIR)/elf/reloc-macros.h elf32-target.h elf-vxworks.h elf32-i860.lo: elf32-i860.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \ elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \ $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/i860.h \ @@ -1422,6 +1424,10 @@ elf-eh-frame.lo: elf-eh-frame.c $(INCDIR $(INCDIR)/hashtab.h elf-bfd.h $(INCDIR)/elf/common.h \ $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \ $(INCDIR)/elf/dwarf2.h +elf-vxworks.lo: elf-vxworks.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \ + $(INCDIR)/hashtab.h elf-bfd.h $(INCDIR)/elf/common.h \ + $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ + $(INCDIR)/elf/reloc-macros.h elf-vxworks.h epoc-pe-arm.lo: epoc-pe-arm.c pe-arm.c $(INCDIR)/filenames.h \ coff-arm.c $(INCDIR)/hashtab.h $(INCDIR)/coff/arm.h \ $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \ diff -uprN binutils-2.16.90.0.2/bfd/Makefile.in binutils-2.16.90.0.3/bfd/Makefile.in --- binutils-2.16.90.0.2/bfd/Makefile.in 2005-04-29 10:50:24.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/Makefile.in 2005-05-10 15:46:40.000000000 -0700 @@ -50,7 +50,6 @@ DIST_COMMON = $(srcdir)/../config.guess subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ - $(top_srcdir)/../config/accross.m4 \ $(top_srcdir)/../config/acx.m4 $(top_srcdir)/../bfd/bfd.m4 \ $(top_srcdir)/../bfd/warning.m4 $(top_srcdir)/../libtool.m4 \ $(top_srcdir)/../gettext.m4 $(top_srcdir)/configure.in @@ -510,6 +509,7 @@ BFD32_BACKENDS = \ elflink.lo \ elf-strtab.lo \ elf-eh-frame.lo \ + elf-vxworks.lo \ epoc-pe-arm.lo \ epoc-pei-arm.lo \ hp300bsd.lo \ @@ -679,6 +679,7 @@ BFD32_BACKENDS_CFILES = \ elflink.c \ elf-strtab.c \ elf-eh-frame.c \ + elf-vxworks.c \ epoc-pe-arm.c \ epoc-pei-arm.c \ hp300bsd.c \ @@ -839,7 +840,7 @@ BFD_BACKENDS = @bfd_backends@ BFD_LIBS = @bfd_libs@ BFD_MACHINES = @bfd_machines@ TDEFAULTS = @tdefaults@ -INCLUDES = -D_GNU_SOURCE @HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) -I$(srcdir)/../intl -I../intl +INCLUDES = @HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) -I$(srcdir)/../intl -I../intl # C source files that correspond to .o's. SOURCE_CFILES = \ @@ -1833,7 +1834,7 @@ elf32-i370.lo: elf32-i370.c $(INCDIR)/fi elf32-i386.lo: elf32-i386.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \ $(INCDIR)/hashtab.h elf-bfd.h $(INCDIR)/elf/common.h \ $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/i386.h \ - $(INCDIR)/elf/reloc-macros.h elf32-target.h + $(INCDIR)/elf/reloc-macros.h elf32-target.h elf-vxworks.h elf32-i860.lo: elf32-i860.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \ elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \ $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/i860.h \ @@ -1992,6 +1993,10 @@ elf-eh-frame.lo: elf-eh-frame.c $(INCDIR $(INCDIR)/hashtab.h elf-bfd.h $(INCDIR)/elf/common.h \ $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \ $(INCDIR)/elf/dwarf2.h +elf-vxworks.lo: elf-vxworks.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \ + $(INCDIR)/hashtab.h elf-bfd.h $(INCDIR)/elf/common.h \ + $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ + $(INCDIR)/elf/reloc-macros.h elf-vxworks.h epoc-pe-arm.lo: epoc-pe-arm.c pe-arm.c $(INCDIR)/filenames.h \ coff-arm.c $(INCDIR)/hashtab.h $(INCDIR)/coff/arm.h \ $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \ diff -uprN binutils-2.16.90.0.2/bfd/merge.c binutils-2.16.90.0.3/bfd/merge.c --- binutils-2.16.90.0.2/bfd/merge.c 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/merge.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file contains support for merging duplicate entities within sections, as used in ELF SHF_MERGE. */ @@ -241,7 +241,8 @@ sec_merge_init (unsigned int entsize, bf if (table == NULL) return NULL; - if (! bfd_hash_table_init (&table->table, sec_merge_hash_newfunc)) + if (! bfd_hash_table_init_n (&table->table, sec_merge_hash_newfunc, + 16699)) { free (table); return NULL; @@ -696,8 +697,10 @@ alloc_failure: with _bfd_merge_section. */ bfd_boolean -_bfd_merge_sections (bfd *abfd ATTRIBUTE_UNUSED, struct bfd_link_info *info, - void *xsinfo, void (*remove_hook) (bfd *, asection *)) +_bfd_merge_sections (bfd *abfd ATTRIBUTE_UNUSED, + struct bfd_link_info *info ATTRIBUTE_UNUSED, + void *xsinfo, + void (*remove_hook) (bfd *, asection *)) { struct sec_merge_info *sinfo; @@ -762,7 +765,7 @@ _bfd_merge_sections (bfd *abfd ATTRIBUTE the hash table at all. */ for (secinfo = sinfo->chain; secinfo; secinfo = secinfo->next) if (secinfo->first_str == NULL) - _bfd_strip_section_from_output (info, secinfo->sec); + secinfo->sec->flags |= SEC_EXCLUDE; } return TRUE; diff -uprN binutils-2.16.90.0.2/bfd/mipsbsd.c binutils-2.16.90.0.3/bfd/mipsbsd.c --- binutils-2.16.90.0.2/bfd/mipsbsd.c 2004-01-14 13:07:43.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/mipsbsd.c 2005-05-10 15:46:42.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* #define ENTRY_CAN_BE_ZERO */ #define N_HEADER_IN_TEXT(x) 1 diff -uprN binutils-2.16.90.0.2/bfd/mmo.c binutils-2.16.90.0.3/bfd/mmo.c --- binutils-2.16.90.0.2/bfd/mmo.c 2005-04-09 12:03:00.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/mmo.c 2005-05-10 15:46:42.000000000 -0700 @@ -19,7 +19,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* SECTION diff -uprN binutils-2.16.90.0.2/bfd/netbsd-core.c binutils-2.16.90.0.3/bfd/netbsd-core.c --- binutils-2.16.90.0.2/bfd/netbsd-core.c 2005-04-09 12:03:00.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/netbsd-core.c 2005-05-10 15:46:42.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/netbsd.h binutils-2.16.90.0.3/bfd/netbsd.h --- binutils-2.16.90.0.2/bfd/netbsd.h 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/netbsd.h 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Check for our machine type (part of magic number). */ diff -uprN binutils-2.16.90.0.2/bfd/newsos3.c binutils-2.16.90.0.3/bfd/newsos3.c --- binutils-2.16.90.0.2/bfd/newsos3.c 2003-03-19 09:19:13.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/newsos3.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define TARGET_PAGE_SIZE 4096 #define SEGMENT_SIZE TARGET_PAGE_SIZE diff -uprN binutils-2.16.90.0.2/bfd/nlm32-alpha.c binutils-2.16.90.0.3/bfd/nlm32-alpha.c --- binutils-2.16.90.0.2/bfd/nlm32-alpha.c 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/nlm32-alpha.c 2005-05-10 15:46:42.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file describes the 32 bit Alpha NLM format. You might think that an Alpha chip would use a 64 bit format, but, for some reason, diff -uprN binutils-2.16.90.0.2/bfd/nlm32.c binutils-2.16.90.0.3/bfd/nlm32.c --- binutils-2.16.90.0.2/bfd/nlm32.c 2001-03-09 11:16:03.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/nlm32.c 2005-05-10 15:46:42.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define ARCH_SIZE 32 #include "nlmcode.h" diff -uprN binutils-2.16.90.0.2/bfd/nlm32-i386.c binutils-2.16.90.0.3/bfd/nlm32-i386.c --- binutils-2.16.90.0.2/bfd/nlm32-i386.c 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/nlm32-i386.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/nlm32-ppc.c binutils-2.16.90.0.3/bfd/nlm32-ppc.c --- binutils-2.16.90.0.2/bfd/nlm32-ppc.c 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/nlm32-ppc.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/nlm32-sparc.c binutils-2.16.90.0.3/bfd/nlm32-sparc.c --- binutils-2.16.90.0.2/bfd/nlm32-sparc.c 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/nlm32-sparc.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/nlm64.c binutils-2.16.90.0.3/bfd/nlm64.c --- binutils-2.16.90.0.2/bfd/nlm64.c 2001-03-09 11:16:03.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/nlm64.c 2005-05-10 15:46:42.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define ARCH_SIZE 64 #include "nlmcode.h" diff -uprN binutils-2.16.90.0.2/bfd/nlm.c binutils-2.16.90.0.3/bfd/nlm.c --- binutils-2.16.90.0.2/bfd/nlm.c 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/nlm.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/nlmcode.h binutils-2.16.90.0.3/bfd/nlmcode.h --- binutils-2.16.90.0.2/bfd/nlmcode.h 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/nlmcode.h 2005-05-10 15:46:42.000000000 -0700 @@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/nlmswap.h binutils-2.16.90.0.3/bfd/nlmswap.h --- binutils-2.16.90.0.2/bfd/nlmswap.h 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/nlmswap.h 2005-05-10 15:46:42.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Although this is a header file, it defines functions. It is included by NLM backends to define swapping functions that vary diff -uprN binutils-2.16.90.0.2/bfd/nlm-target.h binutils-2.16.90.0.3/bfd/nlm-target.h --- binutils-2.16.90.0.2/bfd/nlm-target.h 2005-04-29 10:50:25.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/nlm-target.h 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define nlm_core_file_p _bfd_dummy_target diff -uprN binutils-2.16.90.0.2/bfd/ns32k.h binutils-2.16.90.0.3/bfd/ns32k.h --- binutils-2.16.90.0.2/bfd/ns32k.h 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/ns32k.h 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ extern bfd_reloc_status_type _bfd_ns32k_relocate_contents (reloc_howto_type *, bfd *, bfd_vma, bfd_byte *); extern bfd_reloc_status_type _bfd_do_ns32k_reloc_contents (reloc_howto_type *, bfd *, bfd_vma, bfd_byte *, bfd_vma (*) (bfd_byte *, int), void (*) (bfd_vma, bfd_byte *, int)); diff -uprN binutils-2.16.90.0.2/bfd/ns32knetbsd.c binutils-2.16.90.0.3/bfd/ns32knetbsd.c --- binutils-2.16.90.0.2/bfd/ns32knetbsd.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/ns32knetbsd.c 2005-05-10 15:46:42.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define BYTES_IN_WORD 4 #undef TARGET_IS_BIG_ENDIAN_P diff -uprN binutils-2.16.90.0.2/bfd/oasys.c binutils-2.16.90.0.3/bfd/oasys.c --- binutils-2.16.90.0.2/bfd/oasys.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/oasys.c 2005-05-10 15:46:42.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define UNDERSCORE_HACK 1 #include "bfd.h" diff -uprN binutils-2.16.90.0.2/bfd/opncls.c binutils-2.16.90.0.3/bfd/opncls.c --- binutils-2.16.90.0.2/bfd/opncls.c 2005-04-09 12:03:00.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/opncls.c 2005-05-10 15:46:43.000000000 -0700 @@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" @@ -77,7 +77,7 @@ _bfd_new_bfd (void) return NULL; } nbfd->sections = NULL; - nbfd->section_tail = &nbfd->sections; + nbfd->section_last = NULL; nbfd->format = bfd_unknown; nbfd->my_archive = NULL; nbfd->origin = 0; diff -uprN binutils-2.16.90.0.2/bfd/osf-core.c binutils-2.16.90.0.3/bfd/osf-core.c --- binutils-2.16.90.0.2/bfd/osf-core.c 2004-07-27 21:36:08.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/osf-core.c 2005-05-10 15:46:43.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file can only be compiled on systems which use OSF/1 style core files. */ diff -uprN binutils-2.16.90.0.2/bfd/pc532-mach.c binutils-2.16.90.0.3/bfd/pc532-mach.c --- binutils-2.16.90.0.2/bfd/pc532-mach.c 2002-12-16 12:22:52.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/pc532-mach.c 2005-05-10 15:46:43.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Written by Ian Dall * 19-Apr-94 diff -uprN binutils-2.16.90.0.2/bfd/pdp11.c binutils-2.16.90.0.3/bfd/pdp11.c --- binutils-2.16.90.0.2/bfd/pdp11.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/pdp11.c 2005-05-10 15:46:43.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* BFD backend for PDP-11, running 2.11BSD in particular. @@ -3726,11 +3726,11 @@ NAME (aout, final_link) (bfd *abfd, { if (obj_textsec (abfd) != NULL) trsize += (_bfd_count_link_order_relocs (obj_textsec (abfd) - ->link_order_head) + ->map_head.link_order) * obj_reloc_entry_size (abfd)); if (obj_datasec (abfd) != NULL) drsize += (_bfd_count_link_order_relocs (obj_datasec (abfd) - ->link_order_head) + ->map_head.link_order) * obj_reloc_entry_size (abfd)); } @@ -3821,7 +3821,7 @@ NAME (aout, final_link) (bfd *abfd, include. */ for (o = abfd->sections; o != NULL; o = o->next) { - for (p = o->link_order_head; p != NULL; p = p->next) + for (p = o->map_head.link_order; p != NULL; p = p->next) if (p->type == bfd_indirect_link_order) p->u.indirect.section->linker_mark = TRUE; } @@ -3829,7 +3829,7 @@ NAME (aout, final_link) (bfd *abfd, have_link_order_relocs = FALSE; for (o = abfd->sections; o != NULL; o = o->next) { - for (p = o->link_order_head; + for (p = o->map_head.link_order; p != NULL; p = p->next) { @@ -3872,7 +3872,7 @@ NAME (aout, final_link) (bfd *abfd, { for (o = abfd->sections; o != NULL; o = o->next) { - for (p = o->link_order_head; + for (p = o->map_head.link_order; p != NULL; p = p->next) { diff -uprN binutils-2.16.90.0.2/bfd/pe-arm.c binutils-2.16.90.0.3/bfd/pe-arm.c --- binutils-2.16.90.0.2/bfd/pe-arm.c 2002-12-16 12:22:52.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/pe-arm.c 2005-05-10 15:46:43.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/pef.c binutils-2.16.90.0.3/bfd/pef.c --- binutils-2.16.90.0.2/bfd/pef.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/pef.c 2005-05-10 15:46:43.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "safe-ctype.h" #include "pef.h" diff -uprN binutils-2.16.90.0.2/bfd/pef.h binutils-2.16.90.0.3/bfd/pef.h --- binutils-2.16.90.0.2/bfd/pef.h 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/pef.h 2005-05-10 15:46:43.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" diff -uprN binutils-2.16.90.0.2/bfd/pef-traceback.h binutils-2.16.90.0.3/bfd/pef-traceback.h --- binutils-2.16.90.0.2/bfd/pef-traceback.h 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/pef-traceback.h 2005-05-10 15:46:43.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Originally written by Ira Ruben, 06/28/93 */ diff -uprN binutils-2.16.90.0.2/bfd/pe-i386.c binutils-2.16.90.0.3/bfd/pe-i386.c --- binutils-2.16.90.0.2/bfd/pe-i386.c 2004-09-27 13:46:06.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/pe-i386.c 2005-05-10 15:46:43.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/pei-arm.c binutils-2.16.90.0.3/bfd/pei-arm.c --- binutils-2.16.90.0.2/bfd/pei-arm.c 2002-12-16 12:22:52.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/pei-arm.c 2005-05-10 15:46:43.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/peicode.h binutils-2.16.90.0.3/bfd/peicode.h --- binutils-2.16.90.0.2/bfd/peicode.h 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/peicode.h 2005-05-10 15:46:43.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Most of this hacked by Steve Chamberlain, sac@cygnus.com diff -uprN binutils-2.16.90.0.2/bfd/pei-i386.c binutils-2.16.90.0.3/bfd/pei-i386.c --- binutils-2.16.90.0.2/bfd/pei-i386.c 2004-09-27 13:46:06.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/pei-i386.c 2005-05-10 15:46:43.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/pei-mcore.c binutils-2.16.90.0.3/bfd/pei-mcore.c --- binutils-2.16.90.0.2/bfd/pei-mcore.c 2002-12-16 12:22:52.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/pei-mcore.c 2005-05-10 15:46:43.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/pei-mips.c binutils-2.16.90.0.3/bfd/pei-mips.c --- binutils-2.16.90.0.2/bfd/pei-mips.c 2002-12-16 12:22:52.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/pei-mips.c 2005-05-10 15:46:43.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/pei-ppc.c binutils-2.16.90.0.3/bfd/pei-ppc.c --- binutils-2.16.90.0.2/bfd/pei-ppc.c 2001-03-09 11:16:05.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/pei-ppc.c 2005-05-10 15:46:43.000000000 -0700 @@ -15,8 +15,8 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ +Foundation, 51 Franklin Street - Fifth Floor, +Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/pei-sh.c binutils-2.16.90.0.3/bfd/pei-sh.c --- binutils-2.16.90.0.2/bfd/pei-sh.c 2002-12-16 12:22:52.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/pei-sh.c 2005-05-10 15:46:43.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/pe-mcore.c binutils-2.16.90.0.3/bfd/pe-mcore.c --- binutils-2.16.90.0.2/bfd/pe-mcore.c 2002-12-16 12:22:52.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/pe-mcore.c 2005-05-10 15:46:43.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/pe-mips.c binutils-2.16.90.0.3/bfd/pe-mips.c --- binutils-2.16.90.0.2/bfd/pe-mips.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/pe-mips.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define COFF_WITH_PE #define COFF_LONG_SECTION_NAMES diff -uprN binutils-2.16.90.0.2/bfd/pe-ppc.c binutils-2.16.90.0.3/bfd/pe-ppc.c --- binutils-2.16.90.0.2/bfd/pe-ppc.c 2005-04-09 12:03:00.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/pe-ppc.c 2005-05-10 15:46:43.000000000 -0700 @@ -15,8 +15,8 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ +Foundation, 51 Franklin Street - Fifth Floor, +Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/pe-sh.c binutils-2.16.90.0.3/bfd/pe-sh.c --- binutils-2.16.90.0.2/bfd/pe-sh.c 2002-12-16 12:22:52.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/pe-sh.c 2005-05-10 15:46:43.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/peXXigen.c binutils-2.16.90.0.3/bfd/peXXigen.c --- binutils-2.16.90.0.2/bfd/peXXigen.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/peXXigen.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Most of this hacked by Steve Chamberlain . diff -uprN binutils-2.16.90.0.2/bfd/ppcboot.c binutils-2.16.90.0.3/bfd/ppcboot.c --- binutils-2.16.90.0.2/bfd/ppcboot.c 2004-11-22 12:33:31.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/ppcboot.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This is a BFD backend which may be used to write PowerPCBug boot objects. It may only be used for output, not input. The intention is that this may diff -uprN binutils-2.16.90.0.2/bfd/ptrace-core.c binutils-2.16.90.0.3/bfd/ptrace-core.c --- binutils-2.16.90.0.2/bfd/ptrace-core.c 2004-07-27 21:36:08.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/ptrace-core.c 2005-05-10 15:46:43.000000000 -0700 @@ -20,7 +20,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef PTRACE_CORE diff -uprN binutils-2.16.90.0.2/bfd/reloc16.c binutils-2.16.90.0.3/bfd/reloc16.c --- binutils-2.16.90.0.2/bfd/reloc16.c 2004-07-27 21:36:08.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/reloc16.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Most of this hacked by Steve Chamberlain . */ diff -uprN binutils-2.16.90.0.2/bfd/reloc.c binutils-2.16.90.0.3/bfd/reloc.c --- binutils-2.16.90.0.2/bfd/reloc.c 2005-04-09 12:03:00.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/reloc.c 2005-05-10 15:46:43.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* SECTION diff -uprN binutils-2.16.90.0.2/bfd/riscix.c binutils-2.16.90.0.3/bfd/riscix.c --- binutils-2.16.90.0.2/bfd/riscix.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/riscix.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* RISC iX overloads the MAGIC field to indicate more than just the usual [ZNO]MAGIC values. Also included are squeezing information and diff -uprN binutils-2.16.90.0.2/bfd/rs6000-core.c binutils-2.16.90.0.3/bfd/rs6000-core.c --- binutils-2.16.90.0.2/bfd/rs6000-core.c 2004-07-27 21:36:08.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/rs6000-core.c 2005-05-10 15:46:43.000000000 -0700 @@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This port currently only handles reading object files, except when compiled on an RS/6000 host. -- no archive support, no core files. diff -uprN binutils-2.16.90.0.2/bfd/sco5-core.c binutils-2.16.90.0.3/bfd/sco5-core.c --- binutils-2.16.90.0.2/bfd/sco5-core.c 2004-07-27 21:36:08.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/sco5-core.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/section.c binutils-2.16.90.0.3/bfd/section.c --- binutils-2.16.90.0.2/bfd/section.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/section.c 2005-05-10 15:46:43.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* SECTION @@ -164,6 +164,9 @@ CODE_FRAGMENT . {* The next section in the list belonging to the BFD, or NULL. *} . struct bfd_section *next; . +. {* The previous section in the list belonging to the BFD, or NULL. *} +. struct bfd_section *prev; +. . {* The field flags contains attributes of the section. Some . flags are read in from the object file, and some are . synthesized from other information. *} @@ -494,8 +497,14 @@ CODE_FRAGMENT . struct bfd_symbol *symbol; . struct bfd_symbol **symbol_ptr_ptr; . -. struct bfd_link_order *link_order_head; -. struct bfd_link_order *link_order_tail; +. {* Early in the link process, map_head and map_tail are used to build +. a list of input sections attached to an output section. Later, +. output sections use these fields for a list of bfd_link_order +. structs. *} +. union { +. struct bfd_link_order *link_order; +. struct bfd_section *s; +. } map_head, map_tail; .} asection; . .{* These sections are global, and are managed by BFD. The application @@ -538,31 +547,92 @@ CODE_FRAGMENT .{* Macros to handle insertion and deletion of a bfd's sections. These . only handle the list pointers, ie. do not adjust section_count, . target_index etc. *} -.#define bfd_section_list_remove(ABFD, PS) \ +.#define bfd_section_list_remove(ABFD, S) \ . do \ . { \ -. asection **_ps = PS; \ -. asection *_s = *_ps; \ -. *_ps = _s->next; \ -. if (_s->next == NULL) \ -. (ABFD)->section_tail = _ps; \ +. asection *_s = S; \ +. asection *_next = _s->next; \ +. asection *_prev = _s->prev; \ +. if (_prev) \ +. _prev->next = _next; \ +. else \ +. (ABFD)->sections = _next; \ +. if (_next) \ +. _next->prev = _prev; \ +. else \ +. (ABFD)->section_last = _prev; \ +. } \ +. while (0) +.#define bfd_section_list_append(ABFD, S) \ +. do \ +. { \ +. asection *_s = S; \ +. bfd *_abfd = ABFD; \ +. _s->next = NULL; \ +. if (_abfd->section_last) \ +. { \ +. _s->prev = _abfd->section_last; \ +. _abfd->section_last->next = _s; \ +. } \ +. else \ +. { \ +. _s->prev = NULL; \ +. _abfd->sections = _s; \ +. } \ +. _abfd->section_last = _s; \ +. } \ +. while (0) +.#define bfd_section_list_prepend(ABFD, S) \ +. do \ +. { \ +. asection *_s = S; \ +. bfd *_abfd = ABFD; \ +. _s->prev = NULL; \ +. if (_abfd->sections) \ +. { \ +. _s->next = _abfd->sections; \ +. _abfd->sections->prev = _s; \ +. } \ +. else \ +. { \ +. _s->next = NULL; \ +. _abfd->section_last = _s; \ +. } \ +. _abfd->sections = _s; \ +. } \ +. while (0) +.#define bfd_section_list_insert_after(ABFD, A, S) \ +. do \ +. { \ +. asection *_a = A; \ +. asection *_s = S; \ +. asection *_next = _a->next; \ +. _s->next = _next; \ +. _s->prev = _a; \ +. _a->next = _s; \ +. if (_next) \ +. _next->prev = _s; \ . else \ -. _s->next = NULL; \ +. (ABFD)->section_last = _s; \ . } \ . while (0) -.#define bfd_section_list_insert(ABFD, PS, S) \ +.#define bfd_section_list_insert_before(ABFD, B, S) \ . do \ . { \ -. asection **_ps = PS; \ +. asection *_b = B; \ . asection *_s = S; \ -. _s->next = *_ps; \ -. *_ps = _s; \ -. if (_s->next == NULL) \ -. (ABFD)->section_tail = &_s->next; \ +. asection *_prev = _b->prev; \ +. _s->prev = _prev; \ +. _s->next = _b; \ +. _b->prev = _s; \ +. if (_prev) \ +. _prev->next = _s; \ +. else \ +. (ABFD)->sections = _s; \ . } \ . while (0) -.#define bfd_section_removed_from_list(ABFD, S) \ -. ((S)->next == NULL && &(S)->next != (ABFD)->section_tail) +.#define bfd_section_removed_from_list(ABFD, S) \ +. ((S)->next == NULL ? (ABFD)->section_last != (S) : (S)->next->prev != (S)) . */ @@ -592,8 +662,8 @@ static const asymbol global_syms[] = #define STD_SECTION(SEC, FLAGS, SYM, NAME, IDX) \ const asymbol * const SYM = (asymbol *) &global_syms[IDX]; \ asection SEC = \ - /* name, id, index, next, flags, user_set_vma, */ \ - { NAME, IDX, 0, NULL, FLAGS, 0, \ + /* name, id, index, next, prev, flags, user_set_vma, */ \ + { NAME, IDX, 0, NULL, NULL, FLAGS, 0, \ \ /* linker_mark, linker_has_input, gc_mark, segment_mark, */ \ 0, 0, 1, 0, \ @@ -628,8 +698,8 @@ static const asymbol global_syms[] = /* symbol_ptr_ptr, */ \ (struct bfd_symbol **) &SYM, \ \ - /* link_order_head, link_order_tail */ \ - NULL, NULL \ + /* map_head, map_tail */ \ + { NULL }, { NULL } \ } STD_SECTION (bfd_com_section, SEC_IS_COMMON, bfd_com_symbol, @@ -705,8 +775,7 @@ bfd_section_init (bfd *abfd, asection *n section_id++; abfd->section_count++; - *abfd->section_tail = newsect; - abfd->section_tail = &newsect->next; + bfd_section_list_append (abfd, newsect); return newsect; } @@ -736,7 +805,7 @@ void bfd_section_list_clear (bfd *abfd) { abfd->sections = NULL; - abfd->section_tail = &abfd->sections; + abfd->section_last = NULL; abfd->section_count = 0; memset (abfd->section_htab.table, 0, abfd->section_htab.size * sizeof (struct bfd_hash_entry *)); @@ -935,15 +1004,17 @@ bfd_make_section_old_way (bfd *abfd, con /* FUNCTION - bfd_make_section_anyway + bfd_make_section_anyway_with_flags SYNOPSIS - asection *bfd_make_section_anyway (bfd *abfd, const char *name); + asection *bfd_make_section_anyway_with_flags + (bfd *abfd, const char *name, flagword flags); DESCRIPTION Create a new empty section called @var{name} and attach it to the end of the chain of sections for @var{abfd}. Create a new section even if there - is already a section with that name. + is already a section with that name. Also set the attributes of the + new section to the value @var{flags}. Return <> and set <> on error; possible errors are: o <> - If output has already started for @var{abfd}. @@ -951,7 +1022,8 @@ DESCRIPTION */ sec_ptr -bfd_make_section_anyway (bfd *abfd, const char *name) +bfd_make_section_anyway_with_flags (bfd *abfd, const char *name, + flagword flags) { struct section_hash_entry *sh; asection *newsect; @@ -984,26 +1056,53 @@ bfd_make_section_anyway (bfd *abfd, cons newsect = &new_sh->section; } + newsect->flags = flags; newsect->name = name; return bfd_section_init (abfd, newsect); } /* FUNCTION - bfd_make_section + bfd_make_section_anyway SYNOPSIS - asection *bfd_make_section (bfd *, const char *name); + asection *bfd_make_section_anyway (bfd *abfd, const char *name); + +DESCRIPTION + Create a new empty section called @var{name} and attach it to the end of + the chain of sections for @var{abfd}. Create a new section even if there + is already a section with that name. + + Return <> and set <> on error; possible errors are: + o <> - If output has already started for @var{abfd}. + o <> - If memory allocation fails. +*/ + +sec_ptr +bfd_make_section_anyway (bfd *abfd, const char *name) +{ + return bfd_make_section_anyway_with_flags (abfd, name, 0); +} + +/* +FUNCTION + bfd_make_section_with_flags + +SYNOPSIS + asection *bfd_make_section_with_flags + (bfd *, const char *name, flagword flags); DESCRIPTION Like <>, but return <> (without calling bfd_set_error ()) without changing the section chain if there is already a - section named @var{name}. If there is an error, return <> and set + section named @var{name}. Also set the attributes of the new section to + the value @var{flags}. If there is an error, return <> and set <>. */ asection * -bfd_make_section (bfd *abfd, const char *name) +bfd_make_section_with_flags (bfd *abfd, const char *name, + flagword flags) { struct section_hash_entry *sh; asection *newsect; @@ -1032,11 +1131,32 @@ bfd_make_section (bfd *abfd, const char } newsect->name = name; + newsect->flags = flags; return bfd_section_init (abfd, newsect); } /* FUNCTION + bfd_make_section + +SYNOPSIS + asection *bfd_make_section (bfd *, const char *name); + +DESCRIPTION + Like <>, but return <> (without calling + bfd_set_error ()) without changing the section chain if there is already a + section named @var{name}. If there is an error, return <> and set + <>. +*/ + +asection * +bfd_make_section (bfd *abfd, const char *name) +{ + return bfd_make_section_with_flags (abfd, name, 0); +} + +/* +FUNCTION bfd_set_section_flags SYNOPSIS @@ -1380,50 +1500,6 @@ DESCRIPTION /* FUNCTION - _bfd_strip_section_from_output - -SYNOPSIS - void _bfd_strip_section_from_output - (struct bfd_link_info *info, asection *section); - -DESCRIPTION - Remove @var{section} from the output. If the output section - becomes empty, remove it from the output bfd. - - This function won't actually do anything except twiddle flags - if called too late in the linking process, when it's not safe - to remove sections. -*/ -void -_bfd_strip_section_from_output (struct bfd_link_info *info, asection *s) -{ - asection *os; - asection *is; - bfd *abfd; - - s->flags |= SEC_EXCLUDE; - - /* If the section wasn't assigned to an output section, or the - section has been discarded by the linker script, there's nothing - more to do. */ - os = s->output_section; - if (os == NULL || os->owner == NULL) - return; - - /* If the output section has other (non-excluded) input sections, we - can't remove it. */ - for (abfd = info->input_bfds; abfd != NULL; abfd = abfd->link_next) - for (is = abfd->sections; is != NULL; is = is->next) - if (is->output_section == os && (is->flags & SEC_EXCLUDE) == 0) - return; - - /* If the output section is empty, flag it for removal too. - See ldlang.c:strip_excluded_output_sections for the action. */ - os->flags |= SEC_EXCLUDE; -} - -/* -FUNCTION bfd_generic_is_group_section SYNOPSIS diff -uprN binutils-2.16.90.0.2/bfd/simple.c binutils-2.16.90.0.3/bfd/simple.c --- binutils-2.16.90.0.2/bfd/simple.c 2005-04-09 12:03:00.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/simple.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/som.c binutils-2.16.90.0.3/bfd/som.c --- binutils-2.16.90.0.2/bfd/som.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/som.c 2005-05-10 15:46:43.000000000 -0700 @@ -20,8 +20,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "alloca-conf.h" #include "bfd.h" diff -uprN binutils-2.16.90.0.2/bfd/som.h binutils-2.16.90.0.3/bfd/som.h --- binutils-2.16.90.0.2/bfd/som.h 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/som.h 2005-05-10 15:46:43.000000000 -0700 @@ -19,8 +19,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef _SOM_H #define _SOM_H diff -uprN binutils-2.16.90.0.2/bfd/sparclinux.c binutils-2.16.90.0.3/bfd/sparclinux.c --- binutils-2.16.90.0.2/bfd/sparclinux.c 2005-04-09 12:03:00.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/sparclinux.c 2005-05-10 15:46:43.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define TARGET_PAGE_SIZE 4096 diff -uprN binutils-2.16.90.0.2/bfd/sparclynx.c binutils-2.16.90.0.3/bfd/sparclynx.c --- binutils-2.16.90.0.2/bfd/sparclynx.c 2005-04-09 12:03:00.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/sparclynx.c 2005-05-10 15:46:43.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Do not "beautify" the CONCAT* macro args. Traditional C will not remove whitespace added here, and thus will fail to concatenate diff -uprN binutils-2.16.90.0.2/bfd/sparcnetbsd.c binutils-2.16.90.0.3/bfd/sparcnetbsd.c --- binutils-2.16.90.0.2/bfd/sparcnetbsd.c 2003-03-19 09:19:13.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/sparcnetbsd.c 2005-05-10 15:46:43.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define TARGET_IS_BIG_ENDIAN_P diff -uprN binutils-2.16.90.0.2/bfd/srec.c binutils-2.16.90.0.3/bfd/srec.c --- binutils-2.16.90.0.2/bfd/srec.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/srec.c 2005-05-10 15:46:43.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* SUBSECTION S-Record handling diff -uprN binutils-2.16.90.0.2/bfd/stabs.c binutils-2.16.90.0.3/bfd/stabs.c --- binutils-2.16.90.0.2/bfd/stabs.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/stabs.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file contains support for linking stabs in sections, as used on COFF and ELF. */ diff -uprN binutils-2.16.90.0.2/bfd/stab-syms.c binutils-2.16.90.0.3/bfd/stab-syms.c --- binutils-2.16.90.0.2/bfd/stab-syms.c 2001-03-09 11:16:08.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/stab-syms.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" diff -uprN binutils-2.16.90.0.2/bfd/sunos.c binutils-2.16.90.0.3/bfd/sunos.c --- binutils-2.16.90.0.2/bfd/sunos.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/sunos.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define TARGETNAME "a.out-sunos-big" @@ -832,7 +832,6 @@ sunos_add_dynamic_symbols (bfd *abfd, bfd *dynobj; struct sunos_dynamic_info *dinfo; unsigned long need; - asection **ps; /* Make sure we have all the required sections. */ if (info->hash->creator == abfd->xvec) @@ -856,12 +855,17 @@ sunos_add_dynamic_symbols (bfd *abfd, want, because that one still implies that the section takes up space in the output file. If this is the first object we have seen, we must preserve the dynamic sections we just created. */ - for (ps = &abfd->sections; *ps != NULL; ) + if (abfd != dynobj) + abfd->sections = NULL; + else { - if (abfd != dynobj || ((*ps)->flags & SEC_LINKER_CREATED) == 0) - bfd_section_list_remove (abfd, ps); - else - ps = &(*ps)->next; + asection *s; + + for (s = abfd->sections; s != NULL; s = s->next) + { + if ((s->flags & SEC_LINKER_CREATED) == 0) + bfd_section_list_remove (abfd, s); + } } /* The native linker seems to just ignore dynamic objects when -r is diff -uprN binutils-2.16.90.0.2/bfd/syms.c binutils-2.16.90.0.3/bfd/syms.c --- binutils-2.16.90.0.2/bfd/syms.c 2004-11-22 12:33:31.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/syms.c 2005-05-10 15:46:43.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* SECTION diff -uprN binutils-2.16.90.0.2/bfd/sysdep.h binutils-2.16.90.0.3/bfd/sysdep.h --- binutils-2.16.90.0.2/bfd/sysdep.h 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/sysdep.h 2005-05-10 15:46:43.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef BFD_SYSDEP_H #define BFD_SYSDEP_H @@ -39,6 +39,10 @@ Foundation, Inc., 59 Temple Place - Suit extern int errno; #endif +#ifdef STRING_WITH_STRINGS +#include +#include +#else #ifdef HAVE_STRING_H #include #else @@ -49,6 +53,7 @@ extern char *strchr (); extern char *strrchr (); #endif #endif +#endif #ifdef HAVE_STDLIB_H #include @@ -125,6 +130,10 @@ extern PTR malloc (); extern PTR realloc (); #endif +#if !HAVE_DECL_STPCPY +extern char *stpcpy (char *__dest, const char *__src); +#endif + #if !HAVE_DECL_STRSTR extern char *strstr (); #endif diff -uprN binutils-2.16.90.0.2/bfd/targets.c binutils-2.16.90.0.3/bfd/targets.c --- binutils-2.16.90.0.2/bfd/targets.c 2005-04-09 12:03:00.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/targets.c 2005-05-10 15:46:43.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" @@ -561,6 +561,7 @@ extern const bfd_target bfd_elf32_hppa_n extern const bfd_target bfd_elf32_hppa_vec; extern const bfd_target bfd_elf32_i370_vec; extern const bfd_target bfd_elf32_i386_freebsd_vec; +extern const bfd_target bfd_elf32_i386_vxworks_vec; extern const bfd_target bfd_elf32_i386_vec; extern const bfd_target bfd_elf32_i860_little_vec; extern const bfd_target bfd_elf32_i860_vec; @@ -860,6 +861,7 @@ static const bfd_target * const _bfd_tar &bfd_elf32_hppa_vec, &bfd_elf32_i370_vec, &bfd_elf32_i386_freebsd_vec, + &bfd_elf32_i386_vxworks_vec, &bfd_elf32_i386_vec, &bfd_elf32_i860_little_vec, &bfd_elf32_i860_vec, diff -uprN binutils-2.16.90.0.2/bfd/tekhex.c binutils-2.16.90.0.3/bfd/tekhex.c --- binutils-2.16.90.0.2/bfd/tekhex.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/tekhex.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* SUBSECTION Tektronix Hex Format handling diff -uprN binutils-2.16.90.0.2/bfd/ticoff.h binutils-2.16.90.0.3/bfd/ticoff.h --- binutils-2.16.90.0.2/bfd/ticoff.h 2002-12-16 12:22:52.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/ticoff.h 2005-05-10 15:46:43.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #undef F_LSYMS #define F_LSYMS F_LSYMS_TICOFF diff -uprN binutils-2.16.90.0.2/bfd/trad-core.c binutils-2.16.90.0.3/bfd/trad-core.c --- binutils-2.16.90.0.2/bfd/trad-core.c 2004-07-27 21:36:09.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/trad-core.c 2005-05-10 15:46:43.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/vax1knetbsd.c binutils-2.16.90.0.3/bfd/vax1knetbsd.c --- binutils-2.16.90.0.2/bfd/vax1knetbsd.c 2002-06-08 20:44:52.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/vax1knetbsd.c 2005-05-10 15:46:43.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define BYTES_IN_WORD 4 #undef TARGET_IS_BIG_ENDIAN_P diff -uprN binutils-2.16.90.0.2/bfd/vaxbsd.c binutils-2.16.90.0.3/bfd/vaxbsd.c --- binutils-2.16.90.0.2/bfd/vaxbsd.c 2003-03-19 09:19:13.000000000 -0800 +++ binutils-2.16.90.0.3/bfd/vaxbsd.c 2005-05-10 15:46:43.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define N_HEADER_IN_TEXT(x) 0 #define ENTRY_CAN_BE_ZERO diff -uprN binutils-2.16.90.0.2/bfd/vaxnetbsd.c binutils-2.16.90.0.3/bfd/vaxnetbsd.c --- binutils-2.16.90.0.2/bfd/vaxnetbsd.c 2002-06-08 20:44:52.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/vaxnetbsd.c 2005-05-10 15:46:43.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define BYTES_IN_WORD 4 #undef TARGET_IS_BIG_ENDIAN_P diff -uprN binutils-2.16.90.0.2/bfd/versados.c binutils-2.16.90.0.3/bfd/versados.c --- binutils-2.16.90.0.2/bfd/versados.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/versados.c 2005-05-10 15:46:43.000000000 -0700 @@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* SUBSECTION diff -uprN binutils-2.16.90.0.2/bfd/version.h binutils-2.16.90.0.3/bfd/version.h --- binutils-2.16.90.0.2/bfd/version.h 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/version.h 2005-05-10 15:46:43.000000000 -0700 @@ -1,3 +1,3 @@ -#define BFD_VERSION_DATE 20050429 +#define BFD_VERSION_DATE 20050510 #define BFD_VERSION @bfd_version@ #define BFD_VERSION_STRING @bfd_version_string@ diff -uprN binutils-2.16.90.0.2/bfd/vms.c binutils-2.16.90.0.3/bfd/vms.c --- binutils-2.16.90.0.2/bfd/vms.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/vms.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/vms-gsd.c binutils-2.16.90.0.3/bfd/vms-gsd.c --- binutils-2.16.90.0.2/bfd/vms-gsd.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/vms-gsd.c 2005-05-10 15:46:43.000000000 -0700 @@ -20,7 +20,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/vms.h binutils-2.16.90.0.3/bfd/vms.h --- binutils-2.16.90.0.2/bfd/vms.h 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/vms.h 2005-05-10 15:46:43.000000000 -0700 @@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef VMS_H #define VMS_H diff -uprN binutils-2.16.90.0.2/bfd/vms-hdr.c binutils-2.16.90.0.3/bfd/vms-hdr.c --- binutils-2.16.90.0.2/bfd/vms-hdr.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/vms-hdr.c 2005-05-10 15:46:43.000000000 -0700 @@ -23,7 +23,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "bfdver.h" diff -uprN binutils-2.16.90.0.2/bfd/vms-misc.c binutils-2.16.90.0.3/bfd/vms-misc.c --- binutils-2.16.90.0.2/bfd/vms-misc.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/vms-misc.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #if __STDC__ #include diff -uprN binutils-2.16.90.0.2/bfd/vms-tir.c binutils-2.16.90.0.3/bfd/vms-tir.c --- binutils-2.16.90.0.2/bfd/vms-tir.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/vms-tir.c 2005-05-10 15:46:43.000000000 -0700 @@ -23,7 +23,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* The following type abbreviations are used: diff -uprN binutils-2.16.90.0.2/bfd/xcofflink.c binutils-2.16.90.0.3/bfd/xcofflink.c --- binutils-2.16.90.0.2/bfd/xcofflink.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/xcofflink.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" @@ -5380,7 +5380,7 @@ _bfd_xcoff_bfd_final_link (bfd *abfd, st { o->reloc_count = 0; o->lineno_count = 0; - for (p = o->link_order_head; p != NULL; p = p->next) + for (p = o->map_head.link_order; p != NULL; p = p->next) { if (p->type == bfd_indirect_link_order) { @@ -5436,40 +5436,35 @@ _bfd_xcoff_bfd_final_link (bfd *abfd, st { bfd_boolean saw_contents; int indx; - asection **op; file_ptr sofar; /* Insert .pad sections before every section which has contents and is loaded, if it is preceded by some other section which has contents and is loaded. */ saw_contents = TRUE; - for (op = &abfd->sections; *op != NULL; op = &(*op)->next) + for (o = abfd->sections; o != NULL; o = o->next) { - if (strcmp ((*op)->name, ".pad") == 0) + if (strcmp (o->name, ".pad") == 0) saw_contents = FALSE; - else if (((*op)->flags & SEC_HAS_CONTENTS) != 0 - && ((*op)->flags & SEC_LOAD) != 0) + else if ((o->flags & SEC_HAS_CONTENTS) != 0 + && (o->flags & SEC_LOAD) != 0) { if (! saw_contents) saw_contents = TRUE; else { - asection *n, **st; + asection *n; /* Create a pad section and place it before the section that needs padding. This requires unlinking and relinking the bfd's section list. */ - st = abfd->section_tail; n = bfd_make_section_anyway (abfd, ".pad"); n->flags = SEC_HAS_CONTENTS; n->alignment_power = 0; - BFD_ASSERT (*st == n); - bfd_section_list_remove (abfd, st); - bfd_section_list_insert (abfd, op, n); - - op = &n->next; + bfd_section_list_remove (abfd, n); + bfd_section_list_insert_before (abfd, o, n); saw_contents = FALSE; } } @@ -5674,7 +5669,7 @@ _bfd_xcoff_bfd_final_link (bfd *abfd, st for a single input file at once. */ for (o = abfd->sections; o != NULL; o = o->next) { - for (p = o->link_order_head; p != NULL; p = p->next) + for (p = o->map_head.link_order; p != NULL; p = p->next) { if (p->type == bfd_indirect_link_order && p->u.indirect.section->owner->xvec == abfd->xvec) diff -uprN binutils-2.16.90.0.2/bfd/xcoff-target.h binutils-2.16.90.0.3/bfd/xcoff-target.h --- binutils-2.16.90.0.2/bfd/xcoff-target.h 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/xcoff-target.h 2005-05-10 15:46:43.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Internalcoff.h and coffcode.h modify themselves based on this flag. */ #define RS6000COFF_C 1 diff -uprN binutils-2.16.90.0.2/bfd/xsym.c binutils-2.16.90.0.3/bfd/xsym.c --- binutils-2.16.90.0.2/bfd/xsym.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/xsym.c 2005-05-10 15:46:43.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "xsym.h" #include "bfd.h" diff -uprN binutils-2.16.90.0.2/bfd/xsym.h binutils-2.16.90.0.3/bfd/xsym.h --- binutils-2.16.90.0.2/bfd/xsym.h 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/xsym.h 2005-05-10 15:46:43.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include diff -uprN binutils-2.16.90.0.2/bfd/xtensa-isa.c binutils-2.16.90.0.3/bfd/xtensa-isa.c --- binutils-2.16.90.0.2/bfd/xtensa-isa.c 2005-04-09 12:03:00.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/xtensa-isa.c 2005-05-10 15:46:43.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/bfd/xtensa-modules.c binutils-2.16.90.0.3/bfd/xtensa-modules.c --- binutils-2.16.90.0.2/bfd/xtensa-modules.c 2005-04-09 12:03:00.000000000 -0700 +++ binutils-2.16.90.0.3/bfd/xtensa-modules.c 2005-05-10 15:46:43.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "ansidecl.h" #include diff -uprN binutils-2.16.90.0.2/binutils/aclocal.m4 binutils-2.16.90.0.3/binutils/aclocal.m4 --- binutils-2.16.90.0.2/binutils/aclocal.m4 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/aclocal.m4 2005-05-10 15:46:43.000000000 -0700 @@ -113,7 +113,7 @@ AC_REQUIRE([AC_PROG_MAKE_SET])]) # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- diff -uprN binutils-2.16.90.0.2/binutils/addr2line.c binutils-2.16.90.0.3/binutils/addr2line.c --- binutils-2.16.90.0.2/binutils/addr2line.c 2005-04-09 12:03:01.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/addr2line.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Derived from objdump.c and nm.c by Ulrich.Lauther@mchp.siemens.de diff -uprN binutils-2.16.90.0.2/binutils/ar.c binutils-2.16.90.0.3/binutils/ar.c --- binutils-2.16.90.0.2/binutils/ar.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/ar.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Bugs: should use getopt the way tar does (complete w/optional -) and diff -uprN binutils-2.16.90.0.2/binutils/arlex.l binutils-2.16.90.0.3/binutils/arlex.l --- binutils-2.16.90.0.2/binutils/arlex.l 2005-04-09 12:03:01.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/arlex.l 2005-05-10 15:46:43.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Contributed by Steve Chamberlain . */ diff -uprN binutils-2.16.90.0.2/binutils/arparse.y binutils-2.16.90.0.3/binutils/arparse.y --- binutils-2.16.90.0.2/binutils/arparse.y 2005-04-09 12:03:01.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/arparse.y 2005-05-10 15:46:43.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Contributed by Steve Chamberlain diff -uprN binutils-2.16.90.0.2/binutils/arsup.c binutils-2.16.90.0.3/binutils/arsup.c --- binutils-2.16.90.0.2/binutils/arsup.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/arsup.c 2005-05-10 15:46:43.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Contributed by Steve Chamberlain diff -uprN binutils-2.16.90.0.2/binutils/arsup.h binutils-2.16.90.0.3/binutils/arsup.h --- binutils-2.16.90.0.2/binutils/arsup.h 2005-04-09 12:03:01.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/arsup.h 2005-05-10 15:46:43.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ struct list { char *name; diff -uprN binutils-2.16.90.0.2/binutils/binemul.c binutils-2.16.90.0.3/binutils/binemul.c --- binutils-2.16.90.0.2/binutils/binemul.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/binemul.c 2005-05-10 15:46:43.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "binemul.h" diff -uprN binutils-2.16.90.0.2/binutils/binemul.h binutils-2.16.90.0.3/binutils/binemul.h --- binutils-2.16.90.0.2/binutils/binemul.h 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/binemul.h 2005-05-10 15:46:43.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef BINEMUL_H #define BINEMUL_H diff -uprN binutils-2.16.90.0.2/binutils/bucomm.c binutils-2.16.90.0.3/binutils/bucomm.c --- binutils-2.16.90.0.2/binutils/bucomm.c 2004-01-14 13:07:44.000000000 -0800 +++ binutils-2.16.90.0.3/binutils/bucomm.c 2005-05-10 15:46:43.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* We might put this in a library someday so it could be dynamically loaded, but for now it's not necessary. */ diff -uprN binutils-2.16.90.0.2/binutils/bucomm.h binutils-2.16.90.0.3/binutils/bucomm.h --- binutils-2.16.90.0.2/binutils/bucomm.h 2005-04-09 12:03:01.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/bucomm.h 2005-05-10 15:46:43.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _BUCOMM_H #define _BUCOMM_H diff -uprN binutils-2.16.90.0.2/binutils/budbg.h binutils-2.16.90.0.3/binutils/budbg.h --- binutils-2.16.90.0.2/binutils/budbg.h 2004-01-14 13:07:44.000000000 -0800 +++ binutils-2.16.90.0.3/binutils/budbg.h 2005-05-10 15:46:43.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef BUDBG_H #define BUDBG_H diff -uprN binutils-2.16.90.0.2/binutils/budemang.c binutils-2.16.90.0.3/binutils/budemang.c --- binutils-2.16.90.0.2/binutils/budemang.c 2005-04-09 12:03:01.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/budemang.c 2005-05-10 15:46:43.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "config.h" #include diff -uprN binutils-2.16.90.0.2/binutils/budemang.h binutils-2.16.90.0.3/binutils/budemang.h --- binutils-2.16.90.0.2/binutils/budemang.h 2004-01-14 13:07:44.000000000 -0800 +++ binutils-2.16.90.0.3/binutils/budemang.h 2005-05-10 15:46:43.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef BUDEMANG_H #define BUDEMANG_H diff -uprN binutils-2.16.90.0.2/binutils/ChangeLog binutils-2.16.90.0.3/binutils/ChangeLog --- binutils-2.16.90.0.2/binutils/ChangeLog 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/ChangeLog 2005-05-10 15:46:43.000000000 -0700 @@ -1,3 +1,34 @@ +2005-05-07 Nick Clifton + + * Update the address and phone number of the FSF organization in + the GPL notices in the following files: + aclocal.m4, addr2line.c, ar.c, arlex.l, arparse.y, arsup.c, + arsup.h, binemul.c, binemul.h, bucomm.c, bucomm.h, budbg.h, + budemang.c, budemang.h, coffdump.c, coffgrok.c, coffgrok.h, + cxxfilt.c, debug.c, debug.h, deflex.l, defparse.y, dlltool.c, + dlltool.h, dllwrap.c, emul_aix.c, emul_vanilla.c, filemode.c, + ieee.c, nlmconv.c, nlmconv.h, nlmheader.y, nm.c, objcopy.c, + objdump.c, prdbg.c, rclex.l, rcparse.y, rdcoff.c, rddbg.c, + readelf.c, rename.c, resbin.c, rescoff.c, resrc.c, resres.c, + size.c, srconv.c, stabs.c, strings.c, sysdump.c, sysinfo.y, + syslex.l, unwind-ia64.c, unwind-ia64.h, version.c, windres.c, + windres.h, winduni.c, winduni.h wrstabs.c, doc/fdl.texi + +2005-05-06 Jan Beulich + + * objcopy.c (copy_file): Don't delete output upon error here. + (copy_main): Delete output upon error. + +2005-05-02 Ben Elliston + + * dlltool.c (dtab): Remove empty function. + (process_duplicates): Remove calls to dtab(). + +2005-05-01 Maciej W. Rozycki + + * doc/binutils.texi (strip, objcopy): Clarify the description of + the "--strip-debug" option. Fix a typo. + 2005-04-29 H.J. Lu * bucomm.c: Undo the last change. diff -uprN binutils-2.16.90.0.2/binutils/coffdump.c binutils-2.16.90.0.3/binutils/coffdump.c --- binutils-2.16.90.0.2/binutils/coffdump.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/coffdump.c 2005-05-10 15:46:43.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Written by Steve Chamberlain diff -uprN binutils-2.16.90.0.2/binutils/coffgrok.c binutils-2.16.90.0.3/binutils/coffgrok.c --- binutils-2.16.90.0.2/binutils/coffgrok.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/coffgrok.c 2005-05-10 15:46:43.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Written by Steve Chamberlain (sac@cygnus.com) diff -uprN binutils-2.16.90.0.2/binutils/coffgrok.h binutils-2.16.90.0.3/binutils/coffgrok.h --- binutils-2.16.90.0.2/binutils/coffgrok.h 2005-04-09 12:03:01.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/coffgrok.h 2005-05-10 15:46:43.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define T_NULL 0 #define T_VOID 1 /* function argument (only used by compiler) */ diff -uprN binutils-2.16.90.0.2/binutils/cxxfilt.c binutils-2.16.90.0.3/binutils/cxxfilt.c --- binutils-2.16.90.0.2/binutils/cxxfilt.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/cxxfilt.c 2005-05-10 15:46:43.000000000 -0700 @@ -19,8 +19,8 @@ for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA +02110-1301, USA. */ #include "config.h" #include "bfd.h" diff -uprN binutils-2.16.90.0.2/binutils/debug.c binutils-2.16.90.0.3/binutils/debug.c --- binutils-2.16.90.0.2/binutils/debug.c 2005-04-09 12:03:01.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/debug.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* This file implements a generic debugging format. We may eventually have readers which convert different formats into this generic diff -uprN binutils-2.16.90.0.2/binutils/debug.h binutils-2.16.90.0.3/binutils/debug.h --- binutils-2.16.90.0.2/binutils/debug.h 2004-01-14 13:07:44.000000000 -0800 +++ binutils-2.16.90.0.3/binutils/debug.h 2005-05-10 15:46:43.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef DEBUG_H #define DEBUG_H diff -uprN binutils-2.16.90.0.2/binutils/deflex.l binutils-2.16.90.0.3/binutils/deflex.l --- binutils-2.16.90.0.2/binutils/deflex.l 2005-04-09 12:03:01.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/deflex.l 2005-05-10 15:46:43.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Contributed by Steve Chamberlain: sac@cygnus.com */ diff -uprN binutils-2.16.90.0.2/binutils/defparse.y binutils-2.16.90.0.3/binutils/defparse.y --- binutils-2.16.90.0.2/binutils/defparse.y 2005-04-09 12:03:01.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/defparse.y 2005-05-10 15:46:43.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "bucomm.h" diff -uprN binutils-2.16.90.0.2/binutils/dlltool.c binutils-2.16.90.0.3/binutils/dlltool.c --- binutils-2.16.90.0.2/binutils/dlltool.c 2005-04-09 12:03:01.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/dlltool.c 2005-05-10 15:46:43.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* This program allows you to build the files necessary to create @@ -703,7 +703,6 @@ static void gen_lib_file (void); static int pfunc (const void *, const void *); static int nfunc (const void *, const void *); static void remove_null_names (export_type **); -static void dtab (export_type **); static void process_duplicates (export_type **); static void fill_ordinals (export_type **); static int alphafunc (const void *, const void *); @@ -2857,27 +2856,6 @@ remove_null_names (export_type **ptr) } static void -dtab (export_type **ptr ATTRIBUTE_UNUSED) -{ -#ifdef SACDEBUG - int i; - for (i = 0; i < d_nfuncs; i++) - { - if (ptr[i]) - { - printf ("%d %s @ %d %s%s%s\n", - i, ptr[i]->name, ptr[i]->ordinal, - ptr[i]->noname ? "NONAME " : "", - ptr[i]->constant ? "CONSTANT" : "", - ptr[i]->data ? "DATA" : ""); - } - else - printf ("empty\n"); - } -#endif -} - -static void process_duplicates (export_type **d_export_vec) { int more = 1; @@ -2889,7 +2867,6 @@ process_duplicates (export_type **d_expo /* Remove duplicates. */ qsort (d_export_vec, d_nfuncs, sizeof (export_type *), nfunc); - dtab (d_export_vec); for (i = 0; i < d_nfuncs - 1; i++) { if (strcmp (d_export_vec[i]->name, @@ -2918,9 +2895,7 @@ process_duplicates (export_type **d_expo d_export_vec[i] = 0; } - dtab (d_export_vec); remove_null_names (d_export_vec); - dtab (d_export_vec); } } diff -uprN binutils-2.16.90.0.2/binutils/dlltool.h binutils-2.16.90.0.3/binutils/dlltool.h --- binutils-2.16.90.0.2/binutils/dlltool.h 2004-04-12 12:56:34.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/dlltool.h 2005-05-10 15:46:43.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "ansidecl.h" #include diff -uprN binutils-2.16.90.0.2/binutils/dllwrap.c binutils-2.16.90.0.3/binutils/dllwrap.c --- binutils-2.16.90.0.2/binutils/dllwrap.c 2004-09-15 12:05:03.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/dllwrap.c 2005-05-10 15:46:43.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* AIX requires this to be the first thing in the file. */ #ifndef __GNUC__ diff -uprN binutils-2.16.90.0.2/binutils/doc/binutils.texi binutils-2.16.90.0.3/binutils/doc/binutils.texi --- binutils-2.16.90.0.2/binutils/doc/binutils.texi 2005-04-29 10:50:27.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/doc/binutils.texi 2005-05-10 15:46:43.000000000 -0700 @@ -1428,8 +1428,9 @@ Creates a .gnu_debuglink section which c and adds it to the output file. @item --only-keep-debug -Strip a file, removing any sections that would be stripped by -@option{--strip-debug} and leaving the debugging sections. +Strip a file, removing contents of any sections that would not be +stripped by @option{--strip-debug} and leaving the debugging sections +intact. The intention is that this option will be used in conjunction with @option{--add-gnu-debuglink} to create a two part executable. One a @@ -1460,7 +1461,7 @@ optional. You could instead do this: @item Run @code{objcopy --add-gnu-debuglink=foo.full foo} @end enumerate -ie the file pointed to by the @option{--add-gnu-debuglink} can be the +i.e. the file pointed to by the @option{--add-gnu-debuglink} can be the full executable. It does not have to be a file created by the @option{--only-keep-debug} switch. diff -uprN binutils-2.16.90.0.2/binutils/doc/fdl.texi binutils-2.16.90.0.3/binutils/doc/fdl.texi --- binutils-2.16.90.0.2/binutils/doc/fdl.texi 2005-04-09 12:03:02.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/doc/fdl.texi 2005-05-10 15:46:43.000000000 -0700 @@ -6,7 +6,7 @@ @display Copyright (C) 2000, 2003 Free Software Foundation, Inc. -59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. diff -uprN binutils-2.16.90.0.2/binutils/emul_aix.c binutils-2.16.90.0.3/binutils/emul_aix.c --- binutils-2.16.90.0.2/binutils/emul_aix.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/emul_aix.c 2005-05-10 15:46:43.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "binemul.h" #include "bfdlink.h" diff -uprN binutils-2.16.90.0.2/binutils/emul_vanilla.c binutils-2.16.90.0.3/binutils/emul_vanilla.c --- binutils-2.16.90.0.2/binutils/emul_vanilla.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/emul_vanilla.c 2005-05-10 15:46:43.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "binemul.h" diff -uprN binutils-2.16.90.0.2/binutils/filemode.c binutils-2.16.90.0.3/binutils/filemode.c --- binutils-2.16.90.0.2/binutils/filemode.c 2005-04-09 12:03:01.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/filemode.c 2005-05-10 15:46:43.000000000 -0700 @@ -14,8 +14,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "bfd.h" #include "bucomm.h" diff -uprN binutils-2.16.90.0.2/binutils/ieee.c binutils-2.16.90.0.3/binutils/ieee.c --- binutils-2.16.90.0.2/binutils/ieee.c 2005-04-09 12:03:01.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/ieee.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* This file reads and writes IEEE-695 debugging information. */ diff -uprN binutils-2.16.90.0.2/binutils/nlmconv.c binutils-2.16.90.0.3/binutils/nlmconv.c --- binutils-2.16.90.0.2/binutils/nlmconv.c 2005-04-09 12:03:01.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/nlmconv.c 2005-05-10 15:46:43.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Written by Ian Lance Taylor . diff -uprN binutils-2.16.90.0.2/binutils/nlmconv.h binutils-2.16.90.0.3/binutils/nlmconv.h --- binutils-2.16.90.0.2/binutils/nlmconv.h 2004-01-14 13:07:44.000000000 -0800 +++ binutils-2.16.90.0.3/binutils/nlmconv.h 2005-05-10 15:46:43.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Written by Ian Lance Taylor . diff -uprN binutils-2.16.90.0.2/binutils/nlmheader.y binutils-2.16.90.0.3/binutils/nlmheader.y --- binutils-2.16.90.0.2/binutils/nlmheader.y 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/nlmheader.y 2005-05-10 15:46:43.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Written by Ian Lance Taylor . diff -uprN binutils-2.16.90.0.2/binutils/nm.c binutils-2.16.90.0.3/binutils/nm.c --- binutils-2.16.90.0.2/binutils/nm.c 2005-04-09 12:03:01.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/nm.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "bfd.h" #include "progress.h" diff -uprN binutils-2.16.90.0.2/binutils/objcopy.c binutils-2.16.90.0.3/binutils/objcopy.c --- binutils-2.16.90.0.2/binutils/objcopy.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/objcopy.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "bfd.h" #include "progress.h" @@ -1731,7 +1731,6 @@ copy_file (const char *input_filename, c else if (bfd_check_format_matches (ibfd, bfd_object, &obj_matching)) { bfd *obfd; - bfd_boolean delete; do_copy: /* bfd_get_target does not return the correct value until @@ -1743,7 +1742,8 @@ copy_file (const char *input_filename, c if (obfd == NULL) RETURN_NONFATAL (output_filename); - delete = ! copy_object (ibfd, obfd); + if (! copy_object (ibfd, obfd)) + status = 1; if (!bfd_close (obfd)) RETURN_NONFATAL (output_filename); @@ -1751,11 +1751,6 @@ copy_file (const char *input_filename, c if (!bfd_close (ibfd)) RETURN_NONFATAL (input_filename); - if (delete) - { - unlink_if_ordinary (output_filename); - status = 1; - } } else { @@ -3054,6 +3049,8 @@ copy_main (int argc, char *argv[]) if (status == 0 && preserve_dates) set_times (output_filename, &statbuf); + else if (status != 0) + unlink_if_ordinary (output_filename); } if (change_warn) diff -uprN binutils-2.16.90.0.2/binutils/objdump.c binutils-2.16.90.0.3/binutils/objdump.c --- binutils-2.16.90.0.2/binutils/objdump.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/objdump.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Objdump overview. diff -uprN binutils-2.16.90.0.2/binutils/prdbg.c binutils-2.16.90.0.3/binutils/prdbg.c --- binutils-2.16.90.0.2/binutils/prdbg.c 2005-04-09 12:03:01.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/prdbg.c 2005-05-10 15:46:43.000000000 -0700 @@ -18,8 +18,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* This file prints out the generic debugging information, by supplying a set of routines to debug_write. */ diff -uprN binutils-2.16.90.0.2/binutils/rclex.l binutils-2.16.90.0.3/binutils/rclex.l --- binutils-2.16.90.0.2/binutils/rclex.l 2005-04-09 12:03:01.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/rclex.l 2005-05-10 15:46:43.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* This is a lex input file which generates a lexer used by the Windows rc file parser. It basically just recognized a bunch of diff -uprN binutils-2.16.90.0.2/binutils/rcparse.y binutils-2.16.90.0.3/binutils/rcparse.y --- binutils-2.16.90.0.2/binutils/rcparse.y 2005-04-09 12:03:01.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/rcparse.y 2005-05-10 15:46:43.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* This is a parser for Windows rc files. It is based on the parser by Gunther Ebert . */ diff -uprN binutils-2.16.90.0.2/binutils/rdcoff.c binutils-2.16.90.0.3/binutils/rdcoff.c --- binutils-2.16.90.0.2/binutils/rdcoff.c 2005-04-09 12:03:01.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/rdcoff.c 2005-05-10 15:46:43.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* This file contains code which parses COFF debugging information. */ diff -uprN binutils-2.16.90.0.2/binutils/rddbg.c binutils-2.16.90.0.3/binutils/rddbg.c --- binutils-2.16.90.0.2/binutils/rddbg.c 2004-01-14 13:07:44.000000000 -0800 +++ binutils-2.16.90.0.3/binutils/rddbg.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* This file reads debugging information into a generic form. This file knows how to dig the debugging information out of an object diff -uprN binutils-2.16.90.0.2/binutils/readelf.c binutils-2.16.90.0.3/binutils/readelf.c --- binutils-2.16.90.0.2/binutils/readelf.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/readelf.c 2005-05-10 15:46:43.000000000 -0700 @@ -19,8 +19,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* The difference between readelf and objdump: diff -uprN binutils-2.16.90.0.2/binutils/rename.c binutils-2.16.90.0.3/binutils/rename.c --- binutils-2.16.90.0.2/binutils/rename.c 2004-01-14 13:07:44.000000000 -0800 +++ binutils-2.16.90.0.3/binutils/rename.c 2005-05-10 15:46:43.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "bfd.h" #include "bucomm.h" diff -uprN binutils-2.16.90.0.2/binutils/resbin.c binutils-2.16.90.0.3/binutils/resbin.c --- binutils-2.16.90.0.2/binutils/resbin.c 2004-01-14 13:07:44.000000000 -0800 +++ binutils-2.16.90.0.3/binutils/resbin.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* This file contains functions to convert between the binary resource format and the internal structures that we want to use. The same diff -uprN binutils-2.16.90.0.2/binutils/rescoff.c binutils-2.16.90.0.3/binutils/rescoff.c --- binutils-2.16.90.0.2/binutils/rescoff.c 2004-01-14 13:07:44.000000000 -0800 +++ binutils-2.16.90.0.3/binutils/rescoff.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* This file contains function that read and write Windows resources in COFF files. */ diff -uprN binutils-2.16.90.0.2/binutils/resrc.c binutils-2.16.90.0.3/binutils/resrc.c --- binutils-2.16.90.0.2/binutils/resrc.c 2005-04-09 12:03:02.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/resrc.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* This file contains functions that read and write Windows rc files. These are text files that represent resources. */ diff -uprN binutils-2.16.90.0.2/binutils/resres.c binutils-2.16.90.0.3/binutils/resres.c --- binutils-2.16.90.0.2/binutils/resres.c 2005-04-09 12:03:02.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/resres.c 2005-05-10 15:46:43.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* FIXME: This file does not work correctly in a cross configuration. It assumes that it can use fread and fwrite to read and write diff -uprN binutils-2.16.90.0.2/binutils/size.c binutils-2.16.90.0.3/binutils/size.c --- binutils-2.16.90.0.2/binutils/size.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/size.c 2005-05-10 15:46:43.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Extensions/incompatibilities: o - BSD output has filenames at the end. diff -uprN binutils-2.16.90.0.2/binutils/srconv.c binutils-2.16.90.0.3/binutils/srconv.c --- binutils-2.16.90.0.2/binutils/srconv.c 2005-04-09 12:03:02.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/srconv.c 2005-05-10 15:46:43.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* Written by Steve Chamberlain (sac@cygnus.com) diff -uprN binutils-2.16.90.0.2/binutils/stabs.c binutils-2.16.90.0.3/binutils/stabs.c --- binutils-2.16.90.0.2/binutils/stabs.c 2004-11-22 12:33:31.000000000 -0800 +++ binutils-2.16.90.0.3/binutils/stabs.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* This file contains code which parses stabs debugging information. The organization of this code is based on the gdb stabs reading diff -uprN binutils-2.16.90.0.2/binutils/strings.c binutils-2.16.90.0.3/binutils/strings.c --- binutils-2.16.90.0.2/binutils/strings.c 2004-11-22 12:33:31.000000000 -0800 +++ binutils-2.16.90.0.3/binutils/strings.c 2005-05-10 15:46:43.000000000 -0700 @@ -14,8 +14,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* Usage: strings [options] file... diff -uprN binutils-2.16.90.0.2/binutils/sysdump.c binutils-2.16.90.0.3/binutils/sysdump.c --- binutils-2.16.90.0.2/binutils/sysdump.c 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/sysdump.c 2005-05-10 15:46:43.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* Written by Steve Chamberlain . diff -uprN binutils-2.16.90.0.2/binutils/sysinfo.y binutils-2.16.90.0.3/binutils/sysinfo.y --- binutils-2.16.90.0.2/binutils/sysinfo.y 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/sysinfo.y 2005-05-10 15:46:43.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ %{ #include diff -uprN binutils-2.16.90.0.2/binutils/syslex.l binutils-2.16.90.0.3/binutils/syslex.l --- binutils-2.16.90.0.2/binutils/syslex.l 2005-04-29 10:50:26.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/syslex.l 2005-05-10 15:46:43.000000000 -0700 @@ -15,8 +15,8 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with GLD; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA +02110-1301, USA. */ #include "config.h" #ifdef HAVE_STRING_H diff -uprN binutils-2.16.90.0.2/binutils/testsuite/binutils-all/ar.exp binutils-2.16.90.0.3/binutils/testsuite/binutils-all/ar.exp --- binutils-2.16.90.0.2/binutils/testsuite/binutils-all/ar.exp 2005-04-09 12:03:02.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/testsuite/binutils-all/ar.exp 2005-05-10 15:46:43.000000000 -0700 @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. # Please email any bugs, comments, and/or additions to this file to: # bug-dejagnu@prep.ai.mit.edu diff -uprN binutils-2.16.90.0.2/binutils/testsuite/binutils-all/dlltool.exp binutils-2.16.90.0.3/binutils/testsuite/binutils-all/dlltool.exp --- binutils-2.16.90.0.2/binutils/testsuite/binutils-all/dlltool.exp 2005-04-09 12:03:02.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/testsuite/binutils-all/dlltool.exp 2005-05-10 15:46:43.000000000 -0700 @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. if {![istarget "i*86-*-*"]} { return diff -uprN binutils-2.16.90.0.2/binutils/testsuite/binutils-all/hppa/objdump.exp binutils-2.16.90.0.3/binutils/testsuite/binutils-all/hppa/objdump.exp --- binutils-2.16.90.0.2/binutils/testsuite/binutils-all/hppa/objdump.exp 2005-04-09 12:03:02.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/testsuite/binutils-all/hppa/objdump.exp 2005-05-10 15:46:43.000000000 -0700 @@ -13,7 +13,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. # Please email any bugs, comments, and/or additions to this file to: # bug-dejagnu@prep.ai.mit.edu diff -uprN binutils-2.16.90.0.2/binutils/testsuite/binutils-all/m68k/objdump.exp binutils-2.16.90.0.3/binutils/testsuite/binutils-all/m68k/objdump.exp --- binutils-2.16.90.0.2/binutils/testsuite/binutils-all/m68k/objdump.exp 2004-07-27 21:36:09.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/testsuite/binutils-all/m68k/objdump.exp 2005-05-10 15:46:43.000000000 -0700 @@ -13,7 +13,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. if {![istarget "m68*-*-*"] || [istarget "m68h*-*-*"] || [istarget "m681*-*-*"]} then { return diff -uprN binutils-2.16.90.0.2/binutils/testsuite/binutils-all/nm.exp binutils-2.16.90.0.3/binutils/testsuite/binutils-all/nm.exp --- binutils-2.16.90.0.2/binutils/testsuite/binutils-all/nm.exp 2001-03-15 14:51:57.000000000 -0800 +++ binutils-2.16.90.0.3/binutils/testsuite/binutils-all/nm.exp 2005-05-10 15:46:43.000000000 -0700 @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. # Please email any bugs, comments, and/or additions to this file to: # bug-dejagnu@prep.ai.mit.edu diff -uprN binutils-2.16.90.0.2/binutils/testsuite/binutils-all/objcopy.exp binutils-2.16.90.0.3/binutils/testsuite/binutils-all/objcopy.exp --- binutils-2.16.90.0.2/binutils/testsuite/binutils-all/objcopy.exp 2005-04-09 12:03:02.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/testsuite/binutils-all/objcopy.exp 2005-05-10 15:46:43.000000000 -0700 @@ -14,7 +14,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. # Please email any bugs, comments, and/or additions to this file to: # bug-dejagnu@prep.ai.mit.edu diff -uprN binutils-2.16.90.0.2/binutils/testsuite/binutils-all/objdump.exp binutils-2.16.90.0.3/binutils/testsuite/binutils-all/objdump.exp --- binutils-2.16.90.0.2/binutils/testsuite/binutils-all/objdump.exp 2005-04-09 12:03:02.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/testsuite/binutils-all/objdump.exp 2005-05-10 15:46:43.000000000 -0700 @@ -14,7 +14,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. # Please email any bugs, comments, and/or additions to this file to: # bug-dejagnu@prep.ai.mit.edu diff -uprN binutils-2.16.90.0.2/binutils/testsuite/binutils-all/readelf.exp binutils-2.16.90.0.3/binutils/testsuite/binutils-all/readelf.exp --- binutils-2.16.90.0.2/binutils/testsuite/binutils-all/readelf.exp 2005-04-09 12:03:02.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/testsuite/binutils-all/readelf.exp 2005-05-10 15:46:43.000000000 -0700 @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. # Please email any bugs, comments, and/or additions to this file to: # bug-dejagnu@prep.ai.mit.edu diff -uprN binutils-2.16.90.0.2/binutils/testsuite/binutils-all/size.exp binutils-2.16.90.0.3/binutils/testsuite/binutils-all/size.exp --- binutils-2.16.90.0.2/binutils/testsuite/binutils-all/size.exp 2001-03-15 14:51:57.000000000 -0800 +++ binutils-2.16.90.0.3/binutils/testsuite/binutils-all/size.exp 2005-05-10 15:46:43.000000000 -0700 @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. # Please email any bugs, comments, and/or additions to this file to: # bug-dejagnu@prep.ai.mit.edu diff -uprN binutils-2.16.90.0.2/binutils/testsuite/binutils-all/vax/objdump.exp binutils-2.16.90.0.3/binutils/testsuite/binutils-all/vax/objdump.exp --- binutils-2.16.90.0.2/binutils/testsuite/binutils-all/vax/objdump.exp 2005-04-09 12:03:02.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/testsuite/binutils-all/vax/objdump.exp 2005-05-10 15:46:43.000000000 -0700 @@ -14,7 +14,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. # # diff -uprN binutils-2.16.90.0.2/binutils/testsuite/binutils-all/windres/msupdate binutils-2.16.90.0.3/binutils/testsuite/binutils-all/windres/msupdate --- binutils-2.16.90.0.2/binutils/testsuite/binutils-all/windres/msupdate 2001-07-26 18:02:55.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/testsuite/binutils-all/windres/msupdate 2005-05-10 15:46:43.000000000 -0700 @@ -13,7 +13,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. # Please email any bugs, comments, and/or additions to this file to: # bug-dejagnu@prep.ai.mit.edu diff -uprN binutils-2.16.90.0.2/binutils/testsuite/binutils-all/windres/windres.exp binutils-2.16.90.0.3/binutils/testsuite/binutils-all/windres/windres.exp --- binutils-2.16.90.0.2/binutils/testsuite/binutils-all/windres/windres.exp 2005-04-09 12:03:02.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/testsuite/binutils-all/windres/windres.exp 2005-05-10 15:46:43.000000000 -0700 @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. # Please email any bugs, comments, and/or additions to this file to: # bug-dejagnu@prep.ai.mit.edu diff -uprN binutils-2.16.90.0.2/binutils/testsuite/ChangeLog binutils-2.16.90.0.3/binutils/testsuite/ChangeLog --- binutils-2.16.90.0.2/binutils/testsuite/ChangeLog 2005-04-09 12:03:02.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/testsuite/ChangeLog 2005-05-10 15:46:43.000000000 -0700 @@ -1,3 +1,15 @@ +2005-05-07 Nick Clifton + + * Update the address and phone number of the FSF organization in + the GPL notices in the following files: + binutils-all/ar.exp, binutils-all/dlltool.exp, + binutils-all/nm.exp, binutils-all/objcopy.exp, + binutils-all/objdump.exp, binutils-all/readelf.exp, + binutils-all/size.exp, binutils-all/hppa/objdump.exp, + binutils-all/m68k/objdump.exp, binutils-all/vax/objdump.exp, + binutils-all/windres/msupdate, binutils-all/windres/windres.exp, + config/default.exp, lib/utils-lib.exp + 2005-04-04 Jan-Benedict Glaw * binutils-all/vax/objdump.exp: Condense the two tests into one diff -uprN binutils-2.16.90.0.2/binutils/testsuite/config/default.exp binutils-2.16.90.0.3/binutils/testsuite/config/default.exp --- binutils-2.16.90.0.2/binutils/testsuite/config/default.exp 2005-04-09 12:03:02.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/testsuite/config/default.exp 2005-05-10 15:46:43.000000000 -0700 @@ -13,7 +13,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. # Please email any bugs, comments, and/or additions to this file to: # bug-dejagnu@prep.ai.mit.edu diff -uprN binutils-2.16.90.0.2/binutils/testsuite/lib/utils-lib.exp binutils-2.16.90.0.3/binutils/testsuite/lib/utils-lib.exp --- binutils-2.16.90.0.2/binutils/testsuite/lib/utils-lib.exp 2005-04-09 12:03:02.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/testsuite/lib/utils-lib.exp 2005-05-10 15:46:43.000000000 -0700 @@ -13,7 +13,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. # Please email any bugs, comments, and/or additions to this file to: # bug-dejagnu@prep.ai.mit.edu diff -uprN binutils-2.16.90.0.2/binutils/unwind-ia64.c binutils-2.16.90.0.3/binutils/unwind-ia64.c --- binutils-2.16.90.0.2/binutils/unwind-ia64.c 2005-04-09 12:03:02.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/unwind-ia64.c 2005-05-10 15:46:43.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "unwind-ia64.h" #include diff -uprN binutils-2.16.90.0.2/binutils/unwind-ia64.h binutils-2.16.90.0.3/binutils/unwind-ia64.h --- binutils-2.16.90.0.2/binutils/unwind-ia64.h 2004-01-14 13:07:44.000000000 -0800 +++ binutils-2.16.90.0.3/binutils/unwind-ia64.h 2005-05-10 15:46:43.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "elf/ia64.h" #include "ansidecl.h" diff -uprN binutils-2.16.90.0.2/binutils/version.c binutils-2.16.90.0.3/binutils/version.c --- binutils-2.16.90.0.2/binutils/version.c 2005-04-09 12:03:02.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/version.c 2005-05-10 15:46:43.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include "bfd.h" diff -uprN binutils-2.16.90.0.2/binutils/windres.c binutils-2.16.90.0.3/binutils/windres.c --- binutils-2.16.90.0.2/binutils/windres.c 2005-04-09 12:03:02.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/windres.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* This program can read and write Windows resources in various formats. In particular, it can act like the rc resource compiler diff -uprN binutils-2.16.90.0.2/binutils/windres.h binutils-2.16.90.0.3/binutils/windres.h --- binutils-2.16.90.0.2/binutils/windres.h 2005-04-09 12:03:02.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/windres.h 2005-05-10 15:46:43.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "ansidecl.h" diff -uprN binutils-2.16.90.0.2/binutils/winduni.c binutils-2.16.90.0.3/binutils/winduni.c --- binutils-2.16.90.0.2/binutils/winduni.c 2005-04-09 12:03:02.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/winduni.c 2005-05-10 15:46:43.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* This file contains unicode support routines for the windres program. Ideally, we would have generic unicode support which diff -uprN binutils-2.16.90.0.2/binutils/winduni.h binutils-2.16.90.0.3/binutils/winduni.h --- binutils-2.16.90.0.2/binutils/winduni.h 2002-05-26 09:57:12.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/winduni.h 2005-05-10 15:46:43.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "ansidecl.h" diff -uprN binutils-2.16.90.0.2/binutils/wrstabs.c binutils-2.16.90.0.3/binutils/wrstabs.c --- binutils-2.16.90.0.2/binutils/wrstabs.c 2005-04-09 12:03:02.000000000 -0700 +++ binutils-2.16.90.0.3/binutils/wrstabs.c 2005-05-10 15:46:43.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* This file contains code which writes out stabs debugging information. */ diff -uprN binutils-2.16.90.0.2/binutils.spec binutils-2.16.90.0.3/binutils.spec --- binutils-2.16.90.0.2/binutils.spec 2005-04-29 10:49:22.000000000 -0700 +++ binutils-2.16.90.0.3/binutils.spec 2005-05-10 08:17:17.000000000 -0700 @@ -12,7 +12,7 @@ Summary: A GNU collection of binary utilities. Name: binutils -Version: 2.16.90.0.2 +Version: 2.16.90.0.3 Release: 1 License: GPLv2 Group: Development/Tools diff -uprN binutils-2.16.90.0.2/ChangeLog binutils-2.16.90.0.3/ChangeLog --- binutils-2.16.90.0.2/ChangeLog 2005-04-29 10:50:23.000000000 -0700 +++ binutils-2.16.90.0.3/ChangeLog 2005-05-10 15:46:40.000000000 -0700 @@ -1,3 +1,18 @@ +2005-05-04 Mike Stump + + * configure.in: Always pass --target to target configures as + otherwise rebuilds that do --recheck will fail. + * confiugure: Rebuilt. + +2005-05-04 Paolo Bonzini + + * Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Rename from + STAGE_HOST_EXPORTS. + (configure, all): Add bootstrap support. + (Host modules, target modules): Pass post-stage1 flags and exports. + (Top-level bootstrap): Remove bootstrap rules, expanded elsewhere. + * Makefile.in: Regenerate. + 2005-04-29 Paolo Bonzini Sync from gcc: diff -uprN binutils-2.16.90.0.2/configure binutils-2.16.90.0.3/configure --- binutils-2.16.90.0.2/configure 2005-04-29 10:50:23.000000000 -0700 +++ binutils-2.16.90.0.3/configure 2005-05-10 15:46:40.000000000 -0700 @@ -3331,8 +3331,10 @@ fi # fixed in future. It's still worthwhile to use a cache file for each # directory. I think. -# Pass the appropriate --host, --build, and --cache-file arguments. -target_configargs="--cache-file=./config.cache --host=${target_alias} --build=${build_alias} ${target_configargs}" +# Pass the appropriate --build, --host, --target and --cache-file arguments. +# We need to pass --target, as newer autoconf's requires consistency +# for target_alias and gcc doesn't manage it consistently. +target_configargs="--cache-file=./config.cache --build=${build_alias} --host=${target_alias} --target=${target_alias} ${target_configargs}" FLAGS_FOR_TARGET= case " $target_configdirs " in @@ -3534,7 +3536,7 @@ test -n "$target_alias" && ncn_target_to # Extract the first word of "${ncn_tool_prefix}ar", so it can be a program name with args. set dummy ${ncn_tool_prefix}ar; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3538: checking for $ac_word" >&5 +echo "configure:3540: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3567,7 +3569,7 @@ if test -z "$ac_cv_prog_AR" ; then # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3571: checking for $ac_word" >&5 +echo "configure:3573: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_AR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3606,7 +3608,7 @@ fi # Extract the first word of "${ncn_tool_prefix}as", so it can be a program name with args. set dummy ${ncn_tool_prefix}as; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3610: checking for $ac_word" >&5 +echo "configure:3612: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3639,7 +3641,7 @@ if test -z "$ac_cv_prog_AS" ; then # Extract the first word of "as", so it can be a program name with args. set dummy as; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3643: checking for $ac_word" >&5 +echo "configure:3645: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_AS'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3678,7 +3680,7 @@ fi # Extract the first word of "${ncn_tool_prefix}dlltool", so it can be a program name with args. set dummy ${ncn_tool_prefix}dlltool; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3682: checking for $ac_word" >&5 +echo "configure:3684: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3711,7 +3713,7 @@ if test -z "$ac_cv_prog_DLLTOOL" ; then # Extract the first word of "dlltool", so it can be a program name with args. set dummy dlltool; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3715: checking for $ac_word" >&5 +echo "configure:3717: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_DLLTOOL'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3750,7 +3752,7 @@ fi # Extract the first word of "${ncn_tool_prefix}ld", so it can be a program name with args. set dummy ${ncn_tool_prefix}ld; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3754: checking for $ac_word" >&5 +echo "configure:3756: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3783,7 +3785,7 @@ if test -z "$ac_cv_prog_LD" ; then # Extract the first word of "ld", so it can be a program name with args. set dummy ld; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3787: checking for $ac_word" >&5 +echo "configure:3789: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_LD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3822,7 +3824,7 @@ fi # Extract the first word of "${ncn_tool_prefix}nm", so it can be a program name with args. set dummy ${ncn_tool_prefix}nm; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3826: checking for $ac_word" >&5 +echo "configure:3828: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_NM'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3855,7 +3857,7 @@ if test -z "$ac_cv_prog_NM" ; then # Extract the first word of "nm", so it can be a program name with args. set dummy nm; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3859: checking for $ac_word" >&5 +echo "configure:3861: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_NM'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3894,7 +3896,7 @@ fi # Extract the first word of "${ncn_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ncn_tool_prefix}ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3898: checking for $ac_word" >&5 +echo "configure:3900: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3927,7 +3929,7 @@ if test -z "$ac_cv_prog_RANLIB" ; then # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3931: checking for $ac_word" >&5 +echo "configure:3933: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3966,7 +3968,7 @@ fi # Extract the first word of "${ncn_tool_prefix}windres", so it can be a program name with args. set dummy ${ncn_tool_prefix}windres; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3970: checking for $ac_word" >&5 +echo "configure:3972: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3999,7 +4001,7 @@ if test -z "$ac_cv_prog_WINDRES" ; then # Extract the first word of "windres", so it can be a program name with args. set dummy windres; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4003: checking for $ac_word" >&5 +echo "configure:4005: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_WINDRES'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4038,7 +4040,7 @@ fi # Extract the first word of "${ncn_tool_prefix}objcopy", so it can be a program name with args. set dummy ${ncn_tool_prefix}objcopy; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4042: checking for $ac_word" >&5 +echo "configure:4044: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_OBJCOPY'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4071,7 +4073,7 @@ if test -z "$ac_cv_prog_OBJCOPY" ; then # Extract the first word of "objcopy", so it can be a program name with args. set dummy objcopy; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4075: checking for $ac_word" >&5 +echo "configure:4077: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_OBJCOPY'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4110,7 +4112,7 @@ fi # Extract the first word of "${ncn_tool_prefix}objdump", so it can be a program name with args. set dummy ${ncn_tool_prefix}objdump; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4114: checking for $ac_word" >&5 +echo "configure:4116: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4143,7 +4145,7 @@ if test -z "$ac_cv_prog_OBJDUMP" ; then # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4147: checking for $ac_word" >&5 +echo "configure:4149: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_OBJDUMP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4189,7 +4191,7 @@ fi # Extract the first word of "${ncn_target_tool_prefix}ar", so it can be a program name with args. set dummy ${ncn_target_tool_prefix}ar; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4193: checking for $ac_word" >&5 +echo "configure:4195: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_AR_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4222,7 +4224,7 @@ if test -z "$ac_cv_prog_CONFIGURED_AR_FO # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4226: checking for $ac_word" >&5 +echo "configure:4228: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_AR_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4261,7 +4263,7 @@ fi # Extract the first word of "${ncn_target_tool_prefix}as", so it can be a program name with args. set dummy ${ncn_target_tool_prefix}as; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4265: checking for $ac_word" >&5 +echo "configure:4267: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_AS_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4294,7 +4296,7 @@ if test -z "$ac_cv_prog_CONFIGURED_AS_FO # Extract the first word of "as", so it can be a program name with args. set dummy as; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4298: checking for $ac_word" >&5 +echo "configure:4300: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_AS_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4333,7 +4335,7 @@ fi # Extract the first word of "${ncn_target_tool_prefix}dlltool", so it can be a program name with args. set dummy ${ncn_target_tool_prefix}dlltool; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4337: checking for $ac_word" >&5 +echo "configure:4339: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4366,7 +4368,7 @@ if test -z "$ac_cv_prog_CONFIGURED_DLLTO # Extract the first word of "dlltool", so it can be a program name with args. set dummy dlltool; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4370: checking for $ac_word" >&5 +echo "configure:4372: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4405,7 +4407,7 @@ fi # Extract the first word of "${ncn_target_tool_prefix}ld", so it can be a program name with args. set dummy ${ncn_target_tool_prefix}ld; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4409: checking for $ac_word" >&5 +echo "configure:4411: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_LD_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4438,7 +4440,7 @@ if test -z "$ac_cv_prog_CONFIGURED_LD_FO # Extract the first word of "ld", so it can be a program name with args. set dummy ld; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4442: checking for $ac_word" >&5 +echo "configure:4444: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_LD_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4477,7 +4479,7 @@ fi # Extract the first word of "${ncn_target_tool_prefix}nm", so it can be a program name with args. set dummy ${ncn_target_tool_prefix}nm; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4481: checking for $ac_word" >&5 +echo "configure:4483: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_NM_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4510,7 +4512,7 @@ if test -z "$ac_cv_prog_CONFIGURED_NM_FO # Extract the first word of "nm", so it can be a program name with args. set dummy nm; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4514: checking for $ac_word" >&5 +echo "configure:4516: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_NM_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4549,7 +4551,7 @@ fi # Extract the first word of "${ncn_target_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ncn_target_tool_prefix}ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4553: checking for $ac_word" >&5 +echo "configure:4555: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_RANLIB_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4582,7 +4584,7 @@ if test -z "$ac_cv_prog_CONFIGURED_RANLI # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4586: checking for $ac_word" >&5 +echo "configure:4588: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_RANLIB_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4621,7 +4623,7 @@ fi # Extract the first word of "${ncn_target_tool_prefix}windres", so it can be a program name with args. set dummy ${ncn_target_tool_prefix}windres; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4625: checking for $ac_word" >&5 +echo "configure:4627: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_WINDRES_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4654,7 +4656,7 @@ if test -z "$ac_cv_prog_CONFIGURED_WINDR # Extract the first word of "windres", so it can be a program name with args. set dummy windres; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4658: checking for $ac_word" >&5 +echo "configure:4660: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_WINDRES_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4739,7 +4741,7 @@ RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${ NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target} echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 -echo "configure:4743: checking whether to enable maintainer-specific portions of Makefiles" >&5 +echo "configure:4745: checking whether to enable maintainer-specific portions of Makefiles" >&5 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then enableval="$enable_maintainer_mode" @@ -4786,7 +4788,7 @@ esac # gcc for stageN-gcc and stagePREV-gcc for stage(N-1). In case this is not # possible, however, we can resort to mv. echo $ac_n "checking if symbolic links between directories work""... $ac_c" 1>&6 -echo "configure:4790: checking if symbolic links between directories work" >&5 +echo "configure:4792: checking if symbolic links between directories work" >&5 if eval "test \"`echo '$''{'gcc_cv_prog_ln_s_dir'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else diff -uprN binutils-2.16.90.0.2/configure.in binutils-2.16.90.0.3/configure.in --- binutils-2.16.90.0.2/configure.in 2005-04-29 10:50:23.000000000 -0700 +++ binutils-2.16.90.0.3/configure.in 2005-05-10 15:46:40.000000000 -0700 @@ -1928,8 +1928,10 @@ fi # fixed in future. It's still worthwhile to use a cache file for each # directory. I think. -# Pass the appropriate --host, --build, and --cache-file arguments. -target_configargs="--cache-file=./config.cache --host=${target_alias} --build=${build_alias} ${target_configargs}" +# Pass the appropriate --build, --host, --target and --cache-file arguments. +# We need to pass --target, as newer autoconf's requires consistency +# for target_alias and gcc doesn't manage it consistently. +target_configargs="--cache-file=./config.cache --build=${build_alias} --host=${target_alias} --target=${target_alias} ${target_configargs}" FLAGS_FOR_TARGET= case " $target_configdirs " in diff -uprN binutils-2.16.90.0.2/cpu/ChangeLog binutils-2.16.90.0.3/cpu/ChangeLog --- binutils-2.16.90.0.2/cpu/ChangeLog 2005-04-09 12:03:02.000000000 -0700 +++ binutils-2.16.90.0.3/cpu/ChangeLog 2005-05-10 15:46:43.000000000 -0700 @@ -1,3 +1,11 @@ +2005-05-10 Nick Clifton + + * Update the address and phone number of the FSF organization in + the GPL notices in the following files: + cris.cpu, frv.cpu, frv.opc, iq10.cpu, iq2000.opc, iq2000m.cpu, + m32r.cpu, m32r.opc, sh.cpu, sh.opc, sh64-compact.cpu, + sh64-media.cpu, simplify.inc + 2005-02-24 Alan Modra * frv.opc (parse_A): Warning fix. diff -uprN binutils-2.16.90.0.2/cpu/cris.cpu binutils-2.16.90.0.3/cpu/cris.cpu --- binutils-2.16.90.0.2/cpu/cris.cpu 2005-04-09 12:03:02.000000000 -0700 +++ binutils-2.16.90.0.3/cpu/cris.cpu 2005-05-10 15:46:43.000000000 -0700 @@ -18,7 +18,7 @@ ; ; You should have received a copy of the GNU General Public License ; along with this program; if not, write to the Free Software -; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +; Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. (include "simplify.inc") diff -uprN binutils-2.16.90.0.2/cpu/frv.cpu binutils-2.16.90.0.3/cpu/frv.cpu --- binutils-2.16.90.0.2/cpu/frv.cpu 2005-04-09 12:03:02.000000000 -0700 +++ binutils-2.16.90.0.3/cpu/frv.cpu 2005-05-10 15:46:44.000000000 -0700 @@ -18,7 +18,7 @@ ; ; You should have received a copy of the GNU General Public License ; along with this program; if not, write to the Free Software -; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +; Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. (include "simplify.inc") diff -uprN binutils-2.16.90.0.2/cpu/frv.opc binutils-2.16.90.0.3/cpu/frv.opc --- binutils-2.16.90.0.2/cpu/frv.opc 2005-04-09 12:03:02.000000000 -0700 +++ binutils-2.16.90.0.3/cpu/frv.opc 2005-05-10 15:46:44.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/cpu/iq10.cpu binutils-2.16.90.0.3/cpu/iq10.cpu --- binutils-2.16.90.0.2/cpu/iq10.cpu 2004-01-14 13:07:45.000000000 -0800 +++ binutils-2.16.90.0.3/cpu/iq10.cpu 2005-05-10 15:46:44.000000000 -0700 @@ -18,7 +18,7 @@ ; ; You should have received a copy of the GNU General Public License ; along with this program; if not, write to the Free Software -; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +; Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. ; Instructions. diff -uprN binutils-2.16.90.0.2/cpu/iq2000m.cpu binutils-2.16.90.0.3/cpu/iq2000m.cpu --- binutils-2.16.90.0.2/cpu/iq2000m.cpu 2004-11-22 12:33:31.000000000 -0800 +++ binutils-2.16.90.0.3/cpu/iq2000m.cpu 2005-05-10 15:46:44.000000000 -0700 @@ -18,7 +18,7 @@ ; ; You should have received a copy of the GNU General Public License ; along with this program; if not, write to the Free Software -; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +; Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. (dni andoui "and upper ones immediate" (MACH2000 USES-RS USES-RT) "andoui $rt,$rs,$hi16" diff -uprN binutils-2.16.90.0.2/cpu/iq2000.opc binutils-2.16.90.0.3/cpu/iq2000.opc --- binutils-2.16.90.0.2/cpu/iq2000.opc 2005-04-09 12:03:02.000000000 -0700 +++ binutils-2.16.90.0.3/cpu/iq2000.opc 2005-05-10 15:46:44.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/cpu/m32r.cpu binutils-2.16.90.0.3/cpu/m32r.cpu --- binutils-2.16.90.0.2/cpu/m32r.cpu 2004-03-03 12:24:34.000000000 -0800 +++ binutils-2.16.90.0.3/cpu/m32r.cpu 2005-05-10 15:46:44.000000000 -0700 @@ -19,7 +19,7 @@ ; ; You should have received a copy of the GNU General Public License ; along with this program; if not, write to the Free Software -; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +; Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. (include "simplify.inc") diff -uprN binutils-2.16.90.0.2/cpu/m32r.opc binutils-2.16.90.0.3/cpu/m32r.opc --- binutils-2.16.90.0.2/cpu/m32r.opc 2005-04-09 12:03:02.000000000 -0700 +++ binutils-2.16.90.0.3/cpu/m32r.opc 2005-05-10 15:46:44.000000000 -0700 @@ -24,7 +24,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file is an addendum to m32r.cpu. Heavy use of C code isn't appropriate in .cpu files, so it resides here. This especially applies diff -uprN binutils-2.16.90.0.2/cpu/sh64-compact.cpu binutils-2.16.90.0.3/cpu/sh64-compact.cpu --- binutils-2.16.90.0.2/cpu/sh64-compact.cpu 2004-03-03 12:24:34.000000000 -0800 +++ binutils-2.16.90.0.3/cpu/sh64-compact.cpu 2005-05-10 15:46:44.000000000 -0700 @@ -19,7 +19,7 @@ ; ; You should have received a copy of the GNU General Public License ; along with this program; if not, write to the Free Software -; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +; Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. ; dshcf -- define-normal-sh-compact-field diff -uprN binutils-2.16.90.0.2/cpu/sh64-media.cpu binutils-2.16.90.0.3/cpu/sh64-media.cpu --- binutils-2.16.90.0.2/cpu/sh64-media.cpu 2004-03-03 12:24:34.000000000 -0800 +++ binutils-2.16.90.0.3/cpu/sh64-media.cpu 2005-05-10 15:46:44.000000000 -0700 @@ -19,7 +19,7 @@ ; ; You should have received a copy of the GNU General Public License ; along with this program; if not, write to the Free Software -; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +; Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. ; dshmf -- define-normal-sh-media-field diff -uprN binutils-2.16.90.0.2/cpu/sh.cpu binutils-2.16.90.0.3/cpu/sh.cpu --- binutils-2.16.90.0.2/cpu/sh.cpu 2004-03-03 12:24:34.000000000 -0800 +++ binutils-2.16.90.0.3/cpu/sh.cpu 2005-05-10 15:46:44.000000000 -0700 @@ -19,7 +19,7 @@ ; ; You should have received a copy of the GNU General Public License ; along with this program; if not, write to the Free Software -; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +; Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. (include "simplify.inc") diff -uprN binutils-2.16.90.0.2/cpu/sh.opc binutils-2.16.90.0.3/cpu/sh.opc --- binutils-2.16.90.0.2/cpu/sh.opc 2004-03-03 12:24:34.000000000 -0800 +++ binutils-2.16.90.0.3/cpu/sh.opc 2005-05-10 15:46:44.000000000 -0700 @@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file is an addendum to sh-media.cpu. Heavy use of C code isn't diff -uprN binutils-2.16.90.0.2/cpu/simplify.inc binutils-2.16.90.0.3/cpu/simplify.inc --- binutils-2.16.90.0.2/cpu/simplify.inc 2004-01-14 13:07:45.000000000 -0800 +++ binutils-2.16.90.0.3/cpu/simplify.inc 2005-05-10 15:46:44.000000000 -0700 @@ -18,7 +18,7 @@ ; ; You should have received a copy of the GNU General Public License ; along with this program; if not, write to the Free Software -; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +; Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. ; Enums. diff -uprN binutils-2.16.90.0.2/gas/app.c binutils-2.16.90.0.3/gas/app.c --- binutils-2.16.90.0.2/gas/app.c 2005-04-09 12:03:03.000000000 -0700 +++ binutils-2.16.90.0.3/gas/app.c 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* Modified by Allen Wirfs-Brock, Instantiations Inc 2/90. */ /* App, the assembler pre-processor. This pre-processor strips out excess diff -uprN binutils-2.16.90.0.2/gas/as.c binutils-2.16.90.0.3/gas/as.c --- binutils-2.16.90.0.2/gas/as.c 2005-04-29 10:50:27.000000000 -0700 +++ binutils-2.16.90.0.3/gas/as.c 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* Main program for AS; a 32-bit assembler of GNU. Understands command arguments. diff -uprN binutils-2.16.90.0.2/gas/as.h binutils-2.16.90.0.3/gas/as.h --- binutils-2.16.90.0.2/gas/as.h 2005-04-29 10:50:27.000000000 -0700 +++ binutils-2.16.90.0.3/gas/as.h 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef GAS #define GAS 1 diff -uprN binutils-2.16.90.0.2/gas/asintl.h binutils-2.16.90.0.3/gas/asintl.h --- binutils-2.16.90.0.2/gas/asintl.h 2001-03-09 11:16:34.000000000 -0800 +++ binutils-2.16.90.0.3/gas/asintl.h 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifdef HAVE_LOCALE_H # include diff -uprN binutils-2.16.90.0.2/gas/atof-generic.c binutils-2.16.90.0.3/gas/atof-generic.c --- binutils-2.16.90.0.2/gas/atof-generic.c 2005-04-09 12:03:03.000000000 -0700 +++ binutils-2.16.90.0.3/gas/atof-generic.c 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include diff -uprN binutils-2.16.90.0.2/gas/bignum.h binutils-2.16.90.0.3/gas/bignum.h --- binutils-2.16.90.0.2/gas/bignum.h 2005-04-29 10:50:27.000000000 -0700 +++ binutils-2.16.90.0.3/gas/bignum.h 2005-05-10 15:46:44.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /***********************************************************************\ * * diff -uprN binutils-2.16.90.0.2/gas/bit_fix.h binutils-2.16.90.0.3/gas/bit_fix.h --- binutils-2.16.90.0.2/gas/bit_fix.h 2005-04-09 12:03:03.000000000 -0700 +++ binutils-2.16.90.0.3/gas/bit_fix.h 2005-05-10 15:46:44.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* The bit_fix was implemented to support machines that need variables to be inserted in bitfields other than 1, 2 and 4 bytes. diff -uprN binutils-2.16.90.0.2/gas/cgen.c binutils-2.16.90.0.3/gas/cgen.c --- binutils-2.16.90.0.2/gas/cgen.c 2005-04-09 12:03:03.000000000 -0700 +++ binutils-2.16.90.0.3/gas/cgen.c 2005-05-10 15:46:44.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free Software - Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include "ansidecl.h" diff -uprN binutils-2.16.90.0.2/gas/cgen.h binutils-2.16.90.0.3/gas/cgen.h --- binutils-2.16.90.0.2/gas/cgen.h 2005-04-09 12:03:03.000000000 -0700 +++ binutils-2.16.90.0.3/gas/cgen.h 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef GAS_CGEN_H #define GAS_CGEN_H diff -uprN binutils-2.16.90.0.2/gas/ChangeLog binutils-2.16.90.0.3/gas/ChangeLog --- binutils-2.16.90.0.2/gas/ChangeLog 2005-04-29 10:50:27.000000000 -0700 +++ binutils-2.16.90.0.3/gas/ChangeLog 2005-05-10 15:46:44.000000000 -0700 @@ -1,8 +1,254 @@ +2005-05-10 Hans-Peter Nilsson + + PR binutils/886 + * config/tc-mmix.c (mmix_handle_mmixal): Rearrange slightly. + Handle label-without-colon before ordinary dot-pseudo as an + ordinary label. Don't leak memory for label-without-colon alone + on a line. Don't mmixal-munge operands for dot-pseudos. + +2005-05-10 Jan Beulich + + * macro.c (get_any_string): Remove the two last parameters. Replace + references to the former expand parameter by using macro_alternate. + Simplify loop condition for checking for end-of-string. + (get_string): Remove redunant call to sb_skip_white. + (do_formals): Remove two last arguments to get_any_string. + (macro_expand): Likewise. + (expand_irp): Likewise. + +2005-05-10 Jan Beulich + + * read.c (s_macro): Move local variable 'local' to smaller scope. + Call sb_kill on it when done. + +2005-05-09 Jan Beulich + + * config/tc-i386.c (optimize_disp): Discard displacement entirely when zero and + not required by encoding constraints. + +2005-05-09 H.J. Lu + + PR 936 + * config/tc-sh64.c (sh64_fake_label): New. + + * config/tc-sh64.h (TC_FAKE_LABEL): New. + + * doc/internals.texi (TC_FAKE_LABEL): Document. + + * write.c (TC_FAKE_LABEL): New. + (adjust_reloc_syms): Use it. + (write_object_file): Likewise. + +2005-05-09 Jan Beulich + + * config/tc-i386.c (parse_insn): Disallow use of prefix separator + and comma in Intel mode. + +2005-05-09 Jan Beulich + + * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Correct 64-bit mode + names to match ABI. Add more registers for 32-bit and 64-bit modes. + Make name array static and const. Adjust lookup to account for NULL + entries (standing for unused register numbers). + +2005-05-09 Jan Beulich + + * config/tc-i386.c (parse_insn): Consider all matching instructions + when checking for string instruction after string-only prefix. + +2005-05-07 H.J. Lu + + PR 940 + * config/tc-ia64.c (start_unwind_section): Properly check + comdat group with SHF_GROUP. + +2005-05-06 Bob Wilson + + * doc/c-xtensa.texi (Literal Directive): Spelling correction. + +2005-05-06 Bob Wilson + + * config/tc-xtensa.c: Remove excess whitespace. + * config/tc-xtensa.h: Likewise. + * config/xtensa-istack.h: Likewise. + * config/xtensa-relax.c: Likewise. + * config/xtensa-relax.h: Likewise. + +2005-05-06 Nick Clifton + + * sb.h: Fix formatting of comments. + * sb.c: Fix formatting of comments. + +2005-05-06 Jan Beulich + + * sb.h (sb_add_buffer): Reintroduce. + * sb.c (sb_add_buffer): Likewise. + +2005-05-06 Jan Beulich + + * macro.c (new_formal, del_formal): New. + (do_formals): Use new_formal. Check for and parse qualifier. Warn if + required argument has default value. Stop looking for more formal + when there was a vararg one. + (macro_expand_body): Use new_formal and del_formal. + (macro_expand): Likewise. Initialize local variable err. Don't + return immediately when encountering an error. Warn when keyword + argument already had a value assigned. Eliminate duplicate clearing + of argument value. When current positional argument matches parameter + of vararg type, assign to it all the remaining arguments. Issue error + when required parameter does not have value. + (free_macro): Use del_formal. + (expand_irp): Initialize formal type. Free buffers associated with + formal prior to returning. + * macro.h (struct formal_struct): Add new field 'type' with new + enumeration type 'formal_type'. + * doc/as.texinfo: Document macro parameter qualifiers. + * NEWS: Mention new functionality. + +2005-05-06 Jan Beulich + + * cond.c (s_ifb): New. + * read.c (potable): Add s_ifb as handler for .ifb and .ifnb. + * read.h (s_ifb): Prototype. + * doc/as.texinfo: Document .ifb and .ifnb. + +2005-05-05 Steve Ellcey + + * config/tc-ia64.c (MIN): Undef. + +2005-05-05 Paul Brook + + * config/tc-i386.h (ELF_TARGET_FORMAT): Define for TE_VXWORKS. + +2005-05-05 Matt Thomas + + * config/tc-vax.c (md_assemble): Don't assume a valueT is 4 + bytes. + +2005-05-05 Nick Clifton + + * Update the address and phone number of the FSF organization in + the GPL notices in the following files: + COPYING, app.c, as.c, as.h, asintl.h, atof-generic.c, bignum.h, + bit_fix.h, cgen.c, cgen.h, cond.c, debug.c, depend.c, dw2gencfi.c, + dw2gencfi.h, dwarf2dbg.c, dwarf2dbg.h, ecoff.c, ecoff.h, ehopt.c, + emul-target.h, emul.h, expr.c, expr.h, flonum-copy.c, + flonum-konst.c, flonum.h, frags.c, frags.h, hash.c, hash.h, + input-file.c, input-file.h, input-scrub.c, itbl-lex.h, itbl-lex.l, + itbl-ops.c, itbl-ops.h, itbl-parse.y, listing.c, listing.h, + literal.c, macro.c, macro.h, messages.c, obj.h, output-file.c, + output-file.h, read.c, read.h, sb.c, sb.h, stabs.c, + struc-symbol.h, subsegs.c, subsegs.h, symbols.c, symbols.h, tc.h, + write.c, write.h, config/aout_gnu.h, config/atof-ieee.c, + config/atof-vax.c, config/itbl-mips.h, config/m68k-parse.h, + config/m68k-parse.y, config/m88k-opcode.h, config/obj-aout.c, + config/obj-aout.h, config/obj-bout.c, config/obj-bout.h, + config/obj-coff.c, config/obj-coff.h, config/obj-ecoff.c, + config/obj-ecoff.h, config/obj-elf.c, config/obj-elf.h, + config/obj-evax.c, config/obj-evax.h, config/obj-hp300.c, + config/obj-hp300.h, config/obj-ieee.c, config/obj-ieee.h, + config/obj-multi.h, config/obj-som.c, config/obj-som.h, + config/tc-a29k.c, config/tc-a29k.h, config/tc-alpha.c, + config/tc-alpha.h, config/tc-arc.c, config/tc-arc.h, + config/tc-arm.h, config/tc-avr.c, config/tc-avr.h, + config/tc-cris.c, config/tc-cris.h, config/tc-crx.c, + config/tc-crx.h, config/tc-d10v.c, config/tc-d10v.h, + config/tc-d30v.c, config/tc-d30v.h, config/tc-dlx.c, + config/tc-dlx.h, config/tc-fr30.c, config/tc-fr30.h, + config/tc-frv.c, config/tc-frv.h, config/tc-generic.c, + config/tc-generic.h, config/tc-h8300.c, config/tc-h8300.h, + config/tc-h8500.c, config/tc-h8500.h, config/tc-hppa.c, + config/tc-hppa.h, config/tc-i370.c, config/tc-i370.h, + config/tc-i386.c, config/tc-i386.h, config/tc-i860.c, + config/tc-i860.h, config/tc-i960.c, config/tc-i960.h, + config/tc-ia64.c, config/tc-ia64.h, config/tc-ip2k.c, + config/tc-ip2k.h, config/tc-iq2000.c, config/tc-iq2000.h, + config/tc-m32r.c, config/tc-m32r.h, config/tc-m68851.h, + config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c, + config/tc-m68k.h, config/tc-m88k.c, config/tc-m88k.h, + config/tc-maxq.c, config/tc-maxq.h, config/tc-mcore.c, + config/tc-mcore.h, config/tc-mips.c, config/tc-mips.h, + config/tc-mmix.c, config/tc-mmix.h, config/tc-mn10200.c, + config/tc-mn10200.h, config/tc-mn10300.c, config/tc-mn10300.h, + config/tc-msp430.c, config/tc-msp430.h, config/tc-ns32k.c, + config/tc-ns32k.h, config/tc-openrisc.c, config/tc-openrisc.h, + config/tc-or32.c, config/tc-or32.h, config/tc-pdp11.c, + config/tc-pdp11.h, config/tc-pj.c, config/tc-pj.h, + config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c, + config/tc-s390.h, config/tc-sh.c, config/tc-sh.h, + config/tc-sh64.c, config/tc-sh64.h, config/tc-sparc.c, + config/tc-sparc.h, config/tc-tahoe.c, config/tc-tahoe.h, + config/tc-tic30.c, config/tc-tic30.h, config/tc-tic4x.c, + config/tc-tic4x.h, config/tc-tic54x.c, config/tc-tic54x.h, + config/tc-tic80.c, config/tc-tic80.h, config/tc-v850.c, + config/tc-v850.h, config/tc-vax.c, config/tc-vax.h, + config/tc-w65.c, config/tc-w65.h, config/tc-xstormy16.c, + config/tc-xstormy16.h, config/tc-xtensa.c, config/tc-xtensa.h, + config/tc-z8k.c, config/tc-z8k.h, config/te-386bsd.h, + config/te-freebsd.h, config/te-hp300.h, config/te-hppa.h, + config/te-ic960.h, config/te-irix.h, config/te-nbsd.h, + config/te-netware.h, config/te-sparcaout.h, config/te-sun3.h, + config/te-tmips.h, config/te-vxworks.h, config/vax-inst.h, + config/xtensa-istack.h, config/xtensa-relax.c, + config/xtensa-relax.h, doc/fdl.texi + +2005-05-05 Nick Clifton + + * config/tc-arm.c (arm_opts): Make -mlittle-endian switch set + the target_big_endian variable to false. + +2005-05-04 Alan Modra + + * config/obj-ecoff.c (ecoff_frob_file_before_fix): Correct section + list traversal. Use bfd_section_list_prepend. + * config/tc-mmix.c (mmix_frob_file): Don't needlessly iterate + over the section list. + * config/tc-xtensa.c (xtensa_remove_section): Delete. + (xtensa_insert_section): Delete. + (xtensa_move_seg_list_to_beginning): Use bfd_section_list_remove + and bfd_section_list_prepend. + (xtensa_reorder_seg_list): Use bfd_section_list_remove and + bfd_section_list_insert_after. + +2005-05-03 Nick Clifton + + * config/obj-ecoff.c (ecoff_frob_file_before_fix): Fix invocations + of bfd_section_list... macros. + * config/tc-mmix.c (mmix_frob_file): Likewise. + * config/tc-xtensa.c (xtensa_remove_section): Likewise. + (xtensa_insert_section): Likewise. + + * macro.c (macro_hash): Remove static. + * macro.h (macro_hash): Provide an external declaration. + +2005-05-02 H.J. Lu + + * write.c (write_object_file): Use bfd_section_double_list_remove + to remove sections. + +2005-05-02 Daniel Jacobowitz + + * doc/Makefile.am (gasver.texi): Correct quoting. + * doc/Makefile.in: Regenerated. + +2005-04-29 Ralf Corsepius + + * configure.tgt: Add h8300*-*-rtemscoff. + Switch h8300*-*-rtems* to elf. + 2005-04-29 H.J. Lu * hash.c: Undo the last change. * hash.h: Likewise. +2005-04-29 Daniel Jacobowitz + + * doc/Makefile.am (gasver.texi): Depend on bfd/configure instead + of Makefile. + (DISTCLEANFILES): Remove. + (MAINTAINERCLEANFILES): Add asconfig.texi. + * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated. + 2005-04-29 Ben Elliston * Makefile.am (GAS_CFILES): Remove bignum-copy.c. @@ -521,7 +767,6 @@ * config/tc-arm.h (TC_SEGMENT_INFO_TYPE): Redefined as struct arm_segment_info_type. (arm_segment_info_type): New struct. - * testsuite/gas/arm/unwind.d: Update expected output. 2005-03-28 Sterling Augustine Bob Wilson @@ -1530,8 +1775,6 @@ BFD_RELOC_UNUSED same as previous meaning of BFD_RELOC_NONE. (create_unwind_entry): Output dependency on the required personality routines. - testsuite/gas/arm/unwind.d: Alter expected output to include - dependency on __aeabi_unwind_cpp_pr[01]. 2005-02-07 Nathan Sidwell @@ -3534,23 +3777,6 @@ allow -up ISA variants. (sh_elf_final_processing): Replace if-else chain with a call to sh_find_elf_flags(). - * testsuite/gas/sh/arch: New directory. - * testsuite/gas/sh/arch/arch.exp: New test script. - * testsuite/gas/sh/arch/arch_expected.txt: New file. - * testsuite/gas/sh/arch/sh.s: New file. - * testsuite/gas/sh/arch/sh2.s: New file. - * testsuite/gas/sh/arch/sh-dsp.s: New file. - * testsuite/gas/sh/arch/sh2e.s: New file. - * testsuite/gas/sh/arch/sh3-nommu.s: New file. - * testsuite/gas/sh/arch/sh3.s: New file. - * testsuite/gas/sh/arch/sh3-dsp.s: New file. - * testsuite/gas/sh/arch/sh3e.s: New file. - * testsuite/gas/sh/arch/sh4-nommu-nofpu.s: New file. - * testsuite/gas/sh/arch/sh4-nofpu.s: New file. - * testsuite/gas/sh/arch/sh4.s: New file. - * testsuite/gas/sh/arch/sh4a-nofpu.s: New file. - * testsuite/gas/sh/arch/sh4al-dsp.s: New file. - * testsuite/gas/sh/arch/sh4a.s: New file. 2004-05-28 Peter Barada diff -uprN binutils-2.16.90.0.2/gas/cond.c binutils-2.16.90.0.3/gas/cond.c --- binutils-2.16.90.0.2/gas/cond.c 2005-04-09 12:03:03.000000000 -0700 +++ binutils-2.16.90.0.3/gas/cond.c 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "as.h" #include "macro.h" @@ -181,6 +181,40 @@ s_if (int arg) demand_empty_rest_of_line (); } +/* Performs the .ifb (test_blank == 1) and + the .ifnb (test_blank == 0) pseudo op. */ + +void +s_ifb (int test_blank) +{ + struct conditional_frame cframe; + + initialize_cframe (&cframe); + + if (cframe.dead_tree) + cframe.ignoring = 1; + else + { + int is_eol; + + SKIP_WHITESPACE (); + is_eol = is_end_of_line[(unsigned char) *input_line_pointer]; + cframe.ignoring = (test_blank == !is_eol); + } + + current_cframe = ((struct conditional_frame *) + obstack_copy (&cond_obstack, &cframe, + sizeof (cframe))); + + if (LISTING_SKIP_COND () + && cframe.ignoring + && (cframe.previous_cframe == NULL + || ! cframe.previous_cframe->ignoring)) + listing_list (2); + + ignore_rest_of_line (); +} + /* Get a string for the MRI IFC or IFNC pseudo-ops. */ static char * diff -uprN binutils-2.16.90.0.2/gas/config/aout_gnu.h binutils-2.16.90.0.3/gas/config/aout_gnu.h --- binutils-2.16.90.0.2/gas/config/aout_gnu.h 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/aout_gnu.h 2005-05-10 15:46:44.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef __A_OUT_GNU_H__ #define __A_OUT_GNU_H__ diff -uprN binutils-2.16.90.0.2/gas/config/atof-ieee.c binutils-2.16.90.0.3/gas/config/atof-ieee.c --- binutils-2.16.90.0.2/gas/config/atof-ieee.c 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/atof-ieee.c 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "as.h" diff -uprN binutils-2.16.90.0.2/gas/config/atof-vax.c binutils-2.16.90.0.3/gas/config/atof-vax.c --- binutils-2.16.90.0.2/gas/config/atof-vax.c 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/atof-vax.c 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "as.h" diff -uprN binutils-2.16.90.0.2/gas/config/itbl-mips.h binutils-2.16.90.0.3/gas/config/itbl-mips.h --- binutils-2.16.90.0.2/gas/config/itbl-mips.h 2001-03-09 11:16:46.000000000 -0800 +++ binutils-2.16.90.0.3/gas/config/itbl-mips.h 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* Defines for Mips itbl cop support */ diff -uprN binutils-2.16.90.0.2/gas/config/m68k-parse.h binutils-2.16.90.0.3/gas/config/m68k-parse.h --- binutils-2.16.90.0.2/gas/config/m68k-parse.h 2004-11-22 12:33:31.000000000 -0800 +++ binutils-2.16.90.0.3/gas/config/m68k-parse.h 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef M68K_PARSE_H #define M68K_PARSE_H diff -uprN binutils-2.16.90.0.2/gas/config/m68k-parse.y binutils-2.16.90.0.3/gas/config/m68k-parse.y --- binutils-2.16.90.0.2/gas/config/m68k-parse.y 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/m68k-parse.y 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* This file holds a bison grammar to parse m68k operands. The m68k has a complicated operand syntax, and gas supports two main diff -uprN binutils-2.16.90.0.2/gas/config/m88k-opcode.h binutils-2.16.90.0.3/gas/config/m88k-opcode.h --- binutils-2.16.90.0.2/gas/config/m88k-opcode.h 2001-03-09 11:16:47.000000000 -0800 +++ binutils-2.16.90.0.3/gas/config/m88k-opcode.h 2005-05-10 15:46:44.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #if !defined(__STDC__) && !defined(const) #define const diff -uprN binutils-2.16.90.0.2/gas/config/obj-aout.c binutils-2.16.90.0.3/gas/config/obj-aout.c --- binutils-2.16.90.0.2/gas/config/obj-aout.c 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/obj-aout.c 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define OBJ_HEADER "obj-aout.h" diff -uprN binutils-2.16.90.0.2/gas/config/obj-aout.h binutils-2.16.90.0.3/gas/config/obj-aout.h --- binutils-2.16.90.0.2/gas/config/obj-aout.h 2005-04-29 10:50:28.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/obj-aout.h 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* Tag to validate a.out object file format processing */ #define OBJ_AOUT 1 diff -uprN binutils-2.16.90.0.2/gas/config/obj-bout.c binutils-2.16.90.0.3/gas/config/obj-bout.c --- binutils-2.16.90.0.2/gas/config/obj-bout.c 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/obj-bout.c 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "as.h" #include "obstack.h" diff -uprN binutils-2.16.90.0.2/gas/config/obj-bout.h binutils-2.16.90.0.3/gas/config/obj-bout.h --- binutils-2.16.90.0.2/gas/config/obj-bout.h 2005-04-29 10:50:28.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/obj-bout.h 2005-05-10 15:46:44.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write - to the Free Software Foundation, 59 Temple Place - Suite 330, Cambridge, MA + to the Free Software Foundation, 51 Franklin Street - Fifth Floor, Cambridge, MA 02139, USA. */ /* This file is a modified version of 'a.out.h'. It is to be used in all GNU diff -uprN binutils-2.16.90.0.2/gas/config/obj-coff.c binutils-2.16.90.0.3/gas/config/obj-coff.c --- binutils-2.16.90.0.2/gas/config/obj-coff.c 2005-04-29 10:50:28.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/obj-coff.c 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define OBJ_HEADER "obj-coff.h" diff -uprN binutils-2.16.90.0.2/gas/config/obj-coff.h binutils-2.16.90.0.3/gas/config/obj-coff.h --- binutils-2.16.90.0.2/gas/config/obj-coff.h 2005-04-29 10:50:28.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/obj-coff.h 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef OBJ_FORMAT_H #define OBJ_FORMAT_H diff -uprN binutils-2.16.90.0.2/gas/config/obj-ecoff.c binutils-2.16.90.0.3/gas/config/obj-ecoff.c --- binutils-2.16.90.0.2/gas/config/obj-ecoff.c 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/obj-ecoff.c 2005-05-10 15:46:44.000000000 -0700 @@ -18,8 +18,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define OBJ_HEADER "obj-ecoff.h" #include "as.h" @@ -37,7 +37,7 @@ void ecoff_frob_file_before_fix (void) { bfd_vma addr; - asection **sec; + asection *sec; /* Set the section VMA values. We force the .sdata and .sbss sections to the end to ensure that their VMA addresses are close @@ -78,22 +78,21 @@ ecoff_frob_file_before_fix (void) addr = 0; for (i = 0; i < n_names; i++) - secs[i] = 0; + secs[i] = NULL; - for (sec = &stdoutput->sections; *sec != NULL;) + for (sec = stdoutput->sections; sec != NULL; sec = sec->next) { for (i = 0; i < n_names; i++) - if (!strcmp ((*sec)->name, names[i])) + if (!strcmp (sec->name, names[i])) { - secs[i] = *sec; + secs[i] = sec; bfd_section_list_remove (stdoutput, sec); break; } if (i == n_names) { - bfd_set_section_vma (stdoutput, *sec, addr); - addr += bfd_section_size (stdoutput, *sec); - sec = &(*sec)->next; + bfd_set_section_vma (stdoutput, sec, addr); + addr += bfd_section_size (stdoutput, sec); } } for (i = 0; i < n_names; i++) @@ -104,7 +103,7 @@ ecoff_frob_file_before_fix (void) } for (i = n_names - 1; i >= 0; i--) if (secs[i]) - bfd_section_list_insert (stdoutput, &stdoutput->sections, secs[i]); + bfd_section_list_prepend (stdoutput, secs[i]); /* Fill in the register masks. */ { diff -uprN binutils-2.16.90.0.2/gas/config/obj-ecoff.h binutils-2.16.90.0.3/gas/config/obj-ecoff.h --- binutils-2.16.90.0.2/gas/config/obj-ecoff.h 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/obj-ecoff.h 2005-05-10 15:46:44.000000000 -0700 @@ -18,8 +18,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define OBJ_ECOFF 1 diff -uprN binutils-2.16.90.0.2/gas/config/obj-elf.c binutils-2.16.90.0.3/gas/config/obj-elf.c --- binutils-2.16.90.0.2/gas/config/obj-elf.c 2005-04-29 10:50:28.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/obj-elf.c 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define OBJ_HEADER "obj-elf.h" #include "as.h" diff -uprN binutils-2.16.90.0.2/gas/config/obj-elf.h binutils-2.16.90.0.3/gas/config/obj-elf.h --- binutils-2.16.90.0.2/gas/config/obj-elf.h 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/obj-elf.h 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* HP PA-RISC support was contributed by the Center for Software Science at the University of Utah. */ diff -uprN binutils-2.16.90.0.2/gas/config/obj-evax.c binutils-2.16.90.0.3/gas/config/obj-evax.c --- binutils-2.16.90.0.2/gas/config/obj-evax.c 2001-03-09 11:16:48.000000000 -0800 +++ binutils-2.16.90.0.3/gas/config/obj-evax.c 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, - MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ #define OBJ_HEADER "obj-evax.h" diff -uprN binutils-2.16.90.0.2/gas/config/obj-evax.h binutils-2.16.90.0.3/gas/config/obj-evax.h --- binutils-2.16.90.0.2/gas/config/obj-evax.h 2001-03-09 11:16:48.000000000 -0800 +++ binutils-2.16.90.0.3/gas/config/obj-evax.h 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, - MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ /* * This file is obj-evax.h and is intended to be a template for diff -uprN binutils-2.16.90.0.2/gas/config/obj-hp300.c binutils-2.16.90.0.3/gas/config/obj-hp300.c --- binutils-2.16.90.0.2/gas/config/obj-hp300.c 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/obj-hp300.c 2005-05-10 15:46:44.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "config/obj-aout.c" diff -uprN binutils-2.16.90.0.2/gas/config/obj-hp300.h binutils-2.16.90.0.3/gas/config/obj-hp300.h --- binutils-2.16.90.0.2/gas/config/obj-hp300.h 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/obj-hp300.h 2005-05-10 15:46:44.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define __STRUCT_EXEC_OVERRIDE__ diff -uprN binutils-2.16.90.0.2/gas/config/obj-ieee.c binutils-2.16.90.0.3/gas/config/obj-ieee.c --- binutils-2.16.90.0.2/gas/config/obj-ieee.c 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/obj-ieee.c 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* Created by Steve Chamberlain . */ diff -uprN binutils-2.16.90.0.2/gas/config/obj-ieee.h binutils-2.16.90.0.3/gas/config/obj-ieee.h --- binutils-2.16.90.0.2/gas/config/obj-ieee.h 2003-03-19 09:19:16.000000000 -0800 +++ binutils-2.16.90.0.3/gas/config/obj-ieee.h 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define BFD 1 diff -uprN binutils-2.16.90.0.2/gas/config/obj-multi.h binutils-2.16.90.0.3/gas/config/obj-multi.h --- binutils-2.16.90.0.2/gas/config/obj-multi.h 2005-04-29 10:50:28.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/obj-multi.h 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef _OBJ_MULTI_H #define _OBJ_MULTI_H diff -uprN binutils-2.16.90.0.2/gas/config/obj-som.c binutils-2.16.90.0.3/gas/config/obj-som.c --- binutils-2.16.90.0.2/gas/config/obj-som.c 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/obj-som.c 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. Written by the Center for Software Science at the University of Utah and by Cygnus Support. */ diff -uprN binutils-2.16.90.0.2/gas/config/obj-som.h binutils-2.16.90.0.3/gas/config/obj-som.h --- binutils-2.16.90.0.2/gas/config/obj-som.h 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/obj-som.h 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. Written by the Center for Software Science at the University of Utah and by Cygnus Support. */ diff -uprN binutils-2.16.90.0.2/gas/config/tc-a29k.c binutils-2.16.90.0.3/gas/config/tc-a29k.c --- binutils-2.16.90.0.2/gas/config/tc-a29k.c 2005-04-09 12:03:05.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-a29k.c 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* John Gilmore has reorganized this module somewhat, to make it easier to convert it to new machines' assemblers as desired. There was too diff -uprN binutils-2.16.90.0.2/gas/config/tc-a29k.h binutils-2.16.90.0.3/gas/config/tc-a29k.h --- binutils-2.16.90.0.2/gas/config/tc-a29k.h 2005-04-09 12:03:05.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-a29k.h 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TC_A29K diff -uprN binutils-2.16.90.0.2/gas/config/tc-alpha.c binutils-2.16.90.0.3/gas/config/tc-alpha.c --- binutils-2.16.90.0.2/gas/config/tc-alpha.c 2005-04-29 10:50:28.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-alpha.c 2005-05-10 15:46:44.000000000 -0700 @@ -21,8 +21,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* Mach Operating System Copyright (c) 1993 Carnegie Mellon University diff -uprN binutils-2.16.90.0.2/gas/config/tc-alpha.h binutils-2.16.90.0.3/gas/config/tc-alpha.h --- binutils-2.16.90.0.2/gas/config/tc-alpha.h 2005-04-09 12:03:05.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-alpha.h 2005-05-10 15:46:44.000000000 -0700 @@ -18,8 +18,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TC_ALPHA diff -uprN binutils-2.16.90.0.2/gas/config/tc-arc.c binutils-2.16.90.0.3/gas/config/tc-arc.c --- binutils-2.16.90.0.2/gas/config/tc-arc.c 2005-04-09 12:03:05.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-arc.c 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include #include "libiberty.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-arc.h binutils-2.16.90.0.3/gas/config/tc-arc.h --- binutils-2.16.90.0.2/gas/config/tc-arc.h 2005-04-09 12:03:05.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-arc.h 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TC_ARC 1 diff -uprN binutils-2.16.90.0.2/gas/config/tc-arm.c binutils-2.16.90.0.3/gas/config/tc-arm.c --- binutils-2.16.90.0.2/gas/config/tc-arm.c 2005-04-29 10:50:28.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-arm.c 2005-05-10 15:46:44.000000000 -0700 @@ -22,8 +22,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include #define NO_RELOC 0 @@ -12870,7 +12870,7 @@ struct arm_option_table arm_opts[] = {"mapcs-reentrant", N_("re-entrant code"), &pic_code, 1, NULL}, {"matpcs", N_("code is ATPCS conformant"), &atpcs, 1, NULL}, {"mbig-endian", N_("assemble for big-endian"), &target_big_endian, 1, NULL}, - {"mlittle-endian", N_("assemble for little-endian"), &target_big_endian, 1, + {"mlittle-endian", N_("assemble for little-endian"), &target_big_endian, 0, NULL}, /* These are recognized by the assembler, but have no affect on code. */ diff -uprN binutils-2.16.90.0.2/gas/config/tc-arm.h binutils-2.16.90.0.3/gas/config/tc-arm.h --- binutils-2.16.90.0.2/gas/config/tc-arm.h 2005-04-09 12:03:05.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-arm.h 2005-05-10 15:46:44.000000000 -0700 @@ -18,8 +18,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TC_ARM 1 diff -uprN binutils-2.16.90.0.2/gas/config/tc-avr.c binutils-2.16.90.0.3/gas/config/tc-avr.c --- binutils-2.16.90.0.2/gas/config/tc-avr.c 2005-04-09 12:03:05.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-avr.c 2005-05-10 15:46:44.000000000 -0700 @@ -18,8 +18,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #include #include "as.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-avr.h binutils-2.16.90.0.3/gas/config/tc-avr.h --- binutils-2.16.90.0.2/gas/config/tc-avr.h 2002-09-27 08:33:09.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-avr.h 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef BFD_ASSEMBLER #error AVR support requires BFD_ASSEMBLER diff -uprN binutils-2.16.90.0.2/gas/config/tc-cris.c binutils-2.16.90.0.3/gas/config/tc-cris.c --- binutils-2.16.90.0.2/gas/config/tc-cris.c 2005-04-09 12:03:05.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-cris.c 2005-05-10 15:46:44.000000000 -0700 @@ -19,8 +19,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the - Free Software Foundation, 59 Temple Place - Suite 330, Boston, - MA 02111-1307, USA. */ + Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ #include #include "as.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-cris.h binutils-2.16.90.0.3/gas/config/tc-cris.h --- binutils-2.16.90.0.2/gas/config/tc-cris.h 2005-04-09 12:03:05.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-cris.h 2005-05-10 15:46:44.000000000 -0700 @@ -20,8 +20,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the - Free Software Foundation, 59 Temple Place - Suite 330, Boston, - MA 02111-1307, USA. */ + Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ /* See the GAS "internal" document for general documentation on this. It is called internals.texi (internals.info when makeinfo:d), but is diff -uprN binutils-2.16.90.0.2/gas/config/tc-crx.c binutils-2.16.90.0.3/gas/config/tc-crx.c --- binutils-2.16.90.0.2/gas/config/tc-crx.c 2005-04-09 12:03:05.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-crx.c 2005-05-10 15:46:44.000000000 -0700 @@ -19,8 +19,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the - Free Software Foundation, 59 Temple Place - Suite 330, Boston, - MA 02111-1307, USA. */ + Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ #include "as.h" #include "safe-ctype.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-crx.h binutils-2.16.90.0.3/gas/config/tc-crx.h --- binutils-2.16.90.0.2/gas/config/tc-crx.h 2004-11-22 12:33:32.000000000 -0800 +++ binutils-2.16.90.0.3/gas/config/tc-crx.h 2005-05-10 15:46:44.000000000 -0700 @@ -19,8 +19,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the - Free Software Foundation, 59 Temple Place - Suite 330, Boston, - MA 02111-1307, USA. */ + Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ #ifndef TC_CRX_H #define TC_CRX_H diff -uprN binutils-2.16.90.0.2/gas/config/tc-d10v.c binutils-2.16.90.0.3/gas/config/tc-d10v.c --- binutils-2.16.90.0.2/gas/config/tc-d10v.c 2005-04-29 10:50:28.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-d10v.c 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #include #include "as.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-d10v.h binutils-2.16.90.0.3/gas/config/tc-d10v.h --- binutils-2.16.90.0.2/gas/config/tc-d10v.h 2005-04-09 12:03:05.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-d10v.h 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TC_D10V diff -uprN binutils-2.16.90.0.2/gas/config/tc-d30v.c binutils-2.16.90.0.3/gas/config/tc-d30v.c --- binutils-2.16.90.0.2/gas/config/tc-d30v.c 2005-04-09 12:03:05.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-d30v.c 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #include #include "as.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-d30v.h binutils-2.16.90.0.3/gas/config/tc-d30v.h --- binutils-2.16.90.0.2/gas/config/tc-d30v.h 2005-04-09 12:03:05.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-d30v.h 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TC_D30V diff -uprN binutils-2.16.90.0.2/gas/config/tc-dlx.c binutils-2.16.90.0.3/gas/config/tc-dlx.c --- binutils-2.16.90.0.2/gas/config/tc-dlx.c 2005-04-09 12:03:05.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-dlx.c 2005-05-10 15:46:44.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* Initially created by Kuang Hwa Lin, 3/20/2002. */ diff -uprN binutils-2.16.90.0.2/gas/config/tc-dlx.h binutils-2.16.90.0.3/gas/config/tc-dlx.h --- binutils-2.16.90.0.2/gas/config/tc-dlx.h 2005-04-09 12:03:05.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-dlx.h 2005-05-10 15:46:44.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* Initially created by Kuang Hwa Lin, 3/20/2002. */ diff -uprN binutils-2.16.90.0.2/gas/config/tc-fr30.c binutils-2.16.90.0.3/gas/config/tc-fr30.c --- binutils-2.16.90.0.2/gas/config/tc-fr30.c 2005-04-09 12:03:05.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-fr30.c 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #include #include "as.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-fr30.h binutils-2.16.90.0.3/gas/config/tc-fr30.h --- binutils-2.16.90.0.2/gas/config/tc-fr30.h 2005-04-09 12:03:05.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-fr30.h 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #define TC_FR30 diff -uprN binutils-2.16.90.0.2/gas/config/tc-frv.c binutils-2.16.90.0.3/gas/config/tc-frv.c --- binutils-2.16.90.0.2/gas/config/tc-frv.c 2005-04-09 12:03:05.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-frv.c 2005-05-10 15:46:44.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #include #include "as.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-frv.h binutils-2.16.90.0.3/gas/config/tc-frv.h --- binutils-2.16.90.0.2/gas/config/tc-frv.h 2005-04-09 12:03:05.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-frv.h 2005-05-10 15:46:44.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #define TC_FRV diff -uprN binutils-2.16.90.0.2/gas/config/tc-generic.c binutils-2.16.90.0.3/gas/config/tc-generic.c --- binutils-2.16.90.0.2/gas/config/tc-generic.c 2004-04-14 21:26:05.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-generic.c 2005-05-10 15:46:44.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free Software - Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file is tc-generic.c and is intended to be a template for target cpu specific files. */ diff -uprN binutils-2.16.90.0.2/gas/config/tc-generic.h binutils-2.16.90.0.3/gas/config/tc-generic.h --- binutils-2.16.90.0.2/gas/config/tc-generic.h 2001-03-09 11:16:53.000000000 -0800 +++ binutils-2.16.90.0.3/gas/config/tc-generic.h 2005-05-10 15:46:44.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free Software - Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* * This file is tc-generic.h and is intended to be a template for target cpu diff -uprN binutils-2.16.90.0.2/gas/config/tc-h8300.c binutils-2.16.90.0.3/gas/config/tc-h8300.c --- binutils-2.16.90.0.2/gas/config/tc-h8300.c 2005-04-09 12:03:05.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-h8300.c 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* Written By Steve Chamberlain . */ diff -uprN binutils-2.16.90.0.2/gas/config/tc-h8300.h binutils-2.16.90.0.3/gas/config/tc-h8300.h --- binutils-2.16.90.0.2/gas/config/tc-h8300.h 2005-04-29 10:50:28.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-h8300.h 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TC_H8300 diff -uprN binutils-2.16.90.0.2/gas/config/tc-h8500.c binutils-2.16.90.0.3/gas/config/tc-h8500.c --- binutils-2.16.90.0.2/gas/config/tc-h8500.c 2005-04-09 12:03:05.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-h8500.c 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* Written By Steve Chamberlain . */ diff -uprN binutils-2.16.90.0.2/gas/config/tc-h8500.h binutils-2.16.90.0.3/gas/config/tc-h8500.h --- binutils-2.16.90.0.2/gas/config/tc-h8500.h 2005-04-29 10:50:28.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-h8500.h 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TC_H8500 diff -uprN binutils-2.16.90.0.2/gas/config/tc-hppa.c binutils-2.16.90.0.3/gas/config/tc-hppa.c --- binutils-2.16.90.0.2/gas/config/tc-hppa.c 2005-04-29 10:50:28.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-hppa.c 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* HP PA-RISC support was contributed by the Center for Software Science at the University of Utah. */ diff -uprN binutils-2.16.90.0.2/gas/config/tc-hppa.h binutils-2.16.90.0.3/gas/config/tc-hppa.h --- binutils-2.16.90.0.2/gas/config/tc-hppa.h 2005-04-09 12:03:05.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-hppa.h 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* HP PA-RISC support was contributed by the Center for Software Science at the University of Utah. */ diff -uprN binutils-2.16.90.0.2/gas/config/tc-i370.c binutils-2.16.90.0.3/gas/config/tc-i370.c --- binutils-2.16.90.0.2/gas/config/tc-i370.c 2005-04-09 12:03:05.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-i370.c 2005-05-10 15:46:44.000000000 -0700 @@ -18,8 +18,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* This assembler implements a very hacked version of an elf-like thing that gcc emits (when gcc is suitably hacked). To make it behave more diff -uprN binutils-2.16.90.0.2/gas/config/tc-i370.h binutils-2.16.90.0.3/gas/config/tc-i370.h --- binutils-2.16.90.0.2/gas/config/tc-i370.h 2005-04-09 12:03:05.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-i370.h 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TC_I370 diff -uprN binutils-2.16.90.0.2/gas/config/tc-i386.c binutils-2.16.90.0.3/gas/config/tc-i386.c --- binutils-2.16.90.0.2/gas/config/tc-i386.c 2005-04-29 10:50:28.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-i386.c 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* Intel 80386 machine specific gas. Written by Eliot Dresselhaus (eliot@mgm.mit.edu). @@ -1606,8 +1606,9 @@ parse_insn (line, mnemonic) } if (!is_space_char (*l) && *l != END_OF_INSN - && *l != PREFIX_SEPARATOR - && *l != ',') + && (intel_syntax + || (*l != PREFIX_SEPARATOR + && *l != ','))) { as_bad (_("invalid character %s in mnemonic"), output_invalid (*l)); @@ -1615,7 +1616,7 @@ parse_insn (line, mnemonic) } if (token_start == l) { - if (*l == PREFIX_SEPARATOR) + if (!intel_syntax && *l == PREFIX_SEPARATOR) as_bad (_("expecting prefix; got nothing")); else as_bad (_("expecting mnemonic; got nothing")); @@ -1765,12 +1766,24 @@ parse_insn (line, mnemonic) } /* Check for rep/repne without a string instruction. */ - if (expecting_string_instruction - && !(current_templates->start->opcode_modifier & IsString)) + if (expecting_string_instruction) { - as_bad (_("expecting string instruction after `%s'"), - expecting_string_instruction); - return NULL; + static templates override; + + for (t = current_templates->start; t < current_templates->end; ++t) + if (t->opcode_modifier & IsString) + break; + if (t >= current_templates->end) + { + as_bad (_("expecting string instruction after `%s'"), + expecting_string_instruction); + return NULL; + } + for (override.start = t; t < current_templates->end; ++t) + if (!(t->opcode_modifier & IsString)) + break; + override.end = t; + current_templates = &override; } return l; @@ -2069,7 +2082,13 @@ optimize_disp () disp &= (((offsetT) 2 << 31) - 1); disp = (disp ^ ((offsetT) 1 << 31)) - ((addressT) 1 << 31); } - if (flag_code == CODE_64BIT) + if (!disp && (i.types[op] & BaseIndex)) + { + i.types[op] &= ~Disp; + i.op[op].disps = 0; + i.disp_operands--; + } + else if (flag_code == CODE_64BIT) { if (fits_in_signed_long (disp)) i.types[op] |= Disp32S; @@ -6777,21 +6796,36 @@ tc_x86_regname_to_dw2regnum (const char { unsigned int regnum; unsigned int regnames_count; - char *regnames_32[] = + static const char *const regnames_32[] = { "eax", "ecx", "edx", "ebx", "esp", "ebp", "esi", "edi", - "eip" + "eip", "eflags", NULL, + "st0", "st1", "st2", "st3", + "st4", "st5", "st6", "st7", + NULL, NULL, + "xmm0", "xmm1", "xmm2", "xmm3", + "xmm4", "xmm5", "xmm6", "xmm7", + "mm0", "mm1", "mm2", "mm3", + "mm4", "mm5", "mm6", "mm7" }; - char *regnames_64[] = + static const char *const regnames_64[] = { - "rax", "rbx", "rcx", "rdx", - "rdi", "rsi", "rbp", "rsp", - "r8", "r9", "r10", "r11", + "rax", "rdx", "rcx", "rbx", + "rsi", "rdi", "rbp", "rsp", + "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15", - "rip" + "rip", + "xmm0", "xmm1", "xmm2", "xmm3", + "xmm4", "xmm5", "xmm6", "xmm7", + "xmm8", "xmm9", "xmm10", "xmm11", + "xmm12", "xmm13", "xmm14", "xmm15", + "st0", "st1", "st2", "st3", + "st4", "st5", "st6", "st7", + "mm0", "mm1", "mm2", "mm3", + "mm4", "mm5", "mm6", "mm7" }; - char **regnames; + const char *const *regnames; if (flag_code == CODE_64BIT) { @@ -6805,7 +6839,8 @@ tc_x86_regname_to_dw2regnum (const char } for (regnum = 0; regnum < regnames_count; regnum++) - if (strcmp (regname, regnames[regnum]) == 0) + if (regnames[regnum] != NULL + && strcmp (regname, regnames[regnum]) == 0) return regnum; return -1; diff -uprN binutils-2.16.90.0.2/gas/config/tc-i386.h binutils-2.16.90.0.3/gas/config/tc-i386.h --- binutils-2.16.90.0.2/gas/config/tc-i386.h 2004-12-20 11:16:50.000000000 -0800 +++ binutils-2.16.90.0.3/gas/config/tc-i386.h 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef TC_I386 #define TC_I386 1 @@ -61,7 +61,10 @@ extern unsigned long i386_mach (void); #ifdef TE_FreeBSD #define ELF_TARGET_FORMAT "elf32-i386-freebsd" +#elif defined (TE_VXWORKS) +#define ELF_TARGET_FORMAT "elf32-i386-vxworks" #endif + #ifndef ELF_TARGET_FORMAT #define ELF_TARGET_FORMAT "elf32-i386" #endif diff -uprN binutils-2.16.90.0.2/gas/config/tc-i860.c binutils-2.16.90.0.3/gas/config/tc-i860.c --- binutils-2.16.90.0.2/gas/config/tc-i860.c 2004-01-14 13:07:45.000000000 -0800 +++ binutils-2.16.90.0.3/gas/config/tc-i860.c 2005-05-10 15:46:44.000000000 -0700 @@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free Software - Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include diff -uprN binutils-2.16.90.0.2/gas/config/tc-i860.h binutils-2.16.90.0.3/gas/config/tc-i860.h --- binutils-2.16.90.0.2/gas/config/tc-i860.h 2005-04-09 12:03:05.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-i860.h 2005-05-10 15:46:45.000000000 -0700 @@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free Software - Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef TC_I860 #define TC_I860 1 diff -uprN binutils-2.16.90.0.2/gas/config/tc-i960.c binutils-2.16.90.0.3/gas/config/tc-i960.c --- binutils-2.16.90.0.2/gas/config/tc-i960.c 2005-04-09 12:03:05.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-i960.c 2005-05-10 15:46:45.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* See comment on md_parse_option for 80960-specific invocation options. */ diff -uprN binutils-2.16.90.0.2/gas/config/tc-i960.h binutils-2.16.90.0.3/gas/config/tc-i960.h --- binutils-2.16.90.0.2/gas/config/tc-i960.h 2005-04-09 12:03:06.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-i960.h 2005-05-10 15:46:45.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef TC_I960 #define TC_I960 1 diff -uprN binutils-2.16.90.0.2/gas/config/tc-ia64.c binutils-2.16.90.0.3/gas/config/tc-ia64.c --- binutils-2.16.90.0.2/gas/config/tc-ia64.c 2005-04-29 10:50:28.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-ia64.c 2005-05-10 15:46:45.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ /* TODO: @@ -56,6 +56,9 @@ #endif #define NELEMS(a) ((int) (sizeof (a)/sizeof ((a)[0]))) + +/* Some systems define MIN in, e.g., param.h. */ +#undef MIN #define MIN(a,b) ((a) < (b) ? (a) : (b)) #define NUM_SLOTS 4 @@ -3532,7 +3535,8 @@ start_unwind_section (const segT text_se sec_name [sec_name_len] = '\0'; /* Handle COMDAT group. */ - if (suffix == text_name && (text_seg->flags & SEC_LINK_ONCE) != 0) + if ((text_seg->flags & SEC_LINK_ONCE) != 0 + && (elf_section_flags (text_seg) & SHF_GROUP) != 0) { char *section; size_t len, group_name_len; diff -uprN binutils-2.16.90.0.2/gas/config/tc-ia64.h binutils-2.16.90.0.3/gas/config/tc-ia64.h --- binutils-2.16.90.0.2/gas/config/tc-ia64.h 2005-04-09 12:03:06.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-ia64.h 2005-05-10 15:46:45.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #include "opcode/ia64.h" #include "elf/ia64.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-ip2k.c binutils-2.16.90.0.3/gas/config/tc-ip2k.c --- binutils-2.16.90.0.2/gas/config/tc-ip2k.c 2005-04-09 12:03:06.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-ip2k.c 2005-05-10 15:46:45.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #include #include "as.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-ip2k.h binutils-2.16.90.0.3/gas/config/tc-ip2k.h --- binutils-2.16.90.0.2/gas/config/tc-ip2k.h 2005-04-09 12:03:06.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-ip2k.h 2005-05-10 15:46:45.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #define TC_IP2K diff -uprN binutils-2.16.90.0.2/gas/config/tc-iq2000.c binutils-2.16.90.0.3/gas/config/tc-iq2000.c --- binutils-2.16.90.0.2/gas/config/tc-iq2000.c 2005-04-29 10:50:28.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-iq2000.c 2005-05-10 15:46:45.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #include #include "as.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-iq2000.h binutils-2.16.90.0.3/gas/config/tc-iq2000.h --- binutils-2.16.90.0.2/gas/config/tc-iq2000.h 2005-04-09 12:03:06.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-iq2000.h 2005-05-10 15:46:45.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #define TC_IQ2000 diff -uprN binutils-2.16.90.0.2/gas/config/tc-m32r.c binutils-2.16.90.0.3/gas/config/tc-m32r.c --- binutils-2.16.90.0.2/gas/config/tc-m32r.c 2005-04-29 10:50:28.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-m32r.c 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #include #include "as.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-m32r.h binutils-2.16.90.0.3/gas/config/tc-m32r.h --- binutils-2.16.90.0.2/gas/config/tc-m32r.h 2005-04-09 12:03:06.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-m32r.h 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #define TC_M32R diff -uprN binutils-2.16.90.0.2/gas/config/tc-m68851.h binutils-2.16.90.0.3/gas/config/tc-m68851.h --- binutils-2.16.90.0.2/gas/config/tc-m68851.h 2001-03-09 11:17:01.000000000 -0800 +++ binutils-2.16.90.0.3/gas/config/tc-m68851.h 2005-05-10 15:46:45.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* * pmmu.h diff -uprN binutils-2.16.90.0.2/gas/config/tc-m68hc11.c binutils-2.16.90.0.3/gas/config/tc-m68hc11.c --- binutils-2.16.90.0.2/gas/config/tc-m68hc11.c 2005-04-09 12:03:06.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-m68hc11.c 2005-05-10 15:46:45.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #include "as.h" #include "safe-ctype.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-m68hc11.h binutils-2.16.90.0.3/gas/config/tc-m68hc11.h --- binutils-2.16.90.0.2/gas/config/tc-m68hc11.h 2005-04-09 12:03:06.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-m68hc11.h 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TC_M68HC11 #define TC_M68HC12 diff -uprN binutils-2.16.90.0.2/gas/config/tc-m68k.c binutils-2.16.90.0.3/gas/config/tc-m68k.c --- binutils-2.16.90.0.2/gas/config/tc-m68k.c 2005-04-29 10:50:28.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-m68k.c 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "as.h" #include "safe-ctype.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-m68k.h binutils-2.16.90.0.3/gas/config/tc-m68k.h --- binutils-2.16.90.0.2/gas/config/tc-m68k.h 2005-04-09 12:03:06.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-m68k.h 2005-05-10 15:46:45.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TC_M68K 1 diff -uprN binutils-2.16.90.0.2/gas/config/tc-m88k.c binutils-2.16.90.0.3/gas/config/tc-m88k.c --- binutils-2.16.90.0.2/gas/config/tc-m88k.c 2005-04-09 12:03:06.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-m88k.c 2005-05-10 15:46:45.000000000 -0700 @@ -19,8 +19,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "as.h" #include "safe-ctype.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-m88k.h binutils-2.16.90.0.3/gas/config/tc-m88k.h --- binutils-2.16.90.0.2/gas/config/tc-m88k.h 2005-04-09 12:03:06.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-m88k.h 2005-05-10 15:46:45.000000000 -0700 @@ -18,8 +18,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TC_M88K diff -uprN binutils-2.16.90.0.2/gas/config/tc-maxq.c binutils-2.16.90.0.3/gas/config/tc-maxq.c --- binutils-2.16.90.0.2/gas/config/tc-maxq.c 2005-04-09 12:03:06.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-maxq.c 2005-05-10 15:46:45.000000000 -0700 @@ -20,7 +20,7 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free Software - Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "as.h" #include "safe-ctype.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-maxq.h binutils-2.16.90.0.3/gas/config/tc-maxq.h --- binutils-2.16.90.0.2/gas/config/tc-maxq.h 2004-11-22 12:33:32.000000000 -0800 +++ binutils-2.16.90.0.3/gas/config/tc-maxq.h 2005-05-10 15:46:45.000000000 -0700 @@ -20,7 +20,7 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free Software - Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _TC_MAXQ_H_ #define _TC_MAXQ_H_ diff -uprN binutils-2.16.90.0.2/gas/config/tc-mcore.c binutils-2.16.90.0.3/gas/config/tc-mcore.c --- binutils-2.16.90.0.2/gas/config/tc-mcore.c 2005-04-09 12:03:06.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-mcore.c 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include #include "as.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-mcore.h binutils-2.16.90.0.3/gas/config/tc-mcore.h --- binutils-2.16.90.0.2/gas/config/tc-mcore.h 2005-04-09 12:03:06.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-mcore.h 2005-05-10 15:46:45.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the - Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef TC_MCORE #define TC_MCORE 1 diff -uprN binutils-2.16.90.0.2/gas/config/tc-mips.c binutils-2.16.90.0.3/gas/config/tc-mips.c --- binutils-2.16.90.0.2/gas/config/tc-mips.c 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-mips.c 2005-05-10 15:46:45.000000000 -0700 @@ -20,8 +20,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "as.h" #include "config.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-mips.h binutils-2.16.90.0.3/gas/config/tc-mips.h --- binutils-2.16.90.0.2/gas/config/tc-mips.h 2005-04-09 12:03:06.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-mips.h 2005-05-10 15:46:45.000000000 -0700 @@ -19,8 +19,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef TC_MIPS #define TC_MIPS diff -uprN binutils-2.16.90.0.2/gas/config/tc-mmix.c binutils-2.16.90.0.3/gas/config/tc-mmix.c --- binutils-2.16.90.0.2/gas/config/tc-mmix.c 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-mmix.c 2005-05-10 15:46:45.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ /* Knuth's assembler mmixal does not provide a relocatable format; mmo is to be considered a final link-format. In the final link, we make mmo, @@ -2900,8 +2900,8 @@ tc_gen_reloc (asection *section ATTRIBUT void mmix_handle_mmixal (void) { - char *s0 = input_line_pointer; - char *s; + char *insn; + char *s = input_line_pointer; char *label = NULL; char c; @@ -2911,44 +2911,20 @@ mmix_handle_mmixal (void) if (mmix_gnu_syntax) return; - /* If the first character is a '.', then it's a pseudodirective, not a - label. Make GAS not handle label-without-colon on this line. We - also don't do mmixal-specific stuff on this line. */ - if (input_line_pointer[0] == '.') - { - label_without_colon_this_line = 0; - return; - } - - /* Don't handle empty lines here. */ - while (1) - { - if (*s0 == 0 || is_end_of_line[(unsigned int) *s0]) - return; - - if (! ISSPACE (*s0)) - break; - - s0++; - } - /* If we're on a line with a label, check if it's a mmixal fb-label. Save an indicator and skip the label; it must be set only after all fb-labels of expressions are evaluated. */ - if (ISDIGIT (input_line_pointer[0]) - && input_line_pointer[1] == 'H' - && ISSPACE (input_line_pointer[2])) + if (ISDIGIT (s[0]) && s[1] == 'H' && ISSPACE (s[2])) { - char *s; - current_fb_label = input_line_pointer[0] - '0'; + current_fb_label = s[0] - '0'; /* We have to skip the label, but also preserve the newlineness of the previous character, since the caller checks that. It's a mess we blame on the caller. */ - input_line_pointer[1] = input_line_pointer[-1]; - input_line_pointer += 2; + s[1] = s[-1]; + s += 2; + input_line_pointer = s; - s = input_line_pointer; while (*s && ISSPACE (*s) && ! is_end_of_line[(unsigned int) *s]) s++; @@ -2972,32 +2948,61 @@ mmix_handle_mmixal (void) _("[0-9]H labels do not mix with dot-pseudos")); current_fb_label = -1; } + + /* Back off to the last space before the opcode so we don't handle + the opcode as a label. */ + s--; } else + current_fb_label = -1; + + if (*s == '.') { - current_fb_label = -1; - if (is_name_beginner (input_line_pointer[0])) - label = input_line_pointer; + /* If the first character is a '.', then it's a pseudodirective, not a + label. Make GAS not handle label-without-colon on this line. We + also don't do mmixal-specific stuff on this line. */ + label_without_colon_this_line = 0; + return; } - s0 = input_line_pointer; - /* Skip over label. */ - while (*s0 && is_part_of_name (*s0)) - s0++; - - /* Remove trailing ":" off labels, as they'd otherwise be considered - part of the name. But don't do it for local labels. */ - if (s0 != input_line_pointer && s0[-1] == ':' - && (s0 - 2 != input_line_pointer - || ! ISDIGIT (s0[-2]))) - s0[-1] = ' '; - else if (label != NULL) + if (*s == 0 || is_end_of_line[(unsigned int) *s]) + /* We avoid handling empty lines here. */ + return; + + if (is_name_beginner (*s)) + label = s; + + /* If there is a label, skip over it. */ + while (*s && is_part_of_name (*s)) + s++; + + /* Find the start of the instruction or pseudo following the label, + if there is one. */ + for (insn = s; + *insn && ISSPACE (*insn) && ! is_end_of_line[(unsigned int) *insn]; + insn++) + /* Empty */ + ; + + /* Remove a trailing ":" off labels, as they'd otherwise be considered + part of the name. But don't do this for local labels. */ + if (s != input_line_pointer && s[-1] == ':' + && (s - 2 != input_line_pointer + || ! ISDIGIT (s[-2]))) + s[-1] = ' '; + else if (label != NULL + /* For a lone label on a line, we don't attach it to the next + instruction or MMIXAL-pseudo (getting its alignment). Thus + is acts like a "normal" :-ended label. Ditto if it's + followed by a non-MMIXAL pseudo. */ + && !is_end_of_line[(unsigned int) *insn] + && *insn != '.') { /* For labels that don't end in ":", we save it so we can later give it the same alignment and address as the associated instruction. */ /* Make room for the label including the ending nul. */ - int len_0 = s0 - label + 1; + int len_0 = s - label + 1; /* Save this label on the MMIX symbol obstack. Saving it on an obstack is needless for "IS"-pseudos, but it's harmless and we @@ -3007,14 +3012,10 @@ mmix_handle_mmixal (void) pending_label[len_0 - 1] = 0; } - while (*s0 && ISSPACE (*s0) && ! is_end_of_line[(unsigned int) *s0]) - s0++; - - if (pending_label != NULL && is_end_of_line[(unsigned int) *s0]) - /* Whoops, this was actually a lone label on a line. Like :-ended - labels, we don't attach such labels to the next instruction or - pseudo. */ - pending_label = NULL; + /* If we have a non-MMIXAL pseudo, we have not business with the rest of + the line. */ + if (*insn == '.') + return; /* Find local labels of operands. Look for "[0-9][FB]" where the characters before and after are not part of words. Break if a single @@ -3026,7 +3027,6 @@ mmix_handle_mmixal (void) /* First make sure we don't have any of the magic characters on the line appearing as input. */ - s = s0; while (*s) { c = *s++; @@ -3037,7 +3037,7 @@ mmix_handle_mmixal (void) } /* Scan again, this time looking for ';' after operands. */ - s = s0; + s = insn; /* Skip the insn. */ while (*s @@ -3103,7 +3103,7 @@ mmix_handle_mmixal (void) /* Make IS into an EQU by replacing it with "= ". Only match upper-case though; let lower-case be a syntax error. */ - s = s0; + s = insn; if (s[0] == 'I' && s[1] == 'S' && ISSPACE (s[2])) { *s = '='; @@ -3747,18 +3747,11 @@ mmix_frob_file (void) if (real_reg_section != NULL) { - asection **secpp; - /* FIXME: Pass error state gracefully. */ if (bfd_get_section_flags (stdoutput, real_reg_section) & SEC_HAS_CONTENTS) as_fatal (_("register section has contents\n")); - /* Really remove the section. */ - for (secpp = &stdoutput->sections; - *secpp != real_reg_section; - secpp = &(*secpp)->next) - ; - bfd_section_list_remove (stdoutput, secpp); + bfd_section_list_remove (stdoutput, real_reg_section); --stdoutput->section_count; } diff -uprN binutils-2.16.90.0.2/gas/config/tc-mmix.h binutils-2.16.90.0.3/gas/config/tc-mmix.h --- binutils-2.16.90.0.2/gas/config/tc-mmix.h 2005-04-09 12:03:06.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-mmix.h 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TC_MMIX diff -uprN binutils-2.16.90.0.2/gas/config/tc-mn10200.c binutils-2.16.90.0.3/gas/config/tc-mn10200.c --- binutils-2.16.90.0.2/gas/config/tc-mn10200.c 2005-04-09 12:03:06.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-mn10200.c 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #include #include "as.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-mn10200.h binutils-2.16.90.0.3/gas/config/tc-mn10200.h --- binutils-2.16.90.0.2/gas/config/tc-mn10200.h 2001-11-16 14:05:52.000000000 -0800 +++ binutils-2.16.90.0.3/gas/config/tc-mn10200.h 2005-05-10 15:46:45.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TC_MN10200 diff -uprN binutils-2.16.90.0.2/gas/config/tc-mn10300.c binutils-2.16.90.0.3/gas/config/tc-mn10300.c --- binutils-2.16.90.0.2/gas/config/tc-mn10300.c 2005-04-09 12:03:06.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-mn10300.c 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #include #include "as.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-mn10300.h binutils-2.16.90.0.3/gas/config/tc-mn10300.h --- binutils-2.16.90.0.2/gas/config/tc-mn10300.h 2005-04-09 12:03:06.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-mn10300.h 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TC_MN10300 diff -uprN binutils-2.16.90.0.2/gas/config/tc-msp430.c binutils-2.16.90.0.3/gas/config/tc-msp430.c --- binutils-2.16.90.0.2/gas/config/tc-msp430.c 2005-04-09 12:03:06.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-msp430.c 2005-05-10 15:46:45.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #include #include diff -uprN binutils-2.16.90.0.2/gas/config/tc-msp430.h binutils-2.16.90.0.3/gas/config/tc-msp430.h --- binutils-2.16.90.0.2/gas/config/tc-msp430.h 2004-09-15 12:05:03.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-msp430.h 2005-05-10 15:46:45.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef BFD_ASSEMBLER #error MSP430 support requires BFD_ASSEMBLER diff -uprN binutils-2.16.90.0.2/gas/config/tc-ns32k.c binutils-2.16.90.0.3/gas/config/tc-ns32k.c --- binutils-2.16.90.0.2/gas/config/tc-ns32k.c 2005-04-09 12:03:06.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-ns32k.c 2005-05-10 15:46:45.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /*#define SHOW_NUM 1*//* Uncomment for debugging. */ diff -uprN binutils-2.16.90.0.2/gas/config/tc-ns32k.h binutils-2.16.90.0.3/gas/config/tc-ns32k.h --- binutils-2.16.90.0.2/gas/config/tc-ns32k.h 2005-04-09 12:03:06.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-ns32k.h 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TC_NS32K diff -uprN binutils-2.16.90.0.2/gas/config/tc-openrisc.c binutils-2.16.90.0.3/gas/config/tc-openrisc.c --- binutils-2.16.90.0.2/gas/config/tc-openrisc.c 2005-04-09 12:03:06.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-openrisc.c 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #include #include "as.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-openrisc.h binutils-2.16.90.0.3/gas/config/tc-openrisc.h --- binutils-2.16.90.0.2/gas/config/tc-openrisc.h 2005-04-09 12:03:06.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-openrisc.h 2005-05-10 15:46:45.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #define TC_OPENRISC diff -uprN binutils-2.16.90.0.2/gas/config/tc-or32.c binutils-2.16.90.0.3/gas/config/tc-or32.c --- binutils-2.16.90.0.2/gas/config/tc-or32.c 2005-04-09 12:03:06.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-or32.c 2005-05-10 15:46:45.000000000 -0700 @@ -18,8 +18,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ /* tc-a29k.c used as a template. */ diff -uprN binutils-2.16.90.0.2/gas/config/tc-or32.h binutils-2.16.90.0.3/gas/config/tc-or32.h --- binutils-2.16.90.0.2/gas/config/tc-or32.h 2005-04-09 12:03:06.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-or32.h 2005-05-10 15:46:45.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #define TC_OR32 diff -uprN binutils-2.16.90.0.2/gas/config/tc-pdp11.c binutils-2.16.90.0.3/gas/config/tc-pdp11.c --- binutils-2.16.90.0.2/gas/config/tc-pdp11.c 2005-04-09 12:03:06.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-pdp11.c 2005-05-10 15:46:45.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "as.h" #include "safe-ctype.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-pdp11.h binutils-2.16.90.0.3/gas/config/tc-pdp11.h --- binutils-2.16.90.0.2/gas/config/tc-pdp11.h 2005-04-09 12:03:07.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-pdp11.h 2005-05-10 15:46:45.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TC_PDP11 1 diff -uprN binutils-2.16.90.0.2/gas/config/tc-pj.c binutils-2.16.90.0.3/gas/config/tc-pj.c --- binutils-2.16.90.0.2/gas/config/tc-pj.c 2005-04-09 12:03:07.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-pj.c 2005-05-10 15:46:45.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ /* Contributed by Steve Chamberlain of Transmeta . */ diff -uprN binutils-2.16.90.0.2/gas/config/tc-pj.h binutils-2.16.90.0.3/gas/config/tc-pj.h --- binutils-2.16.90.0.2/gas/config/tc-pj.h 2005-04-09 12:03:07.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-pj.h 2005-05-10 15:46:45.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ /* Contributed by Steve Chamberlain, of Transmeta. sac@pobox.com. */ diff -uprN binutils-2.16.90.0.2/gas/config/tc-ppc.c binutils-2.16.90.0.3/gas/config/tc-ppc.c --- binutils-2.16.90.0.2/gas/config/tc-ppc.c 2005-04-09 12:03:07.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-ppc.c 2005-05-10 15:46:45.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include #include "as.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-ppc.h binutils-2.16.90.0.3/gas/config/tc-ppc.h --- binutils-2.16.90.0.2/gas/config/tc-ppc.h 2005-04-09 12:03:07.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-ppc.h 2005-05-10 15:46:45.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TC_PPC diff -uprN binutils-2.16.90.0.2/gas/config/tc-s390.c binutils-2.16.90.0.3/gas/config/tc-s390.c --- binutils-2.16.90.0.2/gas/config/tc-s390.c 2005-04-09 12:03:07.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-s390.c 2005-05-10 15:46:45.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include #include "as.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-s390.h binutils-2.16.90.0.3/gas/config/tc-s390.h --- binutils-2.16.90.0.2/gas/config/tc-s390.h 2005-04-09 12:03:07.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-s390.h 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TC_S390 diff -uprN binutils-2.16.90.0.2/gas/config/tc-sh64.c binutils-2.16.90.0.3/gas/config/tc-sh64.c --- binutils-2.16.90.0.2/gas/config/tc-sh64.c 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-sh64.c 2005-05-10 15:46:45.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ /* This file defines SHmedia ISA-specific functions and includes tc-sh.c. The SHcompact ISA is in all useful aspects the "old" sh4 as implemented @@ -3513,3 +3513,18 @@ sh64_vtable_inherit (int ignore ATTRIBUT input_line_pointer = eol; } +int +sh64_fake_label (const char *name) +{ + size_t len; + + if (strcmp (name, FAKE_LABEL_NAME) == 0) + return 1; + + len = strlen (name); + if (len >= (sizeof (DATALABEL_SUFFIX) - 1)) + return strcmp (&name [len - sizeof (DATALABEL_SUFFIX) + 1], + DATALABEL_SUFFIX) == 0; + + return 0; +} diff -uprN binutils-2.16.90.0.2/gas/config/tc-sh64.h binutils-2.16.90.0.3/gas/config/tc-sh64.h --- binutils-2.16.90.0.2/gas/config/tc-sh64.h 2004-01-14 13:07:45.000000000 -0800 +++ binutils-2.16.90.0.3/gas/config/tc-sh64.h 2005-05-10 15:46:45.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #define TC_SH64 #include "config/tc-sh.h" @@ -221,3 +221,6 @@ void shmedia_md_end (void); we have to say we only have minimum byte-size insns. */ #undef DWARF2_LINE_MIN_INSN_LENGTH #define DWARF2_LINE_MIN_INSN_LENGTH 1 + +#define TC_FAKE_LABEL(NAME) sh64_fake_label(NAME) +extern int sh64_fake_label (const char *); diff -uprN binutils-2.16.90.0.2/gas/config/tc-sh.c binutils-2.16.90.0.3/gas/config/tc-sh.c --- binutils-2.16.90.0.2/gas/config/tc-sh.c 2005-04-09 12:03:07.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-sh.c 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ /* Written By Steve Chamberlain */ diff -uprN binutils-2.16.90.0.2/gas/config/tc-sh.h binutils-2.16.90.0.3/gas/config/tc-sh.h --- binutils-2.16.90.0.2/gas/config/tc-sh.h 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-sh.h 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #define TC_SH diff -uprN binutils-2.16.90.0.2/gas/config/tc-sparc.c binutils-2.16.90.0.3/gas/config/tc-sparc.c --- binutils-2.16.90.0.2/gas/config/tc-sparc.c 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-sparc.c 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write - to the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + to the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #include diff -uprN binutils-2.16.90.0.2/gas/config/tc-sparc.h binutils-2.16.90.0.3/gas/config/tc-sparc.h --- binutils-2.16.90.0.2/gas/config/tc-sparc.h 2005-04-09 12:03:07.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-sparc.h 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write - to the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + to the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #ifndef TC_SPARC #define TC_SPARC 1 diff -uprN binutils-2.16.90.0.2/gas/config/tc-tahoe.c binutils-2.16.90.0.3/gas/config/tc-tahoe.c --- binutils-2.16.90.0.2/gas/config/tc-tahoe.c 2005-04-09 12:03:07.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-tahoe.c 2005-05-10 15:46:45.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "as.h" #include "safe-ctype.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-tahoe.h binutils-2.16.90.0.3/gas/config/tc-tahoe.h --- binutils-2.16.90.0.2/gas/config/tc-tahoe.h 2001-03-09 11:17:09.000000000 -0800 +++ binutils-2.16.90.0.3/gas/config/tc-tahoe.h 2005-05-10 15:46:45.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TC_TAHOE 1 diff -uprN binutils-2.16.90.0.2/gas/config/tc-tic30.c binutils-2.16.90.0.3/gas/config/tc-tic30.c --- binutils-2.16.90.0.2/gas/config/tc-tic30.c 2005-04-09 12:03:07.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-tic30.c 2005-05-10 15:46:45.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* Texas Instruments TMS320C30 machine specific gas. Written by Steven Haworth (steve@pm.cse.rmit.edu.au). diff -uprN binutils-2.16.90.0.2/gas/config/tc-tic30.h binutils-2.16.90.0.3/gas/config/tc-tic30.h --- binutils-2.16.90.0.2/gas/config/tc-tic30.h 2005-04-09 12:03:07.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-tic30.h 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef _TC_TIC30_H_ #define _TC_TIC30_H_ diff -uprN binutils-2.16.90.0.2/gas/config/tc-tic4x.c binutils-2.16.90.0.3/gas/config/tc-tic4x.c --- binutils-2.16.90.0.2/gas/config/tc-tic4x.c 2005-04-09 12:03:07.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-tic4x.c 2005-05-10 15:46:45.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ /* TODOs: ------ diff -uprN binutils-2.16.90.0.2/gas/config/tc-tic4x.h binutils-2.16.90.0.3/gas/config/tc-tic4x.h --- binutils-2.16.90.0.2/gas/config/tc-tic4x.h 2005-04-09 12:03:07.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-tic4x.h 2005-05-10 15:46:45.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define TC_TIC4X #define TIC4X diff -uprN binutils-2.16.90.0.2/gas/config/tc-tic54x.c binutils-2.16.90.0.3/gas/config/tc-tic54x.c --- binutils-2.16.90.0.2/gas/config/tc-tic54x.c 2005-04-09 12:03:07.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-tic54x.c 2005-05-10 15:46:45.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* Texas Instruments TMS320C54X machine specific gas. Written by Timothy Wall (twall@alum.mit.edu). diff -uprN binutils-2.16.90.0.2/gas/config/tc-tic54x.h binutils-2.16.90.0.3/gas/config/tc-tic54x.h --- binutils-2.16.90.0.2/gas/config/tc-tic54x.h 2005-04-09 12:03:08.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-tic54x.h 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef _TC_TIC54X_H_ #define _TC_TIC54X_H_ diff -uprN binutils-2.16.90.0.2/gas/config/tc-tic80.c binutils-2.16.90.0.3/gas/config/tc-tic80.c --- binutils-2.16.90.0.2/gas/config/tc-tic80.c 2005-04-09 12:03:08.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-tic80.c 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "as.h" #include "safe-ctype.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-tic80.h binutils-2.16.90.0.3/gas/config/tc-tic80.h --- binutils-2.16.90.0.2/gas/config/tc-tic80.h 2005-04-09 12:03:08.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-tic80.h 2005-05-10 15:46:45.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TC_TIC80 diff -uprN binutils-2.16.90.0.2/gas/config/tc-v850.c binutils-2.16.90.0.3/gas/config/tc-v850.c --- binutils-2.16.90.0.2/gas/config/tc-v850.c 2005-04-09 12:03:08.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-v850.c 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #include #include "as.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-v850.h binutils-2.16.90.0.3/gas/config/tc-v850.h --- binutils-2.16.90.0.2/gas/config/tc-v850.h 2005-04-09 12:03:08.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-v850.h 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TC_V850 diff -uprN binutils-2.16.90.0.2/gas/config/tc-vax.c binutils-2.16.90.0.3/gas/config/tc-vax.c --- binutils-2.16.90.0.2/gas/config/tc-vax.c 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-vax.c 2005-05-10 15:46:45.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "as.h" @@ -1190,18 +1190,17 @@ md_assemble (instruction_string) p[0] = (operandP->vop_mode << 4) | 0xF; if ((is_absolute) && (expP->X_op != O_big)) { - /* - * If nbytes > 4, then we are scrod. We - * don't know if the high order bytes - * are to be 0xFF or 0x00. BSD4.2 & RMS - * say use 0x00. OK --- but this - * assembler needs ANOTHER rewrite to - * cope properly with this bug. */ - md_number_to_chars (p + 1, this_add_number, min (4, nbytes)); - if (nbytes > 4) - { - memset (p + 5, '\0', nbytes - 4); - } + /* If nbytes > 4, then we are scrod. We + don't know if the high order bytes + are to be 0xFF or 0x00. BSD4.2 & RMS + say use 0x00. OK --- but this + assembler needs ANOTHER rewrite to + cope properly with this bug. */ + md_number_to_chars (p + 1, this_add_number, + min (sizeof (valueT), + (size_t) nbytes)); + if ((size_t) nbytes > sizeof (valueT)) + memset (p + 5, '\0', nbytes - sizeof (valueT)); } else { diff -uprN binutils-2.16.90.0.2/gas/config/tc-vax.h binutils-2.16.90.0.3/gas/config/tc-vax.h --- binutils-2.16.90.0.2/gas/config/tc-vax.h 2002-09-27 08:33:09.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-vax.h 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TC_VAX 1 diff -uprN binutils-2.16.90.0.2/gas/config/tc-w65.c binutils-2.16.90.0.3/gas/config/tc-w65.c --- binutils-2.16.90.0.2/gas/config/tc-w65.c 2005-04-09 12:03:08.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-w65.c 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* Written By Steve Chamberlain . */ diff -uprN binutils-2.16.90.0.2/gas/config/tc-w65.h binutils-2.16.90.0.3/gas/config/tc-w65.h --- binutils-2.16.90.0.2/gas/config/tc-w65.h 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-w65.h 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TC_W65 diff -uprN binutils-2.16.90.0.2/gas/config/tc-xstormy16.c binutils-2.16.90.0.3/gas/config/tc-xstormy16.c --- binutils-2.16.90.0.2/gas/config/tc-xstormy16.c 2005-04-09 12:03:09.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-xstormy16.c 2005-05-10 15:46:45.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #include #include "as.h" diff -uprN binutils-2.16.90.0.2/gas/config/tc-xstormy16.h binutils-2.16.90.0.3/gas/config/tc-xstormy16.h --- binutils-2.16.90.0.2/gas/config/tc-xstormy16.h 2005-04-09 12:03:09.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-xstormy16.h 2005-05-10 15:46:45.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #define TC_XSTORMY16 diff -uprN binutils-2.16.90.0.2/gas/config/tc-xtensa.c binutils-2.16.90.0.3/gas/config/tc-xtensa.c --- binutils-2.16.90.0.2/gas/config/tc-xtensa.c 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-xtensa.c 2005-05-10 15:46:45.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, - MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ #include #include @@ -81,7 +81,7 @@ unsigned xtensa_fetch_width = XCHAL_INST static enum debug_info_type xt_saved_debug_type = DEBUG_NONE; /* Some functions are only valid in the front end. This variable - allows us to assert that we haven't crossed over into the + allows us to assert that we haven't crossed over into the back end. */ static bfd_boolean past_xtensa_end = FALSE; @@ -322,13 +322,13 @@ typedef struct op_placement_info_struct int num_formats; /* A number describing how restrictive the issue is for this opcode. For example, an opcode that fits lots of different - formats has a high freedom, as does an opcode that fits + formats has a high freedom, as does an opcode that fits only one format but many slots in that format. The most - restrictive is the opcode that fits only one slot in one + restrictive is the opcode that fits only one slot in one format. */ int issuef; /* The single format (i.e., if the op can live in a bundle by itself), - narrowest format, and widest format the op can be bundled in + narrowest format, and widest format the op can be bundled in and their sizes: */ xtensa_format single; xtensa_format narrowest; @@ -844,7 +844,7 @@ md_parse_option (int c, char *arg) /* -Qy, -Qn: SVR4 arguments controlling whether a .comment section should be emitted or not. FIXME: Not implemented. */ return 1; - + case option_prefer_l32r: if (prefer_const16) as_fatal (_("prefer-l32r conflicts with prefer-const16")); @@ -857,7 +857,7 @@ md_parse_option (int c, char *arg) prefer_const16 = 1; return 1; - case option_target_hardware: + case option_target_hardware: { int earliest, latest = 0; if (*arg == 0 || *arg == '-') @@ -950,8 +950,8 @@ xtensa_clear_insn_labels (void) } -/* The "loops_ok" argument is provided to allow ignoring labels that - define loop ends. This fixes a bug where the NOPs to align a +/* The "loops_ok" argument is provided to allow ignoring labels that + define loop ends. This fixes a bug where the NOPs to align a loop opcode were included in a previous zero-cost loop: loop a0, loopend @@ -1144,7 +1144,7 @@ get_directive (directiveE *directive, bf /* This code is a hack to make .begin [no-][generics|relax] exactly equivalent to .begin [no-]transform. We should remove it when we stop accepting those options. */ - + if (strncmp (input_line_pointer, "generics", strlen ("generics")) == 0) { as_warn (_("[no-]generics is deprecated; use [no-]transform instead")); @@ -1154,7 +1154,7 @@ get_directive (directiveE *directive, bf { as_warn (_("[no-]relax is deprecated; use [no-]transform instead")); directive_string = "transform"; - } + } else directive_string = input_line_pointer; @@ -1212,7 +1212,7 @@ xtensa_begin_directive (int ignore ATTRI break; case directive_literal_prefix: - /* Have to flush pending output because a movi relaxed to an l32r + /* Have to flush pending output because a movi relaxed to an l32r might produce a literal. */ md_flush_pending_output (); /* Check to see if the current fragment is a literal @@ -1927,9 +1927,9 @@ tokenize_arguments (char **args, char *s input_line_pointer = arg_end; num_args += 1; - saw_comma = FALSE; + saw_comma = FALSE; saw_colon = FALSE; - saw_arg = TRUE; + saw_arg = TRUE; break; } } @@ -1946,7 +1946,7 @@ err: else if (saw_colon) as_bad (_("extra colon")); else if (!saw_arg) - as_bad (_("missing argument")); + as_bad (_("missing argument")); else as_bad (_("missing comma or colon")); input_line_pointer = old_input_line_pointer; @@ -2046,7 +2046,7 @@ parse_arguments (TInsn *insn, int num_ar goto err; insn->ntok = tok - insn->tok; - had_error = FALSE; + had_error = FALSE; err: input_line_pointer = old_input_line_pointer; @@ -2992,7 +2992,7 @@ is_unique_insn_expansion (TransitionRule NARROW_ONLY is true, then only consider relaxations that widen a narrow instruction, i.e., ignore relaxations that convert to an instruction of equal size. In some contexts where this function is used, only - a single widening is allowed and the NARROW_ONLY argument is used to + a single widening is allowed and the NARROW_ONLY argument is used to exclude cases like ADDI being "widened" to an ADDMI, which may later be relaxed to an ADDMI/ADDI pair. */ @@ -3318,7 +3318,7 @@ xg_symbolic_immeds_fit (const TInsn *ins { target += stretch; } - + new_offset = target; xtensa_operand_do_reloc (isa, insn->opcode, i, &new_offset, pc); if (xg_check_operand (new_offset, insn->opcode, i)) @@ -3743,7 +3743,7 @@ is_branch_jmp_to_next (TInsn *insn, frag if (target_frag == NULL) return FALSE; - if (is_next_frag_target (fragP->fr_next, target_frag) + if (is_next_frag_target (fragP->fr_next, target_frag) && S_GET_VALUE (sym) == target_frag->fr_address) return TRUE; @@ -4046,7 +4046,7 @@ xg_assemble_literal (/* const */ TInsn * if (size > litsize) { /* This happens when someone writes a "movi a2, big_number". */ - as_bad_where (frag_now->fr_file, frag_now->fr_line, + as_bad_where (frag_now->fr_file, frag_now->fr_line, _("invalid immediate")); xtensa_restore_emit_state (&state); return NULL; @@ -4203,7 +4203,7 @@ xg_add_opcode_fix (TInsn *tinsn, the_fix->tc_fix_data.X_add_symbol = expr->X_add_symbol; the_fix->tc_fix_data.X_add_number = expr->X_add_number; the_fix->tc_fix_data.slot = slot; - + return TRUE; } @@ -4324,7 +4324,7 @@ is_bad_loopend_opcode (const TInsn *tins || opcode == xtensa_waiti_opcode || opcode == xtensa_rsr_lcount_opcode) return TRUE; - + return FALSE; } @@ -4366,7 +4366,7 @@ next_non_empty_frag (const fragS *fragP) { fragS *next_fragP = fragP->fr_next; - /* Sometimes an empty will end up here due storage allocation issues. + /* Sometimes an empty will end up here due storage allocation issues. So we have to skip until we find something legit. */ while (next_fragP && next_fragP->fr_fix == 0) next_fragP = next_fragP->fr_next; @@ -4403,7 +4403,7 @@ frag_format_size (const fragS *fragP) static xtensa_insnbuf insnbuf = NULL; xtensa_isa isa = xtensa_default_isa; xtensa_format fmt; - int fmt_size; + int fmt_size; if (!insnbuf) insnbuf = xtensa_insnbuf_alloc (isa); @@ -4424,7 +4424,7 @@ frag_format_size (const fragS *fragP) if (fragP->fr_opcode != fragP->fr_literal) return fmt_size; - /* If during relaxation we have to pull an instruction out of a + /* If during relaxation we have to pull an instruction out of a multi-slot instruction, we will return the more conservative number. This works because alignment on bigger instructions is more restrictive than alignment on smaller instructions. @@ -4445,7 +4445,7 @@ frag_format_size (const fragS *fragP) if (fragP->tc_frag_data.slot_subtypes[0] == RELAX_IMMED_STEP1 || fragP->tc_frag_data.slot_subtypes[0] == RELAX_IMMED_STEP2) return 3; - + if (fragP->tc_frag_data.slot_subtypes[0] == RELAX_NARROW) return 2 + fragP->tc_frag_data.text_expansion[0]; @@ -4527,7 +4527,7 @@ next_frag_is_branch_target (const fragS static bfd_boolean next_frag_is_loop_target (const fragS *fragP) { - /* Sometimes an empty will end up here due storage allocation issues. + /* Sometimes an empty will end up here due storage allocation issues. So we have to skip until we find something legit. */ for (fragP = fragP->fr_next; fragP; fragP = fragP->fr_next) { @@ -4715,7 +4715,7 @@ xtensa_set_frag_assembly_state (fragS *f fragP->tc_frag_data.is_no_density = TRUE; /* This function is called from subsegs_finish, which is called - after xtensa_end, so we can't use "use_transform" or + after xtensa_end, so we can't use "use_transform" or "use_schedule" here. */ if (!directive_state[directive_transform]) fragP->tc_frag_data.is_no_transform = TRUE; @@ -4801,9 +4801,9 @@ xtensa_find_unaligned_branch_targets (bf flagword flags = bfd_get_section_flags (abfd, sec); segment_info_type *seginfo = seg_info (sec); fragS *frag = seginfo->frchainP->frch_root; - + if (flags & SEC_CODE) - { + { xtensa_isa isa = xtensa_default_isa; xtensa_insnbuf insnbuf = xtensa_insnbuf_alloc (isa); while (frag != NULL) @@ -4841,9 +4841,9 @@ xtensa_find_unaligned_loops (bfd *abfd A segment_info_type *seginfo = seg_info (sec); fragS *frag = seginfo->frchainP->frch_root; xtensa_isa isa = xtensa_default_isa; - + if (flags & SEC_CODE) - { + { xtensa_insnbuf insnbuf = xtensa_insnbuf_alloc (isa); while (frag != NULL) { @@ -5261,7 +5261,7 @@ md_assemble (char *str) } dwarf2_where (&orig_insn.loc); - + xg_add_branch_and_loop_targets (&orig_insn); /* Special-case for "entry" instruction. */ @@ -5333,7 +5333,7 @@ xtensa_handle_align (fragS *fragP) int count; count = fragP->fr_next->fr_address - fragP->fr_address - fragP->fr_fix; if (count != 0) - as_bad_where (fragP->fr_file, fragP->fr_line, + as_bad_where (fragP->fr_file, fragP->fr_line, _("unaligned entry instruction")); } } @@ -5760,11 +5760,11 @@ tc_gen_reloc (asection *section ATTRIBUT /* Checks for resource conflicts between instructions. */ -/* The func unit stuff could be implemented as bit-vectors rather - than the iterative approach here. If it ends up being too +/* The func unit stuff could be implemented as bit-vectors rather + than the iterative approach here. If it ends up being too slow, we will switch it. */ -resource_table * +resource_table * new_resource_table (void *data, int cycles, int nu, @@ -5792,7 +5792,7 @@ new_resource_table (void *data, } -void +void clear_resource_table (resource_table *rt) { int i, j; @@ -5804,7 +5804,7 @@ clear_resource_table (resource_table *rt /* We never shrink it, just fake it into thinking so. */ -void +void resize_resource_table (resource_table *rt, int cycles) { int i, old_cycles; @@ -5824,13 +5824,13 @@ resize_resource_table (resource_table *r } -bfd_boolean +bfd_boolean resources_available (resource_table *rt, xtensa_opcode opcode, int cycle) { int i; int uses = (rt->opcode_num_units) (rt->data, opcode); - for (i = 0; i < uses; i++) + for (i = 0; i < uses; i++) { xtensa_funcUnit unit = (rt->opcode_unit_use) (rt->data, opcode, i); int stage = (rt->opcode_unit_stage) (rt->data, opcode, i); @@ -5841,20 +5841,20 @@ resources_available (resource_table *rt, } return TRUE; } - -void + +void reserve_resources (resource_table *rt, xtensa_opcode opcode, int cycle) { int i; int uses = (rt->opcode_num_units) (rt->data, opcode); - for (i = 0; i < uses; i++) + for (i = 0; i < uses; i++) { xtensa_funcUnit unit = (rt->opcode_unit_use) (rt->data, opcode, i); int stage = (rt->opcode_unit_stage) (rt->data, opcode, i); - /* Note that this allows resources to be oversubscribed. That's - essential to the way the optional scheduler works. + /* Note that this allows resources to be oversubscribed. That's + essential to the way the optional scheduler works. resources_available reports when a resource is over-subscribed, so it's easy to tell. */ rt->units[stage + cycle][unit]++; @@ -5862,13 +5862,13 @@ reserve_resources (resource_table *rt, x } -void +void release_resources (resource_table *rt, xtensa_opcode opcode, int cycle) { int i; int uses = (rt->opcode_num_units) (rt->data, opcode); - for (i = 0; i < uses; i++) + for (i = 0; i < uses; i++) { xtensa_funcUnit unit = (rt->opcode_unit_use) (rt->data, opcode, i); int stage = (rt->opcode_unit_stage) (rt->data, opcode, i); @@ -5876,20 +5876,20 @@ release_resources (resource_table *rt, x assert (rt->units[stage + cycle][unit] >= 0); } } - + /* Wrapper functions make parameterized resource reservation more convenient. */ -int +int opcode_funcUnit_use_unit (void *data, xtensa_opcode opcode, int idx) { xtensa_funcUnit_use *use = xtensa_opcode_funcUnit_use (data, opcode, idx); - return use->unit; + return use->unit; } -int +int opcode_funcUnit_use_stage (void *data, xtensa_opcode opcode, int idx) { xtensa_funcUnit_use *use = xtensa_opcode_funcUnit_use (data, opcode, idx); @@ -5899,7 +5899,7 @@ opcode_funcUnit_use_stage (void *data, x /* Note that this function does not check issue constraints, but solely whether the hardware is available to execute the given - instructions together. It also doesn't check if the tinsns + instructions together. It also doesn't check if the tinsns write the same state, or access the same tieports. That is checked by check_t1_t2_reads_and_writes. */ @@ -5913,7 +5913,7 @@ resources_conflict (vliw_insn *vinsn) if (vinsn->num_slots == 1) return FALSE; - if (rt == NULL) + if (rt == NULL) { xtensa_isa isa = xtensa_default_isa; rt = new_resource_table @@ -5992,7 +5992,7 @@ finish_vinsn (vliw_insn *vinsn) return; } - if (resources_conflict (vinsn)) + if (resources_conflict (vinsn)) { as_where (&file_name, &line); as_bad_where (file_name, line, _("illegal resource usage in bundle")); @@ -6074,7 +6074,7 @@ finish_vinsn (vliw_insn *vinsn) if (vinsn->format == XTENSA_UNDEFINED) vinsn->slots[i].opcode = xtensa_nop_opcode; else - vinsn->slots[i].opcode + vinsn->slots[i].opcode = xtensa_format_slot_nop_opcode (xtensa_default_isa, vinsn->format, i); @@ -6090,7 +6090,7 @@ finish_vinsn (vliw_insn *vinsn) } /* Now check resource conflicts on the modified bundle. */ - if (resources_conflict (vinsn)) + if (resources_conflict (vinsn)) { as_where (&file_name, &line); as_bad_where (file_name, line, _("illegal resource usage in bundle")); @@ -6225,7 +6225,7 @@ find_vinsn_conflicts (vliw_insn *vinsn) case A: t1 reads a register t2 writes (an antidependency within a bundle) case B: no relationship between what is read and written (both could read the same reg though) - case C: t1 writes a register t2 writes (a register conflict within a + case C: t1 writes a register t2 writes (a register conflict within a bundle) case D: t1 writes a state that t2 also writes case E: t1 writes a tie queue that t2 also writes @@ -6325,7 +6325,7 @@ check_t1_t2_reads_and_writes (TInsn *t1, { xtensa_state t1_so = xtensa_stateOperand_state (isa, t1->opcode, i); t1_inout = xtensa_stateOperand_inout (isa, t1->opcode, i); - if (t1_so != t2_so) + if (t1_so != t2_so) continue; if (t2_inout == 'i' && (t1_inout == 'm' || t1_inout == 'o')) @@ -6333,22 +6333,22 @@ check_t1_t2_reads_and_writes (TInsn *t1, conflict = 'a'; continue; } - + if (t1_inout == 'i' && (t2_inout == 'm' || t2_inout == 'o')) { conflict = 'a'; continue; } - + if (t1_inout != 'i' && t2_inout != 'i') return 'd'; - } + } } /* Check tieports. */ t1_interfaces = xtensa_opcode_num_interfaceOperands (isa, t1->opcode); t2_interfaces = xtensa_opcode_num_interfaceOperands (isa, t2->opcode); - for (j = 0; j < t2_interfaces; j++) + for (j = 0; j < t2_interfaces; j++) { xtensa_interface t2_int = xtensa_interfaceOperand_interface (isa, t2->opcode, j); @@ -6370,27 +6370,27 @@ check_t1_t2_reads_and_writes (TInsn *t1, if (t1_volatile && t2_volatile && (t1_class == t2_class)) return 'f'; - + if (t1_int != t2_int) continue; - + if (t2_inout == 'i' && t1_inout == 'o') { conflict = 'a'; continue; } - + if (t1_inout == 'i' && t2_inout == 'o') { conflict = 'a'; continue; } - + if (t1_inout != 'i' && t2_inout != 'i') return 'e'; } } - + return conflict; } @@ -6504,7 +6504,7 @@ relaxation_requirements (vliw_insn *vins extra_space += 3; /* for the nop size */ tinsn->subtype = RELAX_ADD_NOP_IF_PRE_LOOP_END; } - + /* Need to assemble it with space for the relocation. */ if (xg_is_relaxable_insn (tinsn, 0) && !tinsn->is_specific_opcode) @@ -6512,9 +6512,9 @@ relaxation_requirements (vliw_insn *vins int max_size = xg_get_max_insn_widen_size (tinsn->opcode); int max_literal_size = xg_get_max_insn_widen_literal_size (tinsn->opcode); - + tinsn->literal_space = max_literal_size; - + tinsn->subtype = RELAX_IMMED; tinsn->record_fix = FALSE; extra_space += max_size; @@ -6579,10 +6579,10 @@ emit_single_op (TInsn *orig_insn) istack_init (&istack); /* Special-case for "movi aX, foo" which is guaranteed to need relaxing. - Because the scheduling and bundling characteristics of movi and - l32r or const16 are so different, we can do much better if we relax + Because the scheduling and bundling characteristics of movi and + l32r or const16 are so different, we can do much better if we relax it prior to scheduling and bundling, rather than after. */ - if ((orig_insn->opcode == xtensa_movi_opcode + if ((orig_insn->opcode == xtensa_movi_opcode || orig_insn->opcode == xtensa_movi_n_opcode) && !cur_vinsn.inside_bundle && (orig_insn->tok[1].X_op == O_symbol @@ -6595,7 +6595,7 @@ emit_single_op (TInsn *orig_insn) for (i = 0; i < istack.ninsn; i++) { TInsn *insn = &istack.insn[i]; - switch (insn->insn_type) + switch (insn->insn_type) { case ITYPE_LITERAL: assert (lit_sym == NULL); @@ -6718,9 +6718,9 @@ xg_assemble_vliw_tokens (vliw_insn *vins /* See if the instruction implies an aligned section. */ if (xtensa_opcode_is_loop (isa, vinsn->slots[i].opcode) == 1) record_alignment (now_seg, 2); - + /* Also determine the best line number for debug info. */ - best_loc = vinsn->slots[i].loc.line < best_loc.line + best_loc = vinsn->slots[i].loc.line < best_loc.line ? vinsn->slots[i].loc : best_loc; } @@ -6729,10 +6729,10 @@ xg_assemble_vliw_tokens (vliw_insn *vins if (xtensa_opcode_is_loop (isa, vinsn->slots[0].opcode) == 1) { int max_fill; - + xtensa_set_frag_assembly_state (frag_now); frag_now->tc_frag_data.is_insn = TRUE; - + max_fill = get_text_align_max_fill_size (get_text_align_power (xtensa_fetch_width), TRUE, frag_now->tc_frag_data.is_no_density); @@ -6744,10 +6744,10 @@ xg_assemble_vliw_tokens (vliw_insn *vins frag_now->fr_offset, NULL); else - frag_var (rs_machine_dependent, 0, 0, + frag_var (rs_machine_dependent, 0, 0, RELAX_CHECK_ALIGN_NEXT_OPCODE, 0, 0, NULL); xtensa_set_frag_assembly_state (frag_now); - + xtensa_move_labels (frag_now, 0, FALSE); } @@ -6788,7 +6788,7 @@ xg_assemble_vliw_tokens (vliw_insn *vins return; xtensa_insnbuf_to_chars (isa, vinsn->insnbuf, (unsigned char *) f, 0); - + xtensa_dwarf2_emit_insn (insn_size - extra_space, &best_loc); for (slot = 0; slot < vinsn->num_slots; slot++) @@ -6809,7 +6809,7 @@ xg_assemble_vliw_tokens (vliw_insn *vins if (xtensa_opcode_is_branch (isa, tinsn->opcode) == 1) is_branch = TRUE; - if (tinsn->subtype || tinsn->symbol || tinsn->record_fix + if (tinsn->subtype || tinsn->symbol || tinsn->record_fix || tinsn->offset || tinsn->literal_frag || is_jump || is_branch) finish_frag = TRUE; } @@ -6986,7 +6986,7 @@ xtensa_cleanup_align_frags (void) && fragP->fr_subtype == RELAX_SLOTS && fragP->tc_frag_data.slot_subtypes[0] == RELAX_NARROW) frag_wane (fragP); - if (fragP->fr_type == rs_machine_dependent + if (fragP->fr_type == rs_machine_dependent && fragP->fr_subtype == RELAX_UNREACHABLE) fragP->tc_frag_data.is_unreachable = TRUE; } @@ -7134,7 +7134,7 @@ xtensa_mark_zcl_first_insns (void) /* Of course, sometimes (mostly for toy test cases) a zero-cost loop instruction is the last in a section. */ - if (targ_frag) + if (targ_frag) { targ_frag->tc_frag_data.is_first_loop_insn = TRUE; if (fragP->fr_subtype == RELAX_CHECK_ALIGN_NEXT_OPCODE) @@ -7389,7 +7389,7 @@ xtensa_fix_close_loop_end_frags (void) < REQUIRED_LOOP_DIVIDING_BYTES) { int length = 3; - + if (fragP->fr_var < length) as_fatal (_("fr_var %lu < length %d"), (long) fragP->fr_var, length); @@ -7461,7 +7461,7 @@ unrelaxed_frag_max_size (fragS *fragP) switch (fragP->fr_type) { case 0: - /* Empty frags created by the obstack allocation scheme + /* Empty frags created by the obstack allocation scheme end up with type 0. */ break; case rs_fill: @@ -7904,7 +7904,7 @@ get_text_align_fill_size (addressT addre alignment = (1 << align_pow); assert (target_size > 0 && alignment >= (addressT) target_size); - + if (!use_nops) { fill_limit = alignment; @@ -8024,16 +8024,16 @@ get_noop_aligned_address (fragS *fragP, the smallest number of bytes that need to be added to ensure that the next fragment's FIRST instruction will fit in a single word. - + E.G., 2 bytes : 0, 1, 2 mod 4 3 bytes: 0, 1 mod 4 - + If the FIRST instruction MIGHT be relaxed, assume that it will become a 3-byte instruction. - + Note again here that LOOP instructions are not bundleable, and this relaxation only applies to LOOP opcodes. */ - + int fill_size = 0; int first_insn_size; int loop_insn_size; @@ -8074,7 +8074,7 @@ get_noop_aligned_address (fragS *fragP, /* If it was 8, then we'll need a larger alignment for the section. */ align_power = get_text_align_power (first_insn_size); record_alignment (now_seg, align_power); - + fill_size = get_text_align_fill_size (address + pre_opcode_bytes, align_power, first_insn_size, TRUE, fragP->tc_frag_data.is_no_density); @@ -8289,7 +8289,7 @@ xtensa_relax_frag (fragS *fragP, long st } /* Tell gas we need another relaxation pass. */ - if (! fragP->tc_frag_data.relax_seen) + if (! fragP->tc_frag_data.relax_seen) { fragP->tc_frag_data.relax_seen = TRUE; *stretched_p = 1; @@ -8476,7 +8476,7 @@ find_address_of_next_align_frag (fragS * return 0; } } - else + else { /* Just punt if we don't know the type. */ *fragPP = fragP; @@ -8517,7 +8517,7 @@ future_alignment_required (fragS *fragP, opt_diff = local_opt_diff; assert (opt_diff >= 0); assert (max_diff >= opt_diff); - if (max_diff == 0) + if (max_diff == 0) return 0; if (fragP) @@ -8526,7 +8526,7 @@ future_alignment_required (fragS *fragP, while (fragP && opt_diff < max_diff && address) { /* We only use these to determine if we can exit early - because there will be plenty of ways to align future + because there will be plenty of ways to align future align frags. */ int glob_widens = 0; int dnn = 0; @@ -8538,7 +8538,7 @@ future_alignment_required (fragS *fragP, if (glob_pad || glob_widens >= (1 << branch_align_power (now_seg))) break; - if (address) + if (address) { offsetT next_m_diff; offsetT next_o_diff; @@ -8579,15 +8579,15 @@ future_alignment_required (fragS *fragP, } return 0; } - local_stretch_amount + local_stretch_amount = bytes_to_stretch (this_frag, wide_nops, narrow_nops, num_widens, local_opt_diff); - global_stretch_amount - = bytes_to_stretch (this_frag, wide_nops, narrow_nops, + global_stretch_amount + = bytes_to_stretch (this_frag, wide_nops, narrow_nops, num_widens, opt_diff); - /* If the condition below is true, then the frag couldn't - stretch the correct amount for the global case, so we just - optimize locally. We'll rely on the subsequent frags to get + /* If the condition below is true, then the frag couldn't + stretch the correct amount for the global case, so we just + optimize locally. We'll rely on the subsequent frags to get the correct alignment in the global case. */ if (global_stretch_amount < local_stretch_amount) stretch_amount = local_stretch_amount; @@ -8659,7 +8659,7 @@ bytes_to_stretch (fragS *this_frag, assert (desired_diff >= 0 && desired_diff < 8); if (desired_diff == 0) return 0; - + assert (wide_nops > 0 || num_widens > 0); /* Always prefer widening to NOP-filling. */ @@ -8669,7 +8669,7 @@ bytes_to_stretch (fragS *this_frag, to align the target without widening this frag in any way. */ return 0; } - + if (bytes_short == 0) { /* Widen every narrow between here and the align target @@ -8679,7 +8679,7 @@ bytes_to_stretch (fragS *this_frag, else return 1; } - + /* From here we will need at least one NOP to get an alignment. However, we may not be able to align at all, in which case, don't widen. */ @@ -8693,7 +8693,7 @@ bytes_to_stretch (fragS *this_frag, if (!this_frag->tc_frag_data.is_no_density && narrow_nops == 1) return 2; /* case 2 */ return 0; - case 3: + case 3: if (wide_nops > 1) return 0; else @@ -8707,7 +8707,7 @@ bytes_to_stretch (fragS *this_frag, case 5: if (num_widens >= 2 && wide_nops == 1) return 3; /* case 5a */ - /* We will need two nops. Are there enough nops + /* We will need two nops. Are there enough nops between here and the align target? */ if (wide_nops < 2 || narrow_nops == 0) return 0; @@ -8739,7 +8739,7 @@ bytes_to_stretch (fragS *this_frag, } else { - /* We will need a NOP no matter what, but should we widen + /* We will need a NOP no matter what, but should we widen this instruction to help? This is a RELAX_FRAG_NARROW frag. */ @@ -9682,38 +9682,6 @@ set_subseg_freq (segT seg, subsegT subse /* Segment Lists and emit_state Stuff. */ -/* Remove the segment from the global sections list. */ - -static void -xtensa_remove_section (segT sec) -{ - /* Handle brain-dead bfd_section_list_remove macro, which - expect the address of the prior section's "next" field, not - just the address of the section to remove. */ - - segT *ps_next_ptr = &stdoutput->sections; - while (*ps_next_ptr != sec && *ps_next_ptr != NULL) - ps_next_ptr = &(*ps_next_ptr)->next; - - assert (*ps_next_ptr != NULL); - - bfd_section_list_remove (stdoutput, ps_next_ptr); -} - - -static void -xtensa_insert_section (segT after_sec, segT sec) -{ - segT *after_sec_next; - if (after_sec == NULL) - after_sec_next = &stdoutput->sections; - else - after_sec_next = &after_sec->next; - - bfd_section_list_insert (stdoutput, after_sec_next, sec); -} - - static void xtensa_move_seg_list_to_beginning (seg_list *head) { @@ -9724,9 +9692,11 @@ xtensa_move_seg_list_to_beginning (seg_l /* Move the literal section to the front of the section list. */ assert (literal_section); - xtensa_remove_section (literal_section); - xtensa_insert_section (NULL, literal_section); - + if (literal_section != stdoutput->sections) + { + bfd_section_list_remove (stdoutput, literal_section); + bfd_section_list_prepend (stdoutput, literal_section); + } head = head->next; } } @@ -9867,7 +9837,7 @@ mark_literal_frags (seg_list *segment) { frchain_from = seg_info (segment->seg)->frchainP; search_frag = frchain_from->frch_root; - while (search_frag) + while (search_frag) { search_frag->tc_frag_data.is_literal = TRUE; search_frag = search_frag->fr_next; @@ -9892,8 +9862,8 @@ xtensa_reorder_seg_list (seg_list *head, assert (literal_section); if (literal_section != after) { - xtensa_remove_section (literal_section); - xtensa_insert_section (after, literal_section); + bfd_section_list_remove (stdoutput, literal_section); + bfd_section_list_insert_after (stdoutput, after, literal_section); } head = head->next; @@ -9964,10 +9934,10 @@ xtensa_switch_to_non_abs_literal_fragmen static bfd_boolean recursive = FALSE; fragS *pool_location = get_literal_pool_location (now_seg); - bfd_boolean is_init = + bfd_boolean is_init = (now_seg && !strcmp (segment_name (now_seg), INIT_SECTION_NAME)); - bfd_boolean is_fini = + bfd_boolean is_fini = (now_seg && !strcmp (segment_name (now_seg), FINI_SECTION_NAME)); if (pool_location == NULL @@ -11480,7 +11450,7 @@ static bfd_boolean vinsn_has_specific_opcodes (vliw_insn *v) { int i; - + for (i = 0; i < v->num_slots; i++) { if (v->slots[i].is_specific_opcode) diff -uprN binutils-2.16.90.0.2/gas/config/tc-xtensa.h binutils-2.16.90.0.3/gas/config/tc-xtensa.h --- binutils-2.16.90.0.2/gas/config/tc-xtensa.h 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-xtensa.h 2005-05-10 15:46:45.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef TC_XTENSA #define TC_XTENSA 1 @@ -141,7 +141,7 @@ enum xtensa_relax_statesE does not fit, use the specified expansion. This is similar to "NARROW", except that these may not be expanded in order to align code. */ - + RELAX_IMMED_STEP1, /* The last instruction in this fragment (at->fr_opcode) contains a literal. It has already been expanded at least 1 step. */ @@ -170,7 +170,7 @@ enum xtensa_relax_statesE RELAX_MAYBE_UNREACHABLE, /* This marks the location as possibly unreachable. These are placed after a branch that may be relaxed into a branch and jump. If the - branch is relaxed, then this frag will be converted to a + branch is relaxed, then this frag will be converted to a RELAX_UNREACHABLE frag. */ RELAX_NONE @@ -382,27 +382,27 @@ typedef int (*unit_num_copies_func) (voi /* Returns the number of units the opcode uses. */ typedef int (*opcode_num_units_func) (void *, xtensa_opcode); -/* Given an opcode and an index into the opcode's funcUnit list, +/* Given an opcode and an index into the opcode's funcUnit list, returns the unit used for the index. */ typedef int (*opcode_funcUnit_use_unit_func) (void *, xtensa_opcode, int); -/* Given an opcode and an index into the opcode's funcUnit list, +/* Given an opcode and an index into the opcode's funcUnit list, returns the cycle during which the unit is used. */ typedef int (*opcode_funcUnit_use_stage_func) (void *, xtensa_opcode, int); -/* The above typedefs parameterize the resource_table so that the +/* The above typedefs parameterize the resource_table so that the optional scheduler doesn't need its own resource reservation system. - - For simple resource checking, which is all that happens normally, - the functions will be as follows (with some wrapping to make the - interface more convenient): + + For simple resource checking, which is all that happens normally, + the functions will be as follows (with some wrapping to make the + interface more convenient): unit_num_copies_func = xtensa_funcUnit_num_copies opcode_num_units_func = xtensa_opcode_num_funcUnit_uses opcode_funcUnit_use_unit_func = xtensa_opcode_funcUnit_use->unit opcode_funcUnit_use_stage_func = xtensa_opcode_funcUnit_use->stage - Of course the optional scheduler has its own reservation table + Of course the optional scheduler has its own reservation table and functions. */ int opcode_funcUnit_use_unit (void *, xtensa_opcode, int); @@ -421,8 +421,8 @@ typedef struct char **units; } resource_table; -resource_table *new_resource_table - (void *, int, int, unit_num_copies_func, opcode_num_units_func, +resource_table *new_resource_table + (void *, int, int, unit_num_copies_func, opcode_num_units_func, opcode_funcUnit_use_unit_func, opcode_funcUnit_use_stage_func); void resize_resource_table (resource_table *, int); void clear_resource_table (resource_table *); diff -uprN binutils-2.16.90.0.2/gas/config/tc-z8k.c binutils-2.16.90.0.3/gas/config/tc-z8k.c --- binutils-2.16.90.0.2/gas/config/tc-z8k.c 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-z8k.c 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* Written By Steve Chamberlain . */ diff -uprN binutils-2.16.90.0.2/gas/config/tc-z8k.h binutils-2.16.90.0.3/gas/config/tc-z8k.h --- binutils-2.16.90.0.2/gas/config/tc-z8k.h 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/tc-z8k.h 2005-05-10 15:46:45.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TC_Z8K #define TARGET_BYTES_BIG_ENDIAN 1 diff -uprN binutils-2.16.90.0.2/gas/config/te-386bsd.h binutils-2.16.90.0.3/gas/config/te-386bsd.h --- binutils-2.16.90.0.2/gas/config/te-386bsd.h 2001-03-09 11:17:12.000000000 -0800 +++ binutils-2.16.90.0.3/gas/config/te-386bsd.h 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TE_386BSD 1 diff -uprN binutils-2.16.90.0.2/gas/config/te-freebsd.h binutils-2.16.90.0.3/gas/config/te-freebsd.h --- binutils-2.16.90.0.2/gas/config/te-freebsd.h 2001-03-09 11:17:12.000000000 -0800 +++ binutils-2.16.90.0.3/gas/config/te-freebsd.h 2005-05-10 15:46:45.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* Target environment for FreeBSD. It is the same as the generic target, except that it arranges via the TE_FreeBSD define to diff -uprN binutils-2.16.90.0.2/gas/config/te-hp300.h binutils-2.16.90.0.3/gas/config/te-hp300.h --- binutils-2.16.90.0.2/gas/config/te-hp300.h 2001-03-09 11:17:12.000000000 -0800 +++ binutils-2.16.90.0.3/gas/config/te-hp300.h 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define LOCAL_LABELS_DOLLAR 1 #define LOCAL_LABELS_FB 1 diff -uprN binutils-2.16.90.0.2/gas/config/te-hppa.h binutils-2.16.90.0.3/gas/config/te-hppa.h --- binutils-2.16.90.0.2/gas/config/te-hppa.h 2001-03-09 11:17:12.000000000 -0800 +++ binutils-2.16.90.0.3/gas/config/te-hppa.h 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* HP PA-RISC and OSF/1 support was contributed by the Center for Software Science at the University of Utah. */ diff -uprN binutils-2.16.90.0.2/gas/config/te-ic960.h binutils-2.16.90.0.3/gas/config/te-ic960.h --- binutils-2.16.90.0.2/gas/config/te-ic960.h 2001-03-09 11:17:12.000000000 -0800 +++ binutils-2.16.90.0.3/gas/config/te-ic960.h 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* This file is te-ic960.h and is intended to define ic960 environment specific differences. */ diff -uprN binutils-2.16.90.0.2/gas/config/te-irix.h binutils-2.16.90.0.3/gas/config/te-irix.h --- binutils-2.16.90.0.2/gas/config/te-irix.h 2005-04-09 12:03:09.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/te-irix.h 2005-05-10 15:46:45.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* This file is te-irix.h and is intended to provide support for IRIX targets. Created by Alexandre Oliva . */ diff -uprN binutils-2.16.90.0.2/gas/config/te-nbsd.h binutils-2.16.90.0.3/gas/config/te-nbsd.h --- binutils-2.16.90.0.2/gas/config/te-nbsd.h 2001-03-09 11:17:12.000000000 -0800 +++ binutils-2.16.90.0.3/gas/config/te-nbsd.h 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TE_NetBSD 1 #define LOCAL_LABELS_FB 1 diff -uprN binutils-2.16.90.0.2/gas/config/te-netware.h binutils-2.16.90.0.3/gas/config/te-netware.h --- binutils-2.16.90.0.2/gas/config/te-netware.h 2004-07-27 21:36:10.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/te-netware.h 2005-05-10 15:46:45.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TE_NETWARE #define LOCAL_LABELS_FB 1 diff -uprN binutils-2.16.90.0.2/gas/config/te-sparcaout.h binutils-2.16.90.0.3/gas/config/te-sparcaout.h --- binutils-2.16.90.0.2/gas/config/te-sparcaout.h 2001-03-09 11:17:12.000000000 -0800 +++ binutils-2.16.90.0.3/gas/config/te-sparcaout.h 2005-05-10 15:46:45.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TE_SPARCAOUT 1 #include "obj-format.h" diff -uprN binutils-2.16.90.0.2/gas/config/te-sun3.h binutils-2.16.90.0.3/gas/config/te-sun3.h --- binutils-2.16.90.0.2/gas/config/te-sun3.h 2005-04-09 12:03:09.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/te-sun3.h 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* This header file contains the #defines specific to SUN computer SUN 3 series computers. (The only kind diff -uprN binutils-2.16.90.0.2/gas/config/te-tmips.h binutils-2.16.90.0.3/gas/config/te-tmips.h --- binutils-2.16.90.0.2/gas/config/te-tmips.h 2005-04-09 12:03:09.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/te-tmips.h 2005-05-10 15:46:45.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* This file is te-tmips.h and is intended to provide support for traditional mips targets like mips-dde-sysv4.2MP (Supermax ) , diff -uprN binutils-2.16.90.0.2/gas/config/te-vxworks.h binutils-2.16.90.0.3/gas/config/te-vxworks.h --- binutils-2.16.90.0.2/gas/config/te-vxworks.h 2005-04-09 12:03:09.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/te-vxworks.h 2005-05-10 15:46:45.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #define TE_VXWORKS 1 #define LOCAL_LABELS_DOLLAR 1 diff -uprN binutils-2.16.90.0.2/gas/config/vax-inst.h binutils-2.16.90.0.3/gas/config/vax-inst.h --- binutils-2.16.90.0.2/gas/config/vax-inst.h 2005-04-09 12:03:09.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/vax-inst.h 2005-05-10 15:46:45.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* * This is part of vax-ins-parse.c & friends. diff -uprN binutils-2.16.90.0.2/gas/config/xtensa-istack.h binutils-2.16.90.0.3/gas/config/xtensa-istack.h --- binutils-2.16.90.0.2/gas/config/xtensa-istack.h 2004-11-22 12:33:32.000000000 -0800 +++ binutils-2.16.90.0.3/gas/config/xtensa-istack.h 2005-05-10 15:46:45.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef XTENSA_ISTACK_H #define XTENSA_ISTACK_H @@ -43,8 +43,8 @@ typedef struct tinsn_struct enum itype_enum insn_type; xtensa_opcode opcode; /* Literals have an invalid opcode. */ - bfd_boolean is_specific_opcode; - bfd_boolean keep_wide; + bfd_boolean is_specific_opcode; + bfd_boolean keep_wide; int ntok; expressionS tok[MAX_INSN_ARGS]; struct dwarf2_line_info loc; @@ -77,7 +77,7 @@ bfd_boolean istack_empty (IStack *); bfd_boolean istack_full (IStack *); TInsn *istack_top (IStack *); void istack_push (IStack *, TInsn *); -TInsn *istack_push_space (IStack *); +TInsn *istack_push_space (IStack *); void istack_pop (IStack *); /* TInsn utilities. */ diff -uprN binutils-2.16.90.0.2/gas/config/xtensa-relax.c binutils-2.16.90.0.3/gas/config/xtensa-relax.c --- binutils-2.16.90.0.2/gas/config/xtensa-relax.c 2005-04-09 12:03:09.000000000 -0700 +++ binutils-2.16.90.0.3/gas/config/xtensa-relax.c 2005-05-10 15:46:45.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, - MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ /* This file contains the code for generating runtime data structures for relaxation pattern matching from statically specified strings. @@ -25,7 +25,7 @@ matches. The preconditions can specify that two operands are the same or an operand is a specific constant or register. The expansion uses the bound variables from the pattern to specify that specific - operands from the pattern should be used in the result. + operands from the pattern should be used in the result. The code determines whether the condition applies to a constant or a register depending on the type of the operand. You may get @@ -46,10 +46,10 @@ OPTIONPRED ::= OPTIONNAME ('+' OPTIONNAME) OPTIONNAME ::= '"' id '"' - The replacement language + The replacement language INSN_REPL ::= INSN_LABEL_LIT ( ';' INSN_LABEL_LIT )* - INSN_LABEL_LIT ::= INSN_TEMPL - | 'LABEL' num + INSN_LABEL_LIT ::= INSN_TEMPL + | 'LABEL' num | 'LITERAL' num ' ' VARIABLE The operands in a PRECOND must be constants or variables bound by @@ -75,7 +75,7 @@ {"beqz %as,%label", "bnez %as,%LABEL0;j %label;LABEL0"} would convert a branch to a negated branch to the following instruction with a jump to the original label. - + An Xtensa-specific example that generates a literal: {"movi %at,%imm", "LITERAL0 %imm; l32r %at,%LITERAL0"} will convert a movi instruction to an l32r of a literal @@ -263,9 +263,9 @@ static string_pattern_pair widen_spec_li {"slli %ar,%as,0", "or %ar,%as,%as"}, /* Widening with literals or const16. */ - {"movi %at,%imm ? IsaUseL32R ", + {"movi %at,%imm ? IsaUseL32R ", "LITERAL0 %imm; l32r %at,%LITERAL0"}, - {"movi %at,%imm ? IsaUseConst16", + {"movi %at,%imm ? IsaUseConst16", "const16 %at,HI16U(%imm); const16 %at,LOW16U(%imm)"}, {"addi %ar,%as,%imm", "addmi %ar,%as,%imm"}, @@ -1278,7 +1278,7 @@ clone_req_option_list (ReqOption *req_op new_req_option = (ReqOption *) xmalloc (sizeof (ReqOption)); new_req_option->or_option_terms = NULL; new_req_option->next = NULL; - new_req_option->or_option_terms = + new_req_option->or_option_terms = clone_req_or_option_list (req_option->or_option_terms); new_req_option->next = clone_req_option_list (req_option->next); return new_req_option; @@ -1325,7 +1325,7 @@ parse_option_cond (const char *s, ReqOpt req->next = NULL; /* Append to list. */ - for (r_p = &option->or_option_terms; (*r_p) != NULL; + for (r_p = &option->or_option_terms; (*r_p) != NULL; r_p = &(*r_p)->next) ; (*r_p) = req; @@ -1366,7 +1366,7 @@ parse_insn_pattern (const char *in, insn clear_split_rec (&optionrec); return FALSE; } - + init_split_rec (&rec); split_string (&rec, optionrec.vec[0], '|', TRUE); @@ -1409,7 +1409,7 @@ parse_insn_pattern (const char *in, insn ReqOption *req_option = (ReqOption *) xmalloc (sizeof (ReqOption)); req_option->or_option_terms = NULL; req_option->next = NULL; - + if (!parse_option_cond (optionrec.vec[i], req_option)) { clear_split_rec (&rec); @@ -1477,7 +1477,7 @@ transition_applies (insn_pattern *initia || req_or_option->next != NULL) continue; - if (strncmp (req_or_option->option_name, "IsaUse", 6) == 0) + if (strncmp (req_or_option->option_name, "IsaUse", 6) == 0) { bfd_boolean option_available = FALSE; char *option_name = req_or_option->option_name + 6; @@ -1501,7 +1501,7 @@ transition_applies (insn_pattern *initia } else if (strcmp (req_or_option->option_name, "realnop") == 0) { - bfd_boolean nop_available = + bfd_boolean nop_available = (xtensa_opcode_lookup (xtensa_default_isa, "nop") != XTENSA_UNDEFINED); if ((nop_available ^ req_or_option->is_true) != 0) @@ -1697,7 +1697,7 @@ build_transition (insn_pattern *initial_ return NULL; } /* Check for the right number of ops. */ - if (xtensa_opcode_num_operands (isa, bi->opcode) + if (xtensa_opcode_num_operands (isa, bi->opcode) != (int) operand_count) as_fatal (_("opcode '%s': replacement does not have %d ops"), opcode_name, diff -uprN binutils-2.16.90.0.2/gas/config/xtensa-relax.h binutils-2.16.90.0.3/gas/config/xtensa-relax.h --- binutils-2.16.90.0.2/gas/config/xtensa-relax.h 2004-11-22 12:33:32.000000000 -0800 +++ binutils-2.16.90.0.3/gas/config/xtensa-relax.h 2005-05-10 15:46:46.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, - MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ #ifndef XTENSA_RELAX_H #define XTENSA_RELAX_H diff -uprN binutils-2.16.90.0.2/gas/configure.tgt binutils-2.16.90.0.3/gas/configure.tgt --- binutils-2.16.90.0.2/gas/configure.tgt 2005-04-29 10:50:27.000000000 -0700 +++ binutils-2.16.90.0.3/gas/configure.tgt 2005-05-10 15:46:44.000000000 -0700 @@ -161,9 +161,9 @@ case ${generic_target} in hppa-*-bsd*) fmt=som em=hppa ;; hppa-*-hiux*) fmt=som em=hppa ;; - h8300-*-rtems*) fmt=coff ;; + h8300-*-rtemscoff*) fmt=coff ;; h8300-*-coff) fmt=coff ;; - h8300-*-elf) fmt=elf ;; + h8300-*-elf | h8300-*-rtems*) fmt=elf ;; h8500-*-rtems*) fmt=coff ;; h8500-*-coff) fmt=coff ;; diff -uprN binutils-2.16.90.0.2/gas/COPYING binutils-2.16.90.0.3/gas/COPYING --- binutils-2.16.90.0.2/gas/COPYING 2001-03-09 11:16:27.000000000 -0800 +++ binutils-2.16.90.0.3/gas/COPYING 2005-05-10 15:46:44.000000000 -0700 @@ -2,7 +2,7 @@ Version 2, June 1991 Copyright 1989, 1991, 1997 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -305,7 +305,7 @@ the "copyright" line and a pointer to wh You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. diff -uprN binutils-2.16.90.0.2/gas/debug.c binutils-2.16.90.0.3/gas/debug.c --- binutils-2.16.90.0.2/gas/debug.c 2001-03-09 11:16:40.000000000 -0800 +++ binutils-2.16.90.0.3/gas/debug.c 2005-05-10 15:46:44.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Routines for debug use only. */ diff -uprN binutils-2.16.90.0.2/gas/depend.c binutils-2.16.90.0.3/gas/depend.c --- binutils-2.16.90.0.2/gas/depend.c 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/depend.c 2005-05-10 15:46:44.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "as.h" diff -uprN binutils-2.16.90.0.2/gas/doc/as.texinfo binutils-2.16.90.0.3/gas/doc/as.texinfo --- binutils-2.16.90.0.2/gas/doc/as.texinfo 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gas/doc/as.texinfo 2005-05-10 15:46:46.000000000 -0700 @@ -4456,6 +4456,10 @@ Assembles the following section of code has been defined. Note a symbol which has been referenced but not yet defined is considered to be undefined. +@cindex @code{ifb} directive +@item .ifb @var{text} +Assembles the following section of code if the operand is blank (empty). + @cindex @code{ifc} directive @item .ifc @var{string1},@var{string2} Assembles the following section of code if the two strings are the same. The @@ -4490,6 +4494,11 @@ to zero. @item .iflt @var{absolute expression} Assembles the following section of code if the argument is less than zero. +@cindex @code{ifnb} directive +@item .ifnb @var{text} +Like @code{.ifb}, but the sense of the test is reversed: this assembles the +following section of code if the operand is non-blank (non-empty). + @cindex @code{ifnc} directive @item .ifnc @var{string1},@var{string2}. Like @code{.ifc}, but the sense of the test is reversed: this assembles the @@ -4857,7 +4866,10 @@ With that definition, @samp{SUM 0,5} is @cindex @code{macro} directive Begin the definition of a macro called @var{macname}. If your macro definition requires arguments, specify their names after the macro name, -separated by commas or spaces. You can supply a default value for any +separated by commas or spaces. You can qualify the macro argument to +indicate whether all invocations must specify a non-blank value (through +@samp{:@code{req}}), or whether it takes all of the remaining arguments +(through @samp{:@code{vararg}}). You can supply a default value for any macro argument by following the name with @samp{=@var{deflt}}. You cannot define two macros with the same @var{macname} unless it has been subject to the @code{.purgem} directive (@xref{Purgem}.) between the two @@ -4884,6 +4896,12 @@ After the definition is complete, you ca @samp{0}, and @samp{\p2} evaluating to @var{b}). @end table +@item .macro m p1:req, p2=0, p3:vararg +Begin the definition of a macro called @code{m}, with at least three +arguments. The first argument must always have a value specified, but +not the second, which instead has a default value. The third formal +will get assigned all remaining arguments specified at invocation time. + When you call a macro, you can specify the argument values either by position, or by keyword. For example, @samp{sum 9,17} is equivalent to @samp{sum to=17, from=9}. diff -uprN binutils-2.16.90.0.2/gas/doc/c-xtensa.texi binutils-2.16.90.0.3/gas/doc/c-xtensa.texi --- binutils-2.16.90.0.2/gas/doc/c-xtensa.texi 2005-04-09 12:03:11.000000000 -0700 +++ binutils-2.16.90.0.3/gas/doc/c-xtensa.texi 2005-05-10 15:46:46.000000000 -0700 @@ -618,7 +618,7 @@ can be used to load a pointer to the sym the data in a literal pool. Literal pools for absolute mode @code{L32R} instructions -(@pxref{Absolute Literals Directive}) are placed in a seperate +(@pxref{Absolute Literals Directive}) are placed in a separate @code{.lit4} section. By default literal pools for PC-relative mode @code{L32R} instructions are placed in a separate @code{.literal} section; however, when using the @samp{--text-@-section-@-literals} diff -uprN binutils-2.16.90.0.2/gas/doc/fdl.texi binutils-2.16.90.0.3/gas/doc/fdl.texi --- binutils-2.16.90.0.2/gas/doc/fdl.texi 2005-04-09 12:03:11.000000000 -0700 +++ binutils-2.16.90.0.3/gas/doc/fdl.texi 2005-05-10 15:46:46.000000000 -0700 @@ -5,7 +5,7 @@ @display Copyright (C) 2000, 2003 Free Software Foundation, Inc. -59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. diff -uprN binutils-2.16.90.0.2/gas/doc/internals.texi binutils-2.16.90.0.3/gas/doc/internals.texi --- binutils-2.16.90.0.2/gas/doc/internals.texi 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gas/doc/internals.texi 2005-05-10 15:46:46.000000000 -0700 @@ -1019,6 +1019,11 @@ default definition is to accept any name Same as TC_START_LABEL, but should be used instead of TC_START_LABEL when LABELS_WITHOUT_COLONS is defined. +@item TC_FAKE_LABEL +@cindex TC_FAKE_LABEL +You may define this macro to control what GAS considers to be a fake +label. The default fake label is FAKE_LABEL_NAME. + @item NO_PSEUDO_DOT @cindex NO_PSEUDO_DOT If you define this macro, GAS will not require pseudo-ops to start with a diff -uprN binutils-2.16.90.0.2/gas/doc/Makefile.am binutils-2.16.90.0.3/gas/doc/Makefile.am --- binutils-2.16.90.0.2/gas/doc/Makefile.am 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gas/doc/Makefile.am 2005-05-10 15:46:46.000000000 -0700 @@ -60,7 +60,7 @@ CPU_DOCS = \ gasver.texi: $(srcdir)/../../bfd/configure rm -f $@ - eval `grep '^ *VERSION=' $<`; echo '@set VERSION $$VERSION' > $@ + eval `grep '^ *VERSION=' $<`; echo "@set VERSION $$VERSION" > $@ $(srcdir)/as.info: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS) as.dvi: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS) diff -uprN binutils-2.16.90.0.2/gas/doc/Makefile.in binutils-2.16.90.0.3/gas/doc/Makefile.in --- binutils-2.16.90.0.2/gas/doc/Makefile.in 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gas/doc/Makefile.in 2005-05-10 15:46:46.000000000 -0700 @@ -582,7 +582,7 @@ asconfig.texi: $(CONFIG).texi gasver.texi: $(srcdir)/../../bfd/configure rm -f $@ - eval `grep '^ *VERSION=' $<`; echo '@set VERSION $$VERSION' > $@ + eval `grep '^ *VERSION=' $<`; echo "@set VERSION $$VERSION" > $@ $(srcdir)/as.info: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS) as.dvi: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS) diff -uprN binutils-2.16.90.0.2/gas/dw2gencfi.c binutils-2.16.90.0.3/gas/dw2gencfi.c --- binutils-2.16.90.0.2/gas/dw2gencfi.c 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/dw2gencfi.c 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "as.h" #include "dw2gencfi.h" diff -uprN binutils-2.16.90.0.2/gas/dw2gencfi.h binutils-2.16.90.0.3/gas/dw2gencfi.h --- binutils-2.16.90.0.2/gas/dw2gencfi.h 2004-01-14 13:07:45.000000000 -0800 +++ binutils-2.16.90.0.3/gas/dw2gencfi.h 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef DW2GENCFI_H #define DW2GENCFI_H diff -uprN binutils-2.16.90.0.2/gas/dwarf2dbg.c binutils-2.16.90.0.3/gas/dwarf2dbg.c --- binutils-2.16.90.0.2/gas/dwarf2dbg.c 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/dwarf2dbg.c 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* Logical line numbers can be controlled by the compiler via the following two directives: diff -uprN binutils-2.16.90.0.2/gas/dwarf2dbg.h binutils-2.16.90.0.3/gas/dwarf2dbg.h --- binutils-2.16.90.0.2/gas/dwarf2dbg.h 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/dwarf2dbg.h 2005-05-10 15:46:44.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef AS_DWARF2DBG_H #define AS_DWARF2DBG_H diff -uprN binutils-2.16.90.0.2/gas/ecoff.c binutils-2.16.90.0.3/gas/ecoff.c --- binutils-2.16.90.0.2/gas/ecoff.c 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/ecoff.c 2005-05-10 15:46:44.000000000 -0700 @@ -21,8 +21,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "as.h" diff -uprN binutils-2.16.90.0.2/gas/ecoff.h binutils-2.16.90.0.3/gas/ecoff.h --- binutils-2.16.90.0.2/gas/ecoff.h 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/ecoff.h 2005-05-10 15:46:44.000000000 -0700 @@ -18,8 +18,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef GAS_ECOFF_H #define GAS_ECOFF_H diff -uprN binutils-2.16.90.0.2/gas/ehopt.c binutils-2.16.90.0.3/gas/ehopt.c --- binutils-2.16.90.0.2/gas/ehopt.c 2004-01-14 13:07:45.000000000 -0800 +++ binutils-2.16.90.0.3/gas/ehopt.c 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA +02110-1301, USA. */ #include "as.h" #include "subsegs.h" diff -uprN binutils-2.16.90.0.2/gas/emul.h binutils-2.16.90.0.3/gas/emul.h --- binutils-2.16.90.0.2/gas/emul.h 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/emul.h 2005-05-10 15:46:44.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef EMUL_DEFS #define EMUL_DEFS diff -uprN binutils-2.16.90.0.2/gas/emul-target.h binutils-2.16.90.0.3/gas/emul-target.h --- binutils-2.16.90.0.2/gas/emul-target.h 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/emul-target.h 2005-05-10 15:46:44.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef emul_init #define emul_init common_emul_init diff -uprN binutils-2.16.90.0.2/gas/expr.c binutils-2.16.90.0.3/gas/expr.c --- binutils-2.16.90.0.2/gas/expr.c 2005-04-29 10:50:27.000000000 -0700 +++ binutils-2.16.90.0.3/gas/expr.c 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* This is really a branch office of as-read.c. I split it out to clearly distinguish the world of expressions from the world of statements. diff -uprN binutils-2.16.90.0.2/gas/expr.h binutils-2.16.90.0.3/gas/expr.h --- binutils-2.16.90.0.2/gas/expr.h 2005-04-29 10:50:27.000000000 -0700 +++ binutils-2.16.90.0.3/gas/expr.h 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* * By popular demand, we define a struct to represent an expression. diff -uprN binutils-2.16.90.0.2/gas/flonum-copy.c binutils-2.16.90.0.3/gas/flonum-copy.c --- binutils-2.16.90.0.2/gas/flonum-copy.c 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/flonum-copy.c 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "as.h" diff -uprN binutils-2.16.90.0.2/gas/flonum.h binutils-2.16.90.0.3/gas/flonum.h --- binutils-2.16.90.0.2/gas/flonum.h 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/flonum.h 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /***********************************************************************\ * * diff -uprN binutils-2.16.90.0.2/gas/flonum-konst.c binutils-2.16.90.0.3/gas/flonum-konst.c --- binutils-2.16.90.0.2/gas/flonum-konst.c 2002-05-26 09:57:12.000000000 -0700 +++ binutils-2.16.90.0.3/gas/flonum-konst.c 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "ansidecl.h" #include "flonum.h" diff -uprN binutils-2.16.90.0.2/gas/frags.c binutils-2.16.90.0.3/gas/frags.c --- binutils-2.16.90.0.2/gas/frags.c 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/frags.c 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "as.h" #include "subsegs.h" diff -uprN binutils-2.16.90.0.2/gas/frags.h binutils-2.16.90.0.3/gas/frags.h --- binutils-2.16.90.0.2/gas/frags.h 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/frags.h 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef FRAGS_H #define FRAGS_H diff -uprN binutils-2.16.90.0.2/gas/hash.c binutils-2.16.90.0.3/gas/hash.c --- binutils-2.16.90.0.2/gas/hash.c 2005-04-29 10:50:27.000000000 -0700 +++ binutils-2.16.90.0.3/gas/hash.c 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* This version of the hash table code is a wholescale replacement of the old hash table code, which was fairly bad. This is based on diff -uprN binutils-2.16.90.0.2/gas/hash.h binutils-2.16.90.0.3/gas/hash.h --- binutils-2.16.90.0.2/gas/hash.h 2005-04-29 10:50:27.000000000 -0700 +++ binutils-2.16.90.0.3/gas/hash.h 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef HASH_H #define HASH_H diff -uprN binutils-2.16.90.0.2/gas/input-file.c binutils-2.16.90.0.3/gas/input-file.c --- binutils-2.16.90.0.2/gas/input-file.c 2005-04-29 10:50:27.000000000 -0700 +++ binutils-2.16.90.0.3/gas/input-file.c 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* Confines all details of reading source bytes to this module. All O/S specific crocks should live here. diff -uprN binutils-2.16.90.0.2/gas/input-file.h binutils-2.16.90.0.3/gas/input-file.h --- binutils-2.16.90.0.2/gas/input-file.h 2005-04-29 10:50:27.000000000 -0700 +++ binutils-2.16.90.0.3/gas/input-file.h 2005-05-10 15:46:44.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /*"input_file.c":Operating-system dependant functions to read source files.*/ diff -uprN binutils-2.16.90.0.2/gas/input-scrub.c binutils-2.16.90.0.3/gas/input-scrub.c --- binutils-2.16.90.0.2/gas/input-scrub.c 2005-04-29 10:50:27.000000000 -0700 +++ binutils-2.16.90.0.3/gas/input-scrub.c 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include /* Need this to make errno declaration right */ #include "as.h" diff -uprN binutils-2.16.90.0.2/gas/itbl-lex.h binutils-2.16.90.0.3/gas/itbl-lex.h --- binutils-2.16.90.0.2/gas/itbl-lex.h 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/itbl-lex.h 2005-05-10 15:46:44.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ extern int insntbl_line; extern int yyparse (void); diff -uprN binutils-2.16.90.0.2/gas/itbl-lex.l binutils-2.16.90.0.3/gas/itbl-lex.l --- binutils-2.16.90.0.2/gas/itbl-lex.l 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/itbl-lex.l 2005-05-10 15:46:44.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ %{ #include diff -uprN binutils-2.16.90.0.2/gas/itbl-ops.c binutils-2.16.90.0.3/gas/itbl-ops.c --- binutils-2.16.90.0.2/gas/itbl-ops.c 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/itbl-ops.c 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /*======================================================================*/ /* diff -uprN binutils-2.16.90.0.2/gas/itbl-ops.h binutils-2.16.90.0.3/gas/itbl-ops.h --- binutils-2.16.90.0.2/gas/itbl-ops.h 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/itbl-ops.h 2005-05-10 15:46:44.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* External functions, constants and defines for itbl support */ diff -uprN binutils-2.16.90.0.2/gas/itbl-parse.y binutils-2.16.90.0.3/gas/itbl-parse.y --- binutils-2.16.90.0.2/gas/itbl-parse.y 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/itbl-parse.y 2005-05-10 15:46:44.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ %{ diff -uprN binutils-2.16.90.0.2/gas/listing.c binutils-2.16.90.0.3/gas/listing.c --- binutils-2.16.90.0.2/gas/listing.c 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/listing.c 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* Contributed by Steve Chamberlain diff -uprN binutils-2.16.90.0.2/gas/listing.h binutils-2.16.90.0.3/gas/listing.h --- binutils-2.16.90.0.2/gas/listing.h 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/listing.h 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef __listing_h__ #define __listing_h__ diff -uprN binutils-2.16.90.0.2/gas/literal.c binutils-2.16.90.0.3/gas/literal.c --- binutils-2.16.90.0.2/gas/literal.c 2001-03-09 11:16:43.000000000 -0800 +++ binutils-2.16.90.0.3/gas/literal.c 2005-05-10 15:46:44.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This isn't quite a "constant" pool. Some of the values may get adjusted at run time, e.g., for symbolic relocations when shared diff -uprN binutils-2.16.90.0.2/gas/macro.c binutils-2.16.90.0.3/gas/macro.c --- binutils-2.16.90.0.2/gas/macro.c 2005-04-29 10:50:28.000000000 -0700 +++ binutils-2.16.90.0.3/gas/macro.c 2005-05-10 15:46:44.000000000 -0700 @@ -19,8 +19,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "config.h" @@ -70,7 +70,9 @@ extern void *alloca (); static int get_token (int, sb *, sb *); static int getstring (int, sb *, sb *); -static int get_any_string (int, sb *, sb *, int, int); +static int get_any_string (int, sb *, sb *); +static formal_entry *new_formal (void); +static void del_formal (formal_entry *); static int do_formals (macro_entry *, int, sb *); static int get_apost_token (int, sb *, sb *, int); static int sub_actual (int, sb *, sb *, struct hash_control *, int, sb *, int); @@ -94,7 +96,7 @@ static void free_macro(macro_entry *); /* The macro hash table. */ -static struct hash_control *macro_hash; +struct hash_control *macro_hash; /* Whether any macros have been defined. */ @@ -302,8 +304,6 @@ get_token (int idx, sb *in, sb *name) static int getstring (int idx, sb *in, sb *acc) { - idx = sb_skip_white (idx, in); - while (idx < in->len && (in->ptr[idx] == '"' || (in->ptr[idx] == '<' && (macro_alternate || macro_mri)) @@ -388,7 +388,7 @@ getstring (int idx, sb *in, sb *acc) */ static int -get_any_string (int idx, sb *in, sb *out, int expand, int pretend_quoted) +get_any_string (int idx, sb *in, sb *out) { sb_reset (out); idx = sb_skip_white (idx, in); @@ -400,9 +400,7 @@ get_any_string (int idx, sb *in, sb *out while (!ISSEP (in->ptr[idx])) sb_add_char (out, in->ptr[idx++]); } - else if (in->ptr[idx] == '%' - && macro_alternate - && expand) + else if (in->ptr[idx] == '%' && macro_alternate) { int val; char buf[20]; @@ -419,9 +417,7 @@ get_any_string (int idx, sb *in, sb *out || (in->ptr[idx] == '<' && (macro_alternate || macro_mri)) || (macro_alternate && in->ptr[idx] == '\'')) { - if (macro_alternate - && ! macro_strip_at - && expand) + if (macro_alternate && ! macro_strip_at) { /* Keep the quotes. */ sb_add_char (out, '\"'); @@ -437,14 +433,11 @@ get_any_string (int idx, sb *in, sb *out else { while (idx < in->len - && (in->ptr[idx] == '"' - || in->ptr[idx] == '\'' - || pretend_quoted - || (in->ptr[idx] != ' ' - && in->ptr[idx] != '\t' - && in->ptr[idx] != ',' - && (in->ptr[idx] != '<' - || (! macro_alternate && ! macro_mri))))) + && in->ptr[idx] != ' ' + && in->ptr[idx] != '\t' + && in->ptr[idx] != ',' + && (in->ptr[idx] != '<' + || (! macro_alternate && ! macro_mri))) { if (in->ptr[idx] == '"' || in->ptr[idx] == '\'') @@ -465,6 +458,34 @@ get_any_string (int idx, sb *in, sb *out return idx; } +/* Allocate a new formal. */ + +static formal_entry * +new_formal (void) +{ + formal_entry *formal; + + formal = xmalloc (sizeof (formal_entry)); + + sb_new (&formal->name); + sb_new (&formal->def); + sb_new (&formal->actual); + formal->next = NULL; + formal->type = FORMAL_OPTIONAL; + return formal; +} + +/* Free a formal. */ + +static void +del_formal (formal_entry *formal) +{ + sb_kill (&formal->actual); + sb_kill (&formal->def); + sb_kill (&formal->name); + free (formal); +} + /* Pick up the formal parameters of a macro definition. */ static int @@ -476,15 +497,9 @@ do_formals (macro_entry *macro, int idx, idx = sb_skip_white (idx, in); while (idx < in->len) { - formal_entry *formal; + formal_entry *formal = new_formal (); int cidx; - formal = (formal_entry *) xmalloc (sizeof (formal_entry)); - - sb_new (&formal->name); - sb_new (&formal->def); - sb_new (&formal->actual); - idx = get_token (idx, in, &formal->name); if (formal->name.len == 0) { @@ -494,15 +509,57 @@ do_formals (macro_entry *macro, int idx, } idx = sb_skip_white (idx, in); /* This is a formal. */ + name = sb_terminate (&formal->name); + if (! macro_mri + && idx < in->len + && in->ptr[idx] == ':' + && (! is_name_beginner (':') + || idx + 1 >= in->len + || ! is_part_of_name (in->ptr[idx + 1]))) + { + /* Got a qualifier. */ + sb qual; + + sb_new (&qual); + idx = get_token (sb_skip_white (idx + 1, in), in, &qual); + sb_terminate (&qual); + if (qual.len == 0) + as_bad_where (macro->file, + macro->line, + _("Missing parameter qualifier for `%s' in macro `%s'"), + name, + macro->name); + else if (strcmp (qual.ptr, "req") == 0) + formal->type = FORMAL_REQUIRED; + else if (strcmp (qual.ptr, "vararg") == 0) + formal->type = FORMAL_VARARG; + else + as_bad_where (macro->file, + macro->line, + _("`%s' is not a valid parameter qualifier for `%s' in macro `%s'"), + qual.ptr, + name, + macro->name); + sb_kill (&qual); + idx = sb_skip_white (idx, in); + } if (idx < in->len && in->ptr[idx] == '=') { /* Got a default. */ - idx = get_any_string (idx + 1, in, &formal->def, 1, 0); + idx = get_any_string (idx + 1, in, &formal->def); idx = sb_skip_white (idx, in); + if (formal->type == FORMAL_REQUIRED) + { + sb_reset (&formal->def); + as_warn_where (macro->file, + macro->line, + _("Pointless default value for required parameter `%s' in macro `%s'"), + name, + macro->name); + } } /* Add to macro's hash table. */ - name = sb_terminate (&formal->name); if (! hash_find (macro->formal_hash, name)) hash_jam (macro->formal_hash, name, formal); else @@ -513,6 +570,10 @@ do_formals (macro_entry *macro, int idx, macro->name); formal->index = macro->formal_count++; + *p = formal; + p = &formal->next; + if (formal->type == FORMAL_VARARG) + break; cidx = idx; idx = sb_skip_comma (idx, in); if (idx != cidx && idx >= in->len) @@ -520,23 +581,14 @@ do_formals (macro_entry *macro, int idx, idx = cidx; break; } - *p = formal; - p = &formal->next; - *p = NULL; } if (macro_mri) { - formal_entry *formal; + formal_entry *formal = new_formal (); /* Add a special NARG formal, which macro_expand will set to the number of arguments. */ - formal = (formal_entry *) xmalloc (sizeof (formal_entry)); - - sb_new (&formal->name); - sb_new (&formal->def); - sb_new (&formal->actual); - /* The same MRI assemblers which treat '@' characters also use the name $NARG. At least until we find an exception. */ if (macro_strip_at) @@ -557,7 +609,6 @@ do_formals (macro_entry *macro, int idx, formal->index = NARG_INDEX; *p = formal; - formal->next = NULL; } return idx; @@ -827,10 +878,8 @@ macro_expand_body (sb *in, sb *out, form while (in->ptr[src] != '\n') { const char *name; - formal_entry *f; + formal_entry *f = new_formal (); - f = (formal_entry *) xmalloc (sizeof (formal_entry)); - sb_new (&f->name); src = get_token (src, in, &f->name); name = sb_terminate (&f->name); if (! hash_find (formal_hash, name)) @@ -838,8 +887,6 @@ macro_expand_body (sb *in, sb *out, form static int loccnt; char buf[20]; - sb_new (&f->def); - sb_new (&f->actual); f->index = LOCAL_INDEX; f->next = loclist; loclist = f; @@ -857,8 +904,7 @@ macro_expand_body (sb *in, sb *out, form macro->line + macro_line, _("`%s' was already used as parameter (or another local) name"), name); - sb_kill (&f->name); - free (f); + del_formal (f); } src = sb_skip_comma (src, in); @@ -935,10 +981,7 @@ macro_expand_body (sb *in, sb *out, form /* Setting the value to NULL effectively deletes the entry. We avoid calling hash_delete because it doesn't reclaim memory. */ hash_jam (formal_hash, sb_terminate (&loclist->name), NULL); - sb_kill (&loclist->name); - sb_kill (&loclist->def); - sb_kill (&loclist->actual); - free (loclist); + del_formal (loclist); loclist = f; } @@ -957,7 +1000,7 @@ macro_expand (int idx, sb *in, macro_ent int is_positional = 0; int is_keyword = 0; int narg = 0; - const char *err; + const char *err = NULL; sb_new (&t); @@ -981,18 +1024,14 @@ macro_expand (int idx, sb *in, macro_ent && in->ptr[idx] != ' ' && in->ptr[idx] != '\t') { - formal_entry *n; + formal_entry *n = new_formal (); - n = (formal_entry *) xmalloc (sizeof (formal_entry)); - sb_new (&n->name); - sb_new (&n->def); - sb_new (&n->actual); n->index = QUAL_INDEX; n->next = m->formals; m->formals = n; - idx = get_any_string (idx, in, &n->actual, 1, 0); + idx = get_any_string (idx, in, &n->actual); } } } @@ -1021,17 +1060,28 @@ macro_expand (int idx, sb *in, macro_ent sb_reset (&t); idx = get_token (idx, in, &t); if (in->ptr[idx] != '=') - return _("confusion in formal parameters"); + { + err = _("confusion in formal parameters"); + break; + } /* Lookup the formal in the macro's list. */ ptr = (formal_entry *) hash_find (m->formal_hash, sb_terminate (&t)); if (!ptr) - return _("macro formal argument does not exist"); + as_bad (_("Parameter named `%s' does not exist for macro `%s'"), + t.ptr, + m->name); else { /* Insert this value into the right place. */ - sb_reset (&ptr->actual); - idx = get_any_string (idx + 1, in, &ptr->actual, 0, 0); + if (ptr->actual.len) + { + as_warn (_("Value for parameter `%s' of macro `%s' was already specified"), + ptr->name.ptr, + m->name); + sb_reset (&ptr->actual); + } + idx = get_any_string (idx + 1, in, &ptr->actual); if (ptr->actual.len > 0) ++narg; } @@ -1041,7 +1091,10 @@ macro_expand (int idx, sb *in, macro_ent /* This is a positional arg. */ is_positional = 1; if (is_keyword) - return _("can't mix positional and keyword arguments"); + { + err = _("can't mix positional and keyword arguments"); + break; + } if (!f) { @@ -1049,13 +1102,12 @@ macro_expand (int idx, sb *in, macro_ent int c; if (!macro_mri) - return _("too many positional arguments"); + { + err = _("too many positional arguments"); + break; + } - f = (formal_entry *) xmalloc (sizeof (formal_entry)); - sb_new (&f->name); - sb_new (&f->def); - sb_new (&f->actual); - f->next = NULL; + f = new_formal (); c = -1; for (pf = &m->formals; *pf != NULL; pf = &(*pf)->next) @@ -1067,8 +1119,13 @@ macro_expand (int idx, sb *in, macro_ent f->index = c; } - sb_reset (&f->actual); - idx = get_any_string (idx, in, &f->actual, 1, 0); + if (f->type != FORMAL_VARARG) + idx = get_any_string (idx, in, &f->actual); + else + { + sb_add_buffer (&f->actual, in->ptr + idx, in->len - idx); + idx = in->len; + } if (f->actual.len > 0) ++narg; do @@ -1089,19 +1146,29 @@ macro_expand (int idx, sb *in, macro_ent } } - if (macro_mri) + if (! err) { - char buffer[20]; + for (ptr = m->formals; ptr; ptr = ptr->next) + { + if (ptr->type == FORMAL_REQUIRED && ptr->actual.len == 0) + as_bad (_("Missing value for required parameter `%s' of macro `%s'"), + ptr->name.ptr, + m->name); + } - sb_reset (&t); - sb_add_string (&t, macro_strip_at ? "$NARG" : "NARG"); - ptr = (formal_entry *) hash_find (m->formal_hash, sb_terminate (&t)); - sb_reset (&ptr->actual); - sprintf (buffer, "%d", narg); - sb_add_string (&ptr->actual, buffer); - } + if (macro_mri) + { + char buffer[20]; - err = macro_expand_body (&m->sub, out, m->formals, m->formal_hash, m); + sb_reset (&t); + sb_add_string (&t, macro_strip_at ? "$NARG" : "NARG"); + ptr = (formal_entry *) hash_find (m->formal_hash, sb_terminate (&t)); + sprintf (buffer, "%d", narg); + sb_add_string (&ptr->actual, buffer); + } + + err = macro_expand_body (&m->sub, out, m->formals, m->formal_hash, m); + } /* Discard any unnamed formal arguments. */ if (macro_mri) @@ -1115,11 +1182,8 @@ macro_expand (int idx, sb *in, macro_ent pf = &(*pf)->next; else { - sb_kill (&(*pf)->name); - sb_kill (&(*pf)->def); - sb_kill (&(*pf)->actual); f = (*pf)->next; - free (*pf); + del_formal (*pf); *pf = f; } } @@ -1191,14 +1255,11 @@ free_macro(macro_entry *macro) for (formal = macro->formals; formal; ) { - void *ptr; + formal_entry *f; - sb_kill (&formal->name); - sb_kill (&formal->def); - sb_kill (&formal->actual); - ptr = formal; + f = formal; formal = formal->next; - free (ptr); + del_formal (f); } hash_die (macro->formal_hash); sb_kill (¯o->sub); @@ -1263,6 +1324,7 @@ expand_irp (int irpc, int idx, sb *in, s f.index = 1; f.next = NULL; + f.type = FORMAL_OPTIONAL; sb_reset (out); @@ -1279,7 +1341,7 @@ expand_irp (int irpc, int idx, sb *in, s while (idx < in->len) { if (!irpc) - idx = get_any_string (idx, in, &f.actual, 1, 0); + idx = get_any_string (idx, in, &f.actual); else { if (in->ptr[idx] == '"') @@ -1308,6 +1370,9 @@ expand_irp (int irpc, int idx, sb *in, s } hash_die (h); + sb_kill (&f.actual); + sb_kill (&f.def); + sb_kill (&f.name); sb_kill (&sub); return err; diff -uprN binutils-2.16.90.0.2/gas/macro.h binutils-2.16.90.0.3/gas/macro.h --- binutils-2.16.90.0.2/gas/macro.h 2005-04-29 10:50:28.000000000 -0700 +++ binutils-2.16.90.0.3/gas/macro.h 2005-05-10 15:46:44.000000000 -0700 @@ -19,8 +19,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef MACRO_H @@ -45,6 +45,12 @@ typedef struct formal_struct { sb def; /* The default value. */ sb actual; /* The actual argument (changed on each expansion). */ int index; /* The index of the formal 0..formal_count - 1. */ + enum formal_type + { + FORMAL_OPTIONAL, + FORMAL_REQUIRED, + FORMAL_VARARG + } type; /* The kind of the formal. */ } formal_entry; /* Other values found in the index field of a formal_entry. */ @@ -73,6 +79,10 @@ extern int macro_defined; extern int macro_nest; +/* The macro hash table. */ + +extern struct hash_control *macro_hash; + extern int buffer_and_nest (const char *, const char *, sb *, int (*) (sb *)); extern void macro_init (int, int, int, int (*) (const char *, int, sb *, int *)); diff -uprN binutils-2.16.90.0.2/gas/messages.c binutils-2.16.90.0.3/gas/messages.c --- binutils-2.16.90.0.2/gas/messages.c 2005-04-29 10:50:28.000000000 -0700 +++ binutils-2.16.90.0.3/gas/messages.c 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "as.h" diff -uprN binutils-2.16.90.0.2/gas/NEWS binutils-2.16.90.0.3/gas/NEWS --- binutils-2.16.90.0.2/gas/NEWS 2005-04-29 10:50:27.000000000 -0700 +++ binutils-2.16.90.0.3/gas/NEWS 2005-05-10 15:46:44.000000000 -0700 @@ -1,5 +1,8 @@ -*- text -*- +* Macros with a variable number of arguments are now supported. See the + documentation for how this works. + * Added --reduce-memory-overheads switch to reduce the size of the hash tables used, at the expense of longer assembly times, and --hash-size= to set the size of the hash tables used by gas. diff -uprN binutils-2.16.90.0.2/gas/obj.h binutils-2.16.90.0.3/gas/obj.h --- binutils-2.16.90.0.2/gas/obj.h 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/obj.h 2005-05-10 15:46:44.000000000 -0700 @@ -18,8 +18,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ char *obj_default_output_file_name (void); void obj_emit_relocations (char **where, fixS * fixP, diff -uprN binutils-2.16.90.0.2/gas/output-file.c binutils-2.16.90.0.3/gas/output-file.c --- binutils-2.16.90.0.2/gas/output-file.c 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/output-file.c 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include diff -uprN binutils-2.16.90.0.2/gas/output-file.h binutils-2.16.90.0.3/gas/output-file.h --- binutils-2.16.90.0.2/gas/output-file.h 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/output-file.h 2005-05-10 15:46:44.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ void output_file_append (char *where, long length, char *filename); void output_file_close (char *filename); diff -uprN binutils-2.16.90.0.2/gas/read.c binutils-2.16.90.0.3/gas/read.c --- binutils-2.16.90.0.2/gas/read.c 2005-04-29 10:50:28.000000000 -0700 +++ binutils-2.16.90.0.3/gas/read.c 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA +02110-1301, USA. */ /* If your chars aren't 8 bits, you will change this a bit (eg. to 0xFF). But then, GNU isn't spozed to run on your machine anyway. @@ -343,6 +343,7 @@ static const pseudo_typeS potable[] = { {"globl", s_globl, 0}, {"hword", cons, 2}, {"if", s_if, (int) O_ne}, + {"ifb", s_ifb, 1}, {"ifc", s_ifc, 0}, {"ifdef", s_ifdef, 0}, {"ifeq", s_if, (int) O_eq}, @@ -351,6 +352,7 @@ static const pseudo_typeS potable[] = { {"ifgt", s_if, (int) O_gt}, {"ifle", s_if, (int) O_le}, {"iflt", s_if, (int) O_lt}, + {"ifnb", s_ifb, 0}, {"ifnc", s_ifc, 1}, {"ifndef", s_ifdef, 1}, {"ifne", s_if, (int) O_ne}, @@ -2346,7 +2348,6 @@ s_macro (int ignore ATTRIBUTE_UNUSED) char *file; unsigned int line; sb s; - sb label; const char *err; const char *name; @@ -2356,11 +2357,17 @@ s_macro (int ignore ATTRIBUTE_UNUSED) while (!is_end_of_line[(unsigned char) *input_line_pointer]) sb_add_char (&s, *input_line_pointer++); - sb_new (&label); if (line_label != NULL) - sb_add_string (&label, S_GET_NAME (line_label)); + { + sb label; - err = define_macro (0, &s, &label, get_line_sb, file, line, &name); + sb_new (&label); + sb_add_string (&label, S_GET_NAME (line_label)); + err = define_macro (0, &s, &label, get_line_sb, file, line, &name); + sb_kill (&label); + } + else + err = define_macro (0, &s, NULL, get_line_sb, file, line, &name); if (err != NULL) as_bad_where (file, line, err, name); else diff -uprN binutils-2.16.90.0.2/gas/read.h binutils-2.16.90.0.3/gas/read.h --- binutils-2.16.90.0.2/gas/read.h 2005-04-29 10:50:28.000000000 -0700 +++ binutils-2.16.90.0.3/gas/read.h 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ extern char *input_line_pointer; /* -> char we are parsing now. */ @@ -155,6 +155,7 @@ extern void s_float_space (int mult); extern void s_func (int); extern void s_globl (int arg); extern void s_if (int arg); +extern void s_ifb (int arg); extern void s_ifc (int arg); extern void s_ifdef (int arg); extern void s_ifeqs (int arg); diff -uprN binutils-2.16.90.0.2/gas/sb.c binutils-2.16.90.0.3/gas/sb.c --- binutils-2.16.90.0.2/gas/sb.c 2005-04-29 10:50:28.000000000 -0700 +++ binutils-2.16.90.0.3/gas/sb.c 2005-05-10 15:46:44.000000000 -0700 @@ -18,8 +18,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "config.h" #include @@ -46,9 +46,7 @@ sb_new (&foo); sb_grow... (&foo,...); use foo->ptr[*]; - sb_kill (&foo); - -*/ + sb_kill (&foo); */ static int dsize = 5; static void sb_check (sb *, int); @@ -59,12 +57,12 @@ static int string_count[sb_max_power_two /* Free list of sb structures. */ static sb_list_vector free_list; -/* initializes an sb. */ +/* Initializes an sb. */ static void sb_build (sb *ptr, int size) { - /* see if we can find one to allocate */ + /* See if we can find one to allocate. */ sb_element *e; if (size > sb_max_power_two) @@ -73,7 +71,7 @@ sb_build (sb *ptr, int size) e = free_list.size[size]; if (!e) { - /* nothing there, allocate one and stick into the free list */ + /* Nothing there, allocate one and stick into the free list. */ e = (sb_element *) xmalloc (sizeof (sb_element) + (1 << size)); e->next = free_list.size[size]; e->size = 1 << size; @@ -81,11 +79,10 @@ sb_build (sb *ptr, int size) string_count[size]++; } - /* remove from free list */ - + /* Remove from free list. */ free_list.size[size] = e->next; - /* copy into callers world */ + /* Copy into callers world. */ ptr->ptr = e->data; ptr->pot = size; ptr->len = 0; @@ -98,17 +95,17 @@ sb_new (sb *ptr) sb_build (ptr, dsize); } -/* deallocate the sb at ptr */ +/* Deallocate the sb at ptr. */ void sb_kill (sb *ptr) { - /* return item to free list */ + /* Return item to free list. */ ptr->item->next = free_list.size[ptr->pot]; free_list.size[ptr->pot] = ptr->item; } -/* add the sb at s to the end of the sb at ptr */ +/* Add the sb at s to the end of the sb at ptr. */ void sb_add_sb (sb *ptr, sb *s) @@ -118,7 +115,7 @@ sb_add_sb (sb *ptr, sb *s) ptr->len += s->len; } -/* make sure that the sb at ptr has room for another len characters, +/* Make sure that the sb at ptr has room for another len characters, and grow it if it doesn't. */ static void @@ -128,6 +125,7 @@ sb_check (sb *ptr, int len) { sb tmp; int pot = ptr->pot; + while (ptr->len + len >= 1 << pot) pot++; sb_build (&tmp, pot); @@ -137,7 +135,7 @@ sb_check (sb *ptr, int len) } } -/* make the sb at ptr point back to the beginning. */ +/* Make the sb at ptr point back to the beginning. */ void sb_reset (sb *ptr) @@ -145,7 +143,7 @@ sb_reset (sb *ptr) ptr->len = 0; } -/* add character c to the end of the sb at ptr. */ +/* Add character c to the end of the sb at ptr. */ void sb_add_char (sb *ptr, int c) @@ -154,7 +152,7 @@ sb_add_char (sb *ptr, int c) ptr->ptr[ptr->len++] = c; } -/* add null terminated string s to the end of sb at ptr. */ +/* Add null terminated string s to the end of sb at ptr. */ void sb_add_string (sb *ptr, const char *s) @@ -165,7 +163,17 @@ sb_add_string (sb *ptr, const char *s) ptr->len += len; } -/* like sb_name, but don't include the null byte in the string. */ +/* Add string at s of length len to sb at ptr */ + +void +sb_add_buffer (sb *ptr, const char *s, int len) +{ + sb_check (ptr, len); + memcpy (ptr->ptr + ptr->len, s, len); + ptr->len += len; +} + +/* Like sb_name, but don't include the null byte in the string. */ char * sb_terminate (sb *in) @@ -175,8 +183,8 @@ sb_terminate (sb *in) return in->ptr; } -/* start at the index idx into the string in sb at ptr and skip - whitespace. return the index of the first non whitespace character */ +/* Start at the index idx into the string in sb at ptr and skip + whitespace. return the index of the first non whitespace character. */ int sb_skip_white (int idx, sb *ptr) @@ -188,7 +196,7 @@ sb_skip_white (int idx, sb *ptr) return idx; } -/* start at the index idx into the sb at ptr. skips whitespace, +/* Start at the index idx into the sb at ptr. skips whitespace, a comma and any following whitespace. returns the index of the next character. */ diff -uprN binutils-2.16.90.0.2/gas/sb.h binutils-2.16.90.0.3/gas/sb.h --- binutils-2.16.90.0.2/gas/sb.h 2005-04-29 10:50:28.000000000 -0700 +++ binutils-2.16.90.0.3/gas/sb.h 2005-05-10 15:46:44.000000000 -0700 @@ -18,8 +18,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef SB_H @@ -28,7 +28,7 @@ #include #include "ansidecl.h" -/* string blocks +/* String blocks I had a couple of choices when deciding upon this data structure. gas uses null terminated strings for all its internal work. This @@ -46,35 +46,37 @@ An sb is allocated by the caller, and is initialized to point to an sb_element. sb_elements are kept on a free lists, and used when - needed, replaced onto the free list when unused. - */ + needed, replaced onto the free list when unused. */ + +#define sb_max_power_two 30 /* Don't allow strings more than + 2^sb_max_power_two long. */ -#define sb_max_power_two 30 /* don't allow strings more than - 2^sb_max_power_two long */ -/* structure of an sb */ typedef struct sb - { - char *ptr; /* points to the current block. */ - int len; /* how much is used. */ - int pot; /* the maximum length is 1< + + * gas/mmix/relax2.s: Drop ":" off label definitions. + +2005-05-09 Jan Beulich + + * gas/i386/tlsd.[sd]: Adjust to not assume zero displacement will + actually be present in memory addressing. + * gas/i386/tlspic.[sd]: Likewise. + +2005-05-07 H.J. Lu + + PR 940 + * gas/ia64/group-2.d: New. + * gas/ia64/group-2.s: New. + + * gas/ia64/ia64.exp: Add "group-2". + +2005-05-07 H.J. Lu + + PR 843 + * gas/i386/i386.exp: Add x86-64-branch. + + * gas/i386/x86-64-branch.d: New. + * gas/i386/x86-64-branch.s: New. + +2005-05-06 Jan Beulich + + * gas/macros/badarg.s: Add check for bad qualifier specification. + * gas/macros/badarg.l: Adjust. + * gas/macros/vararg.[sd]: New. + * gas/macros/macros.exp: Run new test. + +2005-05-06 Jan Beulich + + * gas/all/cond.s: Also test .ifb/.ifnb. + * gas/all/cond.d: Adjust. + +2005-05-06 Jan Beulich + + * gas/macros/dot.s: Don't use pseudo-ops in first column. + * gas/macros/dot.l: Match broader range of possible outputs. + * gas/macros/purge.l: Likewise. + * gas/macros/purge.s: Start generated macro names with an underscore. + +2005-05-05 Paul Brook + + * gas/i386/i386.exp: Don't run divide test on vxworks. + +2005-05-05 Nick Clifton + + * Update the address and phone number of the FSF organization in + the GPL notices in the following files: + gas/all/itbl-test.c, gas/all/test-example.c, gas/all/test-gen.c, + gas/arm/maverick.c, gas/cris/cris.exp, gas/hppa/basic/basic.exp, + gas/hppa/parse/parse.exp, gas/hppa/reloc/reloc.exp, + gas/hppa/unsorted/unsorted.exp, gas/m88k/m88k.exp, + gas/mmix/mmix-err.exp, gas/mmix/mmix-list.exp, gas/mmix/mmix.exp, + gas/mn10200/basic.exp, gas/mn10300/am33-2.c, + gas/mn10300/basic.exp, gas/pdp11/opcode.s, gas/ppc/aix.exp, + gas/sh/basic.exp, gas/sh/err.exp, gas/sh/arch/arch.exp, + gas/sh/sh64/sh64.exp, gas/v850/basic.exp, lib/gas-defs.exp + +2005-05-05 Mike Frysinger + + * gas/sh/basic.exp: Replace linux-gnu with linux-* to allow for + versions of Linux which do not use glibc. + * gas/vax/vax.exp: Likewise. + +2005-05-05 Paul Brook + + * lib/gas-defs.exp (regexp_diff): Pass test if last line is "#...". + 2005-04-26 H.J. Lu * gas/all/assign.s: Make `x' and `y' global. @@ -126,6 +199,10 @@ * gas/arm/tls.s, gas/arm/tls.d: New files. * gas/arm/arm.exp: Run TLS test. +2005-03-29 Julian Brown + + * gas/arm/unwind.d: Update expected output. + 2005-03-28 H.J. Lu PR 803 @@ -308,7 +385,7 @@ * gas/arc/extensions.d: Likewise. * gas/arc/warn.s: Warnings for readonly core registers accessed. * gas/arc/warn.d: Likewise. - * testsuite/gas/arc/arc.exp: Run extensions testcase. + * gas/arc/arc.exp: Run extensions testcase. 2005-03-03 Richard Sandiford @@ -539,6 +616,11 @@ * gas/ia64/ia64.exp: Pass -munwind-check=error for unwind-err and proc. +2005-02-10 Julian Brown + + * gas/arm/unwind.d: Alter expected output to include dependency on + __aeabi_unwind_cpp_pr[01]. + 2005-02-09 Jan Beulich * gas/i386/intelok.s: Remove comments disabling alternative forms of @@ -797,15 +879,15 @@ 2004-11-29 Kazuhiro Inaoka - * testsuite/gas/m32r/rela-1.s: New test. - * testsuite/gas/m32r/rela-1.d: Expected disassembly. - * testsuite/gas/m32r/m32r.exp: Run the new test. - * testsuite/gas/m32r/relax-1.d: Update for fixed pcrel reloc + * gas/m32r/rela-1.s: New test. + * gas/m32r/rela-1.d: Expected disassembly. + * gas/m32r/m32r.exp: Run the new test. + * gas/m32r/relax-1.d: Update for fixed pcrel reloc generation. 2004-11-27 Richard Earnshaw - * gas/testsuite/arm/thumbv6.d (setend): Remove stray tab at end + * gas/arm/thumbv6.d (setend): Remove stray tab at end of dump pattern. 2004-11-25 H.J. Lu @@ -1356,6 +1438,26 @@ * gas/m68k/mode5.d: New file: Expected disassmbly. * gas/m68k/all.exp: Run new test. +2004-05-28 Andrew Stubbs + + * gas/sh/arch: New directory. + * gas/sh/arch/arch.exp: New test script. + * gas/sh/arch/arch_expected.txt: New file. + * gas/sh/arch/sh.s: New file. + * gas/sh/arch/sh2.s: New file. + * gas/sh/arch/sh-dsp.s: New file. + * gas/sh/arch/sh2e.s: New file. + * gas/sh/arch/sh3-nommu.s: New file. + * gas/sh/arch/sh3.s: New file. + * gas/sh/arch/sh3-dsp.s: New file. + * gas/sh/arch/sh3e.s: New file. + * gas/sh/arch/sh4-nommu-nofpu.s: New file. + * gas/sh/arch/sh4-nofpu.s: New file. + * gas/sh/arch/sh4.s: New file. + * gas/sh/arch/sh4a-nofpu.s: New file. + * gas/sh/arch/sh4al-dsp.s: New file. + * gas/sh/arch/sh4a.s: New file. + 2004-05-27 H.J. Lu * gas/ia64/regs.d: Updated. diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/all/cond.d binutils-2.16.90.0.3/gas/testsuite/gas/all/cond.d --- binutils-2.16.90.0.2/gas/testsuite/gas/all/cond.d 2001-03-31 19:48:52.000000000 -0800 +++ binutils-2.16.90.0.3/gas/testsuite/gas/all/cond.d 2005-05-10 15:46:46.000000000 -0700 @@ -23,8 +23,18 @@ 27[ ]+.elseif 1 29[ ]+.else 31[ ]+.endif - 32 000c 00 ?00 ?00 ?00[ ]+.p2align 5,0 - 32[ ]+00 ?00 ?00 ?00 - 32[ ]+00 ?00 ?00 ?00 - 32[ ]+00 ?00 ?00 ?00 - 32[ ]+00 ?00 ?00 ?00 +[ ]*[1-9][0-9]*[ ]+ +[ ]*[1-9][0-9]*[ ]+\.macro[ ]+m[ ]+x,[ ]*y[ ]* +#... +[ ]*[1-9][0-9]*[ ]+\.endm[ ]* +[ ]*[1-9][0-9]*[ ]+[0-9a-f]+[048c] FF ?FF ?FF ?FF[ ]+m[ ]+,[ ]* +[ ]*[1-9][0-9]*[ ]+FF ?FF ?FF ?FF[ ]* +[ ]*[1-9][0-9]*[ ]+[0-9a-f]+[048c] FF ?FF ?FF ?FF[ ]+m[ ]+,[ ]*10[ ]* +[ ]*[1-9][0-9]*[ ]+0[0A] ?00 ?00 ?0[0A][ ]* +[ ]*[1-9][0-9]*[ ]+[0-9a-f]+[048c] 0[0B] ?00 ?00 ?0[0B][ ]+m[ ]+11,[ ]* +[ ]*[1-9][0-9]*[ ]+FF ?FF ?FF ?FF[ ]* +[ ]*[1-9][0-9]*[ ]+[0-9a-f]+[048c] 0[0C] ?00 ?00 ?0[0C][ ]+m[ ]+12,[ ]*13[ ]* +[ ]*[1-9][0-9]*[ ]+0[0D] ?00 ?00 ?0[0D][ ]* +[ ]*[1-9][0-9]*[ ]+ +[ ]*[1-9][0-9]*[ ]+.*\.p2align 5,0 +#pass diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/all/cond.s binutils-2.16.90.0.3/gas/testsuite/gas/all/cond.s --- binutils-2.16.90.0.2/gas/testsuite/gas/all/cond.s 2001-03-31 19:48:52.000000000 -0800 +++ binutils-2.16.90.0.3/gas/testsuite/gas/all/cond.s 2005-05-10 15:46:46.000000000 -0700 @@ -29,4 +29,22 @@ .else .long 9 .endif + + .macro m x, y + .ifb \x + .long -1 + .else + .long \x + .endif + .ifnb \y + .long \y + .else + .long -1 + .endif + .endm + m , + m , 10 + m 11, + m 12, 13 + .p2align 5,0 diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/all/itbl-test.c binutils-2.16.90.0.3/gas/testsuite/gas/all/itbl-test.c --- binutils-2.16.90.0.2/gas/testsuite/gas/all/itbl-test.c 1999-06-11 06:41:55.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/gas/all/itbl-test.c 2005-05-10 15:46:46.000000000 -0700 @@ -18,8 +18,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* Stand-alone test for instruction specification table support. Run using "itbl-test " diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/all/test-example.c binutils-2.16.90.0.3/gas/testsuite/gas/all/test-example.c --- binutils-2.16.90.0.2/gas/testsuite/gas/all/test-example.c 2003-03-19 09:19:16.000000000 -0800 +++ binutils-2.16.90.0.3/gas/testsuite/gas/all/test-example.c 2005-05-10 15:46:46.000000000 -0700 @@ -13,7 +13,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Generator of tests for insns introduced in AM33 2.0. diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/all/test-gen.c binutils-2.16.90.0.3/gas/testsuite/gas/all/test-gen.c --- binutils-2.16.90.0.2/gas/testsuite/gas/all/test-gen.c 2003-03-19 09:19:16.000000000 -0800 +++ binutils-2.16.90.0.3/gas/testsuite/gas/all/test-gen.c 2005-05-10 15:46:46.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This is a source file with infra-structure to test generators for assemblers and disassemblers. diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/arm/maverick.c binutils-2.16.90.0.3/gas/testsuite/gas/arm/maverick.c --- binutils-2.16.90.0.2/gas/testsuite/gas/arm/maverick.c 2004-05-27 11:26:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/gas/arm/maverick.c 2005-05-10 15:46:46.000000000 -0700 @@ -13,7 +13,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Generator of tests for Maverick. diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/cris/cris.exp binutils-2.16.90.0.3/gas/testsuite/gas/cris/cris.exp --- binutils-2.16.90.0.2/gas/testsuite/gas/cris/cris.exp 2002-02-03 11:22:32.000000000 -0800 +++ binutils-2.16.90.0.3/gas/testsuite/gas/cris/cris.exp 2005-05-10 15:46:46.000000000 -0700 @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. # Please email any bugs, comments, and/or additions to this file to: # hp@axis.com diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/hppa/basic/basic.exp binutils-2.16.90.0.3/gas/testsuite/gas/hppa/basic/basic.exp --- binutils-2.16.90.0.2/gas/testsuite/gas/hppa/basic/basic.exp 2005-04-09 12:03:13.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/gas/hppa/basic/basic.exp 2005-05-10 15:46:46.000000000 -0700 @@ -13,7 +13,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. # Please email any bugs, comments, and/or additions to this file to: # dejagnu@gnu.org diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/hppa/parse/parse.exp binutils-2.16.90.0.3/gas/testsuite/gas/hppa/parse/parse.exp --- binutils-2.16.90.0.2/gas/testsuite/gas/hppa/parse/parse.exp 2005-04-09 12:03:13.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/gas/hppa/parse/parse.exp 2005-05-10 15:46:46.000000000 -0700 @@ -13,7 +13,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. # Please email any bugs, comments, and/or additions to this file to: # dejagnu@gnu.org diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/hppa/reloc/reloc.exp binutils-2.16.90.0.3/gas/testsuite/gas/hppa/reloc/reloc.exp --- binutils-2.16.90.0.2/gas/testsuite/gas/hppa/reloc/reloc.exp 2005-04-09 12:03:13.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/gas/hppa/reloc/reloc.exp 2005-05-10 15:46:46.000000000 -0700 @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. # Please email any bugs, comments, and/or additions to this file to: # dejagnu@gnu.org diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/hppa/unsorted/unsorted.exp binutils-2.16.90.0.3/gas/testsuite/gas/hppa/unsorted/unsorted.exp --- binutils-2.16.90.0.2/gas/testsuite/gas/hppa/unsorted/unsorted.exp 2005-04-09 12:03:13.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/gas/hppa/unsorted/unsorted.exp 2005-05-10 15:46:46.000000000 -0700 @@ -13,7 +13,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. # Please email any bugs, comments, and/or additions to this file to: # dejagnu@gnu.org diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/i386/i386.exp binutils-2.16.90.0.3/gas/testsuite/gas/i386/i386.exp --- binutils-2.16.90.0.2/gas/testsuite/gas/i386/i386.exp 2005-04-09 12:03:13.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/gas/i386/i386.exp 2005-05-10 15:46:46.000000000 -0700 @@ -65,7 +65,8 @@ if [expr ([istarget "i*86-*-*"] || [ist && (![is_elf_format] || [istarget "*-*-linux*"] || [istarget "*-*-netbsd*"] || [istarget "*-*-freebsd*"] - || [istarget "*-*-netware*"])} { + || [istarget "*-*-netware*"] + || [istarget "*-*-vxworks*"])} { # Don't run this test on targets where '/' starts comments. run_dump_test "divide" } @@ -126,6 +127,7 @@ if [expr ([istarget "i*86-*-*"] || [ista run_list_test "x86-64-inval" "-al" run_list_test "x86-64-segment" "-al" run_list_test "x86-64-inval-seg" "-al" + run_dump_test "x86-64-branch" # For ELF targets verify that @unwind works. if { ([istarget "*-*-elf*"] || [istarget "*-*-linux*"] diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/i386/tlsd.d binutils-2.16.90.0.3/gas/testsuite/gas/i386/tlsd.d --- binutils-2.16.90.0.2/gas/testsuite/gas/i386/tlsd.d 2002-05-23 15:10:11.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/gas/i386/tlsd.d 2005-05-10 15:46:46.000000000 -0700 @@ -22,10 +22,10 @@ Disassembly of section .text: [ ]+1f: R_386_TLS_LDM bar 23: e8 fc ff ff ff [ ]*call 24 [ ]+24: R_386_PLT32 ___tls_get_addr - 28: 8d 7f 00 [ ]*lea 0x0\(%edi\),%edi + 28: 83 c7 00 [ ]*add \$0x0,%edi 2b: 8d 90 00 00 00 00 [ ]*lea 0x0\(%eax\),%edx [ ]+2d: R_386_TLS_LDO_32 bar - 31: 8d 76 00 [ ]*lea 0x0\(%esi\),%esi + 31: 83 c6 00 [ ]*add \$0x0,%esi 34: 8d 88 00 00 00 00 [ ]*lea 0x0\(%eax\),%ecx [ ]+36: R_386_TLS_LDO_32 baz 3a: 8b 5d fc [ ]*mov 0xfffffffc\(%ebp\),%ebx diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/i386/tlsd.s binutils-2.16.90.0.3/gas/testsuite/gas/i386/tlsd.s --- binutils-2.16.90.0.2/gas/testsuite/gas/i386/tlsd.s 2002-05-23 15:10:11.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/gas/i386/tlsd.s 2005-05-10 15:46:46.000000000 -0700 @@ -26,13 +26,13 @@ fn: call ___tls_get_addr@PLT /* Just show that there can be arbitrary instructions here */ - leal 0(%edi, 1), %edi + addl $0, %edi leal bar@DTPOFF(%eax), %edx /* %edx now contains &bar */ /* Again, arbitrary instructions */ - leal 0(%esi, 1), %esi + addl $0, %esi leal baz@DTPOFF(%eax), %ecx /* %ecx now contains &baz */ diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/i386/tlspic.d binutils-2.16.90.0.3/gas/testsuite/gas/i386/tlspic.d --- binutils-2.16.90.0.2/gas/testsuite/gas/i386/tlspic.d 2002-09-27 08:33:09.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/gas/i386/tlspic.d 2005-05-10 15:46:46.000000000 -0700 @@ -1,5 +1,5 @@ #objdump: -dr -#name: i386 non-pic tls +#name: i386 pic tls .*: +file format .* @@ -15,12 +15,12 @@ Disassembly of section .text: b: 81 c3 03 00 00 00 [ ]*add \$0x3,%ebx [ ]+d: R_386_GOTPC _GLOBAL_OFFSET_TABLE_ 11: 65 a1 00 00 00 00 [ ]*mov %gs:0x0,%eax - 17: 8d 76 00 [ ]*lea 0x0\(%esi\),%esi + 17: 83 c6 00 [ ]*add \$0x0,%esi 1a: 2b 83 00 00 00 00 [ ]*sub 0x0\(%ebx\),%eax [ ]+1c: R_386_TLS_IE_32 foo 20: 8b 83 00 00 00 00 [ ]*mov 0x0\(%ebx\),%eax [ ]+22: R_386_TLS_GOTIE foo - 26: 8d 76 00 [ ]*lea 0x0\(%esi\),%esi + 26: 83 c6 00 [ ]*add \$0x0,%esi 29: 65 8b 00 [ ]*mov %gs:\(%eax\),%eax 2c: 65 8b 0d 00 00 00 00 [ ]*mov %gs:0x0,%ecx 33: 03 8b 00 00 00 00 [ ]*add 0x0\(%ebx\),%ecx diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/i386/tlspic.s binutils-2.16.90.0.3/gas/testsuite/gas/i386/tlspic.s --- binutils-2.16.90.0.2/gas/testsuite/gas/i386/tlspic.s 2002-09-27 08:33:09.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/gas/i386/tlspic.s 2005-05-10 15:46:46.000000000 -0700 @@ -17,7 +17,7 @@ fn: movl %gs:0, %eax /* Arbitrary instructions in between. */ - leal 0(%esi, 1), %esi + addl $0, %esi subl foo@GOTTPOFF(%ebx), %eax /* %eax now contains &foo */ @@ -26,7 +26,7 @@ fn: movl foo@GOTNTPOFF(%ebx), %eax /* Arbitrary instructions in between. */ - leal 0(%esi, 1), %esi + addl $0, %esi movl %gs:(%eax), %eax /* %eax now contains foo */ diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/i386/x86-64-branch.d binutils-2.16.90.0.3/gas/testsuite/gas/i386/x86-64-branch.d --- binutils-2.16.90.0.2/gas/testsuite/gas/i386/x86-64-branch.d 1969-12-31 16:00:00.000000000 -0800 +++ binutils-2.16.90.0.3/gas/testsuite/gas/i386/x86-64-branch.d 2005-05-10 15:46:46.000000000 -0700 @@ -0,0 +1,13 @@ +#as: -J +#objdump: -drw +#name: x86-64 indirect branch + +.*: +file format elf64-x86-64 + +Disassembly of section .text: + +0+000 <.text>: +[ ]*0:[ ]+ff d0[ ]+callq[ ]+\*%rax +[ ]*2:[ ]+ff d0[ ]+callq[ ]+\*%rax +[ ]*4:[ ]+ff e0[ ]+jmpq[ ]+\*%rax +[ ]*6:[ ]+ff e0[ ]+jmpq[ ]+\*%rax diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/i386/x86-64-branch.s binutils-2.16.90.0.3/gas/testsuite/gas/i386/x86-64-branch.s --- binutils-2.16.90.0.2/gas/testsuite/gas/i386/x86-64-branch.s 1969-12-31 16:00:00.000000000 -0800 +++ binutils-2.16.90.0.3/gas/testsuite/gas/i386/x86-64-branch.s 2005-05-10 15:46:46.000000000 -0700 @@ -0,0 +1,5 @@ +.text + callq *%rax + call *%rax + jmpq *%rax + jmp *%rax diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/ia64/group-2.d binutils-2.16.90.0.3/gas/testsuite/gas/ia64/group-2.d --- binutils-2.16.90.0.2/gas/testsuite/gas/ia64/group-2.d 1969-12-31 16:00:00.000000000 -0800 +++ binutils-2.16.90.0.3/gas/testsuite/gas/ia64/group-2.d 2005-05-10 15:46:46.000000000 -0700 @@ -0,0 +1,43 @@ +#readelf: -Sg +#as: -x +#name: ia64 unwind group + +There are 12 section headers, starting at offset 0x100: + +Section Headers: + \[Nr\] Name Type Address Offset + Size EntSize Flags Link Info Align + \[ 0\] NULL 0000000000000000 00000000 + 0000000000000000 0000000000000000 0 0 0 + \[ 1\] \.group GROUP 0000000000000000 00000040 + 0000000000000010 0000000000000004 10 5 4 + \[ 2\] \.text PROGBITS 0000000000000000 00000050 + 0000000000000000 0000000000000000 AX 0 0 16 + \[ 3\] \.data PROGBITS 0000000000000000 00000050 + 0000000000000000 0000000000000000 WA 0 0 1 + \[ 4\] \.bss NOBITS 0000000000000000 00000050 + 0000000000000000 0000000000000000 WA 0 0 1 + \[ 5\] \.gnu\.linkonce\.t\.f PROGBITS 0000000000000000 00000050 + 0000000000000000 0000000000000000 AXG 0 0 16 + \[ 6\] \.gnu\.linkonce\.ia6 PROGBITS 0000000000000000 00000050 + 0000000000000010 0000000000000000 AG 0 0 8 + \[ 7\] \.gnu\.linkonce\.ia6 IA_64_UNWIND 0000000000000000 00000060 + 0000000000000018 0000000000000000 ALG 5 5 8 + \[ 8\] \.rela\.gnu\.linkonc RELA 0000000000000000 000004e0 + 0000000000000048 0000000000000018 10 7 8 + \[ 9\] \.shstrtab STRTAB 0000000000000000 00000078 + 0000000000000081 0000000000000000 0 0 1 + \[10\] \.symtab SYMTAB 0000000000000000 00000400 + 00000000000000d8 0000000000000018 11 9 8 + \[11\] \.strtab STRTAB 0000000000000000 000004d8 + 0000000000000005 0000000000000000 0 0 1 +Key to Flags: + W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + I \(info\), L \(link order\), G \(group\), x \(unknown\) + O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) + +COMDAT group section `\.group' \[foo\] contains 3 sections: + \[Index\] Name + \[ 5\] \.gnu\.linkonce\.t\.foo + \[ 6\] \.gnu\.linkonce\.ia64unwi\.foo + \[ 7\] \.gnu\.linkonce\.ia64unw\.foo diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/ia64/group-2.s binutils-2.16.90.0.3/gas/testsuite/gas/ia64/group-2.s --- binutils-2.16.90.0.2/gas/testsuite/gas/ia64/group-2.s 1969-12-31 16:00:00.000000000 -0800 +++ binutils-2.16.90.0.3/gas/testsuite/gas/ia64/group-2.s 2005-05-10 15:46:46.000000000 -0700 @@ -0,0 +1,6 @@ + .section .gnu.linkonce.t.foo,"axG",@progbits,foo,comdat + .proc foo# +foo: + .prologue 12, 33 + ;; + .endp foo# diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/ia64/ia64.exp binutils-2.16.90.0.3/gas/testsuite/gas/ia64/ia64.exp --- binutils-2.16.90.0.2/gas/testsuite/gas/ia64/ia64.exp 2005-04-09 12:03:13.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/gas/ia64/ia64.exp 2005-05-10 15:46:46.000000000 -0700 @@ -71,6 +71,7 @@ if [istarget "ia64-*"] then { run_dump_test "alias" run_dump_test "xdata" run_dump_test "group-1" + run_dump_test "group-2" } run_dump_test "bundling" diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/m88k/m88k.exp binutils-2.16.90.0.3/gas/testsuite/gas/m88k/m88k.exp --- binutils-2.16.90.0.2/gas/testsuite/gas/m88k/m88k.exp 2001-07-06 09:26:11.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/gas/m88k/m88k.exp 2005-05-10 15:46:47.000000000 -0700 @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. # Tests for m88k svr3 targets diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/macros/badarg.l binutils-2.16.90.0.3/gas/testsuite/gas/macros/badarg.l --- binutils-2.16.90.0.2/gas/testsuite/gas/macros/badarg.l 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/gas/macros/badarg.l 2005-05-10 15:46:47.000000000 -0700 @@ -8,3 +8,8 @@ .*:19: Error: .* .*:25: Error: .* .*:30: Error: .* +.*:38: Error: .* +.*:41: Error: .* +.*:44: Warning: .* +.*:47: Error: .* +.*:49: Error: .* diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/macros/badarg.s binutils-2.16.90.0.3/gas/testsuite/gas/macros/badarg.s --- binutils-2.16.90.0.2/gas/testsuite/gas/macros/badarg.s 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/gas/macros/badarg.s 2005-05-10 15:46:47.000000000 -0700 @@ -32,3 +32,19 @@ m6 m7 + + .noaltmacro + + .macro m8, arg : + .endm + + .macro m9, arg : qual + .endm + + .macro m10, arg : req = def + .endm + + m10 + + .macro m11, arg1 : vararg, arg2 + .endm diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/macros/dot.l binutils-2.16.90.0.3/gas/testsuite/gas/macros/dot.l --- binutils-2.16.90.0.2/gas/testsuite/gas/macros/dot.l 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/gas/macros/dot.l 2005-05-10 15:46:47.000000000 -0700 @@ -2,7 +2,6 @@ .*:[1-9][0-9]*: Warning: attempt to redefine pseudo-op .\.macro. ignored .*:27: Error: unknown pseudo-op: .\.xyz. .*:28: Error: .* -(.* )?GAS .* #... [ ]*[1-9][0-9]*[ ]+m 4, 2 [ ]*[1-9][0-9]*[ ]+> \.data @@ -19,4 +18,5 @@ [ ]*[1-9][0-9]*[ ]+ [ ]*[1-9][0-9]*[ ]+\.purgem \.xyz, x\.y\.z [ ]*[1-9][0-9]*[ ]+\.xyz 0 -[ ]*[1-9][0-9]*[ ]+x\.y\.z 0 +[ ]*[1-9][0-9]*[ ]+(\?+[0 ]+)?x\.y\.z 0 +#pass diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/macros/dot.s binutils-2.16.90.0.3/gas/testsuite/gas/macros/dot.s --- binutils-2.16.90.0.2/gas/testsuite/gas/macros/dot.s 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/gas/macros/dot.s 2005-05-10 15:46:47.000000000 -0700 @@ -1,17 +1,17 @@ -.altmacro + .altmacro -.macro x.y.z val - .align 4 - .byte val, val -.endm - -.macro .xyz val - .align 8 - .byte val, val -.endm + .macro x.y.z val + .align 4 + .byte val, val + .endm + + .macro .xyz val + .align 8 + .byte val, val + .endm -.macro .macro -.endm + .macro .macro + .endm label1:label2 : label3 :label4: m: .macro arg.1, arg.2 .data @@ -23,6 +23,6 @@ label9:label8 : label7 :label6: .endm m 4, 2 -.purgem .xyz, x.y.z -.xyz 0 + .purgem .xyz, x.y.z + .xyz 0 x.y.z 0 diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/macros/macros.exp binutils-2.16.90.0.3/gas/testsuite/gas/macros/macros.exp --- binutils-2.16.90.0.2/gas/testsuite/gas/macros/macros.exp 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/gas/macros/macros.exp 2005-05-10 15:46:47.000000000 -0700 @@ -27,9 +27,9 @@ if { ![istarget *c54x*-*-*] && ![istarge run_dump_test irp run_dump_test rept run_dump_test repeat + run_dump_test vararg } - gas_test_error "err.s" "" "macro infinite recursion" # The tic4x-coff target fails the next test because it defines '&' diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/macros/purge.l binutils-2.16.90.0.3/gas/testsuite/gas/macros/purge.l --- binutils-2.16.90.0.2/gas/testsuite/gas/macros/purge.l 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/gas/macros/purge.l 2005-05-10 15:46:47.000000000 -0700 @@ -1,7 +1,11 @@ .*: Assembler messages: .*:11: Error: .* +#... .*:12: Error: .* +#... .*:13: Error: .* +#... .*:14: Error: .* +#... .*:15: Warning: .* .*:16: Warning: .* diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/macros/purge.s binutils-2.16.90.0.3/gas/testsuite/gas/macros/purge.s --- binutils-2.16.90.0.2/gas/testsuite/gas/macros/purge.s 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/gas/macros/purge.s 2005-05-10 15:46:47.000000000 -0700 @@ -29,12 +29,12 @@ .irpc b,ABCDEFGHIJKLMNOPQRSTUVWXYZ .irpc c,ABCDEFGHIJKLMNOPQRSTUVWXYZ .irpc d,ABCDEFGHIJKLMNOPQRSTUVWXYZ - .macro \a\b\c\d arg1=0, arg2=0 + .macro _\a\b\c\d arg1=0, arg2=0 .if \arg1 + \arg2 - .purgem \a\b\c\d + .purgem _\a\b\c\d .endif .endm - \a\b\c\d 1, 2 + _\a\b\c\d 1, 2 .endr .endr .endr diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/macros/vararg.d binutils-2.16.90.0.3/gas/testsuite/gas/macros/vararg.d --- binutils-2.16.90.0.2/gas/testsuite/gas/macros/vararg.d 1969-12-31 16:00:00.000000000 -0800 +++ binutils-2.16.90.0.3/gas/testsuite/gas/macros/vararg.d 2005-05-10 15:46:47.000000000 -0700 @@ -0,0 +1,13 @@ +#objdump: -r +#name: macro vararg + +.*: +file format .* + +RELOCATION RECORDS FOR .* +OFFSET[ ]+TYPE[ ]+VALUE.* +0+00[ ]+[a-zA-Z0-9_]+[ ]+foo1 +0+04[ ]+[a-zA-Z0-9_]+[ ]+foo2 +0+08[ ]+[a-zA-Z0-9_]+[ ]+foo3 +0+0c[ ]+[a-zA-Z0-9_]+[ ]+foo4 +0+10[ ]+[a-zA-Z0-9_]+[ ]+foo5 +0+14[ ]+[a-zA-Z0-9_]+[ ]+foo6 diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/macros/vararg.s binutils-2.16.90.0.3/gas/testsuite/gas/macros/vararg.s --- binutils-2.16.90.0.2/gas/testsuite/gas/macros/vararg.s 1969-12-31 16:00:00.000000000 -0800 +++ binutils-2.16.90.0.3/gas/testsuite/gas/macros/vararg.s 2005-05-10 15:46:47.000000000 -0700 @@ -0,0 +1,10 @@ + .macro v1 arg1 : req, args : vararg + .long foo\arg1 + .ifnb \args + v1 \args + .endif + .endm + + v1 1 + v1 2, 3 + v1 4, 5, 6 diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/mmix/mmix-err.exp binutils-2.16.90.0.3/gas/testsuite/gas/mmix/mmix-err.exp --- binutils-2.16.90.0.2/gas/testsuite/gas/mmix/mmix-err.exp 2001-11-16 14:05:52.000000000 -0800 +++ binutils-2.16.90.0.3/gas/testsuite/gas/mmix/mmix-err.exp 2005-05-10 15:46:47.000000000 -0700 @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. if { ! [istarget "mmix-*"] } { return diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/mmix/mmix.exp binutils-2.16.90.0.3/gas/testsuite/gas/mmix/mmix.exp --- binutils-2.16.90.0.2/gas/testsuite/gas/mmix/mmix.exp 2001-11-16 14:05:52.000000000 -0800 +++ binutils-2.16.90.0.3/gas/testsuite/gas/mmix/mmix.exp 2005-05-10 15:46:47.000000000 -0700 @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. if { ! [istarget "mmix-*"] } { return diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/mmix/mmix-list.exp binutils-2.16.90.0.3/gas/testsuite/gas/mmix/mmix-list.exp --- binutils-2.16.90.0.2/gas/testsuite/gas/mmix/mmix-list.exp 2001-11-16 14:05:52.000000000 -0800 +++ binutils-2.16.90.0.3/gas/testsuite/gas/mmix/mmix-list.exp 2005-05-10 15:46:47.000000000 -0700 @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. if { ! [istarget "mmix-*"] } { return diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/mmix/relax2.s binutils-2.16.90.0.3/gas/testsuite/gas/mmix/relax2.s --- binutils-2.16.90.0.2/gas/testsuite/gas/mmix/relax2.s 2004-01-14 13:07:49.000000000 -0800 +++ binutils-2.16.90.0.3/gas/testsuite/gas/mmix/relax2.s 2005-05-10 15:46:47.000000000 -0700 @@ -1,33 +1,39 @@ # PUSHJ stub border-cases: two with either or both stubs unreachable, # local symbols, ditto non-local labels, similar with three PUSHJs. +# Note the absence of ":" on labels: because it's a symbol-character, +# it's concatenated with the parameter macro name and parsed as "\x:". +# This happens before gas deals with ":" as it usually does; not being +# part of the name when ending a label at the beginning of a line. +# (Since we're LABELS_WITHOUT_COLONS it inserts one for us, but +# that would be disabled with --gnu-syntax.) Main SWYM .irp x,0,1,2,3,4,5,6,7,8,9,10,11,12 .section .text.a\x,"ax" -aa\x: .space 4,0 -a\x: .space 65536*4,0 +aa\x .space 4,0 +a\x .space 65536*4,0 PUSHJ $33,aa\x PUSHJ $22,a\x .space 65535*4-4*\x .section .text.b\x,"ax" -bbb\x: .space 4,0 -bb\x: .space 4,0 -b\x: .space 65535*4 +bbb\x .space 4,0 +bb\x .space 4,0 +b\x .space 65535*4 PUSHJ $12,bbb\x PUSHJ $13,bb\x PUSHJ $14,b\x .space 65535*4-4*\x .section .text.c\x,"ax" -c\x: PUSHJ $100,ca\x +c\x PUSHJ $100,ca\x PUSHJ $101,cb\x .space 65535*4-4*\x .section .text.d\x,"ax" -d\x: PUSHJ $99,da\x +d\x PUSHJ $99,da\x PUSHJ $98,db\x PUSHJ $97,dc\x .space 65535*4-4*\x diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/mn10200/basic.exp binutils-2.16.90.0.3/gas/testsuite/gas/mn10200/basic.exp --- binutils-2.16.90.0.2/gas/testsuite/gas/mn10200/basic.exp 2005-04-09 12:03:14.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/gas/mn10200/basic.exp 2005-05-10 15:46:47.000000000 -0700 @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ # Please email any bugs, comments, and/or additions to this file to: # dejagnu@gnu.org diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/mn10300/am33-2.c binutils-2.16.90.0.3/gas/testsuite/gas/mn10300/am33-2.c --- binutils-2.16.90.0.2/gas/testsuite/gas/mn10300/am33-2.c 2004-01-14 13:07:49.000000000 -0800 +++ binutils-2.16.90.0.3/gas/testsuite/gas/mn10300/am33-2.c 2005-05-10 15:46:47.000000000 -0700 @@ -13,7 +13,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Generator of tests for insns introduced in AM33 2.0. */ diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/mn10300/basic.exp binutils-2.16.90.0.3/gas/testsuite/gas/mn10300/basic.exp --- binutils-2.16.90.0.2/gas/testsuite/gas/mn10300/basic.exp 2004-11-22 12:33:32.000000000 -0800 +++ binutils-2.16.90.0.3/gas/testsuite/gas/mn10300/basic.exp 2005-05-10 15:46:47.000000000 -0700 @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ # Please email any bugs, comments, and/or additions to this file to: # dejagnu@gnu.org diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/pdp11/opcode.s binutils-2.16.90.0.3/gas/testsuite/gas/pdp11/opcode.s --- binutils-2.16.90.0.2/gas/testsuite/gas/pdp11/opcode.s 2002-03-07 11:52:38.000000000 -0800 +++ binutils-2.16.90.0.3/gas/testsuite/gas/pdp11/opcode.s 2005-05-10 15:46:47.000000000 -0700 @@ -13,7 +13,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. foo: .word 0 bar: .word foo diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/ppc/aix.exp binutils-2.16.90.0.3/gas/testsuite/gas/ppc/aix.exp --- binutils-2.16.90.0.2/gas/testsuite/gas/ppc/aix.exp 2002-06-18 21:41:59.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/gas/ppc/aix.exp 2005-05-10 15:46:47.000000000 -0700 @@ -13,7 +13,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. # # diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/sh/arch/arch.exp binutils-2.16.90.0.3/gas/testsuite/gas/sh/arch/arch.exp --- binutils-2.16.90.0.2/gas/testsuite/gas/sh/arch/arch.exp 2005-04-09 12:03:14.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/gas/sh/arch/arch.exp 2005-05-10 15:46:47.000000000 -0700 @@ -13,7 +13,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. # Please email any bugs, comments, and/or additions to this file to: # binutils@sources.redhat.com diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/sh/basic.exp binutils-2.16.90.0.3/gas/testsuite/gas/sh/basic.exp --- binutils-2.16.90.0.2/gas/testsuite/gas/sh/basic.exp 2005-04-09 12:03:14.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/gas/sh/basic.exp 2005-05-10 15:46:47.000000000 -0700 @@ -13,14 +13,14 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. # Please email any bugs, comments, and/or additions to this file to: # dejagnu@gnu.org # Written by Cygnus Support. -if [istarget "sh*-*-linux-gnu"] { +if [istarget "sh*-*-linux-*"] { global ASFLAGS set ASFLAGS "$ASFLAGS -big" } diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/sh/err.exp binutils-2.16.90.0.3/gas/testsuite/gas/sh/err.exp --- binutils-2.16.90.0.2/gas/testsuite/gas/sh/err.exp 2000-12-04 16:33:56.000000000 -0800 +++ binutils-2.16.90.0.3/gas/testsuite/gas/sh/err.exp 2005-05-10 15:46:47.000000000 -0700 @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. # Please email any bugs, comments, and/or additions to this file to: # binutils@sources.redhat.com diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/sh/sh64/sh64.exp binutils-2.16.90.0.3/gas/testsuite/gas/sh/sh64/sh64.exp --- binutils-2.16.90.0.2/gas/testsuite/gas/sh/sh64/sh64.exp 2005-04-09 12:03:15.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/gas/sh/sh64/sh64.exp 2005-05-10 15:46:47.000000000 -0700 @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. # Please email any bugs, comments, and/or additions to this file to: # dejagnu@gnu.org diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/v850/basic.exp binutils-2.16.90.0.3/gas/testsuite/gas/v850/basic.exp --- binutils-2.16.90.0.2/gas/testsuite/gas/v850/basic.exp 2005-04-09 12:03:15.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/gas/v850/basic.exp 2005-05-10 15:46:47.000000000 -0700 @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ # Please email any bugs, comments, and/or additions to this file to: # dejagnu@gnu.org diff -uprN binutils-2.16.90.0.2/gas/testsuite/gas/vax/vax.exp binutils-2.16.90.0.3/gas/testsuite/gas/vax/vax.exp --- binutils-2.16.90.0.2/gas/testsuite/gas/vax/vax.exp 2005-04-09 12:03:15.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/gas/vax/vax.exp 2005-05-10 15:46:47.000000000 -0700 @@ -8,7 +8,7 @@ proc do_quad {} { set x2 0 set x3 0 set file "quad.s" - if { [istarget vax-*-*elf*] || [istarget vax-*-linux-gnu*] } then { + if { [istarget vax-*-*elf*] || [istarget vax-*-linux-*] } then { set file "quad_elf.s" } gas_start $file "-al" @@ -31,7 +31,7 @@ if [istarget vax-*-* ] then { run_dump_test "flonum" - if { [istarget vax-*-*elf*] || [istarget vax-*-linux-gnu*] } then { + if { [istarget vax-*-*elf*] || [istarget vax-*-linux-*] } then { run_dump_test "elf-rel" } } diff -uprN binutils-2.16.90.0.2/gas/testsuite/lib/gas-defs.exp binutils-2.16.90.0.3/gas/testsuite/lib/gas-defs.exp --- binutils-2.16.90.0.2/gas/testsuite/lib/gas-defs.exp 2005-04-09 12:03:15.000000000 -0700 +++ binutils-2.16.90.0.3/gas/testsuite/lib/gas-defs.exp 2005-05-10 15:46:47.000000000 -0700 @@ -13,7 +13,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. # Please email any bugs, comments, and/or additions to this file to: # dejagnu@gnu.org @@ -663,6 +663,7 @@ proc regexp_diff { file_1 file_2 } { } elseif [ string match "#..." $line_b ] { if { [gets $file_b line_b] == $eof } { set end_2 1 + set diff_pass 1 break } verbose "looking for \"^$line_b$\"" 3 diff -uprN binutils-2.16.90.0.2/gas/write.c binutils-2.16.90.0.3/gas/write.c --- binutils-2.16.90.0.2/gas/write.c 2005-04-29 10:50:28.000000000 -0700 +++ binutils-2.16.90.0.3/gas/write.c 2005-05-10 15:46:44.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* This thing should be set up to do byteordering correctly. But... */ @@ -97,6 +97,10 @@ #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from (FIX) #endif +#ifndef TC_FAKE_LABEL +#define TC_FAKE_LABEL(NAME) (strcmp ((NAME), FAKE_LABEL_NAME) == 0) +#endif + /* Used to control final evaluation of expressions. */ int finalize_syms = 0; @@ -795,7 +799,7 @@ adjust_reloc_syms (bfd *abfd ATTRIBUTE_U = symbol_get_value_expression (sym)->X_add_symbol; const char *name = S_GET_NAME (sym); if (!S_IS_COMMON (new_sym) - && strcmp (name, FAKE_LABEL_NAME) + && !TC_FAKE_LABEL (name) && (!S_IS_EXTERNAL (sym) || S_IS_LOCAL (sym))) as_bad (_("Local symbol `%s' can't be equated to undefined symbol `%s'"), name, S_GET_NAME (new_sym)); @@ -1471,20 +1475,11 @@ write_object_file (void) #ifdef BFD_ASSEMBLER /* Remove the sections created by gas for its own purposes. */ { - asection **seclist; int i; - seclist = &stdoutput->sections; - while (*seclist) - { - if (*seclist == reg_section || *seclist == expr_section) - { - bfd_section_list_remove (stdoutput, seclist); - stdoutput->section_count--; - } - else - seclist = &(*seclist)->next; - } + bfd_section_list_remove (stdoutput, reg_section); + bfd_section_list_remove (stdoutput, expr_section); + stdoutput->section_count -= 2; i = 0; bfd_map_over_sections (stdoutput, renumber_sections, &i); } @@ -1937,7 +1932,7 @@ write_object_file (void) { const char *name = S_GET_NAME (symp); if (S_IS_COMMON (symp) - && strcmp (name, FAKE_LABEL_NAME) + && !TC_FAKE_LABEL (name) && (!S_IS_EXTERNAL (symp) || S_IS_LOCAL (symp))) { expressionS *e = symbol_get_value_expression (symp); diff -uprN binutils-2.16.90.0.2/gas/write.h binutils-2.16.90.0.3/gas/write.h --- binutils-2.16.90.0.2/gas/write.h 2005-04-09 12:03:04.000000000 -0700 +++ binutils-2.16.90.0.3/gas/write.h 2005-05-10 15:46:44.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef __write_h__ #define __write_h__ diff -uprN binutils-2.16.90.0.2/gprof/basic_blocks.c binutils-2.16.90.0.3/gprof/basic_blocks.c --- binutils-2.16.90.0.2/gprof/basic_blocks.c 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/gprof/basic_blocks.c 2005-05-10 15:46:47.000000000 -0700 @@ -19,8 +19,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "libiberty.h" #include "gprof.h" diff -uprN binutils-2.16.90.0.2/gprof/basic_blocks.h binutils-2.16.90.0.3/gprof/basic_blocks.h --- binutils-2.16.90.0.2/gprof/basic_blocks.h 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/gprof/basic_blocks.h 2005-05-10 15:46:47.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef basic_blocks_h #define basic_blocks_h diff -uprN binutils-2.16.90.0.2/gprof/bbconv.pl binutils-2.16.90.0.3/gprof/bbconv.pl --- binutils-2.16.90.0.2/gprof/bbconv.pl 2001-03-15 14:56:25.000000000 -0800 +++ binutils-2.16.90.0.3/gprof/bbconv.pl 2005-05-10 15:46:47.000000000 -0700 @@ -19,8 +19,8 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. # Write a new-style gmon header diff -uprN binutils-2.16.90.0.2/gprof/bb_exit_func.c binutils-2.16.90.0.3/gprof/bb_exit_func.c --- binutils-2.16.90.0.2/gprof/bb_exit_func.c 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/gprof/bb_exit_func.c 2005-05-10 15:46:47.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. This code was contributed by: diff -uprN binutils-2.16.90.0.2/gprof/call_graph.c binutils-2.16.90.0.3/gprof/call_graph.c --- binutils-2.16.90.0.2/gprof/call_graph.c 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/gprof/call_graph.c 2005-05-10 15:46:47.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "gprof.h" #include "search_list.h" diff -uprN binutils-2.16.90.0.2/gprof/call_graph.h binutils-2.16.90.0.3/gprof/call_graph.h --- binutils-2.16.90.0.2/gprof/call_graph.h 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/gprof/call_graph.h 2005-05-10 15:46:47.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef call_graph_h #define call_graph_h diff -uprN binutils-2.16.90.0.2/gprof/cg_print.c binutils-2.16.90.0.3/gprof/cg_print.c --- binutils-2.16.90.0.2/gprof/cg_print.c 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/gprof/cg_print.c 2005-05-10 15:46:47.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "libiberty.h" #include "gprof.h" diff -uprN binutils-2.16.90.0.2/gprof/cg_print.h binutils-2.16.90.0.3/gprof/cg_print.h --- binutils-2.16.90.0.2/gprof/cg_print.h 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/gprof/cg_print.h 2005-05-10 15:46:47.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef cg_print_h #define cg_print_h diff -uprN binutils-2.16.90.0.2/gprof/ChangeLog binutils-2.16.90.0.3/gprof/ChangeLog --- binutils-2.16.90.0.2/gprof/ChangeLog 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gprof/ChangeLog 2005-05-10 15:46:47.000000000 -0700 @@ -1,3 +1,13 @@ +2005-05-09 Nick Clifton + + * Update the address and phone number of the FSF organization in + the GPL notices in the following files: + aclocal.m4, basic_blocks.c, basic_blocks.h, bb_exit_func.c, + bbconv.pl, call_graph.c, call_graph.h, cg_print.c, cg_print.h, + corefile.c, corefile.h, gmon_io.c, gmon_io.h, gmon_out.h, + gprof.texi, hist.c, hist.h, search_list.c, search_list.h, + source.c, source.h, sym_ids.c, sym_ids.h, symtab.c, symtab.h + 2005-04-25 Ben Elliston * corefile.h (core_num_syms): Remove unused extern declaration. diff -uprN binutils-2.16.90.0.2/gprof/ChangeLog.linux binutils-2.16.90.0.3/gprof/ChangeLog.linux --- binutils-2.16.90.0.2/gprof/ChangeLog.linux 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gprof/ChangeLog.linux 2005-05-10 15:46:47.000000000 -0700 @@ -1,3 +1,8 @@ +2005-05-09 H.J. Lu + + * aclocal.m4: Rebuild. + * configure: Likewise. + 2005-04-14 H.J. Lu * aclocal.m4: Rebuild. diff -uprN binutils-2.16.90.0.2/gprof/corefile.c binutils-2.16.90.0.3/gprof/corefile.c --- binutils-2.16.90.0.2/gprof/corefile.c 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gprof/corefile.c 2005-05-10 15:46:47.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "libiberty.h" #include "gprof.h" diff -uprN binutils-2.16.90.0.2/gprof/corefile.h binutils-2.16.90.0.3/gprof/corefile.h --- binutils-2.16.90.0.2/gprof/corefile.h 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gprof/corefile.h 2005-05-10 15:46:47.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef corefile_h #define corefile_h diff -uprN binutils-2.16.90.0.2/gprof/gmon_io.c binutils-2.16.90.0.3/gprof/gmon_io.c --- binutils-2.16.90.0.2/gprof/gmon_io.c 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/gprof/gmon_io.c 2005-05-10 15:46:47.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "gprof.h" #include "search_list.h" diff -uprN binutils-2.16.90.0.2/gprof/gmon_io.h binutils-2.16.90.0.3/gprof/gmon_io.h --- binutils-2.16.90.0.2/gprof/gmon_io.h 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/gprof/gmon_io.h 2005-05-10 15:46:47.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef gmon_io_h #define gmon_io_h diff -uprN binutils-2.16.90.0.2/gprof/gmon_out.h binutils-2.16.90.0.3/gprof/gmon_out.h --- binutils-2.16.90.0.2/gprof/gmon_out.h 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/gprof/gmon_out.h 2005-05-10 15:46:47.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* A gmon.out file consists of a header (defined by gmon_hdr) followed by a sequence of records. Each record starts with a one-byte tag diff -uprN binutils-2.16.90.0.2/gprof/gprof.texi binutils-2.16.90.0.3/gprof/gprof.texi --- binutils-2.16.90.0.2/gprof/gprof.texi 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/gprof/gprof.texi 2005-05-10 15:46:47.000000000 -0700 @@ -2199,7 +2199,7 @@ Tracks operation of @samp{-A} option Version 1.1, March 2000 Copyright (C) 2000 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. diff -uprN binutils-2.16.90.0.2/gprof/hist.c binutils-2.16.90.0.3/gprof/hist.c --- binutils-2.16.90.0.2/gprof/hist.c 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gprof/hist.c 2005-05-10 15:46:47.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "libiberty.h" #include "gprof.h" diff -uprN binutils-2.16.90.0.2/gprof/hist.h binutils-2.16.90.0.3/gprof/hist.h --- binutils-2.16.90.0.2/gprof/hist.h 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/gprof/hist.h 2005-05-10 15:46:47.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef hist_h #define hist_h diff -uprN binutils-2.16.90.0.2/gprof/search_list.c binutils-2.16.90.0.3/gprof/search_list.c --- binutils-2.16.90.0.2/gprof/search_list.c 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/gprof/search_list.c 2005-05-10 15:46:47.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "libiberty.h" #include "gprof.h" diff -uprN binutils-2.16.90.0.2/gprof/search_list.h binutils-2.16.90.0.3/gprof/search_list.h --- binutils-2.16.90.0.2/gprof/search_list.h 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/gprof/search_list.h 2005-05-10 15:46:47.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef search_list_h #define search_list_h diff -uprN binutils-2.16.90.0.2/gprof/source.c binutils-2.16.90.0.3/gprof/source.c --- binutils-2.16.90.0.2/gprof/source.c 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/gprof/source.c 2005-05-10 15:46:47.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "gprof.h" #include "libiberty.h" diff -uprN binutils-2.16.90.0.2/gprof/source.h binutils-2.16.90.0.3/gprof/source.h --- binutils-2.16.90.0.2/gprof/source.h 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/gprof/source.h 2005-05-10 15:46:47.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef source_h #define source_h diff -uprN binutils-2.16.90.0.2/gprof/sym_ids.c binutils-2.16.90.0.3/gprof/sym_ids.c --- binutils-2.16.90.0.2/gprof/sym_ids.c 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/gprof/sym_ids.c 2005-05-10 15:46:47.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "libiberty.h" #include "safe-ctype.h" diff -uprN binutils-2.16.90.0.2/gprof/sym_ids.h binutils-2.16.90.0.3/gprof/sym_ids.h --- binutils-2.16.90.0.2/gprof/sym_ids.h 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/gprof/sym_ids.h 2005-05-10 15:46:47.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef sym_ids_h #define sym_ids_h diff -uprN binutils-2.16.90.0.2/gprof/symtab.c binutils-2.16.90.0.3/gprof/symtab.c --- binutils-2.16.90.0.2/gprof/symtab.c 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/gprof/symtab.c 2005-05-10 15:46:47.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "gprof.h" #include "search_list.h" diff -uprN binutils-2.16.90.0.2/gprof/symtab.h binutils-2.16.90.0.3/gprof/symtab.h --- binutils-2.16.90.0.2/gprof/symtab.h 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/gprof/symtab.h 2005-05-10 15:46:47.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef symtab_h #define symtab_h diff -uprN binutils-2.16.90.0.2/include/ansidecl.h binutils-2.16.90.0.3/include/ansidecl.h --- binutils-2.16.90.0.2/include/ansidecl.h 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/include/ansidecl.h 2005-05-10 15:46:48.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* ANSI and traditional C compatibility macros diff -uprN binutils-2.16.90.0.2/include/aout/adobe.h binutils-2.16.90.0.3/include/aout/adobe.h --- binutils-2.16.90.0.2/include/aout/adobe.h 2001-03-15 14:53:02.000000000 -0800 +++ binutils-2.16.90.0.3/include/aout/adobe.h 2005-05-10 15:46:49.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef __A_OUT_ADOBE_H__ #define __A_OUT_ADOBE_H__ diff -uprN binutils-2.16.90.0.2/include/aout/aout64.h binutils-2.16.90.0.3/include/aout/aout64.h --- binutils-2.16.90.0.2/include/aout/aout64.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/aout/aout64.h 2005-05-10 15:46:49.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef __A_OUT_64_H__ #define __A_OUT_64_H__ diff -uprN binutils-2.16.90.0.2/include/aout/ar.h binutils-2.16.90.0.3/include/aout/ar.h --- binutils-2.16.90.0.2/include/aout/ar.h 2001-03-15 14:53:02.000000000 -0800 +++ binutils-2.16.90.0.3/include/aout/ar.h 2005-05-10 15:46:49.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* So far this is correct for BSDish archives. Don't forget that files must begin on an even byte boundary. */ diff -uprN binutils-2.16.90.0.2/include/aout/ChangeLog binutils-2.16.90.0.3/include/aout/ChangeLog --- binutils-2.16.90.0.2/include/aout/ChangeLog 2004-01-14 13:07:51.000000000 -0800 +++ binutils-2.16.90.0.3/include/aout/ChangeLog 2005-05-10 15:46:49.000000000 -0700 @@ -1,3 +1,10 @@ +2005-05-10 Nick Clifton + + * Update the address and phone number of the FSF organization in + the GPL notices in the following files: + adobe.h, aout64.h, ar.h, dynix3.h, encap.h, host.h, hp.h, + ranlib.h, reloc.h, stab.def, stab_gnu.h, sun4.h + 2004-01-06 Mark Kettenis * stab.def: Add N_PATCH to DO definition. diff -uprN binutils-2.16.90.0.2/include/aout/dynix3.h binutils-2.16.90.0.3/include/aout/dynix3.h --- binutils-2.16.90.0.2/include/aout/dynix3.h 2001-03-15 14:53:02.000000000 -0800 +++ binutils-2.16.90.0.3/include/aout/dynix3.h 2005-05-10 15:46:49.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef A_OUT_DYNIX3_H #define A_OUT_DYNIX3_H diff -uprN binutils-2.16.90.0.2/include/aout/encap.h binutils-2.16.90.0.3/include/aout/encap.h --- binutils-2.16.90.0.2/include/aout/encap.h 2001-03-15 14:53:02.000000000 -0800 +++ binutils-2.16.90.0.3/include/aout/encap.h 2005-05-10 15:46:49.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* * We only use the coff headers to tell the kernel diff -uprN binutils-2.16.90.0.2/include/aout/host.h binutils-2.16.90.0.3/include/aout/host.h --- binutils-2.16.90.0.2/include/aout/host.h 2001-03-15 14:53:02.000000000 -0800 +++ binutils-2.16.90.0.3/include/aout/host.h 2005-05-10 15:46:49.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Address of data segment in memory after it is loaded. It is up to you to define SEGMENT_SIZE on machines not listed here. */ diff -uprN binutils-2.16.90.0.2/include/aout/hp.h binutils-2.16.90.0.3/include/aout/hp.h --- binutils-2.16.90.0.2/include/aout/hp.h 1999-06-03 11:02:09.000000000 -0700 +++ binutils-2.16.90.0.3/include/aout/hp.h 2005-05-10 15:46:49.000000000 -0700 @@ -13,7 +13,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* THIS FILE IS OBSOLETE. It needs to be revised as a variant "external" a.out format for use with BFD. */ diff -uprN binutils-2.16.90.0.2/include/aout/ranlib.h binutils-2.16.90.0.3/include/aout/ranlib.h --- binutils-2.16.90.0.2/include/aout/ranlib.h 2001-03-15 14:53:02.000000000 -0800 +++ binutils-2.16.90.0.3/include/aout/ranlib.h 2005-05-10 15:46:49.000000000 -0700 @@ -13,7 +13,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* The Symdef member of an archive contains two things: a table that maps symbol-string offsets to file offsets, diff -uprN binutils-2.16.90.0.2/include/aout/reloc.h binutils-2.16.90.0.3/include/aout/reloc.h --- binutils-2.16.90.0.2/include/aout/reloc.h 2001-03-15 14:53:02.000000000 -0800 +++ binutils-2.16.90.0.3/include/aout/reloc.h 2005-05-10 15:46:49.000000000 -0700 @@ -13,7 +13,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Relocation types for a.out files using reloc_info_extended (SPARC and AMD 29000). */ diff -uprN binutils-2.16.90.0.2/include/aout/stab.def binutils-2.16.90.0.3/include/aout/stab.def --- binutils-2.16.90.0.2/include/aout/stab.def 2004-01-14 13:07:51.000000000 -0800 +++ binutils-2.16.90.0.3/include/aout/stab.def 2005-05-10 15:46:49.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* New stab from Solaris 2. This uses an n_type of 0, which in a.out files overlaps the N_UNDF used for ordinary symbols. In ELF files, the diff -uprN binutils-2.16.90.0.2/include/aout/stab_gnu.h binutils-2.16.90.0.3/include/aout/stab_gnu.h --- binutils-2.16.90.0.2/include/aout/stab_gnu.h 2001-03-15 14:53:02.000000000 -0800 +++ binutils-2.16.90.0.3/include/aout/stab_gnu.h 2005-05-10 15:46:49.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef __GNU_STAB__ /* Indicate the GNU stab.h is in use. */ diff -uprN binutils-2.16.90.0.2/include/aout/sun4.h binutils-2.16.90.0.3/include/aout/sun4.h --- binutils-2.16.90.0.2/include/aout/sun4.h 2001-03-15 14:53:02.000000000 -0800 +++ binutils-2.16.90.0.3/include/aout/sun4.h 2005-05-10 15:46:50.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Some systems, e.g., AIX, may have defined this in header files already included. */ diff -uprN binutils-2.16.90.0.2/include/bfdlink.h binutils-2.16.90.0.3/include/bfdlink.h --- binutils-2.16.90.0.2/include/bfdlink.h 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/include/bfdlink.h 2005-05-10 15:46:48.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef BFDLINK_H #define BFDLINK_H diff -uprN binutils-2.16.90.0.2/include/bout.h binutils-2.16.90.0.3/include/bout.h --- binutils-2.16.90.0.2/include/bout.h 2001-03-15 14:53:00.000000000 -0800 +++ binutils-2.16.90.0.3/include/bout.h 2005-05-10 15:46:48.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* All i80960 development is done in a CROSS-DEVELOPMENT environment. I.e., object code is generated on, and executed under the direction of a symbolic diff -uprN binutils-2.16.90.0.2/include/ChangeLog binutils-2.16.90.0.3/include/ChangeLog --- binutils-2.16.90.0.2/include/ChangeLog 2005-04-29 10:50:29.000000000 -0700 +++ binutils-2.16.90.0.3/include/ChangeLog 2005-05-10 15:46:48.000000000 -0700 @@ -1,3 +1,15 @@ +2005-05-10 Nick Clifton + + * Update the address and phone number of the FSF organization in + the GPL notices in the following files: + COPYING, ansidecl.h, bfdlink.h, bout.h, demangle.h, dis-asm.h, + dyn-string.h, fibheap.h, filenames.h, floatformat.h, + fnmatch.h, gdbm.h, getopt.h, hashtab.h, hp-symtab.h, ieee.h, + libiberty.h, md5.h, oasys.h, objalloc.h, obstack.h, os9k.h, + partition.h, progress.h, safe-ctype.h, sort.h, splay-tree.h, + symcat.h, ternary.h, xregex2.h, xtensa-config.h, + xtensa-isa-internal.h, xtensa-isa.h + 2005-04-25 Kaveh R. Ghazi * libiberty.h (unlock_std_streams): New. diff -uprN binutils-2.16.90.0.2/include/coff/a29k.h binutils-2.16.90.0.3/include/coff/a29k.h --- binutils-2.16.90.0.2/include/coff/a29k.h 2001-03-27 08:47:42.000000000 -0800 +++ binutils-2.16.90.0.3/include/coff/a29k.h 2005-05-10 15:46:50.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. Contributed by David Wood @ New York University. */ diff -uprN binutils-2.16.90.0.2/include/coff/alpha.h binutils-2.16.90.0.3/include/coff/alpha.h --- binutils-2.16.90.0.2/include/coff/alpha.h 2001-03-15 14:53:02.000000000 -0800 +++ binutils-2.16.90.0.3/include/coff/alpha.h 2005-05-10 15:46:50.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /********************** FILE HEADER **********************/ diff -uprN binutils-2.16.90.0.2/include/coff/apollo.h binutils-2.16.90.0.3/include/coff/apollo.h --- binutils-2.16.90.0.2/include/coff/apollo.h 2001-03-15 14:53:03.000000000 -0800 +++ binutils-2.16.90.0.3/include/coff/apollo.h 2005-05-10 15:46:50.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define DO_NOT_DEFINE_AOUTHDR #define L_LNNO_SIZE 2 diff -uprN binutils-2.16.90.0.2/include/coff/arm.h binutils-2.16.90.0.3/include/coff/arm.h --- binutils-2.16.90.0.2/include/coff/arm.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/coff/arm.h 2005-05-10 15:46:50.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define COFFARM 1 diff -uprN binutils-2.16.90.0.2/include/coff/aux-coff.h binutils-2.16.90.0.3/include/coff/aux-coff.h --- binutils-2.16.90.0.2/include/coff/aux-coff.h 2001-03-15 14:53:03.000000000 -0800 +++ binutils-2.16.90.0.3/include/coff/aux-coff.h 2005-05-10 15:46:50.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. Suggested by Ian Lance Taylor */ diff -uprN binutils-2.16.90.0.2/include/coff/ChangeLog binutils-2.16.90.0.3/include/coff/ChangeLog --- binutils-2.16.90.0.2/include/coff/ChangeLog 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/coff/ChangeLog 2005-05-10 15:46:50.000000000 -0700 @@ -1,3 +1,13 @@ +2005-05-10 Nick Clifton + + * Update the address and phone number of the FSF organization in + the GPL notices in the following files: + a29k.h, alpha.h, apollo.h, arm.h, aux-coff.h, ecoff.h, external.h, + go32exe.h, h8300.h, h8500.h, i386.h, i860.h, i960.h, ia64.h, + internal.h, m68k.h, m88k.h, maxq.h, mcore.h, mips.h, mipspe.h, + or32.h, pe.h, powerpc.h, rs6k64.h, sh.h, sparc.h, ti.h, tic30.h, + tic4x.h, tic54x.h, tic80.h, w65.h, we32k.h, xcoff.h, z8k.h + 2005-02-21 Alan Modra * xcoff.h (struct xcoff_loader_info): Warning fix. diff -uprN binutils-2.16.90.0.2/include/coff/ecoff.h binutils-2.16.90.0.3/include/coff/ecoff.h --- binutils-2.16.90.0.2/include/coff/ecoff.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/coff/ecoff.h 2005-05-10 15:46:50.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef ECOFF_H #define ECOFF_H diff -uprN binutils-2.16.90.0.2/include/coff/external.h binutils-2.16.90.0.3/include/coff/external.h --- binutils-2.16.90.0.2/include/coff/external.h 2001-11-16 14:05:53.000000000 -0800 +++ binutils-2.16.90.0.3/include/coff/external.h 2005-05-10 15:46:50.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef COFF_EXTERNAL_H #define COFF_EXTERNAL_H diff -uprN binutils-2.16.90.0.2/include/coff/go32exe.h binutils-2.16.90.0.3/include/coff/go32exe.h --- binutils-2.16.90.0.2/include/coff/go32exe.h 2001-03-15 14:53:03.000000000 -0800 +++ binutils-2.16.90.0.3/include/coff/go32exe.h 2005-05-10 15:46:50.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define STUBSIZE 2048 diff -uprN binutils-2.16.90.0.2/include/coff/h8300.h binutils-2.16.90.0.3/include/coff/h8300.h --- binutils-2.16.90.0.2/include/coff/h8300.h 2003-05-05 14:46:49.000000000 -0700 +++ binutils-2.16.90.0.3/include/coff/h8300.h 2005-05-10 15:46:50.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define L_LNNO_SIZE 4 #include "coff/external.h" diff -uprN binutils-2.16.90.0.2/include/coff/h8500.h binutils-2.16.90.0.3/include/coff/h8500.h --- binutils-2.16.90.0.2/include/coff/h8500.h 2003-05-05 14:46:49.000000000 -0700 +++ binutils-2.16.90.0.3/include/coff/h8500.h 2005-05-10 15:46:50.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define L_LNNO_SIZE 4 #include "coff/external.h" diff -uprN binutils-2.16.90.0.2/include/coff/i386.h binutils-2.16.90.0.3/include/coff/i386.h --- binutils-2.16.90.0.2/include/coff/i386.h 2001-03-15 14:53:03.000000000 -0800 +++ binutils-2.16.90.0.3/include/coff/i386.h 2005-05-10 15:46:50.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define L_LNNO_SIZE 2 #define INCLUDE_COMDAT_FIELDS_IN_AUXENT diff -uprN binutils-2.16.90.0.2/include/coff/i860.h binutils-2.16.90.0.3/include/coff/i860.h --- binutils-2.16.90.0.2/include/coff/i860.h 2004-01-14 13:07:51.000000000 -0800 +++ binutils-2.16.90.0.3/include/coff/i860.h 2005-05-10 15:46:50.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file was hacked from i386.h [dolan@ssd.intel.com] */ diff -uprN binutils-2.16.90.0.2/include/coff/i960.h binutils-2.16.90.0.3/include/coff/i960.h --- binutils-2.16.90.0.2/include/coff/i960.h 2001-03-15 14:53:03.000000000 -0800 +++ binutils-2.16.90.0.3/include/coff/i960.h 2005-05-10 15:46:50.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* NOTE: Tagentries (cf TAGBITS) are no longer used by the 960 */ diff -uprN binutils-2.16.90.0.2/include/coff/ia64.h binutils-2.16.90.0.3/include/coff/ia64.h --- binutils-2.16.90.0.2/include/coff/ia64.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/coff/ia64.h 2005-05-10 15:46:50.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define DO_NOT_DEFINE_AOUTHDR #define L_LNNO_SIZE 2 diff -uprN binutils-2.16.90.0.2/include/coff/internal.h binutils-2.16.90.0.3/include/coff/internal.h --- binutils-2.16.90.0.2/include/coff/internal.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/coff/internal.h 2005-05-10 15:46:50.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef GNU_COFF_INTERNAL_H #define GNU_COFF_INTERNAL_H 1 diff -uprN binutils-2.16.90.0.2/include/coff/m68k.h binutils-2.16.90.0.3/include/coff/m68k.h --- binutils-2.16.90.0.2/include/coff/m68k.h 2001-03-15 14:53:03.000000000 -0800 +++ binutils-2.16.90.0.3/include/coff/m68k.h 2005-05-10 15:46:50.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef GNU_COFF_M68K_H #define GNU_COFF_M68K_H 1 diff -uprN binutils-2.16.90.0.2/include/coff/m88k.h binutils-2.16.90.0.3/include/coff/m88k.h --- binutils-2.16.90.0.2/include/coff/m88k.h 2001-10-01 15:25:25.000000000 -0700 +++ binutils-2.16.90.0.3/include/coff/m88k.h 2005-05-10 15:46:50.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define DO_NOT_DEFINE_SCNHDR #define L_LNNO_SIZE 4 diff -uprN binutils-2.16.90.0.2/include/coff/maxq.h binutils-2.16.90.0.3/include/coff/maxq.h --- binutils-2.16.90.0.2/include/coff/maxq.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/coff/maxq.h 2005-05-10 15:46:50.000000000 -0700 @@ -13,8 +13,8 @@ for more details. You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., 59 - Temple Place - Suite 330, Boston, MA 02111-1307, USA. + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. Contributed by Vineet Sharma(vineets@noida.hcltech.com) Inderpreet S.(inderpreetb@noida.hcltech.com) HCL Technologies Ltd. */ diff -uprN binutils-2.16.90.0.2/include/coff/mcore.h binutils-2.16.90.0.3/include/coff/mcore.h --- binutils-2.16.90.0.2/include/coff/mcore.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/coff/mcore.h 2005-05-10 15:46:50.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file holds definitions specific to the MCore COFF/PE ABI. */ diff -uprN binutils-2.16.90.0.2/include/coff/mips.h binutils-2.16.90.0.3/include/coff/mips.h --- binutils-2.16.90.0.2/include/coff/mips.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/coff/mips.h 2005-05-10 15:46:51.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define DO_NOT_DEFINE_AOUTHDR #define L_LNNO_SIZE 4 diff -uprN binutils-2.16.90.0.2/include/coff/mipspe.h binutils-2.16.90.0.3/include/coff/mipspe.h --- binutils-2.16.90.0.2/include/coff/mipspe.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/coff/mipspe.h 2005-05-10 15:46:51.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define L_LNNO_SIZE 2 #define INCLUDE_COMDAT_FIELDS_IN_AUXENT diff -uprN binutils-2.16.90.0.2/include/coff/or32.h binutils-2.16.90.0.3/include/coff/or32.h --- binutils-2.16.90.0.2/include/coff/or32.h 2002-02-03 11:22:32.000000000 -0800 +++ binutils-2.16.90.0.3/include/coff/or32.h 2005-05-10 15:46:51.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef OR32 # define OR32 diff -uprN binutils-2.16.90.0.2/include/coff/pe.h binutils-2.16.90.0.3/include/coff/pe.h --- binutils-2.16.90.0.2/include/coff/pe.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/coff/pe.h 2005-05-10 15:46:51.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _PE_H #define _PE_H diff -uprN binutils-2.16.90.0.2/include/coff/powerpc.h binutils-2.16.90.0.3/include/coff/powerpc.h --- binutils-2.16.90.0.2/include/coff/powerpc.h 2001-03-15 14:53:04.000000000 -0800 +++ binutils-2.16.90.0.3/include/coff/powerpc.h 2005-05-10 15:46:51.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. Initial release: Kim Knuttila (krk@cygnus.com) */ #define L_LNNO_SIZE 2 diff -uprN binutils-2.16.90.0.2/include/coff/rs6k64.h binutils-2.16.90.0.3/include/coff/rs6k64.h --- binutils-2.16.90.0.2/include/coff/rs6k64.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/coff/rs6k64.h 2005-05-10 15:46:51.000000000 -0700 @@ -13,7 +13,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /********************** FILE HEADER **********************/ diff -uprN binutils-2.16.90.0.2/include/coff/sh.h binutils-2.16.90.0.3/include/coff/sh.h --- binutils-2.16.90.0.2/include/coff/sh.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/coff/sh.h 2005-05-10 15:46:51.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef COFF_WITH_PE #define L_LNNO_SIZE 2 diff -uprN binutils-2.16.90.0.2/include/coff/sparc.h binutils-2.16.90.0.3/include/coff/sparc.h --- binutils-2.16.90.0.2/include/coff/sparc.h 2001-03-15 14:53:04.000000000 -0800 +++ binutils-2.16.90.0.3/include/coff/sparc.h 2005-05-10 15:46:51.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file is an amalgamation of several standard include files that define coff format, such as filehdr.h, aouthdr.h, and so forth. In diff -uprN binutils-2.16.90.0.2/include/coff/tic30.h binutils-2.16.90.0.3/include/coff/tic30.h --- binutils-2.16.90.0.2/include/coff/tic30.h 2001-03-15 14:53:05.000000000 -0800 +++ binutils-2.16.90.0.3/include/coff/tic30.h 2005-05-10 15:46:51.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define L_LNNO_SIZE 4 #include "coff/external.h" diff -uprN binutils-2.16.90.0.2/include/coff/tic4x.h binutils-2.16.90.0.3/include/coff/tic4x.h --- binutils-2.16.90.0.2/include/coff/tic4x.h 2003-05-05 14:46:49.000000000 -0700 +++ binutils-2.16.90.0.3/include/coff/tic4x.h 2005-05-10 15:46:51.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef COFF_TIC4X_H #define COFF_TIC4X_H diff -uprN binutils-2.16.90.0.2/include/coff/tic54x.h binutils-2.16.90.0.3/include/coff/tic54x.h --- binutils-2.16.90.0.2/include/coff/tic54x.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/coff/tic54x.h 2005-05-10 15:46:51.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef COFF_TIC54X_H #define COFF_TIC54X_H diff -uprN binutils-2.16.90.0.2/include/coff/tic80.h binutils-2.16.90.0.3/include/coff/tic80.h --- binutils-2.16.90.0.2/include/coff/tic80.h 2001-03-15 14:53:05.000000000 -0800 +++ binutils-2.16.90.0.3/include/coff/tic80.h 2005-05-10 15:46:51.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define DO_NOT_DEFINE_FILHDR #define DO_NOT_DEFINE_SCNHDR diff -uprN binutils-2.16.90.0.2/include/coff/ti.h binutils-2.16.90.0.3/include/coff/ti.h --- binutils-2.16.90.0.2/include/coff/ti.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/coff/ti.h 2005-05-10 15:46:51.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef COFF_TI_H #define COFF_TI_H diff -uprN binutils-2.16.90.0.2/include/coff/w65.h binutils-2.16.90.0.3/include/coff/w65.h --- binutils-2.16.90.0.2/include/coff/w65.h 2001-03-15 14:53:05.000000000 -0800 +++ binutils-2.16.90.0.3/include/coff/w65.h 2005-05-10 15:46:51.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define L_LNNO_SIZE 4 #include "coff/external.h" diff -uprN binutils-2.16.90.0.2/include/coff/we32k.h binutils-2.16.90.0.3/include/coff/we32k.h --- binutils-2.16.90.0.2/include/coff/we32k.h 2001-03-15 14:53:05.000000000 -0800 +++ binutils-2.16.90.0.3/include/coff/we32k.h 2005-05-10 15:46:51.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define L_LNNO_SIZE 2 #include "coff/external.h" diff -uprN binutils-2.16.90.0.2/include/coff/xcoff.h binutils-2.16.90.0.3/include/coff/xcoff.h --- binutils-2.16.90.0.2/include/coff/xcoff.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/coff/xcoff.h 2005-05-10 15:46:51.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _INTERNAL_XCOFF_H #define _INTERNAL_XCOFF_H diff -uprN binutils-2.16.90.0.2/include/coff/z8k.h binutils-2.16.90.0.3/include/coff/z8k.h --- binutils-2.16.90.0.2/include/coff/z8k.h 2001-03-15 14:53:05.000000000 -0800 +++ binutils-2.16.90.0.3/include/coff/z8k.h 2005-05-10 15:46:51.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define L_LNNO_SIZE 4 #include "coff/external.h" diff -uprN binutils-2.16.90.0.2/include/COPYING binutils-2.16.90.0.3/include/COPYING --- binutils-2.16.90.0.2/include/COPYING 2000-12-21 16:34:59.000000000 -0800 +++ binutils-2.16.90.0.3/include/COPYING 2005-05-10 15:46:48.000000000 -0700 @@ -2,7 +2,7 @@ Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -305,7 +305,7 @@ the "copyright" line and a pointer to wh You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. diff -uprN binutils-2.16.90.0.2/include/demangle.h binutils-2.16.90.0.3/include/demangle.h --- binutils-2.16.90.0.2/include/demangle.h 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/include/demangle.h 2005-05-10 15:46:48.000000000 -0700 @@ -14,8 +14,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #if !defined (DEMANGLE_H) diff -uprN binutils-2.16.90.0.2/include/dis-asm.h binutils-2.16.90.0.3/include/dis-asm.h --- binutils-2.16.90.0.2/include/dis-asm.h 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/include/dis-asm.h 2005-05-10 15:46:48.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. + Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. Written by Cygnus Support, 1993. diff -uprN binutils-2.16.90.0.2/include/dyn-string.h binutils-2.16.90.0.3/include/dyn-string.h --- binutils-2.16.90.0.2/include/dyn-string.h 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/include/dyn-string.h 2005-05-10 15:46:48.000000000 -0700 @@ -16,8 +16,8 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with GCC; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ +the Free Software Foundation, 51 Franklin Street - Fifth Floor, +Boston, MA 02110-1301, USA. */ typedef struct dyn_string diff -uprN binutils-2.16.90.0.2/include/elf/alpha.h binutils-2.16.90.0.3/include/elf/alpha.h --- binutils-2.16.90.0.2/include/elf/alpha.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/alpha.h 2005-05-10 15:46:51.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file holds definitions specific to the ALPHA ELF ABI. Note that most of this is not actually implemented by BFD. */ diff -uprN binutils-2.16.90.0.2/include/elf/arc.h binutils-2.16.90.0.3/include/elf/arc.h --- binutils-2.16.90.0.2/include/elf/arc.h 2001-03-15 14:53:06.000000000 -0800 +++ binutils-2.16.90.0.3/include/elf/arc.h 2005-05-10 15:46:51.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file holds definitions specific to the ARC ELF ABI. */ diff -uprN binutils-2.16.90.0.2/include/elf/arm.h binutils-2.16.90.0.3/include/elf/arm.h --- binutils-2.16.90.0.2/include/elf/arm.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/arm.h 2005-05-10 15:46:52.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_ARM_H #define _ELF_ARM_H diff -uprN binutils-2.16.90.0.2/include/elf/avr.h binutils-2.16.90.0.3/include/elf/avr.h --- binutils-2.16.90.0.2/include/elf/avr.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/avr.h 2005-05-10 15:46:52.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., - 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_AVR_H #define _ELF_AVR_H diff -uprN binutils-2.16.90.0.2/include/elf/ChangeLog binutils-2.16.90.0.3/include/elf/ChangeLog --- binutils-2.16.90.0.2/include/elf/ChangeLog 2005-04-29 10:50:30.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/ChangeLog 2005-05-10 15:46:51.000000000 -0700 @@ -1,3 +1,15 @@ +2005-05-10 Nick Clifton + + * Update the address and phone number of the FSF organization in + the GPL notices in the following files: + alpha.h, arc.h, arm.h, avr.h, common.h, cr16c.h, cris.h, crx.h, + d10v.h, d30v.h, dlx.h, dwarf.h, dwarf2.h, external.h, fr30.h, + frv.h, h8.h, hppa.h, i370.h, i386.h, i860.h, i960.h, ia64.h, + internal.h, ip2k.h, iq2000.h, m32r.h, m68hc11.h, m68k.h, mcore.h, + mips.h, mmix.h, mn10200.h, mn10300.h, msp430.h, openrisc.h, + or32.h, pj.h, ppc.h, ppc64.h, reloc-macros.h, s390.h, sh.h, + sparc.h, v850.h, vax.h, x86-64.h, xstormy16.h, xtensa.h + 2005-04-13 H.J. Lu Moved from ../ChangeLog diff -uprN binutils-2.16.90.0.2/include/elf/common.h binutils-2.16.90.0.3/include/elf/common.h --- binutils-2.16.90.0.2/include/elf/common.h 2004-11-22 12:33:32.000000000 -0800 +++ binutils-2.16.90.0.3/include/elf/common.h 2005-05-10 15:46:52.000000000 -0700 @@ -21,7 +21,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file is part of ELF support for BFD, and contains the portions diff -uprN binutils-2.16.90.0.2/include/elf/cr16c.h binutils-2.16.90.0.3/include/elf/cr16c.h --- binutils-2.16.90.0.2/include/elf/cr16c.h 2004-04-12 12:56:35.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/cr16c.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_CR16C_H #define _ELF_CR16C_H diff -uprN binutils-2.16.90.0.2/include/elf/cris.h binutils-2.16.90.0.3/include/elf/cris.h --- binutils-2.16.90.0.2/include/elf/cris.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/cris.h 2005-05-10 15:46:52.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_CRIS_H #define _ELF_CRIS_H diff -uprN binutils-2.16.90.0.2/include/elf/crx.h binutils-2.16.90.0.3/include/elf/crx.h --- binutils-2.16.90.0.2/include/elf/crx.h 2004-07-27 21:36:10.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/crx.h 2005-05-10 15:46:52.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_CRX_H #define _ELF_CRX_H diff -uprN binutils-2.16.90.0.2/include/elf/d10v.h binutils-2.16.90.0.3/include/elf/d10v.h --- binutils-2.16.90.0.2/include/elf/d10v.h 2001-03-15 14:53:06.000000000 -0800 +++ binutils-2.16.90.0.3/include/elf/d10v.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_D10V_H #define _ELF_D10V_H diff -uprN binutils-2.16.90.0.2/include/elf/d30v.h binutils-2.16.90.0.3/include/elf/d30v.h --- binutils-2.16.90.0.2/include/elf/d30v.h 2001-03-15 14:53:06.000000000 -0800 +++ binutils-2.16.90.0.3/include/elf/d30v.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_D30V_H #define _ELF_D30V_H diff -uprN binutils-2.16.90.0.2/include/elf/dlx.h binutils-2.16.90.0.3/include/elf/dlx.h --- binutils-2.16.90.0.2/include/elf/dlx.h 2002-06-07 19:22:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/dlx.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_DLX_H #define _ELF_DLX_H diff -uprN binutils-2.16.90.0.2/include/elf/dwarf2.h binutils-2.16.90.0.3/include/elf/dwarf2.h --- binutils-2.16.90.0.2/include/elf/dwarf2.h 2004-11-22 12:33:32.000000000 -0800 +++ binutils-2.16.90.0.3/include/elf/dwarf2.h 2005-05-10 15:46:52.000000000 -0700 @@ -24,8 +24,8 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* This file is derived from the DWARF specification (a public document) Revision 2.0.0 (July 27, 1993) developed by the UNIX International diff -uprN binutils-2.16.90.0.2/include/elf/dwarf.h binutils-2.16.90.0.3/include/elf/dwarf.h --- binutils-2.16.90.0.2/include/elf/dwarf.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/dwarf.h 2005-05-10 15:46:52.000000000 -0700 @@ -19,8 +19,8 @@ for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA +02110-1301, USA. */ /* This file is derived from the DWARF specification (a public document) Revision 1.0.1 (April 8, 1992) developed by the UNIX International diff -uprN binutils-2.16.90.0.2/include/elf/external.h binutils-2.16.90.0.3/include/elf/external.h --- binutils-2.16.90.0.2/include/elf/external.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/external.h 2005-05-10 15:46:52.000000000 -0700 @@ -20,7 +20,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file is part of ELF support for BFD, and contains the portions diff -uprN binutils-2.16.90.0.2/include/elf/fr30.h binutils-2.16.90.0.3/include/elf/fr30.h --- binutils-2.16.90.0.2/include/elf/fr30.h 2001-03-15 14:53:06.000000000 -0800 +++ binutils-2.16.90.0.3/include/elf/fr30.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_FR30_H #define _ELF_FR30_H diff -uprN binutils-2.16.90.0.2/include/elf/frv.h binutils-2.16.90.0.3/include/elf/frv.h --- binutils-2.16.90.0.2/include/elf/frv.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/frv.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_FRV_H #define _ELF_FRV_H diff -uprN binutils-2.16.90.0.2/include/elf/h8.h binutils-2.16.90.0.3/include/elf/h8.h --- binutils-2.16.90.0.2/include/elf/h8.h 2004-01-14 13:07:51.000000000 -0800 +++ binutils-2.16.90.0.3/include/elf/h8.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_H8_H #define _ELF_H8_H diff -uprN binutils-2.16.90.0.2/include/elf/hppa.h binutils-2.16.90.0.3/include/elf/hppa.h --- binutils-2.16.90.0.2/include/elf/hppa.h 2001-03-15 14:53:06.000000000 -0800 +++ binutils-2.16.90.0.3/include/elf/hppa.h 2005-05-10 15:46:52.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file holds definitions specific to the HPPA ELF ABI. Note that most of this is not actually implemented by BFD. */ diff -uprN binutils-2.16.90.0.2/include/elf/i370.h binutils-2.16.90.0.3/include/elf/i370.h --- binutils-2.16.90.0.2/include/elf/i370.h 2002-09-27 08:33:09.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/i370.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file holds definitions specific to the i370 ELF ABI. Note that most of this is not actually implemented by BFD. */ diff -uprN binutils-2.16.90.0.2/include/elf/i386.h binutils-2.16.90.0.3/include/elf/i386.h --- binutils-2.16.90.0.2/include/elf/i386.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/i386.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_I386_H #define _ELF_I386_H diff -uprN binutils-2.16.90.0.2/include/elf/i860.h binutils-2.16.90.0.3/include/elf/i860.h --- binutils-2.16.90.0.2/include/elf/i860.h 2001-03-15 14:53:07.000000000 -0800 +++ binutils-2.16.90.0.3/include/elf/i860.h 2005-05-10 15:46:52.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_I860_H #define _ELF_I860_H diff -uprN binutils-2.16.90.0.2/include/elf/i960.h binutils-2.16.90.0.3/include/elf/i960.h --- binutils-2.16.90.0.2/include/elf/i960.h 2001-03-15 14:53:07.000000000 -0800 +++ binutils-2.16.90.0.3/include/elf/i960.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_I960_H #define _ELF_I960_H diff -uprN binutils-2.16.90.0.2/include/elf/ia64.h binutils-2.16.90.0.3/include/elf/ia64.h --- binutils-2.16.90.0.2/include/elf/ia64.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/ia64.h 2005-05-10 15:46:52.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_IA64_H #define _ELF_IA64_H diff -uprN binutils-2.16.90.0.2/include/elf/internal.h binutils-2.16.90.0.3/include/elf/internal.h --- binutils-2.16.90.0.2/include/elf/internal.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/internal.h 2005-05-10 15:46:52.000000000 -0700 @@ -20,7 +20,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file is part of ELF support for BFD, and contains the portions diff -uprN binutils-2.16.90.0.2/include/elf/ip2k.h binutils-2.16.90.0.3/include/elf/ip2k.h --- binutils-2.16.90.0.2/include/elf/ip2k.h 2002-07-17 11:38:29.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/ip2k.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., - 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_IP2K_H #define _ELF_IP2K_H diff -uprN binutils-2.16.90.0.2/include/elf/iq2000.h binutils-2.16.90.0.3/include/elf/iq2000.h --- binutils-2.16.90.0.2/include/elf/iq2000.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/iq2000.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_IQ2000_H #define _ELF_IQ2000_H diff -uprN binutils-2.16.90.0.2/include/elf/m32r.h binutils-2.16.90.0.3/include/elf/m32r.h --- binutils-2.16.90.0.2/include/elf/m32r.h 2004-07-27 21:36:10.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/m32r.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., - 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_M32R_H #define _ELF_M32R_H diff -uprN binutils-2.16.90.0.2/include/elf/m68hc11.h binutils-2.16.90.0.3/include/elf/m68hc11.h --- binutils-2.16.90.0.2/include/elf/m68hc11.h 2002-12-16 12:22:53.000000000 -0800 +++ binutils-2.16.90.0.3/include/elf/m68hc11.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_M68HC11_H #define _ELF_M68HC11_H diff -uprN binutils-2.16.90.0.2/include/elf/m68k.h binutils-2.16.90.0.3/include/elf/m68k.h --- binutils-2.16.90.0.2/include/elf/m68k.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/m68k.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_M68K_H #define _ELF_M68K_H diff -uprN binutils-2.16.90.0.2/include/elf/mcore.h binutils-2.16.90.0.3/include/elf/mcore.h --- binutils-2.16.90.0.2/include/elf/mcore.h 2001-03-15 14:53:07.000000000 -0800 +++ binutils-2.16.90.0.3/include/elf/mcore.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file holds definitions specific to the MCore ELF ABI. */ #ifndef _ELF_MORE_H diff -uprN binutils-2.16.90.0.2/include/elf/mips.h binutils-2.16.90.0.3/include/elf/mips.h --- binutils-2.16.90.0.2/include/elf/mips.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/mips.h 2005-05-10 15:46:52.000000000 -0700 @@ -21,7 +21,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file holds definitions specific to the MIPS ELF ABI. Note that most of this is not actually implemented by BFD. */ diff -uprN binutils-2.16.90.0.2/include/elf/mmix.h binutils-2.16.90.0.3/include/elf/mmix.h --- binutils-2.16.90.0.2/include/elf/mmix.h 2004-01-14 13:07:51.000000000 -0800 +++ binutils-2.16.90.0.3/include/elf/mmix.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file holds definitions specific to the MMIX ELF ABI. */ #ifndef ELF_MMIX_H diff -uprN binutils-2.16.90.0.2/include/elf/mn10200.h binutils-2.16.90.0.3/include/elf/mn10200.h --- binutils-2.16.90.0.2/include/elf/mn10200.h 2001-03-15 14:53:08.000000000 -0800 +++ binutils-2.16.90.0.3/include/elf/mn10200.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file holds definitions specific to the MN10200 ELF ABI. */ diff -uprN binutils-2.16.90.0.2/include/elf/mn10300.h binutils-2.16.90.0.3/include/elf/mn10300.h --- binutils-2.16.90.0.2/include/elf/mn10300.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/mn10300.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file holds definitions specific to the MN10300 ELF ABI. */ diff -uprN binutils-2.16.90.0.2/include/elf/msp430.h binutils-2.16.90.0.3/include/elf/msp430.h --- binutils-2.16.90.0.2/include/elf/msp430.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/msp430.h 2005-05-10 15:46:52.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., - 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_MSP430_H #define _ELF_MSP430_H diff -uprN binutils-2.16.90.0.2/include/elf/openrisc.h binutils-2.16.90.0.3/include/elf/openrisc.h --- binutils-2.16.90.0.2/include/elf/openrisc.h 2001-04-24 09:12:20.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/openrisc.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_OPENRISC_H #define _ELF_OPENRISC_H diff -uprN binutils-2.16.90.0.2/include/elf/or32.h binutils-2.16.90.0.3/include/elf/or32.h --- binutils-2.16.90.0.2/include/elf/or32.h 2002-02-03 11:22:32.000000000 -0800 +++ binutils-2.16.90.0.3/include/elf/or32.h 2005-05-10 15:46:52.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_OR1K_H #define _ELF_OR1K_H diff -uprN binutils-2.16.90.0.2/include/elf/pj.h binutils-2.16.90.0.3/include/elf/pj.h --- binutils-2.16.90.0.2/include/elf/pj.h 2001-03-15 14:53:08.000000000 -0800 +++ binutils-2.16.90.0.3/include/elf/pj.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_PJ_H #define _ELF_PJ_H diff -uprN binutils-2.16.90.0.2/include/elf/ppc64.h binutils-2.16.90.0.3/include/elf/ppc64.h --- binutils-2.16.90.0.2/include/elf/ppc64.h 2003-03-19 09:19:16.000000000 -0800 +++ binutils-2.16.90.0.3/include/elf/ppc64.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_PPC64_H #define _ELF_PPC64_H diff -uprN binutils-2.16.90.0.2/include/elf/ppc.h binutils-2.16.90.0.3/include/elf/ppc.h --- binutils-2.16.90.0.2/include/elf/ppc.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/ppc.h 2005-05-10 15:46:52.000000000 -0700 @@ -20,7 +20,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file holds definitions specific to the PPC ELF ABI. Note that most of this is not actually implemented by BFD. */ diff -uprN binutils-2.16.90.0.2/include/elf/reloc-macros.h binutils-2.16.90.0.3/include/elf/reloc-macros.h --- binutils-2.16.90.0.2/include/elf/reloc-macros.h 2004-01-14 13:07:51.000000000 -0800 +++ binutils-2.16.90.0.3/include/elf/reloc-macros.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* These macros are used by the various *.h target specific header files to either generate an enum containing all the known relocations diff -uprN binutils-2.16.90.0.2/include/elf/s390.h binutils-2.16.90.0.3/include/elf/s390.h --- binutils-2.16.90.0.2/include/elf/s390.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/s390.h 2005-05-10 15:46:52.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef _ELF_390_H #define _ELF_390_H diff -uprN binutils-2.16.90.0.2/include/elf/sh.h binutils-2.16.90.0.3/include/elf/sh.h --- binutils-2.16.90.0.2/include/elf/sh.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/sh.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_SH_H #define _ELF_SH_H diff -uprN binutils-2.16.90.0.2/include/elf/sparc.h binutils-2.16.90.0.3/include/elf/sparc.h --- binutils-2.16.90.0.2/include/elf/sparc.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/sparc.h 2005-05-10 15:46:52.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_SPARC_H #define _ELF_SPARC_H diff -uprN binutils-2.16.90.0.2/include/elf/v850.h binutils-2.16.90.0.3/include/elf/v850.h --- binutils-2.16.90.0.2/include/elf/v850.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/v850.h 2005-05-10 15:46:52.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file holds definitions specific to the MIPS ELF ABI. Note that most of this is not actually implemented by BFD. */ diff -uprN binutils-2.16.90.0.2/include/elf/vax.h binutils-2.16.90.0.3/include/elf/vax.h --- binutils-2.16.90.0.2/include/elf/vax.h 2002-07-17 11:38:29.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/vax.h 2005-05-10 15:46:52.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_VAX_H #define _ELF_VAX_H diff -uprN binutils-2.16.90.0.2/include/elf/x86-64.h binutils-2.16.90.0.3/include/elf/x86-64.h --- binutils-2.16.90.0.2/include/elf/x86-64.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/elf/x86-64.h 2005-05-10 15:46:52.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_X86_64_H #define _ELF_X86_64_H diff -uprN binutils-2.16.90.0.2/include/elf/xstormy16.h binutils-2.16.90.0.3/include/elf/xstormy16.h --- binutils-2.16.90.0.2/include/elf/xstormy16.h 2003-01-21 10:21:33.000000000 -0800 +++ binutils-2.16.90.0.3/include/elf/xstormy16.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ELF_XSTORMY16_H #define _ELF_XSTORMY16_H diff -uprN binutils-2.16.90.0.2/include/elf/xtensa.h binutils-2.16.90.0.3/include/elf/xtensa.h --- binutils-2.16.90.0.2/include/elf/xtensa.h 2004-11-22 12:33:32.000000000 -0800 +++ binutils-2.16.90.0.3/include/elf/xtensa.h 2005-05-10 15:46:52.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file holds definitions specific to the Xtensa ELF ABI. */ diff -uprN binutils-2.16.90.0.2/include/fibheap.h binutils-2.16.90.0.3/include/fibheap.h --- binutils-2.16.90.0.2/include/fibheap.h 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/include/fibheap.h 2005-05-10 15:46:48.000000000 -0700 @@ -16,8 +16,8 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ +the Free Software Foundation, 51 Franklin Street - Fifth Floor, +Boston, MA 02110-1301, USA. */ /* Fibonacci heaps are somewhat complex, but, there's an article in DDJ that explains them pretty well: diff -uprN binutils-2.16.90.0.2/include/filenames.h binutils-2.16.90.0.3/include/filenames.h --- binutils-2.16.90.0.2/include/filenames.h 2001-10-19 23:57:49.000000000 -0700 +++ binutils-2.16.90.0.3/include/filenames.h 2005-05-10 15:46:48.000000000 -0700 @@ -21,7 +21,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef FILENAMES_H #define FILENAMES_H diff -uprN binutils-2.16.90.0.2/include/floatformat.h binutils-2.16.90.0.3/include/floatformat.h --- binutils-2.16.90.0.2/include/floatformat.h 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/include/floatformat.h 2005-05-10 15:46:48.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #if !defined (FLOATFORMAT_H) #define FLOATFORMAT_H 1 diff -uprN binutils-2.16.90.0.2/include/fnmatch.h binutils-2.16.90.0.3/include/fnmatch.h --- binutils-2.16.90.0.2/include/fnmatch.h 2001-03-15 14:53:00.000000000 -0800 +++ binutils-2.16.90.0.3/include/fnmatch.h 2005-05-10 15:46:48.000000000 -0700 @@ -15,8 +15,8 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ +Foundation, 51 Franklin Street - Fifth Floor, +Boston, MA 02110-1301, USA. */ #ifndef _FNMATCH_H diff -uprN binutils-2.16.90.0.2/include/gdbm.h binutils-2.16.90.0.3/include/gdbm.h --- binutils-2.16.90.0.2/include/gdbm.h 1999-06-03 11:02:08.000000000 -0700 +++ binutils-2.16.90.0.3/include/gdbm.h 2005-05-10 15:46:48.000000000 -0700 @@ -14,7 +14,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* You may contact the author by: e-mail: phil@wwu.edu diff -uprN binutils-2.16.90.0.2/include/getopt.h binutils-2.16.90.0.3/include/getopt.h --- binutils-2.16.90.0.2/include/getopt.h 2002-10-29 20:09:13.000000000 -0800 +++ binutils-2.16.90.0.3/include/getopt.h 2005-05-10 15:46:48.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _GETOPT_H diff -uprN binutils-2.16.90.0.2/include/hashtab.h binutils-2.16.90.0.3/include/hashtab.h --- binutils-2.16.90.0.2/include/hashtab.h 2005-04-29 10:50:30.000000000 -0700 +++ binutils-2.16.90.0.3/include/hashtab.h 2005-05-10 15:46:48.000000000 -0700 @@ -14,7 +14,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This package implements basic hash table functionality. It is possible to search for an entry, create an entry and destroy an entry. diff -uprN binutils-2.16.90.0.2/include/hp-symtab.h binutils-2.16.90.0.3/include/hp-symtab.h --- binutils-2.16.90.0.2/include/hp-symtab.h 2004-01-14 13:07:51.000000000 -0800 +++ binutils-2.16.90.0.3/include/hp-symtab.h 2005-05-10 15:46:48.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef HP_SYMTAB_INCLUDED #define HP_SYMTAB_INCLUDED diff -uprN binutils-2.16.90.0.2/include/ieee.h binutils-2.16.90.0.3/include/ieee.h --- binutils-2.16.90.0.2/include/ieee.h 2001-03-15 14:53:01.000000000 -0800 +++ binutils-2.16.90.0.3/include/ieee.h 2005-05-10 15:46:48.000000000 -0700 @@ -14,8 +14,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. + Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. Contributed by Cygnus Support. */ diff -uprN binutils-2.16.90.0.2/include/libiberty.h binutils-2.16.90.0.3/include/libiberty.h --- binutils-2.16.90.0.2/include/libiberty.h 2005-04-29 10:50:30.000000000 -0700 +++ binutils-2.16.90.0.3/include/libiberty.h 2005-05-10 15:46:48.000000000 -0700 @@ -21,8 +21,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. + Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. Written by Cygnus Support, 1994. diff -uprN binutils-2.16.90.0.2/include/md5.h binutils-2.16.90.0.3/include/md5.h --- binutils-2.16.90.0.2/include/md5.h 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/include/md5.h 2005-05-10 15:46:48.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _MD5_H #define _MD5_H 1 diff -uprN binutils-2.16.90.0.2/include/nlm/alpha-ext.h binutils-2.16.90.0.3/include/nlm/alpha-ext.h --- binutils-2.16.90.0.2/include/nlm/alpha-ext.h 2001-03-15 14:53:09.000000000 -0800 +++ binutils-2.16.90.0.3/include/nlm/alpha-ext.h 2005-05-10 15:46:52.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* An Alpha NLM starts with an instance of this structure. */ diff -uprN binutils-2.16.90.0.2/include/nlm/ChangeLog binutils-2.16.90.0.3/include/nlm/ChangeLog --- binutils-2.16.90.0.2/include/nlm/ChangeLog 2004-01-14 13:07:51.000000000 -0800 +++ binutils-2.16.90.0.3/include/nlm/ChangeLog 2005-05-10 15:46:52.000000000 -0700 @@ -1,3 +1,10 @@ +2005-05-10 Nick Clifton + + * Update the address and phone number of the FSF organization in + the GPL notices in the following files: + alpha-ext.h, common.h, external.h, i386-ext.h, internal.h, + ppc-ext.h, sparc32-ext.h + 2003-08-07 Alan Modra * internal.h (Nlm_Internal_Custom_Header): Replace PTR with void *. @@ -8,7 +15,7 @@ (NLM_CAT4): Update conditions under which this is defined. Document why CONCAT4 can't be used. -Fri May 6 13:31:04 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) +1994-05-06 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * external.h (nlmNAME(External_Custom_Header)): Add length, dataOffset, and dataStamp field. @@ -16,7 +23,7 @@ Fri May 6 13:31:04 1994 Ian Lance Tayl * internal.h (Nlm_Internal_Custom_Header): Add hdrLength, dataOffset, dataStamp and hdr fields. -Fri Apr 22 11:12:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) +1994-04-22 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * external.h (struct nlmNAME(external_cygnus_ext_header)): Rename from nlmNAME(external_cygnus_section_header). Change stamp field @@ -25,36 +32,36 @@ Fri Apr 22 11:12:39 1994 Ian Lance Tayl nlm_internal_cygnus_section_header. Change stamp field to 8 bytes. -Thu Apr 21 11:57:09 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) +1994-04-21 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * internal.h (struct nlm_internal_cygnus_section_header): Define. * external.h (struct nlmNAME(external_cygnus_section_header): Define. -Wed Apr 20 14:27:43 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) +1994-04-20 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * internal.h (struct nlm_internal_custom_header): Remove debugRecOffset and debugRecLength fields. Add data field. * external.h (struct nlmNAME(external_custom_header)): Remove debugRecOffset and debugRecLength fields. -Mon Feb 7 08:28:40 1994 Jim Kingdon (kingdon@lioth.cygnus.com) +1994-02-07 Jim Kingdon (kingdon@lioth.cygnus.com) * internal.h: Change HOST_64_BIT to BFD_HOST_64_BIT. -Thu Dec 2 14:14:48 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) +1993-12-02 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * alpha-ext.h: New file describing formats of information in Alpha NetWare files. * common.h: Define some non-external Alpha information. -Wed Nov 17 17:38:58 1993 Sean Eric Fagan (sef@cygnus.com) +1993-11-17 Sean Eric Fagan (sef@cygnus.com) * external.h: Don't define external_fixed_header here. * i386-ext.h, sparc32-ext.h: New header files to define external_fixed_header for particular CPU's. -Wed Oct 27 11:45:56 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) +1993-10-27 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * internal.h (Nlm_Internal_Extended_Header): Added fields sharedDebugRecordOffset and sharedDebugRecordCount. @@ -63,16 +70,16 @@ Wed Oct 27 11:45:56 1993 Ian Lance Tayl * common.h (NLM_SIGNATURE): Do not define (it's different for each backend). -Tue Aug 31 13:24:15 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) +1993-08-31 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * internal.h: Change length fields of type char to type unsigned char. -Sat Jul 31 02:12:14 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) +1993-07-31 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * common.h (NLM_HIBIT, NLM_HEADER_VERSION): Define. -Thu Jul 22 16:09:47 1993 Fred Fish (fnf@deneb.cygnus.com) +1993-07-22 Fred Fish (fnf@deneb.cygnus.com) * common.h (NLM_CAT*, NLM_ARCH_SIZE, NLM_TARGET_LONG_SIZE, NLM_TARGET_ADDRESS_SIZE, NLM_NAME, NlmNAME, nlmNAME): New @@ -82,7 +89,7 @@ Thu Jul 22 16:09:47 1993 Fred Fish (fn * external.h: Use nlmNAME and NlmNAME macros to derive both 32 and 64 bit versions. -Mon Jul 19 22:12:40 1993 Fred Fish (fnf@deneb.cygnus.com) +1993-07-20 Fred Fish (fnf@deneb.cygnus.com) * (common.h, external.h, internal.h): New files for NLM/NetWare support. diff -uprN binutils-2.16.90.0.2/include/nlm/common.h binutils-2.16.90.0.3/include/nlm/common.h --- binutils-2.16.90.0.2/include/nlm/common.h 2001-10-04 14:35:43.000000000 -0700 +++ binutils-2.16.90.0.3/include/nlm/common.h 2005-05-10 15:46:52.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file is part of NLM support for BFD, and contains the portions diff -uprN binutils-2.16.90.0.2/include/nlm/external.h binutils-2.16.90.0.3/include/nlm/external.h --- binutils-2.16.90.0.2/include/nlm/external.h 2001-03-15 14:53:10.000000000 -0800 +++ binutils-2.16.90.0.3/include/nlm/external.h 2005-05-10 15:46:52.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file is part of NLM support for BFD, and contains the portions diff -uprN binutils-2.16.90.0.2/include/nlm/i386-ext.h binutils-2.16.90.0.3/include/nlm/i386-ext.h --- binutils-2.16.90.0.2/include/nlm/i386-ext.h 2001-03-15 14:53:10.000000000 -0800 +++ binutils-2.16.90.0.3/include/nlm/i386-ext.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* The external format of the fixed header. */ diff -uprN binutils-2.16.90.0.2/include/nlm/internal.h binutils-2.16.90.0.3/include/nlm/internal.h --- binutils-2.16.90.0.2/include/nlm/internal.h 2004-01-14 13:07:52.000000000 -0800 +++ binutils-2.16.90.0.3/include/nlm/internal.h 2005-05-10 15:46:52.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file is part of NLM support for BFD, and contains the portions diff -uprN binutils-2.16.90.0.2/include/nlm/ppc-ext.h binutils-2.16.90.0.3/include/nlm/ppc-ext.h --- binutils-2.16.90.0.2/include/nlm/ppc-ext.h 1999-06-03 11:02:09.000000000 -0700 +++ binutils-2.16.90.0.3/include/nlm/ppc-ext.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef OLDFORMAT diff -uprN binutils-2.16.90.0.2/include/nlm/sparc32-ext.h binutils-2.16.90.0.3/include/nlm/sparc32-ext.h --- binutils-2.16.90.0.2/include/nlm/sparc32-ext.h 2001-03-15 14:53:11.000000000 -0800 +++ binutils-2.16.90.0.3/include/nlm/sparc32-ext.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* The external format of the fixed header. */ diff -uprN binutils-2.16.90.0.2/include/oasys.h binutils-2.16.90.0.3/include/oasys.h --- binutils-2.16.90.0.2/include/oasys.h 2001-03-15 14:53:01.000000000 -0800 +++ binutils-2.16.90.0.3/include/oasys.h 2005-05-10 15:46:48.000000000 -0700 @@ -14,8 +14,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. + Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. Contributed by Cygnus Support. */ diff -uprN binutils-2.16.90.0.2/include/objalloc.h binutils-2.16.90.0.3/include/objalloc.h --- binutils-2.16.90.0.2/include/objalloc.h 2005-04-29 10:50:30.000000000 -0700 +++ binutils-2.16.90.0.3/include/objalloc.h 2005-05-10 15:46:48.000000000 -0700 @@ -14,8 +14,8 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ +Foundation, 51 Franklin Street - Fifth Floor, +Boston, MA 02110-1301, USA. */ #ifndef OBJALLOC_H #define OBJALLOC_H diff -uprN binutils-2.16.90.0.2/include/obstack.h binutils-2.16.90.0.3/include/obstack.h --- binutils-2.16.90.0.2/include/obstack.h 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/include/obstack.h 2005-05-10 15:46:49.000000000 -0700 @@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Summary: diff -uprN binutils-2.16.90.0.2/include/opcode/a29k.h binutils-2.16.90.0.3/include/opcode/a29k.h --- binutils-2.16.90.0.2/include/opcode/a29k.h 2002-06-08 20:44:53.000000000 -0700 +++ binutils-2.16.90.0.3/include/opcode/a29k.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ struct a29k_opcode { /* Name of the instruction. */ diff -uprN binutils-2.16.90.0.2/include/opcode/alpha.h binutils-2.16.90.0.3/include/opcode/alpha.h --- binutils-2.16.90.0.2/include/opcode/alpha.h 2004-01-14 13:07:52.000000000 -0800 +++ binutils-2.16.90.0.3/include/opcode/alpha.h 2005-05-10 15:46:52.000000000 -0700 @@ -17,7 +17,7 @@ the GNU General Public License for more You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef OPCODE_ALPHA_H #define OPCODE_ALPHA_H diff -uprN binutils-2.16.90.0.2/include/opcode/arc.h binutils-2.16.90.0.3/include/opcode/arc.h --- binutils-2.16.90.0.2/include/opcode/arc.h 2004-01-14 13:07:52.000000000 -0800 +++ binutils-2.16.90.0.3/include/opcode/arc.h 2005-05-10 15:46:52.000000000 -0700 @@ -18,8 +18,8 @@ You should have received a copy of the GNU General Public License along with GAS or GDB; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, - MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ /* List of the various cpu types. diff -uprN binutils-2.16.90.0.2/include/opcode/arm.h binutils-2.16.90.0.3/include/opcode/arm.h --- binutils-2.16.90.0.2/include/opcode/arm.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/opcode/arm.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with GDB or GAS; see the file COPYING. If not, write to the - Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* The following bitmasks control CPU extensions: */ #define ARM_EXT_V1 0x00000001 /* All processors (core set). */ diff -uprN binutils-2.16.90.0.2/include/opcode/avr.h binutils-2.16.90.0.3/include/opcode/avr.h --- binutils-2.16.90.0.2/include/opcode/avr.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/opcode/avr.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define AVR_ISA_1200 0x0001 /* in the beginning there was ... */ #define AVR_ISA_LPM 0x0002 /* device has LPM */ diff -uprN binutils-2.16.90.0.2/include/opcode/cgen.h binutils-2.16.90.0.3/include/opcode/cgen.h --- binutils-2.16.90.0.2/include/opcode/cgen.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/opcode/cgen.h 2005-05-10 15:46:52.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef CGEN_H #define CGEN_H diff -uprN binutils-2.16.90.0.2/include/opcode/ChangeLog binutils-2.16.90.0.3/include/opcode/ChangeLog --- binutils-2.16.90.0.2/include/opcode/ChangeLog 2005-04-29 10:50:30.000000000 -0700 +++ binutils-2.16.90.0.3/include/opcode/ChangeLog 2005-05-10 15:46:52.000000000 -0700 @@ -1,3 +1,18 @@ +2005-05-10 Nick Clifton + + * Update the address and phone number of the FSF organization in + the GPL notices in the following files: + a29k.h, alpha.h, arc.h, arm.h, avr.h, cgen.h, convex.h, cris.h, + crx.h, d10v.h, d30v.h, dlx.h, h8300.h, hppa.h, i370.h, i386.h, + i860.h, i960.h, m68hc11.h, m68k.h, m88k.h, maxq.h, mips.h, mmix.h, + mn10200.h, mn10300.h, msp430.h, np1.h, ns32k.h, or32.h, pdp11.h, + pj.h, pn.h, ppc.h, pyr.h, s390.h, sparc.h, tic30.h, tic4x.h, + tic54x.h, tic80.h, v850.h, vax.h + +2005-05-09 Jan Beulich + + * i386.h (i386_optab): Add ht and hnt. + 2005-04-18 Mark Kettenis * i386.h: Insert hyphens into selected VIA PadLock extensions. diff -uprN binutils-2.16.90.0.2/include/opcode/convex.h binutils-2.16.90.0.3/include/opcode/convex.h --- binutils-2.16.90.0.2/include/opcode/convex.h 2002-06-08 20:44:53.000000000 -0700 +++ binutils-2.16.90.0.3/include/opcode/convex.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define xxx 0 #define rrr 1 diff -uprN binutils-2.16.90.0.2/include/opcode/cris.h binutils-2.16.90.0.3/include/opcode/cris.h --- binutils-2.16.90.0.2/include/opcode/cris.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/opcode/cris.h 2005-05-10 15:46:52.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef __CRIS_H_INCLUDED_ #define __CRIS_H_INCLUDED_ diff -uprN binutils-2.16.90.0.2/include/opcode/crx.h binutils-2.16.90.0.3/include/opcode/crx.h --- binutils-2.16.90.0.2/include/opcode/crx.h 2004-12-20 11:16:51.000000000 -0800 +++ binutils-2.16.90.0.3/include/opcode/crx.h 2005-05-10 15:46:52.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _CRX_H_ #define _CRX_H_ diff -uprN binutils-2.16.90.0.2/include/opcode/d10v.h binutils-2.16.90.0.3/include/opcode/d10v.h --- binutils-2.16.90.0.2/include/opcode/d10v.h 2004-01-14 13:07:52.000000000 -0800 +++ binutils-2.16.90.0.3/include/opcode/d10v.h 2005-05-10 15:46:52.000000000 -0700 @@ -17,7 +17,7 @@ the GNU General Public License for more You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef D10V_H #define D10V_H diff -uprN binutils-2.16.90.0.2/include/opcode/d30v.h binutils-2.16.90.0.3/include/opcode/d30v.h --- binutils-2.16.90.0.2/include/opcode/d30v.h 2004-01-14 13:07:52.000000000 -0800 +++ binutils-2.16.90.0.3/include/opcode/d30v.h 2005-05-10 15:46:52.000000000 -0700 @@ -16,7 +16,7 @@ the GNU General Public License for more You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef D30V_H #define D30V_H diff -uprN binutils-2.16.90.0.2/include/opcode/dlx.h binutils-2.16.90.0.3/include/opcode/dlx.h --- binutils-2.16.90.0.2/include/opcode/dlx.h 2002-06-08 20:44:53.000000000 -0700 +++ binutils-2.16.90.0.3/include/opcode/dlx.h 2005-05-10 15:46:52.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. Initially created by Kuang Hwa Lin, 2002. */ diff -uprN binutils-2.16.90.0.2/include/opcode/h8300.h binutils-2.16.90.0.3/include/opcode/h8300.h --- binutils-2.16.90.0.2/include/opcode/h8300.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/opcode/h8300.h 2005-05-10 15:46:53.000000000 -0700 @@ -18,8 +18,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* Instructions are stored as a sequence of nibbles. If the nibble has value 15 or less than the representation is complete. diff -uprN binutils-2.16.90.0.2/include/opcode/hppa.h binutils-2.16.90.0.3/include/opcode/hppa.h --- binutils-2.16.90.0.2/include/opcode/hppa.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/opcode/hppa.h 2005-05-10 15:46:53.000000000 -0700 @@ -20,7 +20,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with GAS or GDB; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #if !defined(__STDC__) && !defined(const) #define const diff -uprN binutils-2.16.90.0.2/include/opcode/i370.h binutils-2.16.90.0.3/include/opcode/i370.h --- binutils-2.16.90.0.2/include/opcode/i370.h 2004-01-14 13:07:52.000000000 -0800 +++ binutils-2.16.90.0.3/include/opcode/i370.h 2005-05-10 15:46:53.000000000 -0700 @@ -17,7 +17,7 @@ the GNU General Public License for more You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef I370_H #define I370_H diff -uprN binutils-2.16.90.0.2/include/opcode/i386.h binutils-2.16.90.0.3/include/opcode/i386.h --- binutils-2.16.90.0.2/include/opcode/i386.h 2005-04-29 10:50:30.000000000 -0700 +++ binutils-2.16.90.0.3/include/opcode/i386.h 2005-05-10 15:46:53.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* The SystemV/386 SVR3.2 assembler, and probably all AT&T derived ix86 Unix assemblers, generate floating point instructions with @@ -876,6 +876,8 @@ static const template i386_optab[] = {"repz", 0, 0xf3, X, 0, NoSuf|IsPrefix, { 0, 0, 0} }, {"repne", 0, 0xf2, X, 0, NoSuf|IsPrefix, { 0, 0, 0} }, {"repnz", 0, 0xf2, X, 0, NoSuf|IsPrefix, { 0, 0, 0} }, +{"ht", 0, 0x3e, X, 0, NoSuf|IsPrefix, { 0, 0, 0} }, +{"hnt", 0, 0x2e, X, 0, NoSuf|IsPrefix, { 0, 0, 0} }, {"rex", 0, 0x40, X, Cpu64, NoSuf|IsPrefix, { 0, 0, 0} }, {"rexz", 0, 0x41, X, Cpu64, NoSuf|IsPrefix, { 0, 0, 0} }, {"rexy", 0, 0x42, X, Cpu64, NoSuf|IsPrefix, { 0, 0, 0} }, diff -uprN binutils-2.16.90.0.2/include/opcode/i860.h binutils-2.16.90.0.3/include/opcode/i860.h --- binutils-2.16.90.0.2/include/opcode/i860.h 2005-04-09 12:03:18.000000000 -0700 +++ binutils-2.16.90.0.3/include/opcode/i860.h 2005-05-10 15:46:53.000000000 -0700 @@ -15,8 +15,8 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with GAS or GDB; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ +the Free Software Foundation, 51 Franklin Street - Fifth Floor, +Boston, MA 02110-1301, USA. */ /* Structure of an opcode table entry. */ diff -uprN binutils-2.16.90.0.2/include/opcode/i960.h binutils-2.16.90.0.3/include/opcode/i960.h --- binutils-2.16.90.0.2/include/opcode/i960.h 2001-03-15 14:53:14.000000000 -0800 +++ binutils-2.16.90.0.3/include/opcode/i960.h 2005-05-10 15:46:53.000000000 -0700 @@ -14,8 +14,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. + Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. The 'COJ' instructions are actually COBR instructions with the 'b' in the mnemonic replaced by a 'j'; they are ALWAYS "de-optimized" if necessary: diff -uprN binutils-2.16.90.0.2/include/opcode/m68hc11.h binutils-2.16.90.0.3/include/opcode/m68hc11.h --- binutils-2.16.90.0.2/include/opcode/m68hc11.h 2003-05-15 13:42:25.000000000 -0700 +++ binutils-2.16.90.0.3/include/opcode/m68hc11.h 2005-05-10 15:46:53.000000000 -0700 @@ -16,7 +16,7 @@ the GNU General Public License for more You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _OPCODE_M68HC11_H #define _OPCODE_M68HC11_H diff -uprN binutils-2.16.90.0.2/include/opcode/m68k.h binutils-2.16.90.0.3/include/opcode/m68k.h --- binutils-2.16.90.0.2/include/opcode/m68k.h 2004-07-27 21:36:10.000000000 -0700 +++ binutils-2.16.90.0.3/include/opcode/m68k.h 2005-05-10 15:46:53.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* These are used as bit flags for the arch field in the m68k_opcode structure. */ diff -uprN binutils-2.16.90.0.2/include/opcode/m88k.h binutils-2.16.90.0.3/include/opcode/m88k.h --- binutils-2.16.90.0.2/include/opcode/m88k.h 2005-04-29 10:50:30.000000000 -0700 +++ binutils-2.16.90.0.3/include/opcode/m88k.h 2005-05-10 15:46:53.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* * Disassembler Instruction Table diff -uprN binutils-2.16.90.0.2/include/opcode/maxq.h binutils-2.16.90.0.3/include/opcode/maxq.h --- binutils-2.16.90.0.2/include/opcode/maxq.h 2004-11-22 12:33:32.000000000 -0800 +++ binutils-2.16.90.0.3/include/opcode/maxq.h 2005-05-10 15:46:53.000000000 -0700 @@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free Software - Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _MAXQ20_H_ #define _MAXQ20_H_ diff -uprN binutils-2.16.90.0.2/include/opcode/mips.h binutils-2.16.90.0.3/include/opcode/mips.h --- binutils-2.16.90.0.2/include/opcode/mips.h 2005-04-09 12:03:19.000000000 -0700 +++ binutils-2.16.90.0.3/include/opcode/mips.h 2005-05-10 15:46:53.000000000 -0700 @@ -19,7 +19,7 @@ the GNU General Public License for more You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _MIPS_H_ #define _MIPS_H_ diff -uprN binutils-2.16.90.0.2/include/opcode/mmix.h binutils-2.16.90.0.3/include/opcode/mmix.h --- binutils-2.16.90.0.2/include/opcode/mmix.h 2004-01-14 13:07:52.000000000 -0800 +++ binutils-2.16.90.0.3/include/opcode/mmix.h 2005-05-10 15:46:53.000000000 -0700 @@ -16,7 +16,7 @@ the GNU General Public License for more You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* We could have just a char*[] table indexed by the register number, but that would not allow for synonyms. The table is terminated with an diff -uprN binutils-2.16.90.0.2/include/opcode/mn10200.h binutils-2.16.90.0.3/include/opcode/mn10200.h --- binutils-2.16.90.0.2/include/opcode/mn10200.h 1999-06-03 11:02:09.000000000 -0700 +++ binutils-2.16.90.0.3/include/opcode/mn10200.h 2005-05-10 15:46:53.000000000 -0700 @@ -16,7 +16,7 @@ the GNU General Public License for more You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef MN10200_H #define MN10200_H diff -uprN binutils-2.16.90.0.2/include/opcode/mn10300.h binutils-2.16.90.0.3/include/opcode/mn10300.h --- binutils-2.16.90.0.2/include/opcode/mn10300.h 2005-04-09 12:03:19.000000000 -0700 +++ binutils-2.16.90.0.3/include/opcode/mn10300.h 2005-05-10 15:46:53.000000000 -0700 @@ -16,7 +16,7 @@ the GNU General Public License for more You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef MN10300_H #define MN10300_H diff -uprN binutils-2.16.90.0.2/include/opcode/msp430.h binutils-2.16.90.0.3/include/opcode/msp430.h --- binutils-2.16.90.0.2/include/opcode/msp430.h 2004-11-22 12:33:32.000000000 -0800 +++ binutils-2.16.90.0.3/include/opcode/msp430.h 2005-05-10 15:46:53.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef __MSP430_H_ #define __MSP430_H_ diff -uprN binutils-2.16.90.0.2/include/opcode/np1.h binutils-2.16.90.0.3/include/opcode/np1.h --- binutils-2.16.90.0.2/include/opcode/np1.h 2001-03-15 14:53:16.000000000 -0800 +++ binutils-2.16.90.0.3/include/opcode/np1.h 2005-05-10 15:46:53.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with GDB; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ struct gld_opcode { diff -uprN binutils-2.16.90.0.2/include/opcode/ns32k.h binutils-2.16.90.0.3/include/opcode/ns32k.h --- binutils-2.16.90.0.2/include/opcode/ns32k.h 2002-12-16 12:22:53.000000000 -0800 +++ binutils-2.16.90.0.3/include/opcode/ns32k.h 2005-05-10 15:46:53.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef SEQUENT_COMPATABILITY diff -uprN binutils-2.16.90.0.2/include/opcode/or32.h binutils-2.16.90.0.3/include/opcode/or32.h --- binutils-2.16.90.0.2/include/opcode/or32.h 2004-01-14 13:07:52.000000000 -0800 +++ binutils-2.16.90.0.3/include/opcode/or32.h 2005-05-10 15:46:53.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* We treat all letters the same in encode/decode routines so we need to assign some characteristics to them like signess etc. */ diff -uprN binutils-2.16.90.0.2/include/opcode/pdp11.h binutils-2.16.90.0.3/include/opcode/pdp11.h --- binutils-2.16.90.0.2/include/opcode/pdp11.h 2002-03-07 11:52:39.000000000 -0800 +++ binutils-2.16.90.0.3/include/opcode/pdp11.h 2005-05-10 15:46:53.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with GDB or GAS; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* * PDP-11 opcode types. diff -uprN binutils-2.16.90.0.2/include/opcode/pj.h binutils-2.16.90.0.3/include/opcode/pj.h --- binutils-2.16.90.0.2/include/opcode/pj.h 2004-01-14 13:07:52.000000000 -0800 +++ binutils-2.16.90.0.3/include/opcode/pj.h 2005-05-10 15:46:53.000000000 -0700 @@ -14,7 +14,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Names used to describe the type of instruction arguments, used by diff -uprN binutils-2.16.90.0.2/include/opcode/pn.h binutils-2.16.90.0.3/include/opcode/pn.h --- binutils-2.16.90.0.2/include/opcode/pn.h 2001-03-15 14:53:16.000000000 -0800 +++ binutils-2.16.90.0.3/include/opcode/pn.h 2005-05-10 15:46:53.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with GDB; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ struct gld_opcode { diff -uprN binutils-2.16.90.0.2/include/opcode/ppc.h binutils-2.16.90.0.3/include/opcode/ppc.h --- binutils-2.16.90.0.2/include/opcode/ppc.h 2004-09-15 12:05:04.000000000 -0700 +++ binutils-2.16.90.0.3/include/opcode/ppc.h 2005-05-10 15:46:53.000000000 -0700 @@ -17,7 +17,7 @@ the GNU General Public License for more You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef PPC_H #define PPC_H diff -uprN binutils-2.16.90.0.2/include/opcode/pyr.h binutils-2.16.90.0.3/include/opcode/pyr.h --- binutils-2.16.90.0.2/include/opcode/pyr.h 2001-03-15 14:53:17.000000000 -0800 +++ binutils-2.16.90.0.3/include/opcode/pyr.h 2005-05-10 15:46:53.000000000 -0700 @@ -14,8 +14,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ /* pyramid opcode table: wot to do with this particular opcode */ diff -uprN binutils-2.16.90.0.2/include/opcode/s390.h binutils-2.16.90.0.3/include/opcode/s390.h --- binutils-2.16.90.0.2/include/opcode/s390.h 2005-04-09 12:03:19.000000000 -0700 +++ binutils-2.16.90.0.3/include/opcode/s390.h 2005-05-10 15:46:53.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef S390_H #define S390_H diff -uprN binutils-2.16.90.0.2/include/opcode/sparc.h binutils-2.16.90.0.3/include/opcode/sparc.h --- binutils-2.16.90.0.2/include/opcode/sparc.h 2004-01-14 13:07:52.000000000 -0800 +++ binutils-2.16.90.0.3/include/opcode/sparc.h 2005-05-10 15:46:53.000000000 -0700 @@ -17,8 +17,8 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with GAS or GDB; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ +the Free Software Foundation, 51 Franklin Street - Fifth Floor, +Boston, MA 02110-1301, USA. */ #include "ansidecl.h" diff -uprN binutils-2.16.90.0.2/include/opcode/tic30.h binutils-2.16.90.0.3/include/opcode/tic30.h --- binutils-2.16.90.0.2/include/opcode/tic30.h 1999-06-03 11:02:09.000000000 -0700 +++ binutils-2.16.90.0.3/include/opcode/tic30.h 2005-05-10 15:46:53.000000000 -0700 @@ -16,8 +16,8 @@ the GNU General Public License for more You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA +02110-1301, USA. */ /* FIXME: The opcode table should be in opcodes/tic30-opc.c, not in a header file. */ diff -uprN binutils-2.16.90.0.2/include/opcode/tic4x.h binutils-2.16.90.0.3/include/opcode/tic4x.h --- binutils-2.16.90.0.2/include/opcode/tic4x.h 2003-05-05 14:46:49.000000000 -0700 +++ binutils-2.16.90.0.3/include/opcode/tic4x.h 2005-05-10 15:46:53.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define IS_CPU_TIC3X(v) ((v) == 30 || (v) == 31 || (v) == 32 || (v) == 33) diff -uprN binutils-2.16.90.0.2/include/opcode/tic54x.h binutils-2.16.90.0.3/include/opcode/tic54x.h --- binutils-2.16.90.0.2/include/opcode/tic54x.h 2005-04-09 12:03:19.000000000 -0700 +++ binutils-2.16.90.0.3/include/opcode/tic54x.h 2005-05-10 15:46:53.000000000 -0700 @@ -16,8 +16,8 @@ the GNU General Public License for more You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA +02110-1301, USA. */ #ifndef _opcode_tic54x_h_ #define _opcode_tic54x_h_ diff -uprN binutils-2.16.90.0.2/include/opcode/tic80.h binutils-2.16.90.0.3/include/opcode/tic80.h --- binutils-2.16.90.0.2/include/opcode/tic80.h 2004-01-14 13:07:52.000000000 -0800 +++ binutils-2.16.90.0.3/include/opcode/tic80.h 2005-05-10 15:46:53.000000000 -0700 @@ -16,7 +16,7 @@ the GNU General Public License for more You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef TIC80_H #define TIC80_H diff -uprN binutils-2.16.90.0.2/include/opcode/v850.h binutils-2.16.90.0.3/include/opcode/v850.h --- binutils-2.16.90.0.2/include/opcode/v850.h 2004-01-14 13:07:52.000000000 -0800 +++ binutils-2.16.90.0.3/include/opcode/v850.h 2005-05-10 15:46:53.000000000 -0700 @@ -16,7 +16,7 @@ the GNU General Public License for more You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef V850_H #define V850_H diff -uprN binutils-2.16.90.0.2/include/opcode/vax.h binutils-2.16.90.0.3/include/opcode/vax.h --- binutils-2.16.90.0.2/include/opcode/vax.h 2001-03-15 14:53:17.000000000 -0800 +++ binutils-2.16.90.0.3/include/opcode/vax.h 2005-05-10 15:46:53.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with GDB or GAS; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef vax_opcodeT #define vax_opcodeT int diff -uprN binutils-2.16.90.0.2/include/os9k.h binutils-2.16.90.0.3/include/os9k.h --- binutils-2.16.90.0.2/include/os9k.h 2001-03-15 14:53:01.000000000 -0800 +++ binutils-2.16.90.0.3/include/os9k.h 2005-05-10 15:46:49.000000000 -0700 @@ -15,8 +15,8 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ +the Free Software Foundation, 51 Franklin Street - Fifth Floor, +Boston, MA 02110-1301, USA. */ #if !defined(_MODULE_H) #define _MODULE_H diff -uprN binutils-2.16.90.0.2/include/partition.h binutils-2.16.90.0.3/include/partition.h --- binutils-2.16.90.0.2/include/partition.h 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/include/partition.h 2005-05-10 15:46:49.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ /* This package implements a partition of consecutive integers. The elements are partitioned into classes. Each class is represented diff -uprN binutils-2.16.90.0.2/include/progress.h binutils-2.16.90.0.3/include/progress.h --- binutils-2.16.90.0.2/include/progress.h 2001-03-15 14:53:01.000000000 -0800 +++ binutils-2.16.90.0.3/include/progress.h 2005-05-10 15:46:49.000000000 -0700 @@ -13,7 +13,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* The default definitions below are intended to be replaced by real definitions, if building the tools for an interactive programming diff -uprN binutils-2.16.90.0.2/include/safe-ctype.h binutils-2.16.90.0.3/include/safe-ctype.h --- binutils-2.16.90.0.2/include/safe-ctype.h 2004-01-14 13:07:51.000000000 -0800 +++ binutils-2.16.90.0.3/include/safe-ctype.h 2005-05-10 15:46:49.000000000 -0700 @@ -16,8 +16,8 @@ Library General Public License for more You should have received a copy of the GNU Library General Public License along with libiberty; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ +not, write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, +Boston, MA 02110-1301, USA. */ /* This is a compatible replacement of the standard C library's with the following properties: diff -uprN binutils-2.16.90.0.2/include/sort.h binutils-2.16.90.0.3/include/sort.h --- binutils-2.16.90.0.2/include/sort.h 2005-04-29 10:50:30.000000000 -0700 +++ binutils-2.16.90.0.3/include/sort.h 2005-05-10 15:46:49.000000000 -0700 @@ -16,8 +16,8 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ +the Free Software Foundation, 51 Franklin Street - Fifth Floor, +Boston, MA 02110-1301, USA. */ #ifndef SORT_H #define SORT_H diff -uprN binutils-2.16.90.0.2/include/splay-tree.h binutils-2.16.90.0.3/include/splay-tree.h --- binutils-2.16.90.0.2/include/splay-tree.h 2005-04-29 10:50:30.000000000 -0700 +++ binutils-2.16.90.0.3/include/splay-tree.h 2005-05-10 15:46:49.000000000 -0700 @@ -16,8 +16,8 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ +the Free Software Foundation, 51 Franklin Street - Fifth Floor, +Boston, MA 02110-1301, USA. */ /* For an easily readable description of splay-trees, see: diff -uprN binutils-2.16.90.0.2/include/symcat.h binutils-2.16.90.0.3/include/symcat.h --- binutils-2.16.90.0.2/include/symcat.h 2000-06-17 16:11:55.000000000 -0700 +++ binutils-2.16.90.0.3/include/symcat.h 2005-05-10 15:46:49.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., - 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef SYM_CAT_H #define SYM_CAT_H diff -uprN binutils-2.16.90.0.2/include/ternary.h binutils-2.16.90.0.3/include/ternary.h --- binutils-2.16.90.0.2/include/ternary.h 2005-04-29 10:50:30.000000000 -0700 +++ binutils-2.16.90.0.3/include/ternary.h 2005-05-10 15:46:49.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef TERNARY_H_ #define TERNARY_H_ diff -uprN binutils-2.16.90.0.2/include/xregex2.h binutils-2.16.90.0.3/include/xregex2.h --- binutils-2.16.90.0.2/include/xregex2.h 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/include/xregex2.h 2005-05-10 15:46:49.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ + Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301 USA. */ #ifndef _REGEX_H #define _REGEX_H 1 diff -uprN binutils-2.16.90.0.2/include/xtensa-config.h binutils-2.16.90.0.3/include/xtensa-config.h --- binutils-2.16.90.0.2/include/xtensa-config.h 2004-11-22 12:33:32.000000000 -0800 +++ binutils-2.16.90.0.3/include/xtensa-config.h 2005-05-10 15:46:49.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef XTENSA_CONFIG_H #define XTENSA_CONFIG_H diff -uprN binutils-2.16.90.0.2/include/xtensa-isa.h binutils-2.16.90.0.3/include/xtensa-isa.h --- binutils-2.16.90.0.2/include/xtensa-isa.h 2005-04-09 12:03:17.000000000 -0700 +++ binutils-2.16.90.0.3/include/xtensa-isa.h 2005-05-10 15:46:49.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef XTENSA_LIBISA_H #define XTENSA_LIBISA_H diff -uprN binutils-2.16.90.0.2/include/xtensa-isa-internal.h binutils-2.16.90.0.3/include/xtensa-isa-internal.h --- binutils-2.16.90.0.2/include/xtensa-isa-internal.h 2005-04-09 12:03:16.000000000 -0700 +++ binutils-2.16.90.0.3/include/xtensa-isa-internal.h 2005-05-10 15:46:49.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef XTENSA_ISA_INTERNAL_H #define XTENSA_ISA_INTERNAL_H diff -uprN binutils-2.16.90.0.2/ld/ChangeLog binutils-2.16.90.0.3/ld/ChangeLog --- binutils-2.16.90.0.2/ld/ChangeLog 2005-04-29 10:50:30.000000000 -0700 +++ binutils-2.16.90.0.3/ld/ChangeLog 2005-05-10 15:46:53.000000000 -0700 @@ -1,3 +1,112 @@ +2005-05-10 Alan Modra + + * scripttempl/elf.sc (DATA_SEGMENT_RELRO_GOTPLT_END): Delete. + (DATA_SEGMENT_RELRO_END): Use SEPARATE_GOTPLT value. + (GOTPLT): Remove DATA_SEGMENT_RELRO_GOTPLT_END. Place after + DATA_SEGMENT_RELRO_END in script. + +2005-05-09 H.J. Lu + + * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): + Don't use a removed section. + +2005-05-09 H.J. Lu + + * ldmain.c (reloc_overflow): Use output_bfd if the symbol + is defined in the ABS section. + +2005-05-06 H.J. Lu + + * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms): + Put back !link_info.relocatable. + +2005-05-06 H.J. Lu + + PR 878 + * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms): + Just check link_info.executable. + +2005-05-06 Nick Clifton + + * Update the address and phone number of the FSF organization in + the GPL notices in the following files: + aclocal.m4, deffile.h, deffilep.y, fdl.texi, ld.h, ldcref.c, + ldctor.c, ldctor.h, ldemul.c, ldexp.c, ldexp.h, ldfile.c, + ldfile.h, 20ldgram.y, ldint.texinfo, ldlang.c, ldlang.h, ldlex.h, + ldlex.l, ldmain.c, ldmain.h, ldmisc.c, ldmisc.h, ldver.c, ldver.h, + ldwrite.c, ldwrite.h, lexsup.c, mri.c, mri.h, pe-dll.c, pe-dll.h, + sysdep.h, emultempl/aix.em, emultempl/alphaelf.em, + emultempl/armcoff.em, emultempl/armelf.em, emultempl/beos.em, + emultempl/crxelf.em, emultempl/elf32.em, emultempl/generic.em, + emultempl/gld960.em, emultempl/gld960c.em, emultempl/hppaelf.em, + emultempl/ia64elf.em, emultempl/irix.em, emultempl/linux.em, + emultempl/lnk960.em, emultempl/m68hc1xelf.em, + emultempl/m68kcoff.em, emultempl/m68kelf.em, + emultempl/mipsecoff.em, emultempl/mmix-elfnmmo.em, + emultempl/mmixelf.em, emultempl/mmo.em, emultempl/needrelax.em, + emultempl/pe.em, emultempl/ppc32elf.em, emultempl/ppc64elf.em, + emultempl/sh64elf.em, emultempl/sunos.em, emultempl/ticoff.em, + emultempl/vanilla.em, emultempl/xtensaelf.em + +2005-05-05 H.J. Lu + + * scripttempl/elf.sc: Document the usage of __bss_start. + +2005-05-05 Paul Brook + + * Makefile.am: Add eelf_i386_vxworks. + * Makefile.in: Regenerate. + * configure.tgt: Make i?86-*-vxworks use targ_emul=elf_i386_vxworks. + * emulparams/elf_i386_vxworks.sh: New file. + * emulparams/vxworks.sh: New file. + * scripttempl/elf.sc: Add DATA_END_SYMBOLS and ETEXT_NAME. + +2005-05-04 H.J. Lu + + * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): + Call _bfd_elf_provide_section_bound_symbols. + +2005-05-04 Alan Modra + + * ldemul.c: Include bfdlink.h. + (ldemul_before_allocation): Assume before_allocation is non-zero. + (before_allocation_default): Call strip_excluded_output_sections. + * ldlang.c (stripped_excluded_sections): New variable. + (lang_add_section): Build input section list for each output + section, attached via map_head and map_tail pointers. + (strip_excluded_output_sections): Make global. Traverse the + input section lists to find which output sections can go. Clear + link_order pointers and set stripped_excluded_sections. + (lang_process): Call strip_excluded_output_sections. + * ldlang.h (strip_excluded_output_sections): Declare. + * ldwrite.c: Update throuhout for link_order_head -> map_head change. + * emultempl/aix.em (before_allocation): Call + strip_excluded_output_sections. + * emultempl/armcoff.em (before_allocation): Likewise. + * emultempl/beos.em (before_allocation): Likewise. + * emultempl/linux.em (before_allocation): Likewise. + * emultempl/pe.em (before_allocation): Likewise. + * emultempl/sunos.em (before_allocation): Likewise. + * emultempl/elf32.em (before_allocation): Likewise. Call + bfd_elf_size_dynsym_hash_dynstr too. + * emultempl/lnk960.em (lnk960_before_allocation): Delete. + (ld_lnk960): Use before_allocation_default. + +2005-05-02 H.J. Lu + + * emultempl/elf32.em (gld${EMULATION_NAME}_strip_empty_section): + Updated for bfd_section_list_remove change. + * ldlang.c (lang_insert_orphan): Likewise. + (strip_excluded_output_sections): Likewise. + (sort_sections_by_lma): New. + (lang_check_section_addresses): Sort the sections before + checking addresses. + +2005-04-29 Ralf Corsepius + + * configure.tgt: Add h8300*-*-rtemscoff. + Switch h8300*-*-rtems* to elf. + 2005-04-29 Ben Elliston * ldgram.y (lang_memory_region_type): Make static. @@ -703,14 +812,6 @@ * scripttempl/maxqcoff.sc: New linker script for target maxq. * NEWS: Mention the new target. -2004-11-08 Aaron W. LaFramboise - - * testsuite/ld-scripts/weak.exp: Enable test on PE, - XFAIL non-i386 PE. - * testsuite/ld-undefined/weak-undef.exp: Enable test on PE, - XFAIL non-i386 PE. - * testsuite/lib/ld-lib.exp (is_pecoff_format): New. - 2004-11-04 Daniel Jacobowitz * Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o. @@ -1417,25 +1518,6 @@ * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles.. (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here. -2004-05-28 Andrew Stubbs - - * testsuite/ld-sh/arch/arch.exp: New test script. - * testsuite/ld-sh/arch/arch_expected.txt: New file. - * testsuite/ld-sh/arch/sh.s: New file. - * testsuite/ld-sh/arch/sh2.s: New file. - * testsuite/ld-sh/arch/sh-dsp.s: New file. - * testsuite/ld-sh/arch/sh2e.s: New file. - * testsuite/ld-sh/arch/sh3-nommu.s: New file. - * testsuite/ld-sh/arch/sh3.s: New file. - * testsuite/ld-sh/arch/sh3-dsp.s: New file. - * testsuite/ld-sh/arch/sh3e.s: New file. - * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file. - * testsuite/ld-sh/arch/sh4-nofpu.s: New file. - * testsuite/ld-sh/arch/sh4.s: New file. - * testsuite/ld-sh/arch/sh4a-nofpu.s: New file. - * testsuite/ld-sh/arch/sh4al-dsp.s: New file. - * testsuite/ld-sh/arch/sh4a.s: New file. - 2004-05-28 Alan Modra * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags diff -uprN binutils-2.16.90.0.2/ld/configure.tgt binutils-2.16.90.0.3/ld/configure.tgt --- binutils-2.16.90.0.2/ld/configure.tgt 2005-04-09 12:03:19.000000000 -0700 +++ binutils-2.16.90.0.3/ld/configure.tgt 2005-05-10 15:46:53.000000000 -0700 @@ -237,7 +237,7 @@ i[3-7]86-*-interix*) targ_emul=i386pe_po targ_extra_ofiles="deffilep.o pe-dll.o" ;; i[3-7]86-*-beospe*) targ_emul=i386beos ;; i[3-7]86-*-beos*) targ_emul=elf_i386_be ;; -i[3-7]86-*-vxworks*) targ_emul=elf_i386 ;; +i[3-7]86-*-vxworks*) targ_emul=elf_i386_vxworks ;; i[3-7]86-*-chaos) targ_emul=elf_i386_chaos ;; m8*-*-*) targ_emul=m88kbcs ;; a29k-*-udi) targ_emul=sa29200 ;; @@ -284,10 +284,10 @@ thumb-*-pe) targ_emul=armpe ; targ_extra_ofiles="deffilep.o pe-dll.o" ;; xscale-*-coff) targ_emul=armcoff ;; xscale-*-elf) targ_emul=armelf ;; -h8300-*-hms* | h8300-*-coff* | h8300-*-rtems*) +h8300-*-hms* | h8300-*-coff* | h8300-*-rtemscoff*) targ_emul=h8300; targ_extra_emuls="h8300h h8300s h8300hn h8300sn h8300sx h8300sxn" ;; -h8300-*-elf*) +h8300-*-elf* | h8300-*-rtems*) targ_emul=h8300elf; targ_extra_emuls="h8300helf h8300self h8300hnelf h8300snelf h8300sxelf h8300sxnelf" ;; diff -uprN binutils-2.16.90.0.2/ld/emulparams/elf_i386_vxworks.sh binutils-2.16.90.0.3/ld/emulparams/elf_i386_vxworks.sh --- binutils-2.16.90.0.2/ld/emulparams/elf_i386_vxworks.sh 1969-12-31 16:00:00.000000000 -0800 +++ binutils-2.16.90.0.3/ld/emulparams/elf_i386_vxworks.sh 2005-05-10 15:46:53.000000000 -0700 @@ -0,0 +1,14 @@ +SCRIPT_NAME=elf +OUTPUT_FORMAT="elf32-i386-vxworks" +TEXT_START_ADDR=0x08048000 +MAXPAGESIZE=0x1000 +COMMONPAGESIZE=0x1000 +NONPAGED_TEXT_START_ADDR=0x08048000 +ARCH=i386 +MACHINE= +NOP=0x90909090 +TEMPLATE_NAME=elf32 +GENERATE_SHLIB_SCRIPT=yes +GENERATE_PIE_SCRIPT=yes +NO_SMALL_DATA=yes +. ${srcdir}/emulparams/vxworks.sh diff -uprN binutils-2.16.90.0.2/ld/emulparams/vxworks.sh binutils-2.16.90.0.3/ld/emulparams/vxworks.sh --- binutils-2.16.90.0.2/ld/emulparams/vxworks.sh 1969-12-31 16:00:00.000000000 -0800 +++ binutils-2.16.90.0.3/ld/emulparams/vxworks.sh 2005-05-10 15:46:53.000000000 -0700 @@ -0,0 +1,25 @@ +# If you change this file, please also look at files which source this one: +# elf_i386_vxworks.sh elf32ppcvxworks.sh elf32ebmipvxworks.sh + +# The Diab tools use a different init/fini convention. Initialization code +# is place in sections named ".init$NN". These sections are then concatenated +# into the .init section. It is important that .init$00 be first and .init$99 +# be last. The other sections should be sorted, but the current linker script +# parse does not seem to allow that with the SORT keyword in this context. +INIT_START='_init = .; + KEEP (*(.init$00)); + KEEP (*(.init$0[1-9])); + KEEP (*(.init$[1-8][0-9])); + KEEP (*(.init$9[0-8]));' +INIT_END='KEEP (*(.init$99));' +FINI_START='_fini = .; + KEEP (*(.fini$00)); + KEEP (*(.fini$0[1-9])); + KEEP (*(.fini$[1-8][0-9])); + KEEP (*(.fini$9[0-8]));' +FINI_END='KEEP (*(.fini$99)); + PROVIDE (_etext = .);' + +ETEXT_NAME=etext_unrelocated +OTHER_END_SYMBOLS="PROVIDE (_ehdr = ${TEXT_START_ADDR});" +DATA_END_SYMBOLS=".edata : { PROVIDE (_edata = .); }" diff -uprN binutils-2.16.90.0.2/ld/emultempl/aix.em binutils-2.16.90.0.3/ld/emultempl/aix.em --- binutils-2.16.90.0.2/ld/emultempl/aix.em 2005-04-09 12:03:23.000000000 -0700 +++ binutils-2.16.90.0.3/ld/emultempl/aix.em 2005-05-10 15:46:53.000000000 -0700 @@ -10,7 +10,7 @@ cat >e${EMULATION_NAME}.c < AIX support by Ian Lance Taylor @@ -787,6 +787,9 @@ gld${EMULATION_NAME}_before_allocation ( &is->header.next); } } + + if (!link_info.relocatable) + strip_excluded_output_sections (); } static char * diff -uprN binutils-2.16.90.0.2/ld/emultempl/armcoff.em binutils-2.16.90.0.3/ld/emultempl/armcoff.em --- binutils-2.16.90.0.2/ld/emultempl/armcoff.em 2004-01-14 13:07:52.000000000 -0800 +++ binutils-2.16.90.0.3/ld/emultempl/armcoff.em 2005-05-10 15:46:53.000000000 -0700 @@ -5,7 +5,7 @@ cat >e${EMULATION_NAME}.c <head); + + if (!link_info.relocatable) + strip_excluded_output_sections (); } /* Place an orphan section. We use this to put sections with a '\$' in them diff -uprN binutils-2.16.90.0.2/ld/emultempl/elf32.em binutils-2.16.90.0.3/ld/emultempl/elf32.em --- binutils-2.16.90.0.2/ld/emultempl/elf32.em 2005-04-29 10:50:30.000000000 -0700 +++ binutils-2.16.90.0.3/ld/emultempl/elf32.em 2005-05-10 15:46:53.000000000 -0700 @@ -1069,6 +1069,7 @@ gld${EMULATION_NAME}_before_allocation ( (const char * const *) command_line.auxiliary_filters, &link_info, &sinterp, lang_elf_version_info))) einfo ("%P%F: failed to set dynamic section sizes: %E\n"); + ${ELF_INTERPRETER_SET_DEFAULT} /* Let the user override the dynamic linker we are using. */ if (command_line.interpreter != NULL @@ -1125,6 +1126,12 @@ ${ELF_INTERPRETER_SET_DEFAULT} s->flags |= SEC_EXCLUDE; } } + + if (!link_info.relocatable) + strip_excluded_output_sections (); + + if (!bfd_elf_size_dynsym_hash_dynstr (output_bfd, &link_info)) + einfo ("%P%F: failed to set dynamic section sizes: %E\n"); } EOF @@ -1446,35 +1453,10 @@ gld${EMULATION_NAME}_provide_bound_symbo const char *start, const char *end) { - asection *s; - bfd_vma start_val, end_val; - - s = bfd_get_section_by_name (output_bfd, sec); - if (s != NULL) - { - start_val = s->vma; - end_val = start_val + s->size; - } - else - { - /* We have to choose those values very carefully. Some targets, - like alpha, may have relocation overflow with 0. We use the - first SEC_ALLOC section which isn't SEC_READONLY or the last - SEC_ALLOC section. */ - start_val = 0; - for (s = output_bfd->sections; s != NULL; s = s->next) - { - if ((s->flags & SEC_ALLOC) != 0) - { - start_val = s->vma; - if ((s->flags & SEC_READONLY) == 0) - break; - } - } - end_val = start_val; - } - _bfd_elf_provide_symbol (&link_info, start, start_val); - _bfd_elf_provide_symbol (&link_info, end, end_val); + asection *s = bfd_get_section_by_name (output_bfd, sec); + if (s && bfd_section_removed_from_list (output_bfd, s)) + s = NULL; + _bfd_elf_provide_section_bound_symbols (&link_info, s, start, end); } /* If not building a shared library, provide @@ -1495,7 +1477,7 @@ gld${EMULATION_NAME}_provide_bound_symbo static void gld${EMULATION_NAME}_provide_init_fini_syms (void) { - if (!link_info.relocatable && !link_info.shared) + if (!link_info.relocatable && link_info.executable) { gld${EMULATION_NAME}_provide_bound_symbols (".preinit_array", "__preinit_array_start", @@ -1542,17 +1524,13 @@ gld${EMULATION_NAME}_strip_empty_section if (os == abs_output_section || os->constraint == -1) continue; s = os->bfd_section; - if (s != NULL && s->size == 0 && (s->flags & SEC_KEEP) == 0) + if (s != NULL + && s->size == 0 + && (s->flags & SEC_KEEP) == 0 + && !bfd_section_removed_from_list (output_bfd, s)) { - asection **p; - - for (p = &output_bfd->sections; *p; p = &(*p)->next) - if (*p == s) - { - bfd_section_list_remove (output_bfd, p); - output_bfd->section_count--; - break; - } + bfd_section_list_remove (output_bfd, s); + output_bfd->section_count--; } } } diff -uprN binutils-2.16.90.0.2/ld/emultempl/linux.em binutils-2.16.90.0.3/ld/emultempl/linux.em --- binutils-2.16.90.0.2/ld/emultempl/linux.em 2005-04-09 12:03:24.000000000 -0700 +++ binutils-2.16.90.0.3/ld/emultempl/linux.em 2005-05-10 15:46:53.000000000 -0700 @@ -10,7 +10,7 @@ cat >e${EMULATION_NAME}.c < Linux support by Eric Youngdale @@ -121,6 +121,8 @@ gld${EMULATION_NAME}_before_allocation ( dynamic linking. */ if (! bfd_${EMULATION_NAME}_size_dynamic_sections (output_bfd, &link_info)) einfo ("%P%F: failed to set dynamic section sizes: %E\n"); + + strip_excluded_output_sections (); } static char * diff -uprN binutils-2.16.90.0.2/ld/emultempl/lnk960.em binutils-2.16.90.0.3/ld/emultempl/lnk960.em --- binutils-2.16.90.0.2/ld/emultempl/lnk960.em 2005-04-09 12:03:24.000000000 -0700 +++ binutils-2.16.90.0.3/ld/emultempl/lnk960.em 2005-05-10 15:46:53.000000000 -0700 @@ -130,11 +130,6 @@ lnk960_after_parse (void) } static void -lnk960_before_allocation (void) -{ -} - -static void lnk960_after_allocation (void) { if (!link_info.relocatable) @@ -273,7 +268,7 @@ struct ld_emulation_xfer_struct ld_lnk96 lnk960_after_allocation, lnk960_set_output_arch, lnk960_choose_target, - lnk960_before_allocation, + before_allocation_default, lnk960_get_script, "lnk960", "", diff -uprN binutils-2.16.90.0.2/ld/emultempl/m68kcoff.em binutils-2.16.90.0.3/ld/emultempl/m68kcoff.em --- binutils-2.16.90.0.2/ld/emultempl/m68kcoff.em 2005-04-09 12:03:24.000000000 -0700 +++ binutils-2.16.90.0.3/ld/emultempl/m68kcoff.em 2005-05-10 15:46:53.000000000 -0700 @@ -4,7 +4,7 @@ cat >e${EMULATION_NAME}.c <, based on generic.em by Steve Chamberlain , embedded relocs code based on mipsecoff.em by Ian Lance Taylor . diff -uprN binutils-2.16.90.0.2/ld/emultempl/pe.em binutils-2.16.90.0.3/ld/emultempl/pe.em --- binutils-2.16.90.0.2/ld/emultempl/pe.em 2005-04-09 12:03:24.000000000 -0700 +++ binutils-2.16.90.0.3/ld/emultempl/pe.em 2005-05-10 15:46:53.000000000 -0700 @@ -1287,6 +1287,9 @@ gld_${EMULATION_NAME}_before_allocation /* We have seen it all. Allocate it, and carry on. */ bfd_arm_pe_allocate_interworking_sections (& link_info); #endif /* TARGET_IS_armpe */ + + if (!link_info.relocatable) + strip_excluded_output_sections (); } #ifdef DLL_SUPPORT diff -uprN binutils-2.16.90.0.2/ld/emultempl/sunos.em binutils-2.16.90.0.3/ld/emultempl/sunos.em --- binutils-2.16.90.0.2/ld/emultempl/sunos.em 2005-04-09 12:03:24.000000000 -0700 +++ binutils-2.16.90.0.3/ld/emultempl/sunos.em 2005-05-10 15:46:53.000000000 -0700 @@ -809,6 +809,8 @@ gld${EMULATION_NAME}_before_allocation ( hdyn->u.def.section = sdyn; else hdyn->u.def.section = bfd_abs_section_ptr; + + strip_excluded_output_sections (); } } diff -uprN binutils-2.16.90.0.2/ld/ldemul.c binutils-2.16.90.0.3/ld/ldemul.c --- binutils-2.16.90.0.2/ld/ldemul.c 2005-04-29 10:50:30.000000000 -0700 +++ binutils-2.16.90.0.3/ld/ldemul.c 2005-05-10 15:46:53.000000000 -0700 @@ -1,6 +1,6 @@ /* ldemul.c -- clearing house for ld emulation states Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, - 2001, 2002, 2003 + 2001, 2002, 2003, 2005 Free Software Foundation, Inc. This file is part of GLD, the Gnu Linker. @@ -24,6 +24,7 @@ Software Foundation, 59 Temple Place - S #include "bfd.h" #include "sysdep.h" #include "getopt.h" +#include "bfdlink.h" #include "ld.h" #include "ldmisc.h" @@ -75,8 +76,7 @@ ldemul_after_allocation (void) void ldemul_before_allocation (void) { - if (ld_emulation->before_allocation) - ld_emulation->before_allocation (); + ld_emulation->before_allocation (); } void @@ -212,6 +212,8 @@ after_allocation_default (void) void before_allocation_default (void) { + if (!link_info.relocatable) + strip_excluded_output_sections (); } void diff -uprN binutils-2.16.90.0.2/ld/ldlang.c binutils-2.16.90.0.3/ld/ldlang.c --- binutils-2.16.90.0.2/ld/ldlang.c 2005-04-29 10:50:30.000000000 -0700 +++ binutils-2.16.90.0.3/ld/ldlang.c 2005-05-10 15:46:53.000000000 -0700 @@ -54,6 +54,7 @@ static struct obstack map_obstack; static const char *startup_file; static lang_statement_list_type input_file_chain; static bfd_boolean placed_commons = FALSE; +static bfd_boolean stripped_excluded_sections = FALSE; static lang_output_section_statement_type *default_common_section; static bfd_boolean map_option_f; static bfd_vma print_dot; @@ -1202,7 +1203,6 @@ lang_insert_orphan (lang_input_statement etree_type *load_base; lang_output_section_statement_type *os; lang_output_section_statement_type **os_tail; - asection **bfd_tail; /* Start building a list of statements for this section. First save the current statement pointer. */ @@ -1256,7 +1256,6 @@ lang_insert_orphan (lang_input_statement os_tail = ((lang_output_section_statement_type **) lang_output_section_statement.tail); - bfd_tail = output_bfd->section_tail; os = lang_enter_output_section_statement (secname, address, 0, NULL, NULL, load_base, 0); @@ -1288,7 +1287,7 @@ lang_insert_orphan (lang_input_statement if (after != NULL && os->bfd_section != NULL) { - asection *snew; + asection *snew, *as; snew = os->bfd_section; @@ -1314,12 +1313,15 @@ lang_insert_orphan (lang_input_statement if (place->section == NULL) place->section = &output_bfd->sections; - /* Unlink the section. */ - ASSERT (*bfd_tail == snew); - bfd_section_list_remove (output_bfd, bfd_tail); + as = *place->section; + if (as != snew && as->prev != snew) + { + /* Unlink the section. */ + bfd_section_list_remove (output_bfd, snew); - /* Now tack it back on in the right place. */ - bfd_section_list_insert (output_bfd, place->section, snew); + /* Now tack it back on in the right place. */ + bfd_section_list_insert_before (output_bfd, as, snew); + } /* Save the end of this list. Further ophans of this type will follow the one we've just added. */ @@ -1720,6 +1722,19 @@ lang_add_section (lang_statement_list_ty first = ! output->bfd_section->linker_has_input; output->bfd_section->linker_has_input = 1; + if (!link_info.relocatable + && !stripped_excluded_sections) + { + asection *s = output->bfd_section->map_tail.s; + output->bfd_section->map_tail.s = section; + section->map_head.s = NULL; + section->map_tail.s = s; + if (s != NULL) + s->map_head.s = section; + else + output->bfd_section->map_head.s = section; + } + /* Add a section reference to the list. */ new = new_stat (lang_input_section, ptr); @@ -3028,7 +3043,7 @@ map_input_to_output_sections added. For example, ldemul_before_allocation can remove dynamic sections if they turn out to be not needed. Clean them up here. */ -static void +void strip_excluded_output_sections (void) { lang_output_section_statement_type *os; @@ -3041,22 +3056,32 @@ strip_excluded_output_sections (void) if (os->constraint == -1) continue; - s = os->bfd_section; - if (s != NULL && (s->flags & SEC_EXCLUDE) != 0) - { - asection **p; - os->bfd_section = NULL; + if (os->bfd_section == NULL || os->bfd_section->map_head.s == NULL) + continue; - for (p = &output_bfd->sections; *p; p = &(*p)->next) - if (*p == s) - { - bfd_section_list_remove (output_bfd, p); - output_bfd->section_count--; - break; - } + for (s = os->bfd_section->map_head.s; s != NULL; s = s->map_head.s) + if ((s->flags & SEC_EXCLUDE) == 0) + break; + + os->bfd_section->map_head.link_order = NULL; + os->bfd_section->map_tail.link_order = NULL; + + if (s == NULL) + { + s = os->bfd_section; + os->bfd_section = NULL; + if (!bfd_section_removed_from_list (output_bfd, s)) + { + bfd_section_list_remove (output_bfd, s); + output_bfd->section_count--; + } } } + + /* Stop future calls to lang_add_section from messing with map_head + and map_tail link_order fields. */ + stripped_excluded_sections = TRUE; } static void @@ -3683,6 +3708,22 @@ size_input_section return dot; } +static int +sort_sections_by_lma (const void *arg1, const void *arg2) +{ + const asection *sec1 = *(const asection **) arg1; + const asection *sec2 = *(const asection **) arg2; + + if (bfd_section_lma (sec1->owner, sec1) + < bfd_section_lma (sec2->owner, sec2)) + return -1; + else if (bfd_section_lma (sec1->owner, sec1) + > bfd_section_lma (sec2->owner, sec2)) + return 1; + + return 0; +} + #define IGNORE_SECTION(s) \ ((s->flags & SEC_NEVER_LOAD) != 0 \ || (s->flags & SEC_ALLOC) == 0 \ @@ -3696,52 +3737,62 @@ size_input_section static void lang_check_section_addresses (void) { - asection *s; + asection *s, *os; + asection **sections, **spp; + unsigned int count; + bfd_vma s_start; + bfd_vma s_end; + bfd_vma os_start; + bfd_vma os_end; + bfd_size_type amt; + + if (bfd_count_sections (output_bfd) <= 1) + return; + + amt = bfd_count_sections (output_bfd) * sizeof (asection *); + sections = xmalloc (amt); /* Scan all sections in the output list. */ + count = 0; for (s = output_bfd->sections; s != NULL; s = s->next) { - asection *os; - - /* Ignore sections which are not loaded or which have no contents. */ + /* Only consider loadable sections with real contents. */ if (IGNORE_SECTION (s) || s->size == 0) continue; - /* Once we reach section 's' stop our seach. This prevents two - warning messages from being produced, one for 'section A overlaps - section B' and one for 'section B overlaps section A'. */ - for (os = output_bfd->sections; os != s; os = os->next) - { - bfd_vma s_start; - bfd_vma s_end; - bfd_vma os_start; - bfd_vma os_end; - - /* Only consider loadable sections with real contents. */ - if (IGNORE_SECTION (os) || os->size == 0) - continue; - - /* We must check the sections' LMA addresses not their - VMA addresses because overlay sections can have - overlapping VMAs but they must have distinct LMAs. */ - s_start = bfd_section_lma (output_bfd, s); - os_start = bfd_section_lma (output_bfd, os); - s_end = s_start + TO_ADDR (s->size) - 1; - os_end = os_start + TO_ADDR (os->size) - 1; - - /* Look for an overlap. */ - if ((s_end < os_start) || (s_start > os_end)) - continue; + sections[count] = s; + count++; + } + + if (count <= 1) + return; - einfo ( -_("%X%P: section %s [%V -> %V] overlaps section %s [%V -> %V]\n"), - s->name, s_start, s_end, os->name, os_start, os_end); + qsort (sections, (size_t) count, sizeof (asection *), + sort_sections_by_lma); - /* Once we have found one overlap for this section, - stop looking for others. */ - break; - } + spp = sections; + s = *spp++; + s_start = bfd_section_lma (output_bfd, s); + s_end = s_start + TO_ADDR (s->size) - 1; + for (count--; count; count--) + { + /* We must check the sections' LMA addresses not their VMA + addresses because overlay sections can have overlapping VMAs + but they must have distinct LMAs. */ + os = s; + os_start = s_start; + os_end = s_end; + s = *spp++; + s_start = bfd_section_lma (output_bfd, s); + s_end = s_start + TO_ADDR (s->size) - 1; + + /* Look for an overlap. */ + if (s_end >= os_start && s_start <= os_end) + einfo (_("%X%P: section %s [%V -> %V] overlaps section %s [%V -> %V]\n"), + s->name, s_start, s_end, os->name, os_start, os_end); } + + free (sections); } /* Make sure the new address is within the region. We explicitly permit the @@ -5204,9 +5255,6 @@ lang_process (void) and other back-ends size dynamic sections. */ ldemul_before_allocation (); - if (!link_info.relocatable) - strip_excluded_output_sections (); - /* We must record the program headers before we try to fix the section positions, since they will affect SIZEOF_HEADERS. */ lang_record_phdrs (); diff -uprN binutils-2.16.90.0.2/ld/ldlang.h binutils-2.16.90.0.3/ld/ldlang.h --- binutils-2.16.90.0.2/ld/ldlang.h 2005-04-29 10:50:30.000000000 -0700 +++ binutils-2.16.90.0.3/ld/ldlang.h 2005-05-10 15:46:53.000000000 -0700 @@ -549,6 +549,8 @@ extern void lang_for_each_statement (void (*) (lang_statement_union_type *)); extern void *stat_alloc (size_t); +extern void strip_excluded_output_sections + (void); extern void dprint_statement (lang_statement_union_type *, int); extern bfd_vma lang_size_sections diff -uprN binutils-2.16.90.0.2/ld/ldmain.c binutils-2.16.90.0.3/ld/ldmain.c --- binutils-2.16.90.0.2/ld/ldmain.c 2005-04-09 12:03:21.000000000 -0700 +++ binutils-2.16.90.0.3/ld/ldmain.c 2005-05-10 15:46:53.000000000 -0700 @@ -1450,7 +1450,9 @@ reloc_overflow (struct bfd_link_info *in case bfd_link_hash_defweak: einfo (_(" relocation truncated to fit: %s against symbol `%T' defined in %A section in %B"), reloc_name, entry->root.string, - entry->u.def.section, entry->u.def.section->owner); + entry->u.def.section, + entry->u.def.section == bfd_abs_section_ptr + ? output_bfd : entry->u.def.section->owner); break; default: abort (); diff -uprN binutils-2.16.90.0.2/ld/ldwrite.c binutils-2.16.90.0.3/ld/ldwrite.c --- binutils-2.16.90.0.2/ld/ldwrite.c 2005-04-09 12:03:21.000000000 -0700 +++ binutils-2.16.90.0.3/ld/ldwrite.c 2005-05-10 15:46:53.000000000 -0700 @@ -378,7 +378,7 @@ clone_section (bfd *abfd, asection *s, c static void ds (asection *s) { - struct bfd_link_order *l = s->link_order_head; + struct bfd_link_order *l = s->map_head.link_order; printf ("vma %x size %x\n", s->vma, s->size); while (l) { @@ -410,7 +410,7 @@ sanity_check (bfd *abfd) { struct bfd_link_order *p; bfd_vma prev = 0; - for (p = s->link_order_head; p; p = p->next) + for (p = s->map_head.link_order; p; p = p->next) { if (p->offset > 100000) abort (); @@ -447,7 +447,7 @@ split_sections (bfd *abfd, struct bfd_li /* Count up the relocations and line entries to see if anything would be too big to fit. Accumulate section size too. */ - for (l = NULL, p = cursor->link_order_head; p != NULL; p = l->next) + for (l = NULL, p = cursor->map_head.link_order; p != NULL; p = l->next) { unsigned int thislines = 0; unsigned int thisrelocs = 0; @@ -488,9 +488,9 @@ split_sections (bfd *abfd, struct bfd_li /* Attach the link orders to the new section and snip them off from the old section. */ - n->link_order_head = p; - n->link_order_tail = cursor->link_order_tail; - cursor->link_order_tail = l; + n->map_head.link_order = p; + n->map_tail.link_order = cursor->map_tail.link_order; + cursor->map_tail.link_order = l; l->next = NULL; l = p; diff -uprN binutils-2.16.90.0.2/ld/Makefile.am binutils-2.16.90.0.3/ld/Makefile.am --- binutils-2.16.90.0.2/ld/Makefile.am 2005-04-29 10:50:30.000000000 -0700 +++ binutils-2.16.90.0.3/ld/Makefile.am 2005-05-10 15:46:53.000000000 -0700 @@ -191,6 +191,7 @@ ALL_EMULATIONS = \ eelf_i386_chaos.o \ eelf_i386_fbsd.o \ eelf_i386_ldso.o \ + eelf_i386_vxworks.o \ eelf_s390.o \ egld960.o \ egld960coff.o \ @@ -872,6 +873,10 @@ eelf_i386_fbsd.c: $(srcdir)/emulparams/e eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} elf_i386_ldso "$(tdir_elf_i386_ldso)" +eelf_i386_vxworks.c: $(srcdir)/emulparams/elf_i386_vxworks.sh \ + $(srcdir)/emulparams/vxworks.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} elf_i386_vxworks "$(tdir_elf_i386_vxworks)" eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} elf_s390 "$(tdir_elf_s390)" diff -uprN binutils-2.16.90.0.2/ld/Makefile.in binutils-2.16.90.0.3/ld/Makefile.in --- binutils-2.16.90.0.2/ld/Makefile.in 2005-04-29 10:50:30.000000000 -0700 +++ binutils-2.16.90.0.3/ld/Makefile.in 2005-05-10 15:46:53.000000000 -0700 @@ -316,6 +316,7 @@ ALL_EMULATIONS = \ eelf_i386_chaos.o \ eelf_i386_fbsd.o \ eelf_i386_ldso.o \ + eelf_i386_vxworks.o \ eelf_s390.o \ egld960.o \ egld960coff.o \ @@ -628,7 +629,7 @@ deffilep.c ldgram.c ldlex.c DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = tar +TAR = gtar GZIP_ENV = --best SOURCES = $(ld_new_SOURCES) $(EXTRA_ld_new_SOURCES) OBJECTS = $(ld_new_OBJECTS) @@ -1110,7 +1111,7 @@ distclean-generic: -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: - -test -z "ldlex.cdeffilep.hdeffilep.cldgram.hldgram.c$(MAINTAINERCLEANFILES)" || rm -f ldlex.c deffilep.h deffilep.c ldgram.h ldgram.c $(MAINTAINERCLEANFILES) + -test -z "ldlexcdeffilephdeffilepcldgramhldgramc$(MAINTAINERCLEANFILES)" || rm -f ldlexc deffileph deffilepc ldgramh ldgramc $(MAINTAINERCLEANFILES) mostlyclean-am: mostlyclean-hdr mostlyclean-noinstPROGRAMS \ mostlyclean-compile mostlyclean-libtool \ mostlyclean-aminfo mostlyclean-tags mostlyclean-generic \ @@ -1609,6 +1610,10 @@ eelf_i386_fbsd.c: $(srcdir)/emulparams/e eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} elf_i386_ldso "$(tdir_elf_i386_ldso)" +eelf_i386_vxworks.c: $(srcdir)/emulparams/elf_i386_vxworks.sh \ + $(srcdir)/emulparams/vxworks.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} elf_i386_vxworks "$(tdir_elf_i386_vxworks)" eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} elf_s390 "$(tdir_elf_s390)" diff -uprN binutils-2.16.90.0.2/ld/scripttempl/elf.sc binutils-2.16.90.0.3/ld/scripttempl/elf.sc --- binutils-2.16.90.0.2/ld/scripttempl/elf.sc 2005-04-09 12:03:25.000000000 -0700 +++ binutils-2.16.90.0.3/ld/scripttempl/elf.sc 2005-05-10 15:46:53.000000000 -0700 @@ -25,6 +25,8 @@ # .text section. # DATA_START_SYMBOLS - symbols that appear at the start of the # .data section. +# DATA_END_SYMBOLS - symbols that appear at the end of the +# writeable data sections. # OTHER_GOT_SYMBOLS - symbols defined just before .got. # OTHER_GOT_SECTIONS - sections just after .got. # OTHER_SDATA_SECTIONS - sections just after .sdata. @@ -45,6 +47,8 @@ # combination of .fini sections. # STACK_ADDR - start of a .stack section. # OTHER_END_SYMBOLS - symbols to place right at the end of the script. +# ETEXT_NAME - name of a symbol for the end of the text section, +# normally etext. # SEPARATE_GOTPLT - if set, .got.plt should be separate output section, # so that .got can be in the RELRO area. It should be set to # the number of bytes in the beginning of .got.plt which can be @@ -84,21 +88,17 @@ if [ -z "$MACHINE" ]; then OUTPUT_ARCH=$ test -z "${ELFSIZE}" && ELFSIZE=32 test -z "${ALIGNMENT}" && ALIGNMENT="${ELFSIZE} / 8" test "$LD_FLAG" = "N" && DATA_ADDR=. +test -z "${ETEXT_NAME}" && ETEXT_NAME=etext test -n "$CREATE_SHLIB$CREATE_PIE" && test -n "$SHLIB_DATA_ADDR" && COMMONPAGESIZE="" test -z "$CREATE_SHLIB$CREATE_PIE" && test -n "$DATA_ADDR" && COMMONPAGESIZE="" test -n "$RELRO_NOW" && unset SEPARATE_GOTPLT DATA_SEGMENT_ALIGN="ALIGN(${SEGMENT_SIZE}) + (. & (${MAXPAGESIZE} - 1))" DATA_SEGMENT_RELRO_END="" -DATA_SEGMENT_RELRO_GOTPLT_END="" DATA_SEGMENT_END="" if test -n "${COMMONPAGESIZE}"; then DATA_SEGMENT_ALIGN="ALIGN (${SEGMENT_SIZE}) - ((${MAXPAGESIZE} - .) & (${MAXPAGESIZE} - 1)); . = DATA_SEGMENT_ALIGN (${MAXPAGESIZE}, ${COMMONPAGESIZE})" DATA_SEGMENT_END=". = DATA_SEGMENT_END (.);" - if test -n "${SEPARATE_GOTPLT}"; then - DATA_SEGMENT_RELRO_GOTPLT_END=". = DATA_SEGMENT_RELRO_END (${SEPARATE_GOTPLT}, .);" - else - DATA_SEGMENT_RELRO_END=". = DATA_SEGMENT_RELRO_END (0, .);" - fi + DATA_SEGMENT_RELRO_END=". = DATA_SEGMENT_RELRO_END (${SEPARATE_GOTPLT-0}, .);" fi INTERP=".interp ${RELOCATING-0} : { *(.interp) }" PLT=".plt ${RELOCATING-0} : { *(.plt) }" @@ -107,8 +107,7 @@ if test -z "$GOT"; then GOT=".got ${RELOCATING-0} : { *(.got.plt) *(.got) }" else GOT=".got ${RELOCATING-0} : { *(.got) }" - GOTPLT="${RELOCATING+${DATA_SEGMENT_RELRO_GOTPLT_END}} - .got.plt ${RELOCATING-0} : { *(.got.plt) }" + GOTPLT=".got.plt ${RELOCATING-0} : { *(.got.plt) }" fi fi DYNAMIC=".dynamic ${RELOCATING-0} : { *(.dynamic) }" @@ -307,9 +306,9 @@ cat < + + * ld-powerpc/tlsexe32.d: Update for changed got layout. + * ld-powerpc/tlsexe32.g: Likewise. + * ld-powerpc/tlsexe32.r: Likewise. + * ld-powerpc/tlsso32.d: Likewise. + * ld-powerpc/tlsso32.g: Likewise. + * ld-powerpc/tlsso32.r: Likewise. + +2005-05-06 Nick Clifton + + Update the address and phone number of the FSF organization in + the GPL notices in the following files: + * config/default.exp, ld-alpha/alpha.exp, ld-arm/arm-elf.exp, + ld-auto-import/auto-import.exp, ld-bootstrap/bootstrap.exp, + ld-cdtest/cdtest.exp, ld-checks/checks.exp, ld-cris/cris.exp, + ld-crx/crx.exp, ld-cygwin/exe-export.exp, ld-d10v/d10v.exp, + ld-discard/discard.exp, ld-elf/elf.exp, ld-elf/exclude.exp, + ld-elf/frame.exp, ld-elf/sec64k.exp, ld-elfcomm/elfcomm.exp, + ld-elfvers/vers.exp, ld-elfvsb/elfvsb.exp, ld-elfweak/elfweak.exp, + ld-fastcall/fastcall.exp, ld-frv/fdpic.exp, ld-frv/tls.exp, + ld-h8300/h8300.exp, ld-i386/i386.exp, ld-ia64/ia64.exp, + ld-linkonce/linkonce.exp, ld-m68hc11/m68hc11.exp, + ld-maxq/maxq.exp, ld-mips-elf/mips-elf-flags.exp, + ld-mips-elf/mips-elf.exp, ld-mmix/mmix.exp, ld-pe/pe.exp, + ld-powerpc/powerpc.exp, ld-s390/s390.exp, ld-scripts/align.exp, + ld-scripts/assert.exp, ld-scripts/crossref.exp, + ld-scripts/data.exp, ld-scripts/defined.exp, + ld-scripts/empty-orphan.exp, ld-scripts/map-address.exp, + ld-scripts/overlay-size.exp, ld-scripts/phdrs.exp, + ld-scripts/phdrs2.exp, ld-scripts/provide.exp, + ld-scripts/script.exp, ld-scripts/size.exp, ld-scripts/sizeof.exp, + ld-scripts/sort.exp, ld-scripts/weak.exp, + ld-selective/sel-dump.exp, ld-selective/selective.exp, + ld-sh/rd-sh.exp, ld-sh/arch/arch.exp, ld-sh/sh64/rd-sh64.exp, + ld-sh/sh64/relax.exp, ld-sh/sh64/relfail.exp, ld-sh/sh64/sh64.exp, + ld-shared/shared.exp, ld-sparc/sparc.exp, + ld-undefined/undefined.exp, ld-undefined/weak-undef.exp, + ld-versados/versados.exp, ld-x86-64/x86-64.exp, + ld-xstormy16/xstormy16.exp, ld-xtensa/coalesce.exp, + ld-xtensa/lcall.exp, lib/ld-lib.exp + +2005-05-05 Mike Frysinger + + * ld-srec/srec.exp: Replace linux-gnu with linux-* to allow for + versions of Linux which do not use glibc. + * ld-sh/sh.exp: Likewise + +2005-05-05 Paul Brook + + * lib/ld-lib.exp (regexp_diff): Pass test if last line is "#...". + * ld-elfweak/elfweak.exp: Run size2.d. + * ld-elfwaek/size2.d: New file. + * ld-elfwaek/size2a.s: New file. + * ld-elfwaek/size2b.s: New file. + 2005-04-26 Mark Kettenis * ld-fastcall/fastcall.exp: Don't run on i*86-*-openbsd*. @@ -27,7 +83,7 @@ names so we know which one is failing. Run sparc64 TLS tests on multi-arch sparc platforms. * ld-sparc/tls64.sd, ld-sparc/tlssunbin64.dd, - ld-sparc/tlssunbin64.rd, ld/testsuite/ld-sparc/tlssunbin64.sd, + ld-sparc/tlssunbin64.rd, ld/ld-sparc/tlssunbin64.sd, ld-sparc/tlssunbin64.td, ld-sparc/tlssunnopic64.dd, ld-sparc/tlssunnopic64.rd, ld-sparc/tlssunnopic64.sd, ld-sparc/tlssunpic64.dd, ld-sparc/tlssunpic64.rd, @@ -698,6 +754,13 @@ * ld-d10v/reloc-015.d: Likewise. * ld-d10v/reloc-016.d: Likewise. +2004-11-08 Aaron W. LaFramboise + + * ld-scripts/weak.exp: Enable test on PE, XFAIL non-i386 PE. + * ld-undefined/weak-undef.exp: Enable test on PE, XFAIL non-i386 + PE. + * lib/ld-lib.exp (is_pecoff_format): New. + 2004-11-08 Inderpreet Singh Vineet Sharma @@ -1082,22 +1145,22 @@ Actually add these files: 2004-05-28 Andrew Stubbs - * testsuite/ld-sh/arch/arch.exp: New test script. - * testsuite/ld-sh/arch/arch_expected.txt: New file. - * testsuite/ld-sh/arch/sh.s: New file. - * testsuite/ld-sh/arch/sh2.s: New file. - * testsuite/ld-sh/arch/sh-dsp.s: New file. - * testsuite/ld-sh/arch/sh2e.s: New file. - * testsuite/ld-sh/arch/sh3-nommu.s: New file. - * testsuite/ld-sh/arch/sh3.s: New file. - * testsuite/ld-sh/arch/sh3-dsp.s: New file. - * testsuite/ld-sh/arch/sh3e.s: New file. - * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file. - * testsuite/ld-sh/arch/sh4-nofpu.s: New file. - * testsuite/ld-sh/arch/sh4.s: New file. - * testsuite/ld-sh/arch/sh4a-nofpu.s: New file. - * testsuite/ld-sh/arch/sh4al-dsp.s: New file. - * testsuite/ld-sh/arch/sh4a.s: New file. + * ld-sh/arch/arch.exp: New test script. + * ld-sh/arch/arch_expected.txt: New file. + * ld-sh/arch/sh.s: New file. + * ld-sh/arch/sh2.s: New file. + * ld-sh/arch/sh-dsp.s: New file. + * ld-sh/arch/sh2e.s: New file. + * ld-sh/arch/sh3-nommu.s: New file. + * ld-sh/arch/sh3.s: New file. + * ld-sh/arch/sh3-dsp.s: New file. + * ld-sh/arch/sh3e.s: New file. + * ld-sh/arch/sh4-nommu-nofpu.s: New file. + * ld-sh/arch/sh4-nofpu.s: New file. + * ld-sh/arch/sh4.s: New file. + * ld-sh/arch/sh4a-nofpu.s: New file. + * ld-sh/arch/sh4al-dsp.s: New file. + * ld-sh/arch/sh4a.s: New file. 2004-06-29 Alan Modra @@ -1143,6 +1206,25 @@ 3.4.0 and above, as this option and its functionality is no longer supported, making these tests fail). +2004-05-28 Andrew Stubbs + + * ld-sh/arch/arch.exp: New test script. + * ld-sh/arch/arch_expected.txt: New file. + * ld-sh/arch/sh.s: New file. + * ld-sh/arch/sh2.s: New file. + * ld-sh/arch/sh-dsp.s: New file. + * ld-sh/arch/sh2e.s: New file. + * ld-sh/arch/sh3-nommu.s: New file. + * ld-sh/arch/sh3.s: New file. + * ld-sh/arch/sh3-dsp.s: New file. + * ld-sh/arch/sh3e.s: New file. + * ld-sh/arch/sh4-nommu-nofpu.s: New file. + * ld-sh/arch/sh4-nofpu.s: New file. + * ld-sh/arch/sh4.s: New file. + * ld-sh/arch/sh4a-nofpu.s: New file. + * ld-sh/arch/sh4al-dsp.s: New file. + * ld-sh/arch/sh4a.s: New file. + 2004-05-18 Nick Clifton * ld-elf/frame.s: Replace @ with % so that the file can be diff -uprN binutils-2.16.90.0.2/ld/testsuite/ld-elfweak/elfweak.exp binutils-2.16.90.0.3/ld/testsuite/ld-elfweak/elfweak.exp --- binutils-2.16.90.0.2/ld/testsuite/ld-elfweak/elfweak.exp 2005-04-09 12:03:27.000000000 -0700 +++ binutils-2.16.90.0.3/ld/testsuite/ld-elfweak/elfweak.exp 2005-05-10 15:46:53.000000000 -0700 @@ -493,3 +493,6 @@ if ![ld_compile "$CC $CFLAGS" $srcdir/$s } build_exec "ELF weak size" size_main "size_main.o libsize_foo.so libsize_bar.so" "-Wl,-rpath,." size "" "" + +verbose "size2" +run_dump_test $srcdir/$subdir/size2 diff -uprN binutils-2.16.90.0.2/ld/testsuite/ld-elfweak/size2a.s binutils-2.16.90.0.3/ld/testsuite/ld-elfweak/size2a.s --- binutils-2.16.90.0.2/ld/testsuite/ld-elfweak/size2a.s 1969-12-31 16:00:00.000000000 -0800 +++ binutils-2.16.90.0.3/ld/testsuite/ld-elfweak/size2a.s 2005-05-10 15:46:53.000000000 -0700 @@ -0,0 +1,6 @@ + .text + .global _start + .type _start, "function" +_start: + .byte 0 + .size _start, 1 diff -uprN binutils-2.16.90.0.2/ld/testsuite/ld-elfweak/size2b.s binutils-2.16.90.0.3/ld/testsuite/ld-elfweak/size2b.s --- binutils-2.16.90.0.2/ld/testsuite/ld-elfweak/size2b.s 1969-12-31 16:00:00.000000000 -0800 +++ binutils-2.16.90.0.3/ld/testsuite/ld-elfweak/size2b.s 2005-05-10 15:46:53.000000000 -0700 @@ -0,0 +1,7 @@ + .text + .weak _start + .type _start, "function" +_start: + .byte 0 + .byte 0 + .size _start, 2 diff -uprN binutils-2.16.90.0.2/ld/testsuite/ld-elfweak/size2.d binutils-2.16.90.0.3/ld/testsuite/ld-elfweak/size2.d --- binutils-2.16.90.0.2/ld/testsuite/ld-elfweak/size2.d 1969-12-31 16:00:00.000000000 -0800 +++ binutils-2.16.90.0.3/ld/testsuite/ld-elfweak/size2.d 2005-05-10 15:46:53.000000000 -0700 @@ -0,0 +1,8 @@ +#source: size2a.s +#source: size2b.s +#ld: +#readelf: -s +Symbol table '.symtab' contains .* entries: +#... + .*: [0-9a-f]* *1 *FUNC *GLOBAL *DEFAULT *[0-9] *_start +#... diff -uprN binutils-2.16.90.0.2/ld/testsuite/ld-powerpc/tlsexe32.d binutils-2.16.90.0.3/ld/testsuite/ld-powerpc/tlsexe32.d --- binutils-2.16.90.0.2/ld/testsuite/ld-powerpc/tlsexe32.d 2005-04-09 12:03:29.000000000 -0700 +++ binutils-2.16.90.0.3/ld/testsuite/ld-powerpc/tlsexe32.d 2005-05-10 15:46:53.000000000 -0700 @@ -9,9 +9,9 @@ Disassembly of section \.text: .* <_start>: -.*: 80 7f 00 0c lwz r3,12\(r31\) +.*: 80 7f ff f0 lwz r3,-16\(r31\) .*: 7c 63 12 14 add r3,r3,r2 -.*: 38 7f 00 10 addi r3,r31,16 +.*: 38 7f ff f4 addi r3,r31,-12 .*: 48 01 01 85 bl .*<__tls_get_addr@plt> .*: 3c 62 00 00 addis r3,r2,0 .*: 38 63 90 1c addi r3,r3,-28644 @@ -39,8 +39,9 @@ Disassembly of section \.text: .*: a9 49 90 18 lha r10,-28648\(r9\) Disassembly of section \.got: -.* <_GLOBAL_OFFSET_TABLE_-0x4>: +.* <_GLOBAL_OFFSET_TABLE_-0x10>: + \.\.\. .*: 4e 80 00 21 blrl + .* <_GLOBAL_OFFSET_TABLE_>: -.*: 01 81 02 d0 00 00 00 00 00 00 00 00 00 00 00 00 .* - \.\.\. +.*: 01 81 02 d0 00 00 00 00 00 00 00 00 .* diff -uprN binutils-2.16.90.0.2/ld/testsuite/ld-powerpc/tlsexe32.g binutils-2.16.90.0.3/ld/testsuite/ld-powerpc/tlsexe32.g --- binutils-2.16.90.0.2/ld/testsuite/ld-powerpc/tlsexe32.g 2005-04-09 12:03:29.000000000 -0700 +++ binutils-2.16.90.0.3/ld/testsuite/ld-powerpc/tlsexe32.g 2005-05-10 15:46:53.000000000 -0700 @@ -7,5 +7,5 @@ .*: +file format elf32-powerpc Contents of section \.got: -.* 4e800021 018102d0 00000000 00000000 .* -.* 00000000 00000000 00000000 .* +.* 00000000 00000000 00000000 4e800021 .* +.* 018102d0 00000000 00000000 .* diff -uprN binutils-2.16.90.0.2/ld/testsuite/ld-powerpc/tlsexe32.r binutils-2.16.90.0.3/ld/testsuite/ld-powerpc/tlsexe32.r --- binutils-2.16.90.0.2/ld/testsuite/ld-powerpc/tlsexe32.r 2005-04-09 12:03:29.000000000 -0700 +++ binutils-2.16.90.0.3/ld/testsuite/ld-powerpc/tlsexe32.r 2005-05-10 15:46:53.000000000 -0700 @@ -52,8 +52,8 @@ Program Headers: Relocation section '\.rela\.dyn' at offset 0x220 contains 2 entries: Offset +Info +Type +Sym\. Value +Symbol's Name \+ Addend -01810380 +00000249 R_PPC_TPREL32 +00000000 +gd \+ 0 -01810384 +00000444 R_PPC_DTPMOD32 +00000000 +ld \+ 0 +01810370 +00000249 R_PPC_TPREL32 +00000000 +gd \+ 0 +01810374 +00000444 R_PPC_DTPMOD32 +00000000 +ld \+ 0 Relocation section '\.rela\.plt' at offset 0x238 contains 1 entries: Offset +Info +Type +Sym\. Value +Symbol's Name \+ Addend @@ -109,7 +109,7 @@ Symbol table '\.symtab' contains 40 entr .*: 00000024 +0 TLS +GLOBAL DEFAULT +9 ld1 .*: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS __bss_start .*: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _edata -.*: 01810374 +0 OBJECT +GLOBAL +HIDDEN +11 _GLOBAL_OFFSET_TABLE_ +.*: 01810380 +0 OBJECT +GLOBAL +HIDDEN +11 _GLOBAL_OFFSET_TABLE_ .*: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _end .*: 0000001c +0 TLS +GLOBAL DEFAULT +9 gd0 .*: 0000002c +0 TLS +GLOBAL DEFAULT +9 ie0 diff -uprN binutils-2.16.90.0.2/ld/testsuite/ld-powerpc/tlsso32.d binutils-2.16.90.0.3/ld/testsuite/ld-powerpc/tlsso32.d --- binutils-2.16.90.0.2/ld/testsuite/ld-powerpc/tlsso32.d 2005-04-09 12:03:29.000000000 -0700 +++ binutils-2.16.90.0.3/ld/testsuite/ld-powerpc/tlsso32.d 2005-05-10 15:46:53.000000000 -0700 @@ -9,30 +9,30 @@ Disassembly of section \.text: .* <_start>: -.*: 38 7f 00 1c addi r3,r31,28 +.*: 38 7f ff e8 addi r3,r31,-24 .*: 48 00 00 01 bl .* -.*: 38 7f 00 0c addi r3,r31,12 +.*: 38 7f ff e0 addi r3,r31,-32 .*: 48 00 00 01 bl .* -.*: 38 7f 00 24 addi r3,r31,36 +.*: 38 7f ff f0 addi r3,r31,-16 .*: 48 01 01 95 bl .*<__tls_get_addr@plt> -.*: 38 7f 00 0c addi r3,r31,12 +.*: 38 7f ff e0 addi r3,r31,-32 .*: 48 01 01 8d bl .*<__tls_get_addr@plt> .*: 39 23 80 20 addi r9,r3,-32736 .*: 3d 23 00 00 addis r9,r3,0 .*: 81 49 80 24 lwz r10,-32732\(r9\) -.*: 81 3f 00 2c lwz r9,44\(r31\) +.*: 81 3f ff f8 lwz r9,-8\(r31\) .*: 7d 49 12 2e lhzx r10,r9,r2 .*: 89 42 00 00 lbz r10,0\(r2\) .*: 3d 22 00 00 addis r9,r2,0 .*: 99 49 00 00 stb r10,0\(r9\) -.*: 38 7e 00 14 addi r3,r30,20 +.*: 38 7e ff d8 addi r3,r30,-40 .*: 48 00 00 01 bl .* -.*: 38 7e 00 0c addi r3,r30,12 +.*: 38 7e ff e0 addi r3,r30,-32 .*: 48 00 00 01 bl .* .*: 91 43 80 04 stw r10,-32764\(r3\) .*: 3d 23 00 00 addis r9,r3,0 .*: 91 49 80 08 stw r10,-32760\(r9\) -.*: 81 3e 00 2c lwz r9,44\(r30\) +.*: 81 3e ff f8 lwz r9,-8\(r30\) .*: 7d 49 13 2e sthx r10,r9,r2 .*: a1 42 00 00 lhz r10,0\(r2\) .*: 3d 22 00 00 addis r9,r2,0 @@ -40,6 +40,7 @@ Disassembly of section \.text: Disassembly of section \.got: .* <\.got>: + \.\.\. .*: 4e 80 00 21 blrl .*: 00 01 04 90 .* \.\.\. diff -uprN binutils-2.16.90.0.2/ld/testsuite/ld-powerpc/tlsso32.g binutils-2.16.90.0.3/ld/testsuite/ld-powerpc/tlsso32.g --- binutils-2.16.90.0.2/ld/testsuite/ld-powerpc/tlsso32.g 2005-04-09 12:03:29.000000000 -0700 +++ binutils-2.16.90.0.3/ld/testsuite/ld-powerpc/tlsso32.g 2005-05-10 15:46:53.000000000 -0700 @@ -7,7 +7,7 @@ .*: +file format elf32-powerpc Contents of section \.got: -.* 4e800021 00010490 00000000 00000000 .* .* 00000000 00000000 00000000 00000000 .* .* 00000000 00000000 00000000 00000000 .* +.* 00000000 4e800021 00010490 00000000 .* .* 00000000 .* diff -uprN binutils-2.16.90.0.2/ld/testsuite/ld-powerpc/tlsso32.r binutils-2.16.90.0.3/ld/testsuite/ld-powerpc/tlsso32.r --- binutils-2.16.90.0.2/ld/testsuite/ld-powerpc/tlsso32.r 2005-04-09 12:03:29.000000000 -0700 +++ binutils-2.16.90.0.3/ld/testsuite/ld-powerpc/tlsso32.r 2005-05-10 15:46:53.000000000 -0700 @@ -55,14 +55,14 @@ Relocation section '\.rela\.dyn' at offs 0+46a +0+245 R_PPC_TPREL16 +0+10474 +\.tdata \+ 10488 0+46e +0+248 R_PPC_TPREL16_HA +0+10474 +\.tdata \+ 1048c 0+472 +0+246 R_PPC_TPREL16_LO +0+10474 +\.tdata \+ 1048c -0+10540 +0+44 R_PPC_DTPMOD32 +0+ -0+10548 +0+44 R_PPC_DTPMOD32 +0+ -0+1054c +0+4e R_PPC_DTPREL32 +0+ -0+10550 +0+844 R_PPC_DTPMOD32 +0+ +gd \+ 0 -0+10554 +0+84e R_PPC_DTPREL32 +0+ +gd \+ 0 -0+10558 +0+1544 R_PPC_DTPMOD32 +0+1c +gd0 \+ 0 -0+1055c +0+154e R_PPC_DTPREL32 +0+1c +gd0 \+ 0 -0+10560 +0+1649 R_PPC_TPREL32 +0+2c +ie0 \+ 0 +0+10530 +0+44 R_PPC_DTPMOD32 +0+ +0+10534 +0+4e R_PPC_DTPREL32 +0+ +0+10538 +0+44 R_PPC_DTPMOD32 +0+ +0+10540 +0+844 R_PPC_DTPMOD32 +0+ +gd \+ 0 +0+10544 +0+84e R_PPC_DTPREL32 +0+ +gd \+ 0 +0+10548 +0+1544 R_PPC_DTPMOD32 +0+1c +gd0 \+ 0 +0+1054c +0+154e R_PPC_DTPREL32 +0+1c +gd0 \+ 0 +0+10550 +0+1649 R_PPC_TPREL32 +0+2c +ie0 \+ 0 Relocation section '\.rela\.plt' at offset 0x[0-9a-f]+ contains 1 entries: Offset +Info +Type +Sym\. Value +Symbol's Name \+ Addend @@ -118,7 +118,7 @@ Symbol table '\.symtab' contains 39 entr +[0-9]+: 0+10 +0 TLS +LOCAL +DEFAULT +7 ie4 +[0-9]+: 0+14 +0 TLS +LOCAL +DEFAULT +7 le4 +[0-9]+: 0+18 +0 TLS +LOCAL +DEFAULT +7 le5 - +[0-9]+: 0+10534 +0 OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_ + +[0-9]+: 0+10558 +0 OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_ +[0-9]+: 0+10490 +0 OBJECT +GLOBAL DEFAULT +ABS _DYNAMIC +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +UND gd +[0-9]+: 0+30 +0 TLS +GLOBAL DEFAULT +8 le0 diff -uprN binutils-2.16.90.0.2/ld/testsuite/ld-sh/sh.exp binutils-2.16.90.0.3/ld/testsuite/ld-sh/sh.exp --- binutils-2.16.90.0.2/ld/testsuite/ld-sh/sh.exp 2005-04-09 12:03:29.000000000 -0700 +++ binutils-2.16.90.0.3/ld/testsuite/ld-sh/sh.exp 2005-05-10 15:46:53.000000000 -0700 @@ -14,7 +14,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. # # Written by Ian Lance Taylor (ian@cygnus.com) # @@ -62,7 +62,7 @@ if ![ld_assemble $as "-relax $srcdir/$su set testsrec "SH relaxing to S-records" -if [istarget sh*-linux-gnu] { +if [istarget sh*-linux-*] { # This target needs the explicit entry address. catch "exec $objdump -x tmpdir/sh1 | grep start\\ address | sed s/start\\ address//" entry_addr set srec_relax_arg "-Ttext $entry_addr -relax --oformat srec tmpdir/sh1.o" @@ -117,7 +117,7 @@ if { [which $CC] == 0 } { return } -if [istarget sh*-linux-gnu] { +if [istarget sh*-linux-*] { exec sed -e s/_main/main/ -e s/_trap/trap/ -e s/_stack/stack/ \ < $srcdir/$subdir/start.s >tmpdir/start.s } else { diff -uprN binutils-2.16.90.0.2/ld/testsuite/ld-srec/srec.exp binutils-2.16.90.0.3/ld/testsuite/ld-srec/srec.exp --- binutils-2.16.90.0.2/ld/testsuite/ld-srec/srec.exp 2005-04-29 10:50:30.000000000 -0700 +++ binutils-2.16.90.0.3/ld/testsuite/ld-srec/srec.exp 2005-05-10 15:46:53.000000000 -0700 @@ -15,7 +15,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. # Get the offset from an S-record line to the start of the data. @@ -385,7 +385,7 @@ setup_xfail "arm*-*-linux*" setup_xfail "v850*-*-elf" # The S-record linker doesn't handle Alpha Elf relaxation. -setup_xfail "alpha*-*-elf*" "alpha*-*-linux-gnu*" "alpha*-*-gnu*" +setup_xfail "alpha*-*-elf*" "alpha*-*-linux-*" "alpha*-*-gnu*" setup_xfail "alpha*-*-netbsd*" # The S-record linker hasn't any hope of coping with HPPA relocs. @@ -424,7 +424,7 @@ setup_xfail "strongarm*-*-*" setup_xfail "thumb-*-*" setup_xfail "powerpc*-*-eabi*" setup_xfail "v850*-*-elf" -setup_xfail "alpha*-*-elf*" "alpha*-*-linux-gnu*" "alpha*-*-gnu*" +setup_xfail "alpha*-*-elf*" "alpha*-*-linux-*" "alpha*-*-gnu*" setup_xfail "alpha*-*-netbsd*" setup_xfail "hppa*-*-*" setup_xfail "ia64-*-*" diff -uprN binutils-2.16.90.0.2/ld/testsuite/lib/ld-lib.exp binutils-2.16.90.0.3/ld/testsuite/lib/ld-lib.exp --- binutils-2.16.90.0.2/ld/testsuite/lib/ld-lib.exp 2005-04-09 12:03:31.000000000 -0700 +++ binutils-2.16.90.0.3/ld/testsuite/lib/ld-lib.exp 2005-05-10 15:46:53.000000000 -0700 @@ -1029,6 +1029,7 @@ proc regexp_diff { file_1 file_2 } { } elseif [ string match "#..." $line_b ] { if { [gets $file_b line_b] == $eof } { set end_2 1 + set diff_pass 1 break } verbose "looking for \"^$line_b$\"" 3 diff -uprN binutils-2.16.90.0.2/libiberty/aclocal.m4 binutils-2.16.90.0.3/libiberty/aclocal.m4 --- binutils-2.16.90.0.2/libiberty/aclocal.m4 2005-04-09 12:03:31.000000000 -0700 +++ binutils-2.16.90.0.3/libiberty/aclocal.m4 2005-05-10 15:46:53.000000000 -0700 @@ -1,5 +1,4 @@ sinclude(aclibdl.m4) -sinclude(../config/accross.m4) sinclude(../config/acx.m4) sinclude(../config/no-executables.m4) @@ -121,15 +120,6 @@ if test $libiberty_cv_decl_needed_$1 = y fi ])dnl -# Work around a bug in autoheader. This can go away when we switch to -# autoconf >2.50. The use of define instead of AC_DEFUN is -# deliberate. -define(AC_DEFINE_NOAUTOHEADER, -[cat >> confdefs.h <<\EOF -[#define] $1 ifelse($#, 2, [$2], $#, 3, [$2], 1) -EOF -]) - # We always want a C version of alloca() compiled into libiberty, # because native-compiler support for the real alloca is so !@#$% # unreliable that GCC has decided to use it only when being compiled diff -uprN binutils-2.16.90.0.2/libiberty/ChangeLog binutils-2.16.90.0.3/libiberty/ChangeLog --- binutils-2.16.90.0.2/libiberty/ChangeLog 2005-04-29 10:50:30.000000000 -0700 +++ binutils-2.16.90.0.3/libiberty/ChangeLog 2005-05-10 15:46:53.000000000 -0700 @@ -1,3 +1,16 @@ +2005-05-06 Kelley Cook + + * aclocal.m4 (AC_DEFINE_NOAUTOHEADER): Remove. + * configure.ac: Replace any AC_DEFINE_NOAUTOHEADER with AC_DEFINE. + * configure: Regenerate. + +2005-05-06 Kelley Cook + + * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS. + Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF. + * aclocal.m4: Don't include accross.m4. + * configure, config.in: Regenerate. + 2005-04-25 Kaveh R. Ghazi * fopen_unlocked.c (unlock_std_streams): New. diff -uprN binutils-2.16.90.0.2/libiberty/config.in binutils-2.16.90.0.3/libiberty/config.in --- binutils-2.16.90.0.2/libiberty/config.in 2005-04-29 10:50:30.000000000 -0700 +++ binutils-2.16.90.0.3/libiberty/config.in 2005-05-10 15:46:53.000000000 -0700 @@ -1,8 +1,5 @@ /* config.in. Generated from configure.ac by autoheader. */ -/* 1234 = LIL_ENDIAN, 4321 = BIGENDIAN */ -#undef BYTEORDER - /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems. This function is required for alloca.c support on those systems. */ #undef CRAY_STACKSEG_END @@ -343,10 +340,6 @@ /* Define to 1 if you have the `__fsetlocking' function. */ #undef HAVE___FSETLOCKING -/* Define if the host machine stores words of multi-word integers in - big-endian order. */ -#undef HOST_WORDS_BIG_ENDIAN - /* Define if canonicalize_file_name is not declared in system header files. */ #undef NEED_DECLARATION_CANONICALIZE_FILE_NAME @@ -389,7 +382,8 @@ /* Define to an unsigned 64-bit type available in the compiler. */ #undef UNSIGNED_64BIT_TYPE -/* whether byteorder is bigendian */ +/* Define to 1 if your processor stores words with the most significant byte + first (like Motorola and SPARC, unlike Intel and VAX). */ #undef WORDS_BIGENDIAN /* Define to empty if `const' does not conform to ANSI C. */ diff -uprN binutils-2.16.90.0.2/libiberty/configure binutils-2.16.90.0.3/libiberty/configure --- binutils-2.16.90.0.2/libiberty/configure 2005-04-29 10:50:30.000000000 -0700 +++ binutils-2.16.90.0.3/libiberty/configure 2005-05-10 15:46:53.000000000 -0700 @@ -3217,8 +3217,7 @@ echo $ECHO_N "checking whether byte orde if test "${ac_cv_c_bigendian+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - ac_cv_c_bigendian=unknown -# See if sys/param.h defines the BYTE_ORDER macro. + # See if sys/param.h defines the BYTE_ORDER macro. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -3227,13 +3226,14 @@ cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include + int main () { - #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN bogus endian macros #endif + ; return 0; } @@ -3269,13 +3269,14 @@ cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include + int main () { - #if BYTE_ORDER != BIG_ENDIAN not big endian #endif + ; return 0; } @@ -3314,11 +3315,69 @@ else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 +# It does not; compile a test program. +if test "$cross_compiling" = yes; then + # try to guess the endianness by grepping values into an object file + ac_cv_c_bigendian=unknown + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; +short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; +void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } +short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; +short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; +void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } +int +main () +{ + _ascii (); _ebcdic (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then + ac_cv_c_bigendian=yes +fi +if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then + if test "$ac_cv_c_bigendian" = unknown; then + ac_cv_c_bigendian=no + else + # finding both strings is unlikely to happen, but who knows? + ac_cv_c_bigendian=unknown + fi +fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext -if test $ac_cv_c_bigendian = unknown; then -if test "$cross_compiling" = yes; then - echo $ac_n "cross-compiling... " 2>&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ @@ -3326,7 +3385,9 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -main () { +int +main () +{ /* Are we little or big endian? From Harbison&Steele. */ union { @@ -3360,67 +3421,26 @@ fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 -if test $ac_cv_c_bigendian = unknown; then -echo "$as_me:$LINENO: checking to probe for byte ordering" >&5 -echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6 - -cat >conftest.c <&6 - ac_cv_c_bigendian=yes - fi - if test `grep -l LiTTleEnDian conftest.o` ; then - echo $ac_n ' little endian probe OK, ' 1>&6 - if test $ac_cv_c_bigendian = yes ; then - ac_cv_c_bigendian=unknown; - else - ac_cv_c_bigendian=no - fi - fi - echo $ac_n 'guessing bigendian ... ' >&6 - fi - fi -echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 -echo "${ECHO_T}$ac_cv_c_bigendian" >&6 -fi -if test $ac_cv_c_bigendian = yes; then +case $ac_cv_c_bigendian in + yes) cat >>confdefs.h <<\_ACEOF #define WORDS_BIGENDIAN 1 _ACEOF - - -cat >>confdefs.h <<\_ACEOF -#define HOST_WORDS_BIG_ENDIAN 1 -_ACEOF - - BYTEORDER=4321 -else - BYTEORDER=1234 -fi - -cat >>confdefs.h <<_ACEOF -#define BYTEORDER $BYTEORDER -_ACEOF - -if test $ac_cv_c_bigendian = unknown; then - { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5 -echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;} - { (exit 1); exit 1; }; } -fi + ;; + no) + ;; + *) + { { echo "$as_me:$LINENO: error: unknown endianness +presetting ac_cv_c_bigendian=no (or yes) will help" >&5 +echo "$as_me: error: unknown endianness +presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} + { (exit 1); exit 1; }; } ;; +esac @@ -5597,9 +5617,9 @@ _ACEOF # dont have to check them here. # Of the functions in $checkfuncs, newlib only has strerror. - cat >> confdefs.h <<\EOF + cat >>confdefs.h <<\_ACEOF #define HAVE_STRERROR 1 -EOF +_ACEOF setobjs=yes @@ -5641,13 +5661,13 @@ fi case "${host}" in *-*-cygwin* | *-*-mingw*) - cat >> confdefs.h <<\EOF + cat >>confdefs.h <<\_ACEOF #define HAVE_SYS_ERRLIST 1 -EOF +_ACEOF - cat >> confdefs.h <<\EOF + cat >>confdefs.h <<\_ACEOF #define HAVE_SYS_NERR 1 -EOF +_ACEOF ;; esac @@ -5759,9 +5779,9 @@ _ACEOF # don't have to check them here. # Of the functions in $checkfuncs, VxWorks only has strerror. - cat >> confdefs.h <<\EOF + cat >>confdefs.h <<\_ACEOF #define HAVE_STRERROR 1 -EOF +_ACEOF setobjs=yes diff -uprN binutils-2.16.90.0.2/libiberty/configure.ac binutils-2.16.90.0.3/libiberty/configure.ac --- binutils-2.16.90.0.2/libiberty/configure.ac 2005-04-29 10:50:30.000000000 -0700 +++ binutils-2.16.90.0.3/libiberty/configure.ac 2005-05-10 15:46:53.000000000 -0700 @@ -130,7 +130,7 @@ AC_SUBST(OUTPUT_OPTION) AC_C_CONST AC_C_INLINE -AC_C_BIGENDIAN_CROSS +AC_C_BIGENDIAN dnl When we start using libtool: dnl Default to a non shared library. This may be overridden by the @@ -339,7 +339,7 @@ if test -n "${with_target_subdir}"; then # dont have to check them here. # Of the functions in $checkfuncs, newlib only has strerror. - AC_DEFINE_NOAUTOHEADER(HAVE_STRERROR) + AC_DEFINE(HAVE_STRERROR) setobjs=yes @@ -378,8 +378,8 @@ AC_SUBST(target_header_dir) case "${host}" in *-*-cygwin* | *-*-mingw*) - AC_DEFINE_NOAUTOHEADER(HAVE_SYS_ERRLIST) - AC_DEFINE_NOAUTOHEADER(HAVE_SYS_NERR) + AC_DEFINE(HAVE_SYS_ERRLIST) + AC_DEFINE(HAVE_SYS_NERR) ;; esac @@ -417,7 +417,7 @@ if test -z "${setobjs}"; then # don't have to check them here. # Of the functions in $checkfuncs, VxWorks only has strerror. - AC_DEFINE_NOAUTOHEADER(HAVE_STRERROR) + AC_DEFINE(HAVE_STRERROR) setobjs=yes ;; diff -uprN binutils-2.16.90.0.2/Makefile.in binutils-2.16.90.0.3/Makefile.in --- binutils-2.16.90.0.2/Makefile.in 2005-04-09 12:02:55.000000000 -0700 +++ binutils-2.16.90.0.3/Makefile.in 2005-05-10 15:46:40.000000000 -0700 @@ -158,7 +158,7 @@ HOST_EXPORTS = \ $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); # Similar, for later GCC stages. -STAGE_HOST_EXPORTS = \ +POSTSTAGE1_HOST_EXPORTS = \ $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \ $(HOST_EXPORTS) \ CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \ @@ -2225,6 +2225,8 @@ configure-build-libiberty: + + .PHONY: all-build-libiberty maybe-all-build-libiberty maybe-all-build-libiberty: @if build-libiberty @@ -2240,6 +2242,8 @@ all-build-libiberty: configure-build-lib + + .PHONY: configure-build-bison maybe-configure-build-bison maybe-configure-build-bison: @if build-bison @@ -2267,6 +2271,8 @@ configure-build-bison: + + .PHONY: all-build-bison maybe-all-build-bison maybe-all-build-bison: @if build-bison @@ -2282,6 +2288,8 @@ all-build-bison: configure-build-bison + + .PHONY: configure-build-byacc maybe-configure-build-byacc maybe-configure-build-byacc: @if build-byacc @@ -2309,6 +2317,8 @@ configure-build-byacc: + + .PHONY: all-build-byacc maybe-all-build-byacc maybe-all-build-byacc: @if build-byacc @@ -2324,6 +2334,8 @@ all-build-byacc: configure-build-byacc + + .PHONY: configure-build-flex maybe-configure-build-flex maybe-configure-build-flex: @if build-flex @@ -2351,6 +2363,8 @@ configure-build-flex: + + .PHONY: all-build-flex maybe-all-build-flex maybe-all-build-flex: @if build-flex @@ -2366,6 +2380,8 @@ all-build-flex: configure-build-flex + + .PHONY: configure-build-m4 maybe-configure-build-m4 maybe-configure-build-m4: @if build-m4 @@ -2393,6 +2409,8 @@ configure-build-m4: + + .PHONY: all-build-m4 maybe-all-build-m4 maybe-all-build-m4: @if build-m4 @@ -2408,6 +2426,8 @@ all-build-m4: configure-build-m4 + + .PHONY: configure-build-texinfo maybe-configure-build-texinfo maybe-configure-build-texinfo: @if build-texinfo @@ -2435,6 +2455,8 @@ configure-build-texinfo: + + .PHONY: all-build-texinfo maybe-all-build-texinfo maybe-all-build-texinfo: @if build-texinfo @@ -2450,6 +2472,8 @@ all-build-texinfo: configure-build-texin + + .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes maybe-configure-build-fixincludes: @if build-fixincludes @@ -2477,6 +2501,8 @@ configure-build-fixincludes: + + .PHONY: all-build-fixincludes maybe-all-build-fixincludes maybe-all-build-fixincludes: @if build-fixincludes @@ -2492,6 +2518,8 @@ all-build-fixincludes: configure-build-f + + # -------------------------------------- # Modules which run on the host machine # -------------------------------------- @@ -2523,6 +2551,8 @@ configure-ash: + + .PHONY: all-ash maybe-all-ash maybe-all-ash: @if ash @@ -2537,6 +2567,8 @@ all-ash: configure-ash @endif ash + + .PHONY: check-ash maybe-check-ash maybe-check-ash: @if ash @@ -2842,6 +2874,8 @@ configure-autoconf: + + .PHONY: all-autoconf maybe-all-autoconf maybe-all-autoconf: @if autoconf @@ -2856,6 +2890,8 @@ all-autoconf: configure-autoconf @endif autoconf + + .PHONY: check-autoconf maybe-check-autoconf maybe-check-autoconf: @if autoconf @@ -3161,6 +3197,8 @@ configure-automake: + + .PHONY: all-automake maybe-all-automake maybe-all-automake: @if automake @@ -3175,6 +3213,8 @@ all-automake: configure-automake @endif automake + + .PHONY: check-automake maybe-check-automake maybe-check-automake: @if automake @@ -3480,6 +3520,8 @@ configure-bash: + + .PHONY: all-bash maybe-all-bash maybe-all-bash: @if bash @@ -3494,6 +3536,8 @@ all-bash: configure-bash @endif bash + + .PHONY: check-bash maybe-check-bash maybe-check-bash: @if bash @@ -3800,6 +3844,159 @@ configure-bfd: +.PHONY: configure-stage1-bfd maybe-configure-stage1-bfd +maybe-configure-stage1-bfd: +@if bfd-bootstrap +maybe-configure-stage1-bfd: configure-stage1-bfd +configure-stage1-bfd: + @$(MAKE) stage1-start + @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \ + cd $(HOST_SUBDIR)/bfd || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/bfd"; \ + libsrcdir="$$s/bfd"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" +@endif bfd-bootstrap + +.PHONY: configure-stage2-bfd maybe-configure-stage2-bfd +maybe-configure-stage2-bfd: +@if bfd-bootstrap +maybe-configure-stage2-bfd: configure-stage2-bfd +configure-stage2-bfd: + @$(MAKE) stage2-start + @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \ + cd $(HOST_SUBDIR)/bfd || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/bfd"; \ + libsrcdir="$$s/bfd"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif bfd-bootstrap + +.PHONY: configure-stage3-bfd maybe-configure-stage3-bfd +maybe-configure-stage3-bfd: +@if bfd-bootstrap +maybe-configure-stage3-bfd: configure-stage3-bfd +configure-stage3-bfd: + @$(MAKE) stage3-start + @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \ + cd $(HOST_SUBDIR)/bfd || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/bfd"; \ + libsrcdir="$$s/bfd"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif bfd-bootstrap + +.PHONY: configure-stage4-bfd maybe-configure-stage4-bfd +maybe-configure-stage4-bfd: +@if bfd-bootstrap +maybe-configure-stage4-bfd: configure-stage4-bfd +configure-stage4-bfd: + @$(MAKE) stage4-start + @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \ + cd $(HOST_SUBDIR)/bfd || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/bfd"; \ + libsrcdir="$$s/bfd"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif bfd-bootstrap + +.PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd +maybe-configure-stageprofile-bfd: +@if bfd-bootstrap +maybe-configure-stageprofile-bfd: configure-stageprofile-bfd +configure-stageprofile-bfd: + @$(MAKE) stageprofile-start + @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \ + cd $(HOST_SUBDIR)/bfd || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/bfd"; \ + libsrcdir="$$s/bfd"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif bfd-bootstrap + +.PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd +maybe-configure-stagefeedback-bfd: +@if bfd-bootstrap +maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd +configure-stagefeedback-bfd: + @$(MAKE) stagefeedback-start + @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \ + cd $(HOST_SUBDIR)/bfd || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/bfd"; \ + libsrcdir="$$s/bfd"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif bfd-bootstrap + + + + + .PHONY: all-bfd maybe-all-bfd maybe-all-bfd: @if bfd @@ -3815,6 +4012,182 @@ all-bfd: configure-bfd @endif bfd + +.PHONY: all-stage1-bfd maybe-all-stage1-bfd +.PHONY: clean-stage1-bfd maybe-clean-stage1-bfd +maybe-all-stage1-bfd: +maybe-clean-stage1-bfd: +@if bfd-bootstrap +maybe-all-stage1-bfd: all-stage1-bfd +all-stage1: all-stage1-bfd +all-stage1-bfd: configure-stage1-bfd + @$(MAKE) stage1-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/bfd && \ + $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" + +maybe-clean-stage1-bfd: clean-stage1-bfd +clean-stage1: clean-stage1-bfd +clean-stage1-bfd: + @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage1-start ; \ + cd $(HOST_SUBDIR)/bfd && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" clean +@endif bfd-bootstrap + + +.PHONY: all-stage2-bfd maybe-all-stage2-bfd +.PHONY: clean-stage2-bfd maybe-clean-stage2-bfd +maybe-all-stage2-bfd: +maybe-clean-stage2-bfd: +@if bfd-bootstrap +maybe-all-stage2-bfd: all-stage2-bfd +all-stage2: all-stage2-bfd +all-stage2-bfd: configure-stage2-bfd + @$(MAKE) stage2-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/bfd && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + +maybe-clean-stage2-bfd: clean-stage2-bfd +clean-stage2: clean-stage2-bfd +clean-stage2-bfd: + @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage2-start ; \ + cd $(HOST_SUBDIR)/bfd && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif bfd-bootstrap + + +.PHONY: all-stage3-bfd maybe-all-stage3-bfd +.PHONY: clean-stage3-bfd maybe-clean-stage3-bfd +maybe-all-stage3-bfd: +maybe-clean-stage3-bfd: +@if bfd-bootstrap +maybe-all-stage3-bfd: all-stage3-bfd +all-stage3: all-stage3-bfd +all-stage3-bfd: configure-stage3-bfd + @$(MAKE) stage3-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/bfd && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + +maybe-clean-stage3-bfd: clean-stage3-bfd +clean-stage3: clean-stage3-bfd +clean-stage3-bfd: + @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage3-start ; \ + cd $(HOST_SUBDIR)/bfd && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif bfd-bootstrap + + +.PHONY: all-stage4-bfd maybe-all-stage4-bfd +.PHONY: clean-stage4-bfd maybe-clean-stage4-bfd +maybe-all-stage4-bfd: +maybe-clean-stage4-bfd: +@if bfd-bootstrap +maybe-all-stage4-bfd: all-stage4-bfd +all-stage4: all-stage4-bfd +all-stage4-bfd: configure-stage4-bfd + @$(MAKE) stage4-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/bfd && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + +maybe-clean-stage4-bfd: clean-stage4-bfd +clean-stage4: clean-stage4-bfd +clean-stage4-bfd: + @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage4-start ; \ + cd $(HOST_SUBDIR)/bfd && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif bfd-bootstrap + + +.PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd +.PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd +maybe-all-stageprofile-bfd: +maybe-clean-stageprofile-bfd: +@if bfd-bootstrap +maybe-all-stageprofile-bfd: all-stageprofile-bfd +all-stageprofile: all-stageprofile-bfd +all-stageprofile-bfd: configure-stageprofile-bfd + @$(MAKE) stageprofile-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/bfd && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + +maybe-clean-stageprofile-bfd: clean-stageprofile-bfd +clean-stageprofile: clean-stageprofile-bfd +clean-stageprofile-bfd: + @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stageprofile-start ; \ + cd $(HOST_SUBDIR)/bfd && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean +@endif bfd-bootstrap + + +.PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd +.PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd +maybe-all-stagefeedback-bfd: +maybe-clean-stagefeedback-bfd: +@if bfd-bootstrap +maybe-all-stagefeedback-bfd: all-stagefeedback-bfd +all-stagefeedback: all-stagefeedback-bfd +all-stagefeedback-bfd: configure-stagefeedback-bfd + @$(MAKE) stagefeedback-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/bfd && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" + +maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd +clean-stagefeedback: clean-stagefeedback-bfd +clean-stagefeedback-bfd: + @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stagefeedback-start ; \ + cd $(HOST_SUBDIR)/bfd && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean +@endif bfd-bootstrap + + + + + .PHONY: check-bfd maybe-check-bfd maybe-check-bfd: @if bfd @@ -4121,6 +4494,159 @@ configure-opcodes: +.PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes +maybe-configure-stage1-opcodes: +@if opcodes-bootstrap +maybe-configure-stage1-opcodes: configure-stage1-opcodes +configure-stage1-opcodes: + @$(MAKE) stage1-start + @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \ + cd $(HOST_SUBDIR)/opcodes || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/opcodes"; \ + libsrcdir="$$s/opcodes"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" +@endif opcodes-bootstrap + +.PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes +maybe-configure-stage2-opcodes: +@if opcodes-bootstrap +maybe-configure-stage2-opcodes: configure-stage2-opcodes +configure-stage2-opcodes: + @$(MAKE) stage2-start + @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \ + cd $(HOST_SUBDIR)/opcodes || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/opcodes"; \ + libsrcdir="$$s/opcodes"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif opcodes-bootstrap + +.PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes +maybe-configure-stage3-opcodes: +@if opcodes-bootstrap +maybe-configure-stage3-opcodes: configure-stage3-opcodes +configure-stage3-opcodes: + @$(MAKE) stage3-start + @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \ + cd $(HOST_SUBDIR)/opcodes || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/opcodes"; \ + libsrcdir="$$s/opcodes"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif opcodes-bootstrap + +.PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes +maybe-configure-stage4-opcodes: +@if opcodes-bootstrap +maybe-configure-stage4-opcodes: configure-stage4-opcodes +configure-stage4-opcodes: + @$(MAKE) stage4-start + @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \ + cd $(HOST_SUBDIR)/opcodes || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/opcodes"; \ + libsrcdir="$$s/opcodes"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif opcodes-bootstrap + +.PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes +maybe-configure-stageprofile-opcodes: +@if opcodes-bootstrap +maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes +configure-stageprofile-opcodes: + @$(MAKE) stageprofile-start + @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \ + cd $(HOST_SUBDIR)/opcodes || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/opcodes"; \ + libsrcdir="$$s/opcodes"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif opcodes-bootstrap + +.PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes +maybe-configure-stagefeedback-opcodes: +@if opcodes-bootstrap +maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes +configure-stagefeedback-opcodes: + @$(MAKE) stagefeedback-start + @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \ + cd $(HOST_SUBDIR)/opcodes || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/opcodes"; \ + libsrcdir="$$s/opcodes"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif opcodes-bootstrap + + + + + .PHONY: all-opcodes maybe-all-opcodes maybe-all-opcodes: @if opcodes @@ -4136,42 +4662,218 @@ all-opcodes: configure-opcodes @endif opcodes -.PHONY: check-opcodes maybe-check-opcodes -maybe-check-opcodes: -@if opcodes -maybe-check-opcodes: check-opcodes -check-opcodes: +.PHONY: all-stage1-opcodes maybe-all-stage1-opcodes +.PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes +maybe-all-stage1-opcodes: +maybe-clean-stage1-opcodes: +@if opcodes-bootstrap +maybe-all-stage1-opcodes: all-stage1-opcodes +all-stage1: all-stage1-opcodes +all-stage1-opcodes: configure-stage1-opcodes + @$(MAKE) stage1-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(FLAGS_TO_PASS) check) + cd $(HOST_SUBDIR)/opcodes && \ + $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" -@endif opcodes +maybe-clean-stage1-opcodes: clean-stage1-opcodes +clean-stage1: clean-stage1-opcodes +clean-stage1-opcodes: + @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage1-start ; \ + cd $(HOST_SUBDIR)/opcodes && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" clean +@endif opcodes-bootstrap -.PHONY: install-opcodes maybe-install-opcodes -maybe-install-opcodes: -@if opcodes -maybe-install-opcodes: install-opcodes -install-opcodes: installdirs +.PHONY: all-stage2-opcodes maybe-all-stage2-opcodes +.PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes +maybe-all-stage2-opcodes: +maybe-clean-stage2-opcodes: +@if opcodes-bootstrap +maybe-all-stage2-opcodes: all-stage2-opcodes +all-stage2: all-stage2-opcodes +all-stage2-opcodes: configure-stage2-opcodes + @$(MAKE) stage2-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(FLAGS_TO_PASS) install) + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/opcodes && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) -@endif opcodes +maybe-clean-stage2-opcodes: clean-stage2-opcodes +clean-stage2: clean-stage2-opcodes +clean-stage2-opcodes: + @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage2-start ; \ + cd $(HOST_SUBDIR)/opcodes && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif opcodes-bootstrap -# Other targets (info, dvi, etc.) -.PHONY: maybe-info-opcodes info-opcodes -maybe-info-opcodes: -@if opcodes -maybe-info-opcodes: info-opcodes +.PHONY: all-stage3-opcodes maybe-all-stage3-opcodes +.PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes +maybe-all-stage3-opcodes: +maybe-clean-stage3-opcodes: +@if opcodes-bootstrap +maybe-all-stage3-opcodes: all-stage3-opcodes +all-stage3: all-stage3-opcodes +all-stage3-opcodes: configure-stage3-opcodes + @$(MAKE) stage3-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/opcodes && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) -info-opcodes: \ +maybe-clean-stage3-opcodes: clean-stage3-opcodes +clean-stage3: clean-stage3-opcodes +clean-stage3-opcodes: + @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage3-start ; \ + cd $(HOST_SUBDIR)/opcodes && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif opcodes-bootstrap + + +.PHONY: all-stage4-opcodes maybe-all-stage4-opcodes +.PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes +maybe-all-stage4-opcodes: +maybe-clean-stage4-opcodes: +@if opcodes-bootstrap +maybe-all-stage4-opcodes: all-stage4-opcodes +all-stage4: all-stage4-opcodes +all-stage4-opcodes: configure-stage4-opcodes + @$(MAKE) stage4-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/opcodes && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + +maybe-clean-stage4-opcodes: clean-stage4-opcodes +clean-stage4: clean-stage4-opcodes +clean-stage4-opcodes: + @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage4-start ; \ + cd $(HOST_SUBDIR)/opcodes && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif opcodes-bootstrap + + +.PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes +.PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes +maybe-all-stageprofile-opcodes: +maybe-clean-stageprofile-opcodes: +@if opcodes-bootstrap +maybe-all-stageprofile-opcodes: all-stageprofile-opcodes +all-stageprofile: all-stageprofile-opcodes +all-stageprofile-opcodes: configure-stageprofile-opcodes + @$(MAKE) stageprofile-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/opcodes && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + +maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes +clean-stageprofile: clean-stageprofile-opcodes +clean-stageprofile-opcodes: + @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stageprofile-start ; \ + cd $(HOST_SUBDIR)/opcodes && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean +@endif opcodes-bootstrap + + +.PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes +.PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes +maybe-all-stagefeedback-opcodes: +maybe-clean-stagefeedback-opcodes: +@if opcodes-bootstrap +maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes +all-stagefeedback: all-stagefeedback-opcodes +all-stagefeedback-opcodes: configure-stagefeedback-opcodes + @$(MAKE) stagefeedback-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/opcodes && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" + +maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes +clean-stagefeedback: clean-stagefeedback-opcodes +clean-stagefeedback-opcodes: + @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \ + cd $(HOST_SUBDIR)/opcodes && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean +@endif opcodes-bootstrap + + + + + +.PHONY: check-opcodes maybe-check-opcodes +maybe-check-opcodes: +@if opcodes +maybe-check-opcodes: check-opcodes + +check-opcodes: + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + (cd $(HOST_SUBDIR)/opcodes && \ + $(MAKE) $(FLAGS_TO_PASS) check) + +@endif opcodes + +.PHONY: install-opcodes maybe-install-opcodes +maybe-install-opcodes: +@if opcodes +maybe-install-opcodes: install-opcodes + +install-opcodes: installdirs + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + (cd $(HOST_SUBDIR)/opcodes && \ + $(MAKE) $(FLAGS_TO_PASS) install) + +@endif opcodes + +# Other targets (info, dvi, etc.) + +.PHONY: maybe-info-opcodes info-opcodes +maybe-info-opcodes: +@if opcodes +maybe-info-opcodes: info-opcodes + +info-opcodes: \ configure-opcodes @[ -f ./opcodes/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ @@ -4442,6 +5144,159 @@ configure-binutils: +.PHONY: configure-stage1-binutils maybe-configure-stage1-binutils +maybe-configure-stage1-binutils: +@if binutils-bootstrap +maybe-configure-stage1-binutils: configure-stage1-binutils +configure-stage1-binutils: + @$(MAKE) stage1-start + @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \ + cd $(HOST_SUBDIR)/binutils || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/binutils"; \ + libsrcdir="$$s/binutils"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" +@endif binutils-bootstrap + +.PHONY: configure-stage2-binutils maybe-configure-stage2-binutils +maybe-configure-stage2-binutils: +@if binutils-bootstrap +maybe-configure-stage2-binutils: configure-stage2-binutils +configure-stage2-binutils: + @$(MAKE) stage2-start + @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \ + cd $(HOST_SUBDIR)/binutils || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/binutils"; \ + libsrcdir="$$s/binutils"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif binutils-bootstrap + +.PHONY: configure-stage3-binutils maybe-configure-stage3-binutils +maybe-configure-stage3-binutils: +@if binutils-bootstrap +maybe-configure-stage3-binutils: configure-stage3-binutils +configure-stage3-binutils: + @$(MAKE) stage3-start + @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \ + cd $(HOST_SUBDIR)/binutils || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/binutils"; \ + libsrcdir="$$s/binutils"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif binutils-bootstrap + +.PHONY: configure-stage4-binutils maybe-configure-stage4-binutils +maybe-configure-stage4-binutils: +@if binutils-bootstrap +maybe-configure-stage4-binutils: configure-stage4-binutils +configure-stage4-binutils: + @$(MAKE) stage4-start + @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \ + cd $(HOST_SUBDIR)/binutils || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/binutils"; \ + libsrcdir="$$s/binutils"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif binutils-bootstrap + +.PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils +maybe-configure-stageprofile-binutils: +@if binutils-bootstrap +maybe-configure-stageprofile-binutils: configure-stageprofile-binutils +configure-stageprofile-binutils: + @$(MAKE) stageprofile-start + @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \ + cd $(HOST_SUBDIR)/binutils || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/binutils"; \ + libsrcdir="$$s/binutils"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif binutils-bootstrap + +.PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils +maybe-configure-stagefeedback-binutils: +@if binutils-bootstrap +maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils +configure-stagefeedback-binutils: + @$(MAKE) stagefeedback-start + @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \ + cd $(HOST_SUBDIR)/binutils || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/binutils"; \ + libsrcdir="$$s/binutils"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif binutils-bootstrap + + + + + .PHONY: all-binutils maybe-all-binutils maybe-all-binutils: @if binutils @@ -4457,6 +5312,182 @@ all-binutils: configure-binutils @endif binutils + +.PHONY: all-stage1-binutils maybe-all-stage1-binutils +.PHONY: clean-stage1-binutils maybe-clean-stage1-binutils +maybe-all-stage1-binutils: +maybe-clean-stage1-binutils: +@if binutils-bootstrap +maybe-all-stage1-binutils: all-stage1-binutils +all-stage1: all-stage1-binutils +all-stage1-binutils: configure-stage1-binutils + @$(MAKE) stage1-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/binutils && \ + $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" + +maybe-clean-stage1-binutils: clean-stage1-binutils +clean-stage1: clean-stage1-binutils +clean-stage1-binutils: + @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage1-start ; \ + cd $(HOST_SUBDIR)/binutils && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" clean +@endif binutils-bootstrap + + +.PHONY: all-stage2-binutils maybe-all-stage2-binutils +.PHONY: clean-stage2-binutils maybe-clean-stage2-binutils +maybe-all-stage2-binutils: +maybe-clean-stage2-binutils: +@if binutils-bootstrap +maybe-all-stage2-binutils: all-stage2-binutils +all-stage2: all-stage2-binutils +all-stage2-binutils: configure-stage2-binutils + @$(MAKE) stage2-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/binutils && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + +maybe-clean-stage2-binutils: clean-stage2-binutils +clean-stage2: clean-stage2-binutils +clean-stage2-binutils: + @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage2-start ; \ + cd $(HOST_SUBDIR)/binutils && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif binutils-bootstrap + + +.PHONY: all-stage3-binutils maybe-all-stage3-binutils +.PHONY: clean-stage3-binutils maybe-clean-stage3-binutils +maybe-all-stage3-binutils: +maybe-clean-stage3-binutils: +@if binutils-bootstrap +maybe-all-stage3-binutils: all-stage3-binutils +all-stage3: all-stage3-binutils +all-stage3-binutils: configure-stage3-binutils + @$(MAKE) stage3-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/binutils && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + +maybe-clean-stage3-binutils: clean-stage3-binutils +clean-stage3: clean-stage3-binutils +clean-stage3-binutils: + @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage3-start ; \ + cd $(HOST_SUBDIR)/binutils && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif binutils-bootstrap + + +.PHONY: all-stage4-binutils maybe-all-stage4-binutils +.PHONY: clean-stage4-binutils maybe-clean-stage4-binutils +maybe-all-stage4-binutils: +maybe-clean-stage4-binutils: +@if binutils-bootstrap +maybe-all-stage4-binutils: all-stage4-binutils +all-stage4: all-stage4-binutils +all-stage4-binutils: configure-stage4-binutils + @$(MAKE) stage4-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/binutils && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + +maybe-clean-stage4-binutils: clean-stage4-binutils +clean-stage4: clean-stage4-binutils +clean-stage4-binutils: + @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage4-start ; \ + cd $(HOST_SUBDIR)/binutils && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif binutils-bootstrap + + +.PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils +.PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils +maybe-all-stageprofile-binutils: +maybe-clean-stageprofile-binutils: +@if binutils-bootstrap +maybe-all-stageprofile-binutils: all-stageprofile-binutils +all-stageprofile: all-stageprofile-binutils +all-stageprofile-binutils: configure-stageprofile-binutils + @$(MAKE) stageprofile-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/binutils && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + +maybe-clean-stageprofile-binutils: clean-stageprofile-binutils +clean-stageprofile: clean-stageprofile-binutils +clean-stageprofile-binutils: + @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stageprofile-start ; \ + cd $(HOST_SUBDIR)/binutils && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean +@endif binutils-bootstrap + + +.PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils +.PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils +maybe-all-stagefeedback-binutils: +maybe-clean-stagefeedback-binutils: +@if binutils-bootstrap +maybe-all-stagefeedback-binutils: all-stagefeedback-binutils +all-stagefeedback: all-stagefeedback-binutils +all-stagefeedback-binutils: configure-stagefeedback-binutils + @$(MAKE) stagefeedback-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/binutils && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" + +maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils +clean-stagefeedback: clean-stagefeedback-binutils +clean-stagefeedback-binutils: + @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stagefeedback-start ; \ + cd $(HOST_SUBDIR)/binutils && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean +@endif binutils-bootstrap + + + + + .PHONY: check-binutils maybe-check-binutils maybe-check-binutils: @if binutils @@ -4762,6 +5793,8 @@ configure-bison: + + .PHONY: all-bison maybe-all-bison maybe-all-bison: @if bison @@ -4776,6 +5809,8 @@ all-bison: configure-bison @endif bison + + .PHONY: check-bison maybe-check-bison maybe-check-bison: @if bison @@ -5084,6 +6119,8 @@ configure-byacc: + + .PHONY: all-byacc maybe-all-byacc maybe-all-byacc: @if byacc @@ -5098,6 +6135,8 @@ all-byacc: configure-byacc @endif byacc + + .PHONY: check-byacc maybe-check-byacc maybe-check-byacc: @if byacc @@ -5406,6 +6445,8 @@ configure-bzip2: + + .PHONY: all-bzip2 maybe-all-bzip2 maybe-all-bzip2: @if bzip2 @@ -5420,6 +6461,8 @@ all-bzip2: configure-bzip2 @endif bzip2 + + .PHONY: check-bzip2 maybe-check-bzip2 maybe-check-bzip2: @if bzip2 @@ -5725,6 +6768,8 @@ configure-dejagnu: + + .PHONY: all-dejagnu maybe-all-dejagnu maybe-all-dejagnu: @if dejagnu @@ -5739,6 +6784,8 @@ all-dejagnu: configure-dejagnu @endif dejagnu + + .PHONY: check-dejagnu maybe-check-dejagnu maybe-check-dejagnu: @if dejagnu @@ -6044,6 +7091,8 @@ configure-diff: + + .PHONY: all-diff maybe-all-diff maybe-all-diff: @if diff @@ -6058,6 +7107,8 @@ all-diff: configure-diff @endif diff + + .PHONY: check-diff maybe-check-diff maybe-check-diff: @if diff @@ -6363,6 +7414,8 @@ configure-dosutils: + + .PHONY: all-dosutils maybe-all-dosutils maybe-all-dosutils: @if dosutils @@ -6377,6 +7430,8 @@ all-dosutils: configure-dosutils @endif dosutils + + .PHONY: check-dosutils maybe-check-dosutils maybe-check-dosutils: @if dosutils @@ -6677,6 +7732,8 @@ configure-etc: + + .PHONY: all-etc maybe-all-etc maybe-all-etc: @if etc @@ -6691,6 +7748,8 @@ all-etc: configure-etc @endif etc + + .PHONY: check-etc maybe-check-etc maybe-check-etc: @if etc @@ -6996,6 +8055,8 @@ configure-fastjar: + + .PHONY: all-fastjar maybe-all-fastjar maybe-all-fastjar: @if fastjar @@ -7010,6 +8071,8 @@ all-fastjar: configure-fastjar @endif fastjar + + .PHONY: check-fastjar maybe-check-fastjar maybe-check-fastjar: @if fastjar @@ -7318,6 +8381,8 @@ configure-fileutils: + + .PHONY: all-fileutils maybe-all-fileutils maybe-all-fileutils: @if fileutils @@ -7332,6 +8397,8 @@ all-fileutils: configure-fileutils @endif fileutils + + .PHONY: check-fileutils maybe-check-fileutils maybe-check-fileutils: @if fileutils @@ -7637,6 +8704,8 @@ configure-findutils: + + .PHONY: all-findutils maybe-all-findutils maybe-all-findutils: @if findutils @@ -7651,6 +8720,8 @@ all-findutils: configure-findutils @endif findutils + + .PHONY: check-findutils maybe-check-findutils maybe-check-findutils: @if findutils @@ -7956,6 +9027,8 @@ configure-find: + + .PHONY: all-find maybe-all-find maybe-all-find: @if find @@ -7970,6 +9043,8 @@ all-find: configure-find @endif find + + .PHONY: check-find maybe-check-find maybe-check-find: @if find @@ -8275,6 +9350,8 @@ configure-fixincludes: + + .PHONY: all-fixincludes maybe-all-fixincludes maybe-all-fixincludes: @if fixincludes @@ -8289,6 +9366,8 @@ all-fixincludes: configure-fixincludes @endif fixincludes + + .PHONY: check-fixincludes maybe-check-fixincludes maybe-check-fixincludes: @if fixincludes @@ -8518,6 +9597,8 @@ configure-flex: + + .PHONY: all-flex maybe-all-flex maybe-all-flex: @if flex @@ -8532,6 +9613,8 @@ all-flex: configure-flex @endif flex + + .PHONY: check-flex maybe-check-flex maybe-check-flex: @if flex @@ -8841,45 +9924,374 @@ configure-gas: -.PHONY: all-gas maybe-all-gas -maybe-all-gas: -@if gas -TARGET-gas=all -maybe-all-gas: all-gas -all-gas: configure-gas - @test -f stage_last && exit 0; \ +.PHONY: configure-stage1-gas maybe-configure-stage1-gas +maybe-configure-stage1-gas: +@if gas-bootstrap +maybe-configure-stage1-gas: configure-stage1-gas +configure-stage1-gas: + @$(MAKE) stage1-start + @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas)) -@endif gas - - -.PHONY: check-gas maybe-check-gas -maybe-check-gas: -@if gas -maybe-check-gas: check-gas + echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \ + cd $(HOST_SUBDIR)/gas || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/gas"; \ + libsrcdir="$$s/gas"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" +@endif gas-bootstrap -check-gas: - @r=`${PWD_COMMAND}`; export r; \ +.PHONY: configure-stage2-gas maybe-configure-stage2-gas +maybe-configure-stage2-gas: +@if gas-bootstrap +maybe-configure-stage2-gas: configure-stage2-gas +configure-stage2-gas: + @$(MAKE) stage2-start + @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif gas - -.PHONY: install-gas maybe-install-gas -maybe-install-gas: -@if gas -maybe-install-gas: install-gas + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \ + cd $(HOST_SUBDIR)/gas || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/gas"; \ + libsrcdir="$$s/gas"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif gas-bootstrap -install-gas: installdirs - @r=`${PWD_COMMAND}`; export r; \ +.PHONY: configure-stage3-gas maybe-configure-stage3-gas +maybe-configure-stage3-gas: +@if gas-bootstrap +maybe-configure-stage3-gas: configure-stage3-gas +configure-stage3-gas: + @$(MAKE) stage3-start + @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gas && \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \ + cd $(HOST_SUBDIR)/gas || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/gas"; \ + libsrcdir="$$s/gas"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif gas-bootstrap + +.PHONY: configure-stage4-gas maybe-configure-stage4-gas +maybe-configure-stage4-gas: +@if gas-bootstrap +maybe-configure-stage4-gas: configure-stage4-gas +configure-stage4-gas: + @$(MAKE) stage4-start + @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \ + cd $(HOST_SUBDIR)/gas || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/gas"; \ + libsrcdir="$$s/gas"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif gas-bootstrap + +.PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas +maybe-configure-stageprofile-gas: +@if gas-bootstrap +maybe-configure-stageprofile-gas: configure-stageprofile-gas +configure-stageprofile-gas: + @$(MAKE) stageprofile-start + @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \ + cd $(HOST_SUBDIR)/gas || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/gas"; \ + libsrcdir="$$s/gas"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif gas-bootstrap + +.PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas +maybe-configure-stagefeedback-gas: +@if gas-bootstrap +maybe-configure-stagefeedback-gas: configure-stagefeedback-gas +configure-stagefeedback-gas: + @$(MAKE) stagefeedback-start + @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \ + cd $(HOST_SUBDIR)/gas || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/gas"; \ + libsrcdir="$$s/gas"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif gas-bootstrap + + + + + +.PHONY: all-gas maybe-all-gas +maybe-all-gas: +@if gas +TARGET-gas=all +maybe-all-gas: all-gas +all-gas: configure-gas + @test -f stage_last && exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + (cd $(HOST_SUBDIR)/gas && \ + $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas)) +@endif gas + + + +.PHONY: all-stage1-gas maybe-all-stage1-gas +.PHONY: clean-stage1-gas maybe-clean-stage1-gas +maybe-all-stage1-gas: +maybe-clean-stage1-gas: +@if gas-bootstrap +maybe-all-stage1-gas: all-stage1-gas +all-stage1: all-stage1-gas +all-stage1-gas: configure-stage1-gas + @$(MAKE) stage1-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/gas && \ + $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" + +maybe-clean-stage1-gas: clean-stage1-gas +clean-stage1: clean-stage1-gas +clean-stage1-gas: + @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage1-start ; \ + cd $(HOST_SUBDIR)/gas && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" clean +@endif gas-bootstrap + + +.PHONY: all-stage2-gas maybe-all-stage2-gas +.PHONY: clean-stage2-gas maybe-clean-stage2-gas +maybe-all-stage2-gas: +maybe-clean-stage2-gas: +@if gas-bootstrap +maybe-all-stage2-gas: all-stage2-gas +all-stage2: all-stage2-gas +all-stage2-gas: configure-stage2-gas + @$(MAKE) stage2-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/gas && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + +maybe-clean-stage2-gas: clean-stage2-gas +clean-stage2: clean-stage2-gas +clean-stage2-gas: + @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage2-start ; \ + cd $(HOST_SUBDIR)/gas && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif gas-bootstrap + + +.PHONY: all-stage3-gas maybe-all-stage3-gas +.PHONY: clean-stage3-gas maybe-clean-stage3-gas +maybe-all-stage3-gas: +maybe-clean-stage3-gas: +@if gas-bootstrap +maybe-all-stage3-gas: all-stage3-gas +all-stage3: all-stage3-gas +all-stage3-gas: configure-stage3-gas + @$(MAKE) stage3-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/gas && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + +maybe-clean-stage3-gas: clean-stage3-gas +clean-stage3: clean-stage3-gas +clean-stage3-gas: + @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage3-start ; \ + cd $(HOST_SUBDIR)/gas && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif gas-bootstrap + + +.PHONY: all-stage4-gas maybe-all-stage4-gas +.PHONY: clean-stage4-gas maybe-clean-stage4-gas +maybe-all-stage4-gas: +maybe-clean-stage4-gas: +@if gas-bootstrap +maybe-all-stage4-gas: all-stage4-gas +all-stage4: all-stage4-gas +all-stage4-gas: configure-stage4-gas + @$(MAKE) stage4-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/gas && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + +maybe-clean-stage4-gas: clean-stage4-gas +clean-stage4: clean-stage4-gas +clean-stage4-gas: + @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage4-start ; \ + cd $(HOST_SUBDIR)/gas && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif gas-bootstrap + + +.PHONY: all-stageprofile-gas maybe-all-stageprofile-gas +.PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas +maybe-all-stageprofile-gas: +maybe-clean-stageprofile-gas: +@if gas-bootstrap +maybe-all-stageprofile-gas: all-stageprofile-gas +all-stageprofile: all-stageprofile-gas +all-stageprofile-gas: configure-stageprofile-gas + @$(MAKE) stageprofile-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/gas && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + +maybe-clean-stageprofile-gas: clean-stageprofile-gas +clean-stageprofile: clean-stageprofile-gas +clean-stageprofile-gas: + @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stageprofile-start ; \ + cd $(HOST_SUBDIR)/gas && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean +@endif gas-bootstrap + + +.PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas +.PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas +maybe-all-stagefeedback-gas: +maybe-clean-stagefeedback-gas: +@if gas-bootstrap +maybe-all-stagefeedback-gas: all-stagefeedback-gas +all-stagefeedback: all-stagefeedback-gas +all-stagefeedback-gas: configure-stagefeedback-gas + @$(MAKE) stagefeedback-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/gas && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" + +maybe-clean-stagefeedback-gas: clean-stagefeedback-gas +clean-stagefeedback: clean-stagefeedback-gas +clean-stagefeedback-gas: + @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stagefeedback-start ; \ + cd $(HOST_SUBDIR)/gas && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean +@endif gas-bootstrap + + + + + +.PHONY: check-gas maybe-check-gas +maybe-check-gas: +@if gas +maybe-check-gas: check-gas + +check-gas: + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + (cd $(HOST_SUBDIR)/gas && \ + $(MAKE) $(FLAGS_TO_PASS) check) + +@endif gas + +.PHONY: install-gas maybe-install-gas +maybe-install-gas: +@if gas +maybe-install-gas: install-gas + +install-gas: installdirs + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + (cd $(HOST_SUBDIR)/gas && \ $(MAKE) $(FLAGS_TO_PASS) install) @endif gas @@ -9162,6 +10574,159 @@ configure-gcc: +.PHONY: configure-stage1-gcc maybe-configure-stage1-gcc +maybe-configure-stage1-gcc: +@if gcc-bootstrap +maybe-configure-stage1-gcc: configure-stage1-gcc +configure-stage1-gcc: + @$(MAKE) stage1-start + @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \ + cd $(HOST_SUBDIR)/gcc || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/gcc"; \ + libsrcdir="$$s/gcc"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" +@endif gcc-bootstrap + +.PHONY: configure-stage2-gcc maybe-configure-stage2-gcc +maybe-configure-stage2-gcc: +@if gcc-bootstrap +maybe-configure-stage2-gcc: configure-stage2-gcc +configure-stage2-gcc: + @$(MAKE) stage2-start + @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \ + cd $(HOST_SUBDIR)/gcc || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/gcc"; \ + libsrcdir="$$s/gcc"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif gcc-bootstrap + +.PHONY: configure-stage3-gcc maybe-configure-stage3-gcc +maybe-configure-stage3-gcc: +@if gcc-bootstrap +maybe-configure-stage3-gcc: configure-stage3-gcc +configure-stage3-gcc: + @$(MAKE) stage3-start + @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \ + cd $(HOST_SUBDIR)/gcc || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/gcc"; \ + libsrcdir="$$s/gcc"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif gcc-bootstrap + +.PHONY: configure-stage4-gcc maybe-configure-stage4-gcc +maybe-configure-stage4-gcc: +@if gcc-bootstrap +maybe-configure-stage4-gcc: configure-stage4-gcc +configure-stage4-gcc: + @$(MAKE) stage4-start + @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \ + cd $(HOST_SUBDIR)/gcc || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/gcc"; \ + libsrcdir="$$s/gcc"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif gcc-bootstrap + +.PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc +maybe-configure-stageprofile-gcc: +@if gcc-bootstrap +maybe-configure-stageprofile-gcc: configure-stageprofile-gcc +configure-stageprofile-gcc: + @$(MAKE) stageprofile-start + @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \ + cd $(HOST_SUBDIR)/gcc || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/gcc"; \ + libsrcdir="$$s/gcc"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif gcc-bootstrap + +.PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc +maybe-configure-stagefeedback-gcc: +@if gcc-bootstrap +maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc +configure-stagefeedback-gcc: + @$(MAKE) stagefeedback-start + @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \ + cd $(HOST_SUBDIR)/gcc || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/gcc"; \ + libsrcdir="$$s/gcc"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif gcc-bootstrap + + + + + .PHONY: all-gcc maybe-all-gcc maybe-all-gcc: @if gcc @@ -9177,88 +10742,264 @@ all-gcc: configure-gcc @endif gcc -.PHONY: check-gcc maybe-check-gcc -maybe-check-gcc: -@if gcc -maybe-check-gcc: check-gcc -check-gcc: +.PHONY: all-stage1-gcc maybe-all-stage1-gcc +.PHONY: clean-stage1-gcc maybe-clean-stage1-gcc +maybe-all-stage1-gcc: +maybe-clean-stage1-gcc: +@if gcc-bootstrap +maybe-all-stage1-gcc: all-stage1-gcc +all-stage1: all-stage1-gcc +all-stage1-gcc: configure-stage1-gcc + @$(MAKE) stage1-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check) + cd $(HOST_SUBDIR)/gcc && \ + $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) -@endif gcc +maybe-clean-stage1-gcc: clean-stage1-gcc +clean-stage1: clean-stage1-gcc +clean-stage1-gcc: + @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage1-start ; \ + cd $(HOST_SUBDIR)/gcc && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean +@endif gcc-bootstrap -.PHONY: install-gcc maybe-install-gcc -maybe-install-gcc: -@if gcc -maybe-install-gcc: install-gcc -install-gcc: installdirs +.PHONY: all-stage2-gcc maybe-all-stage2-gcc +.PHONY: clean-stage2-gcc maybe-clean-stage2-gcc +maybe-all-stage2-gcc: +maybe-clean-stage2-gcc: +@if gcc-bootstrap +maybe-all-stage2-gcc: all-stage2-gcc +all-stage2: all-stage2-gcc +all-stage2-gcc: configure-stage2-gcc + @$(MAKE) stage2-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install) - -@endif gcc + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/gcc && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) -# Other targets (info, dvi, etc.) +maybe-clean-stage2-gcc: clean-stage2-gcc +clean-stage2: clean-stage2-gcc +clean-stage2-gcc: + @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage2-start ; \ + cd $(HOST_SUBDIR)/gcc && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(EXTRA_GCC_FLAGS) clean +@endif gcc-bootstrap -.PHONY: maybe-info-gcc info-gcc -maybe-info-gcc: -@if gcc -maybe-info-gcc: info-gcc -info-gcc: \ - configure-gcc - @[ -f ./gcc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ +.PHONY: all-stage3-gcc maybe-all-stage3-gcc +.PHONY: clean-stage3-gcc maybe-clean-stage3-gcc +maybe-all-stage3-gcc: +maybe-clean-stage3-gcc: +@if gcc-bootstrap +maybe-all-stage3-gcc: all-stage3-gcc +all-stage3: all-stage3-gcc +all-stage3-gcc: configure-stage3-gcc + @$(MAKE) stage3-start + @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in gcc" ; \ - (cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ - info) \ - || exit 1 + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/gcc && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) -@endif gcc +maybe-clean-stage3-gcc: clean-stage3-gcc +clean-stage3: clean-stage3-gcc +clean-stage3-gcc: + @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage3-start ; \ + cd $(HOST_SUBDIR)/gcc && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(EXTRA_GCC_FLAGS) clean +@endif gcc-bootstrap -.PHONY: maybe-dvi-gcc dvi-gcc -maybe-dvi-gcc: -@if gcc -maybe-dvi-gcc: dvi-gcc -dvi-gcc: \ - configure-gcc - @[ -f ./gcc/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ +.PHONY: all-stage4-gcc maybe-all-stage4-gcc +.PHONY: clean-stage4-gcc maybe-clean-stage4-gcc +maybe-all-stage4-gcc: +maybe-clean-stage4-gcc: +@if gcc-bootstrap +maybe-all-stage4-gcc: all-stage4-gcc +all-stage4: all-stage4-gcc +all-stage4-gcc: configure-stage4-gcc + @$(MAKE) stage4-start + @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in gcc" ; \ - (cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ - dvi) \ - || exit 1 - -@endif gcc + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/gcc && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) -.PHONY: maybe-html-gcc html-gcc -maybe-html-gcc: +maybe-clean-stage4-gcc: clean-stage4-gcc +clean-stage4: clean-stage4-gcc +clean-stage4-gcc: + @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage4-start ; \ + cd $(HOST_SUBDIR)/gcc && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + $(EXTRA_GCC_FLAGS) clean +@endif gcc-bootstrap + + +.PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc +.PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc +maybe-all-stageprofile-gcc: +maybe-clean-stageprofile-gcc: +@if gcc-bootstrap +maybe-all-stageprofile-gcc: all-stageprofile-gcc +all-stageprofile: all-stageprofile-gcc +all-stageprofile-gcc: configure-stageprofile-gcc + @$(MAKE) stageprofile-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/gcc && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) + +maybe-clean-stageprofile-gcc: clean-stageprofile-gcc +clean-stageprofile: clean-stageprofile-gcc +clean-stageprofile-gcc: + @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stageprofile-start ; \ + cd $(HOST_SUBDIR)/gcc && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean +@endif gcc-bootstrap + + +.PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc +.PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc +maybe-all-stagefeedback-gcc: +maybe-clean-stagefeedback-gcc: +@if gcc-bootstrap +maybe-all-stagefeedback-gcc: all-stagefeedback-gcc +all-stagefeedback: all-stagefeedback-gcc +all-stagefeedback-gcc: configure-stagefeedback-gcc + @$(MAKE) stagefeedback-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/gcc && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) + +maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc +clean-stagefeedback: clean-stagefeedback-gcc +clean-stagefeedback-gcc: + @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stagefeedback-start ; \ + cd $(HOST_SUBDIR)/gcc && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean +@endif gcc-bootstrap + + + + + +.PHONY: check-gcc maybe-check-gcc +maybe-check-gcc: +@if gcc +maybe-check-gcc: check-gcc + +check-gcc: + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + (cd $(HOST_SUBDIR)/gcc && \ + $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check) + +@endif gcc + +.PHONY: install-gcc maybe-install-gcc +maybe-install-gcc: +@if gcc +maybe-install-gcc: install-gcc + +install-gcc: installdirs + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + (cd $(HOST_SUBDIR)/gcc && \ + $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install) + +@endif gcc + +# Other targets (info, dvi, etc.) + +.PHONY: maybe-info-gcc info-gcc +maybe-info-gcc: +@if gcc +maybe-info-gcc: info-gcc + +info-gcc: \ + configure-gcc + @[ -f ./gcc/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing info in gcc" ; \ + (cd $(HOST_SUBDIR)/gcc && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ + info) \ + || exit 1 + +@endif gcc + +.PHONY: maybe-dvi-gcc dvi-gcc +maybe-dvi-gcc: +@if gcc +maybe-dvi-gcc: dvi-gcc + +dvi-gcc: \ + configure-gcc + @[ -f ./gcc/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing dvi in gcc" ; \ + (cd $(HOST_SUBDIR)/gcc && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ + dvi) \ + || exit 1 + +@endif gcc + +.PHONY: maybe-html-gcc html-gcc +maybe-html-gcc: @if gcc maybe-html-gcc: html-gcc @@ -9482,6 +11223,8 @@ configure-gawk: + + .PHONY: all-gawk maybe-all-gawk maybe-all-gawk: @if gawk @@ -9496,6 +11239,8 @@ all-gawk: configure-gawk @endif gawk + + .PHONY: check-gawk maybe-check-gawk maybe-check-gawk: @if gawk @@ -9801,6 +11546,8 @@ configure-gettext: + + .PHONY: all-gettext maybe-all-gettext maybe-all-gettext: @if gettext @@ -9815,6 +11562,8 @@ all-gettext: configure-gettext @endif gettext + + .PHONY: check-gettext maybe-check-gettext maybe-check-gettext: @if gettext @@ -10120,6 +11869,8 @@ configure-gnuserv: + + .PHONY: all-gnuserv maybe-all-gnuserv maybe-all-gnuserv: @if gnuserv @@ -10134,6 +11885,8 @@ all-gnuserv: configure-gnuserv @endif gnuserv + + .PHONY: check-gnuserv maybe-check-gnuserv maybe-check-gnuserv: @if gnuserv @@ -10439,6 +12192,8 @@ configure-gprof: + + .PHONY: all-gprof maybe-all-gprof maybe-all-gprof: @if gprof @@ -10453,6 +12208,8 @@ all-gprof: configure-gprof @endif gprof + + .PHONY: check-gprof maybe-check-gprof maybe-check-gprof: @if gprof @@ -10758,6 +12515,8 @@ configure-gzip: + + .PHONY: all-gzip maybe-all-gzip maybe-all-gzip: @if gzip @@ -10772,6 +12531,8 @@ all-gzip: configure-gzip @endif gzip + + .PHONY: check-gzip maybe-check-gzip maybe-check-gzip: @if gzip @@ -11077,6 +12838,8 @@ configure-hello: + + .PHONY: all-hello maybe-all-hello maybe-all-hello: @if hello @@ -11091,6 +12854,8 @@ all-hello: configure-hello @endif hello + + .PHONY: check-hello maybe-check-hello maybe-check-hello: @if hello @@ -11396,6 +13161,8 @@ configure-indent: + + .PHONY: all-indent maybe-all-indent maybe-all-indent: @if indent @@ -11410,6 +13177,8 @@ all-indent: configure-indent @endif indent + + .PHONY: check-indent maybe-check-indent maybe-check-indent: @if indent @@ -11716,6 +13485,159 @@ configure-intl: +.PHONY: configure-stage1-intl maybe-configure-stage1-intl +maybe-configure-stage1-intl: +@if intl-bootstrap +maybe-configure-stage1-intl: configure-stage1-intl +configure-stage1-intl: + @$(MAKE) stage1-start + @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \ + cd $(HOST_SUBDIR)/intl || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/intl"; \ + libsrcdir="$$s/intl"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" +@endif intl-bootstrap + +.PHONY: configure-stage2-intl maybe-configure-stage2-intl +maybe-configure-stage2-intl: +@if intl-bootstrap +maybe-configure-stage2-intl: configure-stage2-intl +configure-stage2-intl: + @$(MAKE) stage2-start + @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \ + cd $(HOST_SUBDIR)/intl || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/intl"; \ + libsrcdir="$$s/intl"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif intl-bootstrap + +.PHONY: configure-stage3-intl maybe-configure-stage3-intl +maybe-configure-stage3-intl: +@if intl-bootstrap +maybe-configure-stage3-intl: configure-stage3-intl +configure-stage3-intl: + @$(MAKE) stage3-start + @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \ + cd $(HOST_SUBDIR)/intl || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/intl"; \ + libsrcdir="$$s/intl"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif intl-bootstrap + +.PHONY: configure-stage4-intl maybe-configure-stage4-intl +maybe-configure-stage4-intl: +@if intl-bootstrap +maybe-configure-stage4-intl: configure-stage4-intl +configure-stage4-intl: + @$(MAKE) stage4-start + @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \ + cd $(HOST_SUBDIR)/intl || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/intl"; \ + libsrcdir="$$s/intl"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif intl-bootstrap + +.PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl +maybe-configure-stageprofile-intl: +@if intl-bootstrap +maybe-configure-stageprofile-intl: configure-stageprofile-intl +configure-stageprofile-intl: + @$(MAKE) stageprofile-start + @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \ + cd $(HOST_SUBDIR)/intl || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/intl"; \ + libsrcdir="$$s/intl"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif intl-bootstrap + +.PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl +maybe-configure-stagefeedback-intl: +@if intl-bootstrap +maybe-configure-stagefeedback-intl: configure-stagefeedback-intl +configure-stagefeedback-intl: + @$(MAKE) stagefeedback-start + @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \ + cd $(HOST_SUBDIR)/intl || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/intl"; \ + libsrcdir="$$s/intl"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif intl-bootstrap + + + + + .PHONY: all-intl maybe-all-intl maybe-all-intl: @if intl @@ -11731,6 +13653,182 @@ all-intl: configure-intl @endif intl + +.PHONY: all-stage1-intl maybe-all-stage1-intl +.PHONY: clean-stage1-intl maybe-clean-stage1-intl +maybe-all-stage1-intl: +maybe-clean-stage1-intl: +@if intl-bootstrap +maybe-all-stage1-intl: all-stage1-intl +all-stage1: all-stage1-intl +all-stage1-intl: configure-stage1-intl + @$(MAKE) stage1-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/intl && \ + $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" + +maybe-clean-stage1-intl: clean-stage1-intl +clean-stage1: clean-stage1-intl +clean-stage1-intl: + @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage1-start ; \ + cd $(HOST_SUBDIR)/intl && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" clean +@endif intl-bootstrap + + +.PHONY: all-stage2-intl maybe-all-stage2-intl +.PHONY: clean-stage2-intl maybe-clean-stage2-intl +maybe-all-stage2-intl: +maybe-clean-stage2-intl: +@if intl-bootstrap +maybe-all-stage2-intl: all-stage2-intl +all-stage2: all-stage2-intl +all-stage2-intl: configure-stage2-intl + @$(MAKE) stage2-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/intl && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + +maybe-clean-stage2-intl: clean-stage2-intl +clean-stage2: clean-stage2-intl +clean-stage2-intl: + @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage2-start ; \ + cd $(HOST_SUBDIR)/intl && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif intl-bootstrap + + +.PHONY: all-stage3-intl maybe-all-stage3-intl +.PHONY: clean-stage3-intl maybe-clean-stage3-intl +maybe-all-stage3-intl: +maybe-clean-stage3-intl: +@if intl-bootstrap +maybe-all-stage3-intl: all-stage3-intl +all-stage3: all-stage3-intl +all-stage3-intl: configure-stage3-intl + @$(MAKE) stage3-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/intl && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + +maybe-clean-stage3-intl: clean-stage3-intl +clean-stage3: clean-stage3-intl +clean-stage3-intl: + @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage3-start ; \ + cd $(HOST_SUBDIR)/intl && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif intl-bootstrap + + +.PHONY: all-stage4-intl maybe-all-stage4-intl +.PHONY: clean-stage4-intl maybe-clean-stage4-intl +maybe-all-stage4-intl: +maybe-clean-stage4-intl: +@if intl-bootstrap +maybe-all-stage4-intl: all-stage4-intl +all-stage4: all-stage4-intl +all-stage4-intl: configure-stage4-intl + @$(MAKE) stage4-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/intl && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + +maybe-clean-stage4-intl: clean-stage4-intl +clean-stage4: clean-stage4-intl +clean-stage4-intl: + @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage4-start ; \ + cd $(HOST_SUBDIR)/intl && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif intl-bootstrap + + +.PHONY: all-stageprofile-intl maybe-all-stageprofile-intl +.PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl +maybe-all-stageprofile-intl: +maybe-clean-stageprofile-intl: +@if intl-bootstrap +maybe-all-stageprofile-intl: all-stageprofile-intl +all-stageprofile: all-stageprofile-intl +all-stageprofile-intl: configure-stageprofile-intl + @$(MAKE) stageprofile-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/intl && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + +maybe-clean-stageprofile-intl: clean-stageprofile-intl +clean-stageprofile: clean-stageprofile-intl +clean-stageprofile-intl: + @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stageprofile-start ; \ + cd $(HOST_SUBDIR)/intl && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean +@endif intl-bootstrap + + +.PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl +.PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl +maybe-all-stagefeedback-intl: +maybe-clean-stagefeedback-intl: +@if intl-bootstrap +maybe-all-stagefeedback-intl: all-stagefeedback-intl +all-stagefeedback: all-stagefeedback-intl +all-stagefeedback-intl: configure-stagefeedback-intl + @$(MAKE) stagefeedback-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/intl && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" + +maybe-clean-stagefeedback-intl: clean-stagefeedback-intl +clean-stagefeedback: clean-stagefeedback-intl +clean-stagefeedback-intl: + @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stagefeedback-start ; \ + cd $(HOST_SUBDIR)/intl && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean +@endif intl-bootstrap + + + + + .PHONY: check-intl maybe-check-intl maybe-check-intl: @if intl @@ -12036,6 +14134,8 @@ configure-tcl: + + .PHONY: all-tcl maybe-all-tcl maybe-all-tcl: @if tcl @@ -12050,6 +14150,8 @@ all-tcl: configure-tcl @endif tcl + + .PHONY: check-tcl maybe-check-tcl maybe-check-tcl: @if tcl @@ -12341,6 +14443,8 @@ configure-itcl: + + .PHONY: all-itcl maybe-all-itcl maybe-all-itcl: @if itcl @@ -12355,6 +14459,8 @@ all-itcl: configure-itcl @endif itcl + + .PHONY: check-itcl maybe-check-itcl maybe-check-itcl: @if itcl @@ -12661,42 +14767,371 @@ configure-ld: -.PHONY: all-ld maybe-all-ld -maybe-all-ld: -@if ld -TARGET-ld=all -maybe-all-ld: all-ld -all-ld: configure-ld - @test -f stage_last && exit 0; \ +.PHONY: configure-stage1-ld maybe-configure-stage1-ld +maybe-configure-stage1-ld: +@if ld-bootstrap +maybe-configure-stage1-ld: configure-stage1-ld +configure-stage1-ld: + @$(MAKE) stage1-start + @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld)) -@endif ld - - -.PHONY: check-ld maybe-check-ld -maybe-check-ld: -@if ld -maybe-check-ld: check-ld + echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \ + cd $(HOST_SUBDIR)/ld || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/ld"; \ + libsrcdir="$$s/ld"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" +@endif ld-bootstrap -check-ld: - @r=`${PWD_COMMAND}`; export r; \ +.PHONY: configure-stage2-ld maybe-configure-stage2-ld +maybe-configure-stage2-ld: +@if ld-bootstrap +maybe-configure-stage2-ld: configure-stage2-ld +configure-stage2-ld: + @$(MAKE) stage2-start + @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(FLAGS_TO_PASS) check) - -@endif ld - -.PHONY: install-ld maybe-install-ld -maybe-install-ld: -@if ld -maybe-install-ld: install-ld + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \ + cd $(HOST_SUBDIR)/ld || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/ld"; \ + libsrcdir="$$s/ld"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif ld-bootstrap -install-ld: installdirs - @r=`${PWD_COMMAND}`; export r; \ +.PHONY: configure-stage3-ld maybe-configure-stage3-ld +maybe-configure-stage3-ld: +@if ld-bootstrap +maybe-configure-stage3-ld: configure-stage3-ld +configure-stage3-ld: + @$(MAKE) stage3-start + @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \ + cd $(HOST_SUBDIR)/ld || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/ld"; \ + libsrcdir="$$s/ld"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif ld-bootstrap + +.PHONY: configure-stage4-ld maybe-configure-stage4-ld +maybe-configure-stage4-ld: +@if ld-bootstrap +maybe-configure-stage4-ld: configure-stage4-ld +configure-stage4-ld: + @$(MAKE) stage4-start + @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \ + cd $(HOST_SUBDIR)/ld || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/ld"; \ + libsrcdir="$$s/ld"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif ld-bootstrap + +.PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld +maybe-configure-stageprofile-ld: +@if ld-bootstrap +maybe-configure-stageprofile-ld: configure-stageprofile-ld +configure-stageprofile-ld: + @$(MAKE) stageprofile-start + @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \ + cd $(HOST_SUBDIR)/ld || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/ld"; \ + libsrcdir="$$s/ld"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif ld-bootstrap + +.PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld +maybe-configure-stagefeedback-ld: +@if ld-bootstrap +maybe-configure-stagefeedback-ld: configure-stagefeedback-ld +configure-stagefeedback-ld: + @$(MAKE) stagefeedback-start + @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \ + cd $(HOST_SUBDIR)/ld || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/ld"; \ + libsrcdir="$$s/ld"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif ld-bootstrap + + + + + +.PHONY: all-ld maybe-all-ld +maybe-all-ld: +@if ld +TARGET-ld=all +maybe-all-ld: all-ld +all-ld: configure-ld + @test -f stage_last && exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + (cd $(HOST_SUBDIR)/ld && \ + $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld)) +@endif ld + + + +.PHONY: all-stage1-ld maybe-all-stage1-ld +.PHONY: clean-stage1-ld maybe-clean-stage1-ld +maybe-all-stage1-ld: +maybe-clean-stage1-ld: +@if ld-bootstrap +maybe-all-stage1-ld: all-stage1-ld +all-stage1: all-stage1-ld +all-stage1-ld: configure-stage1-ld + @$(MAKE) stage1-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/ld && \ + $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" + +maybe-clean-stage1-ld: clean-stage1-ld +clean-stage1: clean-stage1-ld +clean-stage1-ld: + @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage1-start ; \ + cd $(HOST_SUBDIR)/ld && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" clean +@endif ld-bootstrap + + +.PHONY: all-stage2-ld maybe-all-stage2-ld +.PHONY: clean-stage2-ld maybe-clean-stage2-ld +maybe-all-stage2-ld: +maybe-clean-stage2-ld: +@if ld-bootstrap +maybe-all-stage2-ld: all-stage2-ld +all-stage2: all-stage2-ld +all-stage2-ld: configure-stage2-ld + @$(MAKE) stage2-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/ld && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + +maybe-clean-stage2-ld: clean-stage2-ld +clean-stage2: clean-stage2-ld +clean-stage2-ld: + @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage2-start ; \ + cd $(HOST_SUBDIR)/ld && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif ld-bootstrap + + +.PHONY: all-stage3-ld maybe-all-stage3-ld +.PHONY: clean-stage3-ld maybe-clean-stage3-ld +maybe-all-stage3-ld: +maybe-clean-stage3-ld: +@if ld-bootstrap +maybe-all-stage3-ld: all-stage3-ld +all-stage3: all-stage3-ld +all-stage3-ld: configure-stage3-ld + @$(MAKE) stage3-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/ld && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + +maybe-clean-stage3-ld: clean-stage3-ld +clean-stage3: clean-stage3-ld +clean-stage3-ld: + @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage3-start ; \ + cd $(HOST_SUBDIR)/ld && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif ld-bootstrap + + +.PHONY: all-stage4-ld maybe-all-stage4-ld +.PHONY: clean-stage4-ld maybe-clean-stage4-ld +maybe-all-stage4-ld: +maybe-clean-stage4-ld: +@if ld-bootstrap +maybe-all-stage4-ld: all-stage4-ld +all-stage4: all-stage4-ld +all-stage4-ld: configure-stage4-ld + @$(MAKE) stage4-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/ld && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + +maybe-clean-stage4-ld: clean-stage4-ld +clean-stage4: clean-stage4-ld +clean-stage4-ld: + @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage4-start ; \ + cd $(HOST_SUBDIR)/ld && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif ld-bootstrap + + +.PHONY: all-stageprofile-ld maybe-all-stageprofile-ld +.PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld +maybe-all-stageprofile-ld: +maybe-clean-stageprofile-ld: +@if ld-bootstrap +maybe-all-stageprofile-ld: all-stageprofile-ld +all-stageprofile: all-stageprofile-ld +all-stageprofile-ld: configure-stageprofile-ld + @$(MAKE) stageprofile-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/ld && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + +maybe-clean-stageprofile-ld: clean-stageprofile-ld +clean-stageprofile: clean-stageprofile-ld +clean-stageprofile-ld: + @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stageprofile-start ; \ + cd $(HOST_SUBDIR)/ld && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean +@endif ld-bootstrap + + +.PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld +.PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld +maybe-all-stagefeedback-ld: +maybe-clean-stagefeedback-ld: +@if ld-bootstrap +maybe-all-stagefeedback-ld: all-stagefeedback-ld +all-stagefeedback: all-stagefeedback-ld +all-stagefeedback-ld: configure-stagefeedback-ld + @$(MAKE) stagefeedback-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/ld && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" + +maybe-clean-stagefeedback-ld: clean-stagefeedback-ld +clean-stagefeedback: clean-stagefeedback-ld +clean-stagefeedback-ld: + @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stagefeedback-start ; \ + cd $(HOST_SUBDIR)/ld && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean +@endif ld-bootstrap + + + + + +.PHONY: check-ld maybe-check-ld +maybe-check-ld: +@if ld +maybe-check-ld: check-ld + +check-ld: + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + (cd $(HOST_SUBDIR)/ld && \ + $(MAKE) $(FLAGS_TO_PASS) check) + +@endif ld + +.PHONY: install-ld maybe-install-ld +maybe-install-ld: +@if ld +maybe-install-ld: install-ld + +install-ld: installdirs + @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ (cd $(HOST_SUBDIR)/ld && \ @@ -12982,6 +15417,159 @@ configure-libcpp: +.PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp +maybe-configure-stage1-libcpp: +@if libcpp-bootstrap +maybe-configure-stage1-libcpp: configure-stage1-libcpp +configure-stage1-libcpp: + @$(MAKE) stage1-start + @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \ + cd $(HOST_SUBDIR)/libcpp || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/libcpp"; \ + libsrcdir="$$s/libcpp"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" +@endif libcpp-bootstrap + +.PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp +maybe-configure-stage2-libcpp: +@if libcpp-bootstrap +maybe-configure-stage2-libcpp: configure-stage2-libcpp +configure-stage2-libcpp: + @$(MAKE) stage2-start + @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \ + cd $(HOST_SUBDIR)/libcpp || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/libcpp"; \ + libsrcdir="$$s/libcpp"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif libcpp-bootstrap + +.PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp +maybe-configure-stage3-libcpp: +@if libcpp-bootstrap +maybe-configure-stage3-libcpp: configure-stage3-libcpp +configure-stage3-libcpp: + @$(MAKE) stage3-start + @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \ + cd $(HOST_SUBDIR)/libcpp || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/libcpp"; \ + libsrcdir="$$s/libcpp"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif libcpp-bootstrap + +.PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp +maybe-configure-stage4-libcpp: +@if libcpp-bootstrap +maybe-configure-stage4-libcpp: configure-stage4-libcpp +configure-stage4-libcpp: + @$(MAKE) stage4-start + @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \ + cd $(HOST_SUBDIR)/libcpp || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/libcpp"; \ + libsrcdir="$$s/libcpp"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif libcpp-bootstrap + +.PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp +maybe-configure-stageprofile-libcpp: +@if libcpp-bootstrap +maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp +configure-stageprofile-libcpp: + @$(MAKE) stageprofile-start + @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \ + cd $(HOST_SUBDIR)/libcpp || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/libcpp"; \ + libsrcdir="$$s/libcpp"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif libcpp-bootstrap + +.PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp +maybe-configure-stagefeedback-libcpp: +@if libcpp-bootstrap +maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp +configure-stagefeedback-libcpp: + @$(MAKE) stagefeedback-start + @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \ + cd $(HOST_SUBDIR)/libcpp || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/libcpp"; \ + libsrcdir="$$s/libcpp"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif libcpp-bootstrap + + + + + .PHONY: all-libcpp maybe-all-libcpp maybe-all-libcpp: @if libcpp @@ -12997,83 +15585,259 @@ all-libcpp: configure-libcpp @endif libcpp -.PHONY: check-libcpp maybe-check-libcpp -maybe-check-libcpp: -@if libcpp -maybe-check-libcpp: check-libcpp -check-libcpp: +.PHONY: all-stage1-libcpp maybe-all-stage1-libcpp +.PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp +maybe-all-stage1-libcpp: +maybe-clean-stage1-libcpp: +@if libcpp-bootstrap +maybe-all-stage1-libcpp: all-stage1-libcpp +all-stage1: all-stage1-libcpp +all-stage1-libcpp: configure-stage1-libcpp + @$(MAKE) stage1-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(FLAGS_TO_PASS) check) + cd $(HOST_SUBDIR)/libcpp && \ + $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" -@endif libcpp +maybe-clean-stage1-libcpp: clean-stage1-libcpp +clean-stage1: clean-stage1-libcpp +clean-stage1-libcpp: + @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage1-start ; \ + cd $(HOST_SUBDIR)/libcpp && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" clean +@endif libcpp-bootstrap -.PHONY: install-libcpp maybe-install-libcpp -maybe-install-libcpp: -@if libcpp -maybe-install-libcpp: install-libcpp -install-libcpp: installdirs +.PHONY: all-stage2-libcpp maybe-all-stage2-libcpp +.PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp +maybe-all-stage2-libcpp: +maybe-clean-stage2-libcpp: +@if libcpp-bootstrap +maybe-all-stage2-libcpp: all-stage2-libcpp +all-stage2: all-stage2-libcpp +all-stage2-libcpp: configure-stage2-libcpp + @$(MAKE) stage2-start @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - (cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(FLAGS_TO_PASS) install) - -@endif libcpp + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/libcpp && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) -# Other targets (info, dvi, etc.) +maybe-clean-stage2-libcpp: clean-stage2-libcpp +clean-stage2: clean-stage2-libcpp +clean-stage2-libcpp: + @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage2-start ; \ + cd $(HOST_SUBDIR)/libcpp && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif libcpp-bootstrap -.PHONY: maybe-info-libcpp info-libcpp -maybe-info-libcpp: -@if libcpp -maybe-info-libcpp: info-libcpp -info-libcpp: \ - configure-libcpp - @[ -f ./libcpp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ +.PHONY: all-stage3-libcpp maybe-all-stage3-libcpp +.PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp +maybe-all-stage3-libcpp: +maybe-clean-stage3-libcpp: +@if libcpp-bootstrap +maybe-all-stage3-libcpp: all-stage3-libcpp +all-stage3: all-stage3-libcpp +all-stage3-libcpp: configure-stage3-libcpp + @$(MAKE) stage3-start + @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing info in libcpp" ; \ - (cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ - info) \ - || exit 1 + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/libcpp && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) -@endif libcpp +maybe-clean-stage3-libcpp: clean-stage3-libcpp +clean-stage3: clean-stage3-libcpp +clean-stage3-libcpp: + @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage3-start ; \ + cd $(HOST_SUBDIR)/libcpp && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif libcpp-bootstrap -.PHONY: maybe-dvi-libcpp dvi-libcpp -maybe-dvi-libcpp: -@if libcpp -maybe-dvi-libcpp: dvi-libcpp -dvi-libcpp: \ - configure-libcpp - @[ -f ./libcpp/Makefile ] || exit 0; \ - r=`${PWD_COMMAND}`; export r; \ +.PHONY: all-stage4-libcpp maybe-all-stage4-libcpp +.PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp +maybe-all-stage4-libcpp: +maybe-clean-stage4-libcpp: +@if libcpp-bootstrap +maybe-all-stage4-libcpp: all-stage4-libcpp +all-stage4: all-stage4-libcpp +all-stage4-libcpp: configure-stage4-libcpp + @$(MAKE) stage4-start + @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ - for flag in $(EXTRA_HOST_FLAGS) ; do \ - eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ - done; \ - echo "Doing dvi in libcpp" ; \ - (cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ - "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ - "RANLIB=$${RANLIB}" \ - "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ - dvi) \ - || exit 1 + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/libcpp && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + +maybe-clean-stage4-libcpp: clean-stage4-libcpp +clean-stage4: clean-stage4-libcpp +clean-stage4-libcpp: + @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage4-start ; \ + cd $(HOST_SUBDIR)/libcpp && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif libcpp-bootstrap + + +.PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp +.PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp +maybe-all-stageprofile-libcpp: +maybe-clean-stageprofile-libcpp: +@if libcpp-bootstrap +maybe-all-stageprofile-libcpp: all-stageprofile-libcpp +all-stageprofile: all-stageprofile-libcpp +all-stageprofile-libcpp: configure-stageprofile-libcpp + @$(MAKE) stageprofile-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/libcpp && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + +maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp +clean-stageprofile: clean-stageprofile-libcpp +clean-stageprofile-libcpp: + @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stageprofile-start ; \ + cd $(HOST_SUBDIR)/libcpp && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean +@endif libcpp-bootstrap + + +.PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp +.PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp +maybe-all-stagefeedback-libcpp: +maybe-clean-stagefeedback-libcpp: +@if libcpp-bootstrap +maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp +all-stagefeedback: all-stagefeedback-libcpp +all-stagefeedback-libcpp: configure-stagefeedback-libcpp + @$(MAKE) stagefeedback-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/libcpp && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" + +maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp +clean-stagefeedback: clean-stagefeedback-libcpp +clean-stagefeedback-libcpp: + @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \ + cd $(HOST_SUBDIR)/libcpp && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean +@endif libcpp-bootstrap + + + + + +.PHONY: check-libcpp maybe-check-libcpp +maybe-check-libcpp: +@if libcpp +maybe-check-libcpp: check-libcpp + +check-libcpp: + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + (cd $(HOST_SUBDIR)/libcpp && \ + $(MAKE) $(FLAGS_TO_PASS) check) + +@endif libcpp + +.PHONY: install-libcpp maybe-install-libcpp +maybe-install-libcpp: +@if libcpp +maybe-install-libcpp: install-libcpp + +install-libcpp: installdirs + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + (cd $(HOST_SUBDIR)/libcpp && \ + $(MAKE) $(FLAGS_TO_PASS) install) + +@endif libcpp + +# Other targets (info, dvi, etc.) + +.PHONY: maybe-info-libcpp info-libcpp +maybe-info-libcpp: +@if libcpp +maybe-info-libcpp: info-libcpp + +info-libcpp: \ + configure-libcpp + @[ -f ./libcpp/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) ; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing info in libcpp" ; \ + (cd $(HOST_SUBDIR)/libcpp && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ + info) \ + || exit 1 + +@endif libcpp + +.PHONY: maybe-dvi-libcpp dvi-libcpp +maybe-dvi-libcpp: +@if libcpp +maybe-dvi-libcpp: dvi-libcpp + +dvi-libcpp: \ + configure-libcpp + @[ -f ./libcpp/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + for flag in $(EXTRA_HOST_FLAGS) ; do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing dvi in libcpp" ; \ + (cd $(HOST_SUBDIR)/libcpp && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ + dvi) \ + || exit 1 @endif libcpp @@ -13302,6 +16066,8 @@ configure-libgui: + + .PHONY: all-libgui maybe-all-libgui maybe-all-libgui: @if libgui @@ -13316,6 +16082,8 @@ all-libgui: configure-libgui @endif libgui + + .PHONY: check-libgui maybe-check-libgui maybe-check-libgui: @if libgui @@ -13622,6 +16390,159 @@ configure-libiberty: +.PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty +maybe-configure-stage1-libiberty: +@if libiberty-bootstrap +maybe-configure-stage1-libiberty: configure-stage1-libiberty +configure-stage1-libiberty: + @$(MAKE) stage1-start + @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \ + cd $(HOST_SUBDIR)/libiberty || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/libiberty"; \ + libsrcdir="$$s/libiberty"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" +@endif libiberty-bootstrap + +.PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty +maybe-configure-stage2-libiberty: +@if libiberty-bootstrap +maybe-configure-stage2-libiberty: configure-stage2-libiberty +configure-stage2-libiberty: + @$(MAKE) stage2-start + @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \ + cd $(HOST_SUBDIR)/libiberty || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/libiberty"; \ + libsrcdir="$$s/libiberty"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif libiberty-bootstrap + +.PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty +maybe-configure-stage3-libiberty: +@if libiberty-bootstrap +maybe-configure-stage3-libiberty: configure-stage3-libiberty +configure-stage3-libiberty: + @$(MAKE) stage3-start + @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \ + cd $(HOST_SUBDIR)/libiberty || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/libiberty"; \ + libsrcdir="$$s/libiberty"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif libiberty-bootstrap + +.PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty +maybe-configure-stage4-libiberty: +@if libiberty-bootstrap +maybe-configure-stage4-libiberty: configure-stage4-libiberty +configure-stage4-libiberty: + @$(MAKE) stage4-start + @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \ + cd $(HOST_SUBDIR)/libiberty || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/libiberty"; \ + libsrcdir="$$s/libiberty"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif libiberty-bootstrap + +.PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty +maybe-configure-stageprofile-libiberty: +@if libiberty-bootstrap +maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty +configure-stageprofile-libiberty: + @$(MAKE) stageprofile-start + @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \ + cd $(HOST_SUBDIR)/libiberty || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/libiberty"; \ + libsrcdir="$$s/libiberty"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif libiberty-bootstrap + +.PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty +maybe-configure-stagefeedback-libiberty: +@if libiberty-bootstrap +maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty +configure-stagefeedback-libiberty: + @$(MAKE) stagefeedback-start + @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \ + cd $(HOST_SUBDIR)/libiberty || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/libiberty"; \ + libsrcdir="$$s/libiberty"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif libiberty-bootstrap + + + + + .PHONY: all-libiberty maybe-all-libiberty maybe-all-libiberty: @if libiberty @@ -13637,6 +16558,182 @@ all-libiberty: configure-libiberty @endif libiberty + +.PHONY: all-stage1-libiberty maybe-all-stage1-libiberty +.PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty +maybe-all-stage1-libiberty: +maybe-clean-stage1-libiberty: +@if libiberty-bootstrap +maybe-all-stage1-libiberty: all-stage1-libiberty +all-stage1: all-stage1-libiberty +all-stage1-libiberty: configure-stage1-libiberty + @$(MAKE) stage1-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/libiberty && \ + $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" + +maybe-clean-stage1-libiberty: clean-stage1-libiberty +clean-stage1: clean-stage1-libiberty +clean-stage1-libiberty: + @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage1-start ; \ + cd $(HOST_SUBDIR)/libiberty && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" clean +@endif libiberty-bootstrap + + +.PHONY: all-stage2-libiberty maybe-all-stage2-libiberty +.PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty +maybe-all-stage2-libiberty: +maybe-clean-stage2-libiberty: +@if libiberty-bootstrap +maybe-all-stage2-libiberty: all-stage2-libiberty +all-stage2: all-stage2-libiberty +all-stage2-libiberty: configure-stage2-libiberty + @$(MAKE) stage2-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/libiberty && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + +maybe-clean-stage2-libiberty: clean-stage2-libiberty +clean-stage2: clean-stage2-libiberty +clean-stage2-libiberty: + @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage2-start ; \ + cd $(HOST_SUBDIR)/libiberty && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif libiberty-bootstrap + + +.PHONY: all-stage3-libiberty maybe-all-stage3-libiberty +.PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty +maybe-all-stage3-libiberty: +maybe-clean-stage3-libiberty: +@if libiberty-bootstrap +maybe-all-stage3-libiberty: all-stage3-libiberty +all-stage3: all-stage3-libiberty +all-stage3-libiberty: configure-stage3-libiberty + @$(MAKE) stage3-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/libiberty && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + +maybe-clean-stage3-libiberty: clean-stage3-libiberty +clean-stage3: clean-stage3-libiberty +clean-stage3-libiberty: + @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage3-start ; \ + cd $(HOST_SUBDIR)/libiberty && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif libiberty-bootstrap + + +.PHONY: all-stage4-libiberty maybe-all-stage4-libiberty +.PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty +maybe-all-stage4-libiberty: +maybe-clean-stage4-libiberty: +@if libiberty-bootstrap +maybe-all-stage4-libiberty: all-stage4-libiberty +all-stage4: all-stage4-libiberty +all-stage4-libiberty: configure-stage4-libiberty + @$(MAKE) stage4-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/libiberty && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + +maybe-clean-stage4-libiberty: clean-stage4-libiberty +clean-stage4: clean-stage4-libiberty +clean-stage4-libiberty: + @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage4-start ; \ + cd $(HOST_SUBDIR)/libiberty && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif libiberty-bootstrap + + +.PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty +.PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty +maybe-all-stageprofile-libiberty: +maybe-clean-stageprofile-libiberty: +@if libiberty-bootstrap +maybe-all-stageprofile-libiberty: all-stageprofile-libiberty +all-stageprofile: all-stageprofile-libiberty +all-stageprofile-libiberty: configure-stageprofile-libiberty + @$(MAKE) stageprofile-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/libiberty && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + +maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty +clean-stageprofile: clean-stageprofile-libiberty +clean-stageprofile-libiberty: + @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stageprofile-start ; \ + cd $(HOST_SUBDIR)/libiberty && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean +@endif libiberty-bootstrap + + +.PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty +.PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty +maybe-all-stagefeedback-libiberty: +maybe-clean-stagefeedback-libiberty: +@if libiberty-bootstrap +maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty +all-stagefeedback: all-stagefeedback-libiberty +all-stagefeedback-libiberty: configure-stagefeedback-libiberty + @$(MAKE) stagefeedback-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/libiberty && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" + +maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty +clean-stagefeedback: clean-stagefeedback-libiberty +clean-stagefeedback-libiberty: + @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \ + cd $(HOST_SUBDIR)/libiberty && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean +@endif libiberty-bootstrap + + + + + .PHONY: check-libiberty maybe-check-libiberty maybe-check-libiberty: @if libiberty @@ -13942,6 +17039,8 @@ configure-libtool: + + .PHONY: all-libtool maybe-all-libtool maybe-all-libtool: @if libtool @@ -13956,6 +17055,8 @@ all-libtool: configure-libtool @endif libtool + + .PHONY: check-libtool maybe-check-libtool maybe-check-libtool: @if libtool @@ -14261,6 +17362,8 @@ configure-m4: + + .PHONY: all-m4 maybe-all-m4 maybe-all-m4: @if m4 @@ -14275,6 +17378,8 @@ all-m4: configure-m4 @endif m4 + + .PHONY: check-m4 maybe-check-m4 maybe-check-m4: @if m4 @@ -14580,6 +17685,8 @@ configure-make: + + .PHONY: all-make maybe-all-make maybe-all-make: @if make @@ -14594,6 +17701,8 @@ all-make: configure-make @endif make + + .PHONY: check-make maybe-check-make maybe-check-make: @if make @@ -14899,6 +18008,8 @@ configure-mmalloc: + + .PHONY: all-mmalloc maybe-all-mmalloc maybe-all-mmalloc: @if mmalloc @@ -14913,6 +18024,8 @@ all-mmalloc: configure-mmalloc @endif mmalloc + + .PHONY: check-mmalloc maybe-check-mmalloc maybe-check-mmalloc: @if mmalloc @@ -15213,6 +18326,8 @@ configure-patch: + + .PHONY: all-patch maybe-all-patch maybe-all-patch: @if patch @@ -15227,6 +18342,8 @@ all-patch: configure-patch @endif patch + + .PHONY: check-patch maybe-check-patch maybe-check-patch: @if patch @@ -15532,6 +18649,8 @@ configure-perl: + + .PHONY: all-perl maybe-all-perl maybe-all-perl: @if perl @@ -15546,6 +18665,8 @@ all-perl: configure-perl @endif perl + + .PHONY: check-perl maybe-check-perl maybe-check-perl: @if perl @@ -15851,6 +18972,8 @@ configure-prms: + + .PHONY: all-prms maybe-all-prms maybe-all-prms: @if prms @@ -15865,6 +18988,8 @@ all-prms: configure-prms @endif prms + + .PHONY: check-prms maybe-check-prms maybe-check-prms: @if prms @@ -16170,6 +19295,8 @@ configure-rcs: + + .PHONY: all-rcs maybe-all-rcs maybe-all-rcs: @if rcs @@ -16184,6 +19311,8 @@ all-rcs: configure-rcs @endif rcs + + .PHONY: check-rcs maybe-check-rcs maybe-check-rcs: @if rcs @@ -16489,6 +19618,8 @@ configure-readline: + + .PHONY: all-readline maybe-all-readline maybe-all-readline: @if readline @@ -16503,6 +19634,8 @@ all-readline: configure-readline @endif readline + + .PHONY: check-readline maybe-check-readline maybe-check-readline: @if readline @@ -16808,6 +19941,8 @@ configure-release: + + .PHONY: all-release maybe-all-release maybe-all-release: @if release @@ -16822,6 +19957,8 @@ all-release: configure-release @endif release + + .PHONY: check-release maybe-check-release maybe-check-release: @if release @@ -17117,6 +20254,8 @@ configure-recode: + + .PHONY: all-recode maybe-all-recode maybe-all-recode: @if recode @@ -17131,6 +20270,8 @@ all-recode: configure-recode @endif recode + + .PHONY: check-recode maybe-check-recode maybe-check-recode: @if recode @@ -17436,6 +20577,8 @@ configure-sed: + + .PHONY: all-sed maybe-all-sed maybe-all-sed: @if sed @@ -17450,6 +20593,8 @@ all-sed: configure-sed @endif sed + + .PHONY: check-sed maybe-check-sed maybe-check-sed: @if sed @@ -17755,6 +20900,8 @@ configure-send-pr: + + .PHONY: all-send-pr maybe-all-send-pr maybe-all-send-pr: @if send-pr @@ -17769,6 +20916,8 @@ all-send-pr: configure-send-pr @endif send-pr + + .PHONY: check-send-pr maybe-check-send-pr maybe-check-send-pr: @if send-pr @@ -18074,6 +21223,8 @@ configure-shellutils: + + .PHONY: all-shellutils maybe-all-shellutils maybe-all-shellutils: @if shellutils @@ -18088,6 +21239,8 @@ all-shellutils: configure-shellutils @endif shellutils + + .PHONY: check-shellutils maybe-check-shellutils maybe-check-shellutils: @if shellutils @@ -18393,6 +21546,8 @@ configure-sid: + + .PHONY: all-sid maybe-all-sid maybe-all-sid: @if sid @@ -18407,6 +21562,8 @@ all-sid: configure-sid @endif sid + + .PHONY: check-sid maybe-check-sid maybe-check-sid: @if sid @@ -18712,6 +21869,8 @@ configure-sim: + + .PHONY: all-sim maybe-all-sim maybe-all-sim: @if sim @@ -18726,6 +21885,8 @@ all-sim: configure-sim @endif sim + + .PHONY: check-sim maybe-check-sim maybe-check-sim: @if sim @@ -19031,6 +22192,8 @@ configure-tar: + + .PHONY: all-tar maybe-all-tar maybe-all-tar: @if tar @@ -19045,6 +22208,8 @@ all-tar: configure-tar @endif tar + + .PHONY: check-tar maybe-check-tar maybe-check-tar: @if tar @@ -19350,6 +22515,8 @@ configure-texinfo: + + .PHONY: all-texinfo maybe-all-texinfo maybe-all-texinfo: @if texinfo @@ -19364,6 +22531,8 @@ all-texinfo: configure-texinfo @endif texinfo + + .PHONY: check-texinfo maybe-check-texinfo maybe-check-texinfo: @if texinfo @@ -19664,6 +22833,8 @@ configure-textutils: + + .PHONY: all-textutils maybe-all-textutils maybe-all-textutils: @if textutils @@ -19678,6 +22849,8 @@ all-textutils: configure-textutils @endif textutils + + .PHONY: check-textutils maybe-check-textutils maybe-check-textutils: @if textutils @@ -19983,6 +23156,8 @@ configure-time: + + .PHONY: all-time maybe-all-time maybe-all-time: @if time @@ -19997,6 +23172,8 @@ all-time: configure-time @endif time + + .PHONY: check-time maybe-check-time maybe-check-time: @if time @@ -20302,6 +23479,8 @@ configure-uudecode: + + .PHONY: all-uudecode maybe-all-uudecode maybe-all-uudecode: @if uudecode @@ -20316,6 +23495,8 @@ all-uudecode: configure-uudecode @endif uudecode + + .PHONY: check-uudecode maybe-check-uudecode maybe-check-uudecode: @if uudecode @@ -20621,6 +23802,8 @@ configure-wdiff: + + .PHONY: all-wdiff maybe-all-wdiff maybe-all-wdiff: @if wdiff @@ -20635,6 +23818,8 @@ all-wdiff: configure-wdiff @endif wdiff + + .PHONY: check-wdiff maybe-check-wdiff maybe-check-wdiff: @if wdiff @@ -20940,6 +24125,8 @@ configure-zip: + + .PHONY: all-zip maybe-all-zip maybe-all-zip: @if zip @@ -20954,6 +24141,8 @@ all-zip: configure-zip @endif zip + + .PHONY: check-zip maybe-check-zip maybe-check-zip: @if zip @@ -21263,13 +24452,166 @@ configure-zlib: -.PHONY: all-zlib maybe-all-zlib -maybe-all-zlib: -@if zlib -TARGET-zlib=all -maybe-all-zlib: all-zlib -all-zlib: configure-zlib - @test -f stage_last && exit 0; \ +.PHONY: configure-stage1-zlib maybe-configure-stage1-zlib +maybe-configure-stage1-zlib: +@if zlib-bootstrap +maybe-configure-stage1-zlib: configure-stage1-zlib +configure-stage1-zlib: + @$(MAKE) stage1-start + @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \ + cd $(HOST_SUBDIR)/zlib || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/zlib"; \ + libsrcdir="$$s/zlib"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" +@endif zlib-bootstrap + +.PHONY: configure-stage2-zlib maybe-configure-stage2-zlib +maybe-configure-stage2-zlib: +@if zlib-bootstrap +maybe-configure-stage2-zlib: configure-stage2-zlib +configure-stage2-zlib: + @$(MAKE) stage2-start + @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \ + cd $(HOST_SUBDIR)/zlib || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/zlib"; \ + libsrcdir="$$s/zlib"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif zlib-bootstrap + +.PHONY: configure-stage3-zlib maybe-configure-stage3-zlib +maybe-configure-stage3-zlib: +@if zlib-bootstrap +maybe-configure-stage3-zlib: configure-stage3-zlib +configure-stage3-zlib: + @$(MAKE) stage3-start + @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \ + cd $(HOST_SUBDIR)/zlib || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/zlib"; \ + libsrcdir="$$s/zlib"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif zlib-bootstrap + +.PHONY: configure-stage4-zlib maybe-configure-stage4-zlib +maybe-configure-stage4-zlib: +@if zlib-bootstrap +maybe-configure-stage4-zlib: configure-stage4-zlib +configure-stage4-zlib: + @$(MAKE) stage4-start + @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \ + cd $(HOST_SUBDIR)/zlib || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/zlib"; \ + libsrcdir="$$s/zlib"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif zlib-bootstrap + +.PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib +maybe-configure-stageprofile-zlib: +@if zlib-bootstrap +maybe-configure-stageprofile-zlib: configure-stageprofile-zlib +configure-stageprofile-zlib: + @$(MAKE) stageprofile-start + @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \ + cd $(HOST_SUBDIR)/zlib || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/zlib"; \ + libsrcdir="$$s/zlib"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif zlib-bootstrap + +.PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib +maybe-configure-stagefeedback-zlib: +@if zlib-bootstrap +maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib +configure-stagefeedback-zlib: + @$(MAKE) stagefeedback-start + @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \ + cd $(HOST_SUBDIR)/zlib || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/zlib"; \ + libsrcdir="$$s/zlib"; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + @stage2_werror_flag@ +@endif zlib-bootstrap + + + + + +.PHONY: all-zlib maybe-all-zlib +maybe-all-zlib: +@if zlib +TARGET-zlib=all +maybe-all-zlib: all-zlib +all-zlib: configure-zlib + @test -f stage_last && exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -21278,6 +24620,182 @@ all-zlib: configure-zlib @endif zlib + +.PHONY: all-stage1-zlib maybe-all-stage1-zlib +.PHONY: clean-stage1-zlib maybe-clean-stage1-zlib +maybe-all-stage1-zlib: +maybe-clean-stage1-zlib: +@if zlib-bootstrap +maybe-all-stage1-zlib: all-stage1-zlib +all-stage1: all-stage1-zlib +all-stage1-zlib: configure-stage1-zlib + @$(MAKE) stage1-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/zlib && \ + $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" + +maybe-clean-stage1-zlib: clean-stage1-zlib +clean-stage1: clean-stage1-zlib +clean-stage1-zlib: + @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage1-start ; \ + cd $(HOST_SUBDIR)/zlib && \ + $(MAKE) $(FLAGS_TO_PASS) \ + CFLAGS="$(STAGE1_CFLAGS)" clean +@endif zlib-bootstrap + + +.PHONY: all-stage2-zlib maybe-all-stage2-zlib +.PHONY: clean-stage2-zlib maybe-clean-stage2-zlib +maybe-all-stage2-zlib: +maybe-clean-stage2-zlib: +@if zlib-bootstrap +maybe-all-stage2-zlib: all-stage2-zlib +all-stage2: all-stage2-zlib +all-stage2-zlib: configure-stage2-zlib + @$(MAKE) stage2-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/zlib && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + +maybe-clean-stage2-zlib: clean-stage2-zlib +clean-stage2: clean-stage2-zlib +clean-stage2-zlib: + @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage2-start ; \ + cd $(HOST_SUBDIR)/zlib && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif zlib-bootstrap + + +.PHONY: all-stage3-zlib maybe-all-stage3-zlib +.PHONY: clean-stage3-zlib maybe-clean-stage3-zlib +maybe-all-stage3-zlib: +maybe-clean-stage3-zlib: +@if zlib-bootstrap +maybe-all-stage3-zlib: all-stage3-zlib +all-stage3: all-stage3-zlib +all-stage3-zlib: configure-stage3-zlib + @$(MAKE) stage3-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/zlib && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + +maybe-clean-stage3-zlib: clean-stage3-zlib +clean-stage3: clean-stage3-zlib +clean-stage3-zlib: + @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage3-start ; \ + cd $(HOST_SUBDIR)/zlib && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif zlib-bootstrap + + +.PHONY: all-stage4-zlib maybe-all-stage4-zlib +.PHONY: clean-stage4-zlib maybe-clean-stage4-zlib +maybe-all-stage4-zlib: +maybe-clean-stage4-zlib: +@if zlib-bootstrap +maybe-all-stage4-zlib: all-stage4-zlib +all-stage4: all-stage4-zlib +all-stage4-zlib: configure-stage4-zlib + @$(MAKE) stage4-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/zlib && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) + +maybe-clean-stage4-zlib: clean-stage4-zlib +clean-stage4: clean-stage4-zlib +clean-stage4-zlib: + @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage4-start ; \ + cd $(HOST_SUBDIR)/zlib && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + clean +@endif zlib-bootstrap + + +.PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib +.PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib +maybe-all-stageprofile-zlib: +maybe-clean-stageprofile-zlib: +@if zlib-bootstrap +maybe-all-stageprofile-zlib: all-stageprofile-zlib +all-stageprofile: all-stageprofile-zlib +all-stageprofile-zlib: configure-stageprofile-zlib + @$(MAKE) stageprofile-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/zlib && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + +maybe-clean-stageprofile-zlib: clean-stageprofile-zlib +clean-stageprofile: clean-stageprofile-zlib +clean-stageprofile-zlib: + @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stageprofile-start ; \ + cd $(HOST_SUBDIR)/zlib && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean +@endif zlib-bootstrap + + +.PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib +.PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib +maybe-all-stagefeedback-zlib: +maybe-clean-stagefeedback-zlib: +@if zlib-bootstrap +maybe-all-stagefeedback-zlib: all-stagefeedback-zlib +all-stagefeedback: all-stagefeedback-zlib +all-stagefeedback-zlib: configure-stagefeedback-zlib + @$(MAKE) stagefeedback-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + $(POSTSTAGE1_HOST_EXPORTS) \ + cd $(HOST_SUBDIR)/zlib && \ + $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" + +maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib +clean-stagefeedback: clean-stagefeedback-zlib +clean-stagefeedback-zlib: + @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] \ + || exit 0 ; \ + [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stagefeedback-start ; \ + cd $(HOST_SUBDIR)/zlib && \ + $(MAKE) $(FLAGS_TO_PASS) \ + $(POSTSTAGE1_FLAGS_TO_PASS) \ + CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean +@endif zlib-bootstrap + + + + + .PHONY: check-zlib maybe-check-zlib maybe-check-zlib: @if zlib @@ -21573,6 +25091,8 @@ configure-gdb: + + .PHONY: all-gdb maybe-all-gdb maybe-all-gdb: @if gdb @@ -21587,6 +25107,8 @@ all-gdb: configure-gdb @endif gdb + + .PHONY: check-gdb maybe-check-gdb maybe-check-gdb: @if gdb @@ -21892,6 +25414,8 @@ configure-expect: + + .PHONY: all-expect maybe-all-expect maybe-all-expect: @if expect @@ -21906,6 +25430,8 @@ all-expect: configure-expect @endif expect + + .PHONY: check-expect maybe-check-expect maybe-check-expect: @if expect @@ -22211,6 +25737,8 @@ configure-guile: + + .PHONY: all-guile maybe-all-guile maybe-all-guile: @if guile @@ -22225,6 +25753,8 @@ all-guile: configure-guile @endif guile + + .PHONY: check-guile maybe-check-guile maybe-check-guile: @if guile @@ -22530,6 +26060,8 @@ configure-tk: + + .PHONY: all-tk maybe-all-tk maybe-all-tk: @if tk @@ -22544,6 +26076,8 @@ all-tk: configure-tk @endif tk + + .PHONY: check-tk maybe-check-tk maybe-check-tk: @if tk @@ -22849,6 +26383,8 @@ configure-libtermcap: + + .PHONY: all-libtermcap maybe-all-libtermcap maybe-all-libtermcap: @if libtermcap @@ -22863,6 +26399,8 @@ all-libtermcap: configure-libtermcap @endif libtermcap + + .PHONY: check-libtermcap maybe-check-libtermcap maybe-check-libtermcap: @if libtermcap @@ -23107,6 +26645,8 @@ configure-utils: + + .PHONY: all-utils maybe-all-utils maybe-all-utils: @if utils @@ -23121,6 +26661,8 @@ all-utils: configure-utils @endif utils + + .PHONY: check-utils maybe-check-utils maybe-check-utils: @if utils @@ -23421,6 +26963,8 @@ configure-gnattools: + + .PHONY: all-gnattools maybe-all-gnattools maybe-all-gnattools: @if gnattools @@ -23435,6 +26979,8 @@ all-gnattools: configure-gnattools @endif gnattools + + .PHONY: check-gnattools maybe-check-gnattools maybe-check-gnattools: @if gnattools @@ -23756,6 +27302,8 @@ configure-target-libstdc++-v3: $(TARGET_ + + .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3 maybe-all-target-libstdc++-v3: @if target-libstdc++-v3 @@ -23771,6 +27319,8 @@ all-target-libstdc++-v3: configure-targe + + .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3 maybe-check-target-libstdc++-v3: @if target-libstdc++-v3 @@ -24087,6 +27637,8 @@ configure-target-libmudflap: $(TARGET_SU + + .PHONY: all-target-libmudflap maybe-all-target-libmudflap maybe-all-target-libmudflap: @if target-libmudflap @@ -24102,6 +27654,8 @@ all-target-libmudflap: configure-target- + + .PHONY: check-target-libmudflap maybe-check-target-libmudflap maybe-check-target-libmudflap: @if target-libmudflap @@ -24418,6 +27972,8 @@ configure-target-newlib: $(TARGET_SUBDIR + + .PHONY: all-target-newlib maybe-all-target-newlib maybe-all-target-newlib: @if target-newlib @@ -24433,6 +27989,8 @@ all-target-newlib: configure-target-newl + + .PHONY: check-target-newlib maybe-check-target-newlib maybe-check-target-newlib: @if target-newlib @@ -24749,6 +28307,8 @@ configure-target-libgfortran: $(TARGET_S + + .PHONY: all-target-libgfortran maybe-all-target-libgfortran maybe-all-target-libgfortran: @if target-libgfortran @@ -24764,6 +28324,8 @@ all-target-libgfortran: configure-target + + .PHONY: check-target-libgfortran maybe-check-target-libgfortran maybe-check-target-libgfortran: @if target-libgfortran @@ -25080,6 +28642,8 @@ configure-target-libobjc: $(TARGET_SUBDI + + .PHONY: all-target-libobjc maybe-all-target-libobjc maybe-all-target-libobjc: @if target-libobjc @@ -25095,6 +28659,8 @@ all-target-libobjc: configure-target-lib + + .PHONY: check-target-libobjc maybe-check-target-libobjc maybe-check-target-libobjc: @if target-libobjc @@ -25411,6 +28977,8 @@ configure-target-libtermcap: $(TARGET_SU + + .PHONY: all-target-libtermcap maybe-all-target-libtermcap maybe-all-target-libtermcap: @if target-libtermcap @@ -25426,6 +28994,8 @@ all-target-libtermcap: configure-target- + + .PHONY: check-target-libtermcap maybe-check-target-libtermcap maybe-check-target-libtermcap: @if target-libtermcap @@ -25682,6 +29252,8 @@ configure-target-winsup: $(TARGET_SUBDIR + + .PHONY: all-target-winsup maybe-all-target-winsup maybe-all-target-winsup: @if target-winsup @@ -25697,6 +29269,8 @@ all-target-winsup: configure-target-wins + + .PHONY: check-target-winsup maybe-check-target-winsup maybe-check-target-winsup: @if target-winsup @@ -26013,6 +29587,8 @@ configure-target-libgloss: $(TARGET_SUBD + + .PHONY: all-target-libgloss maybe-all-target-libgloss maybe-all-target-libgloss: @if target-libgloss @@ -26028,6 +29604,8 @@ all-target-libgloss: configure-target-li + + .PHONY: check-target-libgloss maybe-check-target-libgloss maybe-check-target-libgloss: @if target-libgloss @@ -26340,6 +29918,8 @@ configure-target-libiberty: $(TARGET_SUB + + .PHONY: all-target-libiberty maybe-all-target-libiberty maybe-all-target-libiberty: @if target-libiberty @@ -26355,6 +29935,8 @@ all-target-libiberty: configure-target-l + + .PHONY: check-target-libiberty maybe-check-target-libiberty maybe-check-target-libiberty: @if target-libiberty @@ -26671,6 +30253,8 @@ configure-target-gperf: $(TARGET_SUBDIR) + + .PHONY: all-target-gperf maybe-all-target-gperf maybe-all-target-gperf: @if target-gperf @@ -26686,6 +30270,8 @@ all-target-gperf: configure-target-gperf + + .PHONY: check-target-gperf maybe-check-target-gperf maybe-check-target-gperf: @if target-gperf @@ -27002,6 +30588,8 @@ configure-target-examples: $(TARGET_SUBD + + .PHONY: all-target-examples maybe-all-target-examples maybe-all-target-examples: @if target-examples @@ -27017,6 +30605,8 @@ all-target-examples: configure-target-ex + + .PHONY: check-target-examples maybe-check-target-examples maybe-check-target-examples: @if target-examples @@ -27325,6 +30915,8 @@ configure-target-libffi: $(TARGET_SUBDIR + + .PHONY: all-target-libffi maybe-all-target-libffi maybe-all-target-libffi: @if target-libffi @@ -27340,6 +30932,8 @@ all-target-libffi: configure-target-libf + + .PHONY: check-target-libffi maybe-check-target-libffi maybe-check-target-libffi: @if target-libffi @@ -27656,6 +31250,8 @@ configure-target-libjava: $(TARGET_SUBDI + + .PHONY: all-target-libjava maybe-all-target-libjava maybe-all-target-libjava: @if target-libjava @@ -27671,6 +31267,8 @@ all-target-libjava: configure-target-lib + + .PHONY: check-target-libjava maybe-check-target-libjava maybe-check-target-libjava: @if target-libjava @@ -27987,6 +31585,8 @@ configure-target-zlib: $(TARGET_SUBDIR)/ + + .PHONY: all-target-zlib maybe-all-target-zlib maybe-all-target-zlib: @if target-zlib @@ -28002,6 +31602,8 @@ all-target-zlib: configure-target-zlib + + .PHONY: check-target-zlib maybe-check-target-zlib maybe-check-target-zlib: @if target-zlib @@ -28318,6 +31920,8 @@ configure-target-boehm-gc: $(TARGET_SUBD + + .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc maybe-all-target-boehm-gc: @if target-boehm-gc @@ -28333,6 +31937,8 @@ all-target-boehm-gc: configure-target-bo + + .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc maybe-check-target-boehm-gc: @if target-boehm-gc @@ -28649,6 +32255,8 @@ configure-target-qthreads: $(TARGET_SUBD + + .PHONY: all-target-qthreads maybe-all-target-qthreads maybe-all-target-qthreads: @if target-qthreads @@ -28664,6 +32272,8 @@ all-target-qthreads: configure-target-qt + + .PHONY: check-target-qthreads maybe-check-target-qthreads maybe-check-target-qthreads: @if target-qthreads @@ -28980,6 +32590,8 @@ configure-target-rda: $(TARGET_SUBDIR)/r + + .PHONY: all-target-rda maybe-all-target-rda maybe-all-target-rda: @if target-rda @@ -28995,6 +32607,8 @@ all-target-rda: configure-target-rda + + .PHONY: check-target-rda maybe-check-target-rda maybe-check-target-rda: @if target-rda @@ -29311,6 +32925,8 @@ configure-target-libada: $(TARGET_SUBDIR + + .PHONY: all-target-libada maybe-all-target-libada maybe-all-target-libada: @if target-libada @@ -29326,6 +32942,8 @@ all-target-libada: configure-target-liba + + .PHONY: check-target-libada maybe-check-target-libada maybe-check-target-libada: @if target-libada @@ -29796,7 +33414,7 @@ stage1-start:: @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \ echo stage1 > stage_current ; \ echo stage1 > stage_last; \ - $(mkinstalldirs) $(HOST_SUBDIR) + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) @if bfd @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \ mkdir stage1-bfd; \ @@ -29913,558 +33531,33 @@ stage1-bubble:: fi .PHONY: all-stage1 clean-stage1 -all-stage1: \ - maybe-all-stage1-bfd \ - maybe-all-stage1-opcodes \ - maybe-all-stage1-binutils \ - maybe-all-stage1-gas \ - maybe-all-stage1-gcc \ - maybe-all-stage1-intl \ - maybe-all-stage1-ld \ - maybe-all-stage1-libcpp \ - maybe-all-stage1-libiberty \ - maybe-all-stage1-zlib - do-clean: clean-stage1 -clean-stage1: \ - maybe-clean-stage1-bfd \ - maybe-clean-stage1-opcodes \ - maybe-clean-stage1-binutils \ - maybe-clean-stage1-gas \ - maybe-clean-stage1-gcc \ - maybe-clean-stage1-intl \ - maybe-clean-stage1-ld \ - maybe-clean-stage1-libcpp \ - maybe-clean-stage1-libiberty \ - maybe-clean-stage1-zlib - - -.PHONY: configure-stage1-bfd maybe-configure-stage1-bfd -.PHONY: all-stage1-bfd maybe-all-stage1-bfd -.PHONY: clean-stage1-bfd maybe-clean-stage1-bfd -maybe-configure-stage1-bfd: -maybe-all-stage1-bfd: -maybe-clean-stage1-bfd: - -@if bfd-bootstrap -maybe-configure-stage1-bfd: configure-stage1-bfd -configure-stage1-bfd: - @$(MAKE) stage1-start - @[ -f bfd/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - echo Configuring stage 1 in bfd ; \ - cd $(HOST_SUBDIR)/bfd || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/bfd"; \ - libsrcdir="$$s/bfd"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" - -maybe-all-stage1-bfd: all-stage1-bfd -all-stage1-bfd: configure-stage1-bfd - @$(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" - -maybe-clean-stage1-bfd: clean-stage1-bfd -clean-stage1-bfd: - @[ -f bfd/Makefile ] || [ -f stage1-bfd/Makefile ] \ - || exit 0 ; \ - [ -f bfd/Makefile ] || $(MAKE) stage1-start ; \ - cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" clean -@endif bfd-bootstrap - - -.PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes -.PHONY: all-stage1-opcodes maybe-all-stage1-opcodes -.PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes - -maybe-configure-stage1-opcodes: -maybe-all-stage1-opcodes: -maybe-clean-stage1-opcodes: - -@if opcodes-bootstrap -maybe-configure-stage1-opcodes: configure-stage1-opcodes -configure-stage1-opcodes: - @$(MAKE) stage1-start - @[ -f opcodes/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - echo Configuring stage 1 in opcodes ; \ - cd $(HOST_SUBDIR)/opcodes || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/opcodes"; \ - libsrcdir="$$s/opcodes"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" - -maybe-all-stage1-opcodes: all-stage1-opcodes -all-stage1-opcodes: configure-stage1-opcodes - @$(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" - -maybe-clean-stage1-opcodes: clean-stage1-opcodes -clean-stage1-opcodes: - @[ -f opcodes/Makefile ] || [ -f stage1-opcodes/Makefile ] \ - || exit 0 ; \ - [ -f opcodes/Makefile ] || $(MAKE) stage1-start ; \ - cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" clean -@endif opcodes-bootstrap +# FIXME: Will not need to be conditional when toplevel bootstrap is the +# only possibility, but now it conflicts with no-bootstrap rules +@if gcc-bootstrap -.PHONY: configure-stage1-binutils maybe-configure-stage1-binutils -.PHONY: all-stage1-binutils maybe-all-stage1-binutils -.PHONY: clean-stage1-binutils maybe-clean-stage1-binutils -maybe-configure-stage1-binutils: -maybe-all-stage1-binutils: -maybe-clean-stage1-binutils: -@if binutils-bootstrap -maybe-configure-stage1-binutils: configure-stage1-binutils -configure-stage1-binutils: - @$(MAKE) stage1-start - @[ -f binutils/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - echo Configuring stage 1 in binutils ; \ - cd $(HOST_SUBDIR)/binutils || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/binutils"; \ - libsrcdir="$$s/binutils"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" +# Rules to wipe a stage and all the following ones, also used for cleanstrap -maybe-all-stage1-binutils: all-stage1-binutils -all-stage1-binutils: configure-stage1-binutils - @$(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" +.PHONY: distclean-stage1 +distclean-stage1:: + [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : + rm -rf stage1-* -maybe-clean-stage1-binutils: clean-stage1-binutils -clean-stage1-binutils: - @[ -f binutils/Makefile ] || [ -f stage1-binutils/Makefile ] \ - || exit 0 ; \ - [ -f binutils/Makefile ] || $(MAKE) stage1-start ; \ - cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" clean -@endif binutils-bootstrap +@endif gcc-bootstrap -.PHONY: configure-stage1-gas maybe-configure-stage1-gas -.PHONY: all-stage1-gas maybe-all-stage1-gas -.PHONY: clean-stage1-gas maybe-clean-stage1-gas -maybe-configure-stage1-gas: -maybe-all-stage1-gas: -maybe-clean-stage1-gas: - -@if gas-bootstrap -maybe-configure-stage1-gas: configure-stage1-gas -configure-stage1-gas: - @$(MAKE) stage1-start - @[ -f gas/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - echo Configuring stage 1 in gas ; \ - cd $(HOST_SUBDIR)/gas || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gas"; \ - libsrcdir="$$s/gas"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" - -maybe-all-stage1-gas: all-stage1-gas -all-stage1-gas: configure-stage1-gas - @$(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" - -maybe-clean-stage1-gas: clean-stage1-gas -clean-stage1-gas: - @[ -f gas/Makefile ] || [ -f stage1-gas/Makefile ] \ - || exit 0 ; \ - [ -f gas/Makefile ] || $(MAKE) stage1-start ; \ - cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" clean -@endif gas-bootstrap - - -.PHONY: configure-stage1-gcc maybe-configure-stage1-gcc -.PHONY: all-stage1-gcc maybe-all-stage1-gcc -.PHONY: clean-stage1-gcc maybe-clean-stage1-gcc - -maybe-configure-stage1-gcc: -maybe-all-stage1-gcc: -maybe-clean-stage1-gcc: - -@if gcc-bootstrap -maybe-configure-stage1-gcc: configure-stage1-gcc -configure-stage1-gcc: - @$(MAKE) stage1-start - @[ -f gcc/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - echo Configuring stage 1 in gcc ; \ - cd $(HOST_SUBDIR)/gcc || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gcc"; \ - libsrcdir="$$s/gcc"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" - -maybe-all-stage1-gcc: all-stage1-gcc -all-stage1-gcc: configure-stage1-gcc - @$(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) - -maybe-clean-stage1-gcc: clean-stage1-gcc -clean-stage1-gcc: - @[ -f gcc/Makefile ] || [ -f stage1-gcc/Makefile ] \ - || exit 0 ; \ - [ -f gcc/Makefile ] || $(MAKE) stage1-start ; \ - cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean -@endif gcc-bootstrap - - -.PHONY: configure-stage1-intl maybe-configure-stage1-intl -.PHONY: all-stage1-intl maybe-all-stage1-intl -.PHONY: clean-stage1-intl maybe-clean-stage1-intl - -maybe-configure-stage1-intl: -maybe-all-stage1-intl: -maybe-clean-stage1-intl: - -@if intl-bootstrap -maybe-configure-stage1-intl: configure-stage1-intl -configure-stage1-intl: - @$(MAKE) stage1-start - @[ -f intl/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - echo Configuring stage 1 in intl ; \ - cd $(HOST_SUBDIR)/intl || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/intl"; \ - libsrcdir="$$s/intl"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" - -maybe-all-stage1-intl: all-stage1-intl -all-stage1-intl: configure-stage1-intl - @$(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" - -maybe-clean-stage1-intl: clean-stage1-intl -clean-stage1-intl: - @[ -f intl/Makefile ] || [ -f stage1-intl/Makefile ] \ - || exit 0 ; \ - [ -f intl/Makefile ] || $(MAKE) stage1-start ; \ - cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" clean -@endif intl-bootstrap - - -.PHONY: configure-stage1-ld maybe-configure-stage1-ld -.PHONY: all-stage1-ld maybe-all-stage1-ld -.PHONY: clean-stage1-ld maybe-clean-stage1-ld - -maybe-configure-stage1-ld: -maybe-all-stage1-ld: -maybe-clean-stage1-ld: - -@if ld-bootstrap -maybe-configure-stage1-ld: configure-stage1-ld -configure-stage1-ld: - @$(MAKE) stage1-start - @[ -f ld/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - echo Configuring stage 1 in ld ; \ - cd $(HOST_SUBDIR)/ld || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/ld"; \ - libsrcdir="$$s/ld"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" - -maybe-all-stage1-ld: all-stage1-ld -all-stage1-ld: configure-stage1-ld - @$(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" - -maybe-clean-stage1-ld: clean-stage1-ld -clean-stage1-ld: - @[ -f ld/Makefile ] || [ -f stage1-ld/Makefile ] \ - || exit 0 ; \ - [ -f ld/Makefile ] || $(MAKE) stage1-start ; \ - cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" clean -@endif ld-bootstrap - - -.PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp -.PHONY: all-stage1-libcpp maybe-all-stage1-libcpp -.PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp - -maybe-configure-stage1-libcpp: -maybe-all-stage1-libcpp: -maybe-clean-stage1-libcpp: - -@if libcpp-bootstrap -maybe-configure-stage1-libcpp: configure-stage1-libcpp -configure-stage1-libcpp: - @$(MAKE) stage1-start - @[ -f libcpp/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - echo Configuring stage 1 in libcpp ; \ - cd $(HOST_SUBDIR)/libcpp || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libcpp"; \ - libsrcdir="$$s/libcpp"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" - -maybe-all-stage1-libcpp: all-stage1-libcpp -all-stage1-libcpp: configure-stage1-libcpp - @$(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" - -maybe-clean-stage1-libcpp: clean-stage1-libcpp -clean-stage1-libcpp: - @[ -f libcpp/Makefile ] || [ -f stage1-libcpp/Makefile ] \ - || exit 0 ; \ - [ -f libcpp/Makefile ] || $(MAKE) stage1-start ; \ - cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" clean -@endif libcpp-bootstrap - - -.PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty -.PHONY: all-stage1-libiberty maybe-all-stage1-libiberty -.PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty - -maybe-configure-stage1-libiberty: -maybe-all-stage1-libiberty: -maybe-clean-stage1-libiberty: - -@if libiberty-bootstrap -maybe-configure-stage1-libiberty: configure-stage1-libiberty -configure-stage1-libiberty: - @$(MAKE) stage1-start - @[ -f libiberty/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - echo Configuring stage 1 in libiberty ; \ - cd $(HOST_SUBDIR)/libiberty || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libiberty"; \ - libsrcdir="$$s/libiberty"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" - -maybe-all-stage1-libiberty: all-stage1-libiberty -all-stage1-libiberty: configure-stage1-libiberty - @$(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" - -maybe-clean-stage1-libiberty: clean-stage1-libiberty -clean-stage1-libiberty: - @[ -f libiberty/Makefile ] || [ -f stage1-libiberty/Makefile ] \ - || exit 0 ; \ - [ -f libiberty/Makefile ] || $(MAKE) stage1-start ; \ - cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" clean -@endif libiberty-bootstrap - - -.PHONY: configure-stage1-zlib maybe-configure-stage1-zlib -.PHONY: all-stage1-zlib maybe-all-stage1-zlib -.PHONY: clean-stage1-zlib maybe-clean-stage1-zlib - -maybe-configure-stage1-zlib: -maybe-all-stage1-zlib: -maybe-clean-stage1-zlib: - -@if zlib-bootstrap -maybe-configure-stage1-zlib: configure-stage1-zlib -configure-stage1-zlib: - @$(MAKE) stage1-start - @[ -f zlib/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - echo Configuring stage 1 in zlib ; \ - cd $(HOST_SUBDIR)/zlib || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/zlib"; \ - libsrcdir="$$s/zlib"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" - -maybe-all-stage1-zlib: all-stage1-zlib -all-stage1-zlib: configure-stage1-zlib - @$(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" - -maybe-clean-stage1-zlib: clean-stage1-zlib -clean-stage1-zlib: - @[ -f zlib/Makefile ] || [ -f stage1-zlib/Makefile ] \ - || exit 0 ; \ - [ -f zlib/Makefile ] || $(MAKE) stage1-start ; \ - cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" clean -@endif zlib-bootstrap - - - -# FIXME: Will not need to be conditional when toplevel bootstrap is the -# only possibility, but now it conflicts with no-bootstrap rules -@if gcc-bootstrap - - - - -# Rules to wipe a stage and all the following ones, also used for cleanstrap - -.PHONY: distclean-stage1 -distclean-stage1:: - [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : - rm -rf stage1-* - - -@endif gcc-bootstrap - - -.PHONY: stage2-start stage2-end +.PHONY: stage2-start stage2-end stage2-start:: @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \ echo stage2 > stage_current ; \ echo stage2 > stage_last; \ - $(mkinstalldirs) $(HOST_SUBDIR) + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) @if bfd @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \ mkdir stage2-bfd; \ @@ -30621,581 +33714,36 @@ stage2-bubble:: stage1-bubble fi .PHONY: all-stage2 clean-stage2 -all-stage2: \ - maybe-all-stage2-bfd \ - maybe-all-stage2-opcodes \ - maybe-all-stage2-binutils \ - maybe-all-stage2-gas \ - maybe-all-stage2-gcc \ - maybe-all-stage2-intl \ - maybe-all-stage2-ld \ - maybe-all-stage2-libcpp \ - maybe-all-stage2-libiberty \ - maybe-all-stage2-zlib - do-clean: clean-stage2 -clean-stage2: \ - maybe-clean-stage2-bfd \ - maybe-clean-stage2-opcodes \ - maybe-clean-stage2-binutils \ - maybe-clean-stage2-gas \ - maybe-clean-stage2-gcc \ - maybe-clean-stage2-intl \ - maybe-clean-stage2-ld \ - maybe-clean-stage2-libcpp \ - maybe-clean-stage2-libiberty \ - maybe-clean-stage2-zlib - - -.PHONY: configure-stage2-bfd maybe-configure-stage2-bfd -.PHONY: all-stage2-bfd maybe-all-stage2-bfd -.PHONY: clean-stage2-bfd maybe-clean-stage2-bfd - -maybe-configure-stage2-bfd: -maybe-all-stage2-bfd: -maybe-clean-stage2-bfd: - -@if bfd-bootstrap -maybe-configure-stage2-bfd: configure-stage2-bfd -configure-stage2-bfd: - @$(MAKE) stage2-start - @[ -f bfd/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 2 in bfd ; \ - cd $(HOST_SUBDIR)/bfd || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/bfd"; \ - libsrcdir="$$s/bfd"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stage2-bfd: all-stage2-bfd -all-stage2-bfd: configure-stage2-bfd - @$(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - - -maybe-clean-stage2-bfd: clean-stage2-bfd -clean-stage2-bfd: - @[ -f bfd/Makefile ] || [ -f stage2-bfd/Makefile ] \ - || exit 0 ; \ - [ -f bfd/Makefile ] || $(MAKE) stage2-start ; \ - cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif bfd-bootstrap - - -.PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes -.PHONY: all-stage2-opcodes maybe-all-stage2-opcodes -.PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes - -maybe-configure-stage2-opcodes: -maybe-all-stage2-opcodes: -maybe-clean-stage2-opcodes: - -@if opcodes-bootstrap -maybe-configure-stage2-opcodes: configure-stage2-opcodes -configure-stage2-opcodes: - @$(MAKE) stage2-start - @[ -f opcodes/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 2 in opcodes ; \ - cd $(HOST_SUBDIR)/opcodes || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/opcodes"; \ - libsrcdir="$$s/opcodes"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stage2-opcodes: all-stage2-opcodes -all-stage2-opcodes: configure-stage2-opcodes - @$(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - - -maybe-clean-stage2-opcodes: clean-stage2-opcodes -clean-stage2-opcodes: - @[ -f opcodes/Makefile ] || [ -f stage2-opcodes/Makefile ] \ - || exit 0 ; \ - [ -f opcodes/Makefile ] || $(MAKE) stage2-start ; \ - cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif opcodes-bootstrap - - -.PHONY: configure-stage2-binutils maybe-configure-stage2-binutils -.PHONY: all-stage2-binutils maybe-all-stage2-binutils -.PHONY: clean-stage2-binutils maybe-clean-stage2-binutils - -maybe-configure-stage2-binutils: -maybe-all-stage2-binutils: -maybe-clean-stage2-binutils: - -@if binutils-bootstrap -maybe-configure-stage2-binutils: configure-stage2-binutils -configure-stage2-binutils: - @$(MAKE) stage2-start - @[ -f binutils/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 2 in binutils ; \ - cd $(HOST_SUBDIR)/binutils || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/binutils"; \ - libsrcdir="$$s/binutils"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stage2-binutils: all-stage2-binutils -all-stage2-binutils: configure-stage2-binutils - @$(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - - -maybe-clean-stage2-binutils: clean-stage2-binutils -clean-stage2-binutils: - @[ -f binutils/Makefile ] || [ -f stage2-binutils/Makefile ] \ - || exit 0 ; \ - [ -f binutils/Makefile ] || $(MAKE) stage2-start ; \ - cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif binutils-bootstrap +# FIXME: Will not need to be conditional when toplevel bootstrap is the +# only possibility, but now it conflicts with no-bootstrap rules +@if gcc-bootstrap -.PHONY: configure-stage2-gas maybe-configure-stage2-gas -.PHONY: all-stage2-gas maybe-all-stage2-gas -.PHONY: clean-stage2-gas maybe-clean-stage2-gas - -maybe-configure-stage2-gas: -maybe-all-stage2-gas: -maybe-clean-stage2-gas: - -@if gas-bootstrap -maybe-configure-stage2-gas: configure-stage2-gas -configure-stage2-gas: - @$(MAKE) stage2-start - @[ -f gas/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 2 in gas ; \ - cd $(HOST_SUBDIR)/gas || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gas"; \ - libsrcdir="$$s/gas"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stage2-gas: all-stage2-gas -all-stage2-gas: configure-stage2-gas - @$(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - - -maybe-clean-stage2-gas: clean-stage2-gas -clean-stage2-gas: - @[ -f gas/Makefile ] || [ -f stage2-gas/Makefile ] \ - || exit 0 ; \ - [ -f gas/Makefile ] || $(MAKE) stage2-start ; \ - cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif gas-bootstrap -.PHONY: configure-stage2-gcc maybe-configure-stage2-gcc -.PHONY: all-stage2-gcc maybe-all-stage2-gcc -.PHONY: clean-stage2-gcc maybe-clean-stage2-gcc +.PHONY: bootstrap2 +bootstrap2: stage2-bubble all -maybe-configure-stage2-gcc: -maybe-all-stage2-gcc: -maybe-clean-stage2-gcc: -@if gcc-bootstrap -maybe-configure-stage2-gcc: configure-stage2-gcc -configure-stage2-gcc: - @$(MAKE) stage2-start - @[ -f gcc/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 2 in gcc ; \ - cd $(HOST_SUBDIR)/gcc || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gcc"; \ - libsrcdir="$$s/gcc"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ +# Rules to wipe a stage and all the following ones, also used for cleanstrap +distclean-stage1:: distclean-stage2 +.PHONY: distclean-stage2 +distclean-stage2:: + [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : + rm -rf stage2-* -maybe-all-stage2-gcc: all-stage2-gcc -all-stage2-gcc: configure-stage2-gcc - @$(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - $(EXTRA_GCC_FLAGS) -maybe-clean-stage2-gcc: clean-stage2-gcc -clean-stage2-gcc: - @[ -f gcc/Makefile ] || [ -f stage2-gcc/Makefile ] \ - || exit 0 ; \ - [ -f gcc/Makefile ] || $(MAKE) stage2-start ; \ - cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - $(EXTRA_GCC_FLAGS) clean @endif gcc-bootstrap -.PHONY: configure-stage2-intl maybe-configure-stage2-intl -.PHONY: all-stage2-intl maybe-all-stage2-intl -.PHONY: clean-stage2-intl maybe-clean-stage2-intl - -maybe-configure-stage2-intl: -maybe-all-stage2-intl: -maybe-clean-stage2-intl: - -@if intl-bootstrap -maybe-configure-stage2-intl: configure-stage2-intl -configure-stage2-intl: - @$(MAKE) stage2-start - @[ -f intl/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 2 in intl ; \ - cd $(HOST_SUBDIR)/intl || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/intl"; \ - libsrcdir="$$s/intl"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stage2-intl: all-stage2-intl -all-stage2-intl: configure-stage2-intl - @$(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - - -maybe-clean-stage2-intl: clean-stage2-intl -clean-stage2-intl: - @[ -f intl/Makefile ] || [ -f stage2-intl/Makefile ] \ - || exit 0 ; \ - [ -f intl/Makefile ] || $(MAKE) stage2-start ; \ - cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif intl-bootstrap - - -.PHONY: configure-stage2-ld maybe-configure-stage2-ld -.PHONY: all-stage2-ld maybe-all-stage2-ld -.PHONY: clean-stage2-ld maybe-clean-stage2-ld - -maybe-configure-stage2-ld: -maybe-all-stage2-ld: -maybe-clean-stage2-ld: - -@if ld-bootstrap -maybe-configure-stage2-ld: configure-stage2-ld -configure-stage2-ld: - @$(MAKE) stage2-start - @[ -f ld/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 2 in ld ; \ - cd $(HOST_SUBDIR)/ld || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/ld"; \ - libsrcdir="$$s/ld"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stage2-ld: all-stage2-ld -all-stage2-ld: configure-stage2-ld - @$(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - - -maybe-clean-stage2-ld: clean-stage2-ld -clean-stage2-ld: - @[ -f ld/Makefile ] || [ -f stage2-ld/Makefile ] \ - || exit 0 ; \ - [ -f ld/Makefile ] || $(MAKE) stage2-start ; \ - cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif ld-bootstrap - - -.PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp -.PHONY: all-stage2-libcpp maybe-all-stage2-libcpp -.PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp - -maybe-configure-stage2-libcpp: -maybe-all-stage2-libcpp: -maybe-clean-stage2-libcpp: - -@if libcpp-bootstrap -maybe-configure-stage2-libcpp: configure-stage2-libcpp -configure-stage2-libcpp: - @$(MAKE) stage2-start - @[ -f libcpp/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 2 in libcpp ; \ - cd $(HOST_SUBDIR)/libcpp || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libcpp"; \ - libsrcdir="$$s/libcpp"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stage2-libcpp: all-stage2-libcpp -all-stage2-libcpp: configure-stage2-libcpp - @$(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - - -maybe-clean-stage2-libcpp: clean-stage2-libcpp -clean-stage2-libcpp: - @[ -f libcpp/Makefile ] || [ -f stage2-libcpp/Makefile ] \ - || exit 0 ; \ - [ -f libcpp/Makefile ] || $(MAKE) stage2-start ; \ - cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif libcpp-bootstrap - - -.PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty -.PHONY: all-stage2-libiberty maybe-all-stage2-libiberty -.PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty - -maybe-configure-stage2-libiberty: -maybe-all-stage2-libiberty: -maybe-clean-stage2-libiberty: - -@if libiberty-bootstrap -maybe-configure-stage2-libiberty: configure-stage2-libiberty -configure-stage2-libiberty: - @$(MAKE) stage2-start - @[ -f libiberty/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 2 in libiberty ; \ - cd $(HOST_SUBDIR)/libiberty || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libiberty"; \ - libsrcdir="$$s/libiberty"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stage2-libiberty: all-stage2-libiberty -all-stage2-libiberty: configure-stage2-libiberty - @$(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - - -maybe-clean-stage2-libiberty: clean-stage2-libiberty -clean-stage2-libiberty: - @[ -f libiberty/Makefile ] || [ -f stage2-libiberty/Makefile ] \ - || exit 0 ; \ - [ -f libiberty/Makefile ] || $(MAKE) stage2-start ; \ - cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif libiberty-bootstrap - - -.PHONY: configure-stage2-zlib maybe-configure-stage2-zlib -.PHONY: all-stage2-zlib maybe-all-stage2-zlib -.PHONY: clean-stage2-zlib maybe-clean-stage2-zlib - -maybe-configure-stage2-zlib: -maybe-all-stage2-zlib: -maybe-clean-stage2-zlib: - -@if zlib-bootstrap -maybe-configure-stage2-zlib: configure-stage2-zlib -configure-stage2-zlib: - @$(MAKE) stage2-start - @[ -f zlib/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 2 in zlib ; \ - cd $(HOST_SUBDIR)/zlib || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/zlib"; \ - libsrcdir="$$s/zlib"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stage2-zlib: all-stage2-zlib -all-stage2-zlib: configure-stage2-zlib - @$(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - - -maybe-clean-stage2-zlib: clean-stage2-zlib -clean-stage2-zlib: - @[ -f zlib/Makefile ] || [ -f stage2-zlib/Makefile ] \ - || exit 0 ; \ - [ -f zlib/Makefile ] || $(MAKE) stage2-start ; \ - cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif zlib-bootstrap - - - -# FIXME: Will not need to be conditional when toplevel bootstrap is the -# only possibility, but now it conflicts with no-bootstrap rules -@if gcc-bootstrap - - - -.PHONY: bootstrap2 -bootstrap2: stage2-bubble all - - -# Rules to wipe a stage and all the following ones, also used for cleanstrap -distclean-stage1:: distclean-stage2 -.PHONY: distclean-stage2 -distclean-stage2:: - [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : - rm -rf stage2-* - - -@endif gcc-bootstrap - - -.PHONY: stage3-start stage3-end +.PHONY: stage3-start stage3-end stage3-start:: @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \ echo stage3 > stage_current ; \ echo stage3 > stage_last; \ - $(mkinstalldirs) $(HOST_SUBDIR) + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) @if bfd @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \ mkdir stage3-bfd; \ @@ -31353,1314 +33901,224 @@ stage3-bubble:: stage2-bubble fi .PHONY: all-stage3 clean-stage3 -all-stage3: \ - maybe-all-stage3-bfd \ - maybe-all-stage3-opcodes \ - maybe-all-stage3-binutils \ - maybe-all-stage3-gas \ - maybe-all-stage3-gcc \ - maybe-all-stage3-intl \ - maybe-all-stage3-ld \ - maybe-all-stage3-libcpp \ - maybe-all-stage3-libiberty \ - maybe-all-stage3-zlib - do-clean: clean-stage3 -clean-stage3: \ - maybe-clean-stage3-bfd \ - maybe-clean-stage3-opcodes \ - maybe-clean-stage3-binutils \ - maybe-clean-stage3-gas \ - maybe-clean-stage3-gcc \ - maybe-clean-stage3-intl \ - maybe-clean-stage3-ld \ - maybe-clean-stage3-libcpp \ - maybe-clean-stage3-libiberty \ - maybe-clean-stage3-zlib +# FIXME: Will not need to be conditional when toplevel bootstrap is the +# only possibility, but now it conflicts with no-bootstrap rules +@if gcc-bootstrap -.PHONY: configure-stage3-bfd maybe-configure-stage3-bfd -.PHONY: all-stage3-bfd maybe-all-stage3-bfd -.PHONY: clean-stage3-bfd maybe-clean-stage3-bfd +compare: + @if test -f stage2-lean; then \ + echo Cannot compare object files as stage 2 was deleted. ; \ + exit 0 ; \ + fi; \ + [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \ + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + rm -f .bad_compare ; \ + cd stage3-gcc; \ + files=`find . -name "*$(objext)" -print` ; \ + cd .. ; \ + for file in $${files} ; do \ + f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \ + @do_compare@ > /dev/null 2>&1; \ + test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \ + done ; \ + if [ -f .bad_compare ]; then \ + echo "Bootstrap comparison failure!"; \ + cat .bad_compare; \ + exit 1; \ + else \ + true; \ + fi ; \ + $(STAMP) compare + @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean -maybe-configure-stage3-bfd: -maybe-all-stage3-bfd: -maybe-clean-stage3-bfd: -@if bfd-bootstrap -maybe-configure-stage3-bfd: configure-stage3-bfd -configure-stage3-bfd: - @$(MAKE) stage3-start - @[ -f bfd/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 3 in bfd ; \ - cd $(HOST_SUBDIR)/bfd || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/bfd"; \ - libsrcdir="$$s/bfd"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ -maybe-all-stage3-bfd: all-stage3-bfd -all-stage3-bfd: configure-stage3-bfd - @$(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - +.PHONY: bootstrap +bootstrap: stage3-bubble compare all -maybe-clean-stage3-bfd: clean-stage3-bfd -clean-stage3-bfd: - @[ -f bfd/Makefile ] || [ -f stage3-bfd/Makefile ] \ - || exit 0 ; \ - [ -f bfd/Makefile ] || $(MAKE) stage3-start ; \ - cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif bfd-bootstrap +# Rules to wipe a stage and all the following ones, also used for cleanstrap +distclean-stage2:: distclean-stage3 +.PHONY: distclean-stage3 +distclean-stage3:: + [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : + rm -rf stage3-* compare -.PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes -.PHONY: all-stage3-opcodes maybe-all-stage3-opcodes -.PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes -maybe-configure-stage3-opcodes: -maybe-all-stage3-opcodes: -maybe-clean-stage3-opcodes: +.PHONY: cleanstrap +cleanstrap: distclean bootstrap -@if opcodes-bootstrap -maybe-configure-stage3-opcodes: configure-stage3-opcodes -configure-stage3-opcodes: - @$(MAKE) stage3-start - @[ -f opcodes/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 3 in opcodes ; \ - cd $(HOST_SUBDIR)/opcodes || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/opcodes"; \ - libsrcdir="$$s/opcodes"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ +@endif gcc-bootstrap -maybe-all-stage3-opcodes: all-stage3-opcodes -all-stage3-opcodes: configure-stage3-opcodes - @$(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - -maybe-clean-stage3-opcodes: clean-stage3-opcodes -clean-stage3-opcodes: - @[ -f opcodes/Makefile ] || [ -f stage3-opcodes/Makefile ] \ - || exit 0 ; \ - [ -f opcodes/Makefile ] || $(MAKE) stage3-start ; \ - cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif opcodes-bootstrap +.PHONY: stage4-start stage4-end +stage4-start:: + @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \ + echo stage4 > stage_current ; \ + echo stage4 > stage_last; \ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) +@if bfd + @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \ + mkdir stage4-bfd; \ + set stage4-bfd bfd ; \ + @CREATE_LINK_TO_DIR@ ; \ + set stage3-bfd prev-bfd ; \ + @CREATE_LINK_TO_DIR@ +@endif bfd +@if opcodes + @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \ + mkdir stage4-opcodes; \ + set stage4-opcodes opcodes ; \ + @CREATE_LINK_TO_DIR@ ; \ + set stage3-opcodes prev-opcodes ; \ + @CREATE_LINK_TO_DIR@ +@endif opcodes +@if binutils + @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \ + mkdir stage4-binutils; \ + set stage4-binutils binutils ; \ + @CREATE_LINK_TO_DIR@ ; \ + set stage3-binutils prev-binutils ; \ + @CREATE_LINK_TO_DIR@ +@endif binutils +@if gas + @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \ + mkdir stage4-gas; \ + set stage4-gas gas ; \ + @CREATE_LINK_TO_DIR@ ; \ + set stage3-gas prev-gas ; \ + @CREATE_LINK_TO_DIR@ +@endif gas +@if gcc + @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \ + mkdir stage4-gcc; \ + set stage4-gcc gcc ; \ + @CREATE_LINK_TO_DIR@ ; \ + set stage3-gcc prev-gcc ; \ + @CREATE_LINK_TO_DIR@ +@endif gcc +@if intl + @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \ + mkdir stage4-intl; \ + set stage4-intl intl ; \ + @CREATE_LINK_TO_DIR@ ; \ + set stage3-intl prev-intl ; \ + @CREATE_LINK_TO_DIR@ +@endif intl +@if ld + @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \ + mkdir stage4-ld; \ + set stage4-ld ld ; \ + @CREATE_LINK_TO_DIR@ ; \ + set stage3-ld prev-ld ; \ + @CREATE_LINK_TO_DIR@ +@endif ld +@if libcpp + @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \ + mkdir stage4-libcpp; \ + set stage4-libcpp libcpp ; \ + @CREATE_LINK_TO_DIR@ ; \ + set stage3-libcpp prev-libcpp ; \ + @CREATE_LINK_TO_DIR@ +@endif libcpp +@if libiberty + @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \ + mkdir stage4-libiberty; \ + set stage4-libiberty libiberty ; \ + @CREATE_LINK_TO_DIR@ ; \ + set stage3-libiberty prev-libiberty ; \ + @CREATE_LINK_TO_DIR@ +@endif libiberty +@if zlib + @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \ + mkdir stage4-zlib; \ + set stage4-zlib zlib ; \ + @CREATE_LINK_TO_DIR@ ; \ + set stage3-zlib prev-zlib ; \ + @CREATE_LINK_TO_DIR@ +@endif zlib -.PHONY: configure-stage3-binutils maybe-configure-stage3-binutils -.PHONY: all-stage3-binutils maybe-all-stage3-binutils -.PHONY: clean-stage3-binutils maybe-clean-stage3-binutils - -maybe-configure-stage3-binutils: -maybe-all-stage3-binutils: -maybe-clean-stage3-binutils: - -@if binutils-bootstrap -maybe-configure-stage3-binutils: configure-stage3-binutils -configure-stage3-binutils: - @$(MAKE) stage3-start - @[ -f binutils/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 3 in binutils ; \ - cd $(HOST_SUBDIR)/binutils || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/binutils"; \ - libsrcdir="$$s/binutils"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stage3-binutils: all-stage3-binutils -all-stage3-binutils: configure-stage3-binutils - @$(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - - -maybe-clean-stage3-binutils: clean-stage3-binutils -clean-stage3-binutils: - @[ -f binutils/Makefile ] || [ -f stage3-binutils/Makefile ] \ - || exit 0 ; \ - [ -f binutils/Makefile ] || $(MAKE) stage3-start ; \ - cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif binutils-bootstrap - - -.PHONY: configure-stage3-gas maybe-configure-stage3-gas -.PHONY: all-stage3-gas maybe-all-stage3-gas -.PHONY: clean-stage3-gas maybe-clean-stage3-gas - -maybe-configure-stage3-gas: -maybe-all-stage3-gas: -maybe-clean-stage3-gas: - -@if gas-bootstrap -maybe-configure-stage3-gas: configure-stage3-gas -configure-stage3-gas: - @$(MAKE) stage3-start - @[ -f gas/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 3 in gas ; \ - cd $(HOST_SUBDIR)/gas || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gas"; \ - libsrcdir="$$s/gas"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stage3-gas: all-stage3-gas -all-stage3-gas: configure-stage3-gas - @$(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - - -maybe-clean-stage3-gas: clean-stage3-gas -clean-stage3-gas: - @[ -f gas/Makefile ] || [ -f stage3-gas/Makefile ] \ - || exit 0 ; \ - [ -f gas/Makefile ] || $(MAKE) stage3-start ; \ - cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif gas-bootstrap - - -.PHONY: configure-stage3-gcc maybe-configure-stage3-gcc -.PHONY: all-stage3-gcc maybe-all-stage3-gcc -.PHONY: clean-stage3-gcc maybe-clean-stage3-gcc - -maybe-configure-stage3-gcc: -maybe-all-stage3-gcc: -maybe-clean-stage3-gcc: - -@if gcc-bootstrap -maybe-configure-stage3-gcc: configure-stage3-gcc -configure-stage3-gcc: - @$(MAKE) stage3-start - @[ -f gcc/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 3 in gcc ; \ - cd $(HOST_SUBDIR)/gcc || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gcc"; \ - libsrcdir="$$s/gcc"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stage3-gcc: all-stage3-gcc -all-stage3-gcc: configure-stage3-gcc - @$(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - $(EXTRA_GCC_FLAGS) - -maybe-clean-stage3-gcc: clean-stage3-gcc -clean-stage3-gcc: - @[ -f gcc/Makefile ] || [ -f stage3-gcc/Makefile ] \ - || exit 0 ; \ - [ -f gcc/Makefile ] || $(MAKE) stage3-start ; \ - cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - $(EXTRA_GCC_FLAGS) clean -@endif gcc-bootstrap - - -.PHONY: configure-stage3-intl maybe-configure-stage3-intl -.PHONY: all-stage3-intl maybe-all-stage3-intl -.PHONY: clean-stage3-intl maybe-clean-stage3-intl - -maybe-configure-stage3-intl: -maybe-all-stage3-intl: -maybe-clean-stage3-intl: - -@if intl-bootstrap -maybe-configure-stage3-intl: configure-stage3-intl -configure-stage3-intl: - @$(MAKE) stage3-start - @[ -f intl/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 3 in intl ; \ - cd $(HOST_SUBDIR)/intl || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/intl"; \ - libsrcdir="$$s/intl"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stage3-intl: all-stage3-intl -all-stage3-intl: configure-stage3-intl - @$(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - - -maybe-clean-stage3-intl: clean-stage3-intl -clean-stage3-intl: - @[ -f intl/Makefile ] || [ -f stage3-intl/Makefile ] \ - || exit 0 ; \ - [ -f intl/Makefile ] || $(MAKE) stage3-start ; \ - cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif intl-bootstrap - - -.PHONY: configure-stage3-ld maybe-configure-stage3-ld -.PHONY: all-stage3-ld maybe-all-stage3-ld -.PHONY: clean-stage3-ld maybe-clean-stage3-ld - -maybe-configure-stage3-ld: -maybe-all-stage3-ld: -maybe-clean-stage3-ld: - -@if ld-bootstrap -maybe-configure-stage3-ld: configure-stage3-ld -configure-stage3-ld: - @$(MAKE) stage3-start - @[ -f ld/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 3 in ld ; \ - cd $(HOST_SUBDIR)/ld || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/ld"; \ - libsrcdir="$$s/ld"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stage3-ld: all-stage3-ld -all-stage3-ld: configure-stage3-ld - @$(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - - -maybe-clean-stage3-ld: clean-stage3-ld -clean-stage3-ld: - @[ -f ld/Makefile ] || [ -f stage3-ld/Makefile ] \ - || exit 0 ; \ - [ -f ld/Makefile ] || $(MAKE) stage3-start ; \ - cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif ld-bootstrap - - -.PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp -.PHONY: all-stage3-libcpp maybe-all-stage3-libcpp -.PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp - -maybe-configure-stage3-libcpp: -maybe-all-stage3-libcpp: -maybe-clean-stage3-libcpp: - -@if libcpp-bootstrap -maybe-configure-stage3-libcpp: configure-stage3-libcpp -configure-stage3-libcpp: - @$(MAKE) stage3-start - @[ -f libcpp/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 3 in libcpp ; \ - cd $(HOST_SUBDIR)/libcpp || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libcpp"; \ - libsrcdir="$$s/libcpp"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stage3-libcpp: all-stage3-libcpp -all-stage3-libcpp: configure-stage3-libcpp - @$(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - - -maybe-clean-stage3-libcpp: clean-stage3-libcpp -clean-stage3-libcpp: - @[ -f libcpp/Makefile ] || [ -f stage3-libcpp/Makefile ] \ - || exit 0 ; \ - [ -f libcpp/Makefile ] || $(MAKE) stage3-start ; \ - cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif libcpp-bootstrap - - -.PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty -.PHONY: all-stage3-libiberty maybe-all-stage3-libiberty -.PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty - -maybe-configure-stage3-libiberty: -maybe-all-stage3-libiberty: -maybe-clean-stage3-libiberty: - -@if libiberty-bootstrap -maybe-configure-stage3-libiberty: configure-stage3-libiberty -configure-stage3-libiberty: - @$(MAKE) stage3-start - @[ -f libiberty/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 3 in libiberty ; \ - cd $(HOST_SUBDIR)/libiberty || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libiberty"; \ - libsrcdir="$$s/libiberty"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stage3-libiberty: all-stage3-libiberty -all-stage3-libiberty: configure-stage3-libiberty - @$(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - - -maybe-clean-stage3-libiberty: clean-stage3-libiberty -clean-stage3-libiberty: - @[ -f libiberty/Makefile ] || [ -f stage3-libiberty/Makefile ] \ - || exit 0 ; \ - [ -f libiberty/Makefile ] || $(MAKE) stage3-start ; \ - cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif libiberty-bootstrap - - -.PHONY: configure-stage3-zlib maybe-configure-stage3-zlib -.PHONY: all-stage3-zlib maybe-all-stage3-zlib -.PHONY: clean-stage3-zlib maybe-clean-stage3-zlib - -maybe-configure-stage3-zlib: -maybe-all-stage3-zlib: -maybe-clean-stage3-zlib: - -@if zlib-bootstrap -maybe-configure-stage3-zlib: configure-stage3-zlib -configure-stage3-zlib: - @$(MAKE) stage3-start - @[ -f zlib/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 3 in zlib ; \ - cd $(HOST_SUBDIR)/zlib || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/zlib"; \ - libsrcdir="$$s/zlib"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stage3-zlib: all-stage3-zlib -all-stage3-zlib: configure-stage3-zlib - @$(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - - -maybe-clean-stage3-zlib: clean-stage3-zlib -clean-stage3-zlib: - @[ -f zlib/Makefile ] || [ -f stage3-zlib/Makefile ] \ - || exit 0 ; \ - [ -f zlib/Makefile ] || $(MAKE) stage3-start ; \ - cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif zlib-bootstrap - - - -# FIXME: Will not need to be conditional when toplevel bootstrap is the -# only possibility, but now it conflicts with no-bootstrap rules -@if gcc-bootstrap - -compare: - @if test -f stage2-lean; then \ - echo Cannot compare object files as stage 2 was deleted. ; \ - exit 0 ; \ - fi; \ - [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \ - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - rm -f .bad_compare ; \ - cd stage3-gcc; \ - files=`find . -name "*$(objext)" -print` ; \ - cd .. ; \ - for file in $${files} ; do \ - f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \ - @do_compare@ > /dev/null 2>&1; \ - test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \ - done ; \ - if [ -f .bad_compare ]; then \ - echo "Bootstrap comparison failure!"; \ - cat .bad_compare; \ - exit 1; \ - else \ - true; \ - fi ; \ - $(STAMP) compare - @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean - - - -.PHONY: bootstrap -bootstrap: stage3-bubble compare all - - -# Rules to wipe a stage and all the following ones, also used for cleanstrap -distclean-stage2:: distclean-stage3 -.PHONY: distclean-stage3 -distclean-stage3:: - [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : - rm -rf stage3-* compare - - -.PHONY: cleanstrap -cleanstrap: distclean bootstrap - -@endif gcc-bootstrap - - -.PHONY: stage4-start stage4-end - -stage4-start:: - @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \ - echo stage4 > stage_current ; \ - echo stage4 > stage_last; \ - $(mkinstalldirs) $(HOST_SUBDIR) -@if bfd - @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \ - mkdir stage4-bfd; \ - set stage4-bfd bfd ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage3-bfd prev-bfd ; \ - @CREATE_LINK_TO_DIR@ -@endif bfd -@if opcodes - @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \ - mkdir stage4-opcodes; \ - set stage4-opcodes opcodes ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage3-opcodes prev-opcodes ; \ - @CREATE_LINK_TO_DIR@ -@endif opcodes -@if binutils - @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \ - mkdir stage4-binutils; \ - set stage4-binutils binutils ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage3-binutils prev-binutils ; \ - @CREATE_LINK_TO_DIR@ -@endif binutils -@if gas - @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \ - mkdir stage4-gas; \ - set stage4-gas gas ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage3-gas prev-gas ; \ - @CREATE_LINK_TO_DIR@ -@endif gas -@if gcc - @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \ - mkdir stage4-gcc; \ - set stage4-gcc gcc ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage3-gcc prev-gcc ; \ - @CREATE_LINK_TO_DIR@ -@endif gcc -@if intl - @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \ - mkdir stage4-intl; \ - set stage4-intl intl ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage3-intl prev-intl ; \ - @CREATE_LINK_TO_DIR@ -@endif intl -@if ld - @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \ - mkdir stage4-ld; \ - set stage4-ld ld ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage3-ld prev-ld ; \ - @CREATE_LINK_TO_DIR@ -@endif ld -@if libcpp - @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \ - mkdir stage4-libcpp; \ - set stage4-libcpp libcpp ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage3-libcpp prev-libcpp ; \ - @CREATE_LINK_TO_DIR@ -@endif libcpp -@if libiberty - @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \ - mkdir stage4-libiberty; \ - set stage4-libiberty libiberty ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage3-libiberty prev-libiberty ; \ - @CREATE_LINK_TO_DIR@ -@endif libiberty -@if zlib - @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \ - mkdir stage4-zlib; \ - set stage4-zlib zlib ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage3-zlib prev-zlib ; \ - @CREATE_LINK_TO_DIR@ -@endif zlib - -stage4-end:: - @rm -f stage_current -@if bfd - @cd $(HOST_SUBDIR); set bfd stage4-bfd ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-bfd stage3-bfd ; \ - @UNDO_LINK_TO_DIR@ -@endif bfd -@if opcodes - @cd $(HOST_SUBDIR); set opcodes stage4-opcodes ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-opcodes stage3-opcodes ; \ - @UNDO_LINK_TO_DIR@ -@endif opcodes -@if binutils - @cd $(HOST_SUBDIR); set binutils stage4-binutils ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-binutils stage3-binutils ; \ - @UNDO_LINK_TO_DIR@ -@endif binutils -@if gas - @cd $(HOST_SUBDIR); set gas stage4-gas ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-gas stage3-gas ; \ - @UNDO_LINK_TO_DIR@ -@endif gas -@if gcc - @cd $(HOST_SUBDIR); set gcc stage4-gcc ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-gcc stage3-gcc ; \ - @UNDO_LINK_TO_DIR@ -@endif gcc -@if intl - @cd $(HOST_SUBDIR); set intl stage4-intl ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-intl stage3-intl ; \ - @UNDO_LINK_TO_DIR@ -@endif intl -@if ld - @cd $(HOST_SUBDIR); set ld stage4-ld ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-ld stage3-ld ; \ - @UNDO_LINK_TO_DIR@ -@endif ld -@if libcpp - @cd $(HOST_SUBDIR); set libcpp stage4-libcpp ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-libcpp stage3-libcpp ; \ - @UNDO_LINK_TO_DIR@ -@endif libcpp -@if libiberty - @cd $(HOST_SUBDIR); set libiberty stage4-libiberty ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-libiberty stage3-libiberty ; \ - @UNDO_LINK_TO_DIR@ -@endif libiberty -@if zlib - @cd $(HOST_SUBDIR); set zlib stage4-zlib ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-zlib stage3-zlib ; \ - @UNDO_LINK_TO_DIR@ -@endif zlib - -# Bubble a bugfix through all the stages up to stage 4. They -# are remade, but not reconfigured. The next stage (if any) will not -# be reconfigured as well. -.PHONY: stage4-bubble -stage4-bubble:: stage3-bubble - @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean - @if test -f stage4-lean || test -f stage3-lean ; then \ - echo Skipping rebuild of stage4 ; \ - else \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \ - fi - -.PHONY: all-stage4 clean-stage4 -all-stage4: \ - maybe-all-stage4-bfd \ - maybe-all-stage4-opcodes \ - maybe-all-stage4-binutils \ - maybe-all-stage4-gas \ - maybe-all-stage4-gcc \ - maybe-all-stage4-intl \ - maybe-all-stage4-ld \ - maybe-all-stage4-libcpp \ - maybe-all-stage4-libiberty \ - maybe-all-stage4-zlib - -do-clean: clean-stage4 -clean-stage4: \ - maybe-clean-stage4-bfd \ - maybe-clean-stage4-opcodes \ - maybe-clean-stage4-binutils \ - maybe-clean-stage4-gas \ - maybe-clean-stage4-gcc \ - maybe-clean-stage4-intl \ - maybe-clean-stage4-ld \ - maybe-clean-stage4-libcpp \ - maybe-clean-stage4-libiberty \ - maybe-clean-stage4-zlib - - -.PHONY: configure-stage4-bfd maybe-configure-stage4-bfd -.PHONY: all-stage4-bfd maybe-all-stage4-bfd -.PHONY: clean-stage4-bfd maybe-clean-stage4-bfd - -maybe-configure-stage4-bfd: -maybe-all-stage4-bfd: -maybe-clean-stage4-bfd: - -@if bfd-bootstrap -maybe-configure-stage4-bfd: configure-stage4-bfd -configure-stage4-bfd: - @$(MAKE) stage4-start - @[ -f bfd/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 4 in bfd ; \ - cd $(HOST_SUBDIR)/bfd || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/bfd"; \ - libsrcdir="$$s/bfd"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stage4-bfd: all-stage4-bfd -all-stage4-bfd: configure-stage4-bfd - @$(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - - -maybe-clean-stage4-bfd: clean-stage4-bfd -clean-stage4-bfd: - @[ -f bfd/Makefile ] || [ -f stage4-bfd/Makefile ] \ - || exit 0 ; \ - [ -f bfd/Makefile ] || $(MAKE) stage4-start ; \ - cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif bfd-bootstrap - - -.PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes -.PHONY: all-stage4-opcodes maybe-all-stage4-opcodes -.PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes - -maybe-configure-stage4-opcodes: -maybe-all-stage4-opcodes: -maybe-clean-stage4-opcodes: - -@if opcodes-bootstrap -maybe-configure-stage4-opcodes: configure-stage4-opcodes -configure-stage4-opcodes: - @$(MAKE) stage4-start - @[ -f opcodes/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 4 in opcodes ; \ - cd $(HOST_SUBDIR)/opcodes || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/opcodes"; \ - libsrcdir="$$s/opcodes"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stage4-opcodes: all-stage4-opcodes -all-stage4-opcodes: configure-stage4-opcodes - @$(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - - -maybe-clean-stage4-opcodes: clean-stage4-opcodes -clean-stage4-opcodes: - @[ -f opcodes/Makefile ] || [ -f stage4-opcodes/Makefile ] \ - || exit 0 ; \ - [ -f opcodes/Makefile ] || $(MAKE) stage4-start ; \ - cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif opcodes-bootstrap - - -.PHONY: configure-stage4-binutils maybe-configure-stage4-binutils -.PHONY: all-stage4-binutils maybe-all-stage4-binutils -.PHONY: clean-stage4-binutils maybe-clean-stage4-binutils - -maybe-configure-stage4-binutils: -maybe-all-stage4-binutils: -maybe-clean-stage4-binutils: - -@if binutils-bootstrap -maybe-configure-stage4-binutils: configure-stage4-binutils -configure-stage4-binutils: - @$(MAKE) stage4-start - @[ -f binutils/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 4 in binutils ; \ - cd $(HOST_SUBDIR)/binutils || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/binutils"; \ - libsrcdir="$$s/binutils"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stage4-binutils: all-stage4-binutils -all-stage4-binutils: configure-stage4-binutils - @$(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - - -maybe-clean-stage4-binutils: clean-stage4-binutils -clean-stage4-binutils: - @[ -f binutils/Makefile ] || [ -f stage4-binutils/Makefile ] \ - || exit 0 ; \ - [ -f binutils/Makefile ] || $(MAKE) stage4-start ; \ - cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif binutils-bootstrap - - -.PHONY: configure-stage4-gas maybe-configure-stage4-gas -.PHONY: all-stage4-gas maybe-all-stage4-gas -.PHONY: clean-stage4-gas maybe-clean-stage4-gas - -maybe-configure-stage4-gas: -maybe-all-stage4-gas: -maybe-clean-stage4-gas: - -@if gas-bootstrap -maybe-configure-stage4-gas: configure-stage4-gas -configure-stage4-gas: - @$(MAKE) stage4-start - @[ -f gas/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 4 in gas ; \ - cd $(HOST_SUBDIR)/gas || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gas"; \ - libsrcdir="$$s/gas"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stage4-gas: all-stage4-gas -all-stage4-gas: configure-stage4-gas - @$(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - - -maybe-clean-stage4-gas: clean-stage4-gas -clean-stage4-gas: - @[ -f gas/Makefile ] || [ -f stage4-gas/Makefile ] \ - || exit 0 ; \ - [ -f gas/Makefile ] || $(MAKE) stage4-start ; \ - cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif gas-bootstrap - - -.PHONY: configure-stage4-gcc maybe-configure-stage4-gcc -.PHONY: all-stage4-gcc maybe-all-stage4-gcc -.PHONY: clean-stage4-gcc maybe-clean-stage4-gcc - -maybe-configure-stage4-gcc: -maybe-all-stage4-gcc: -maybe-clean-stage4-gcc: - -@if gcc-bootstrap -maybe-configure-stage4-gcc: configure-stage4-gcc -configure-stage4-gcc: - @$(MAKE) stage4-start - @[ -f gcc/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 4 in gcc ; \ - cd $(HOST_SUBDIR)/gcc || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gcc"; \ - libsrcdir="$$s/gcc"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stage4-gcc: all-stage4-gcc -all-stage4-gcc: configure-stage4-gcc - @$(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - $(EXTRA_GCC_FLAGS) - -maybe-clean-stage4-gcc: clean-stage4-gcc -clean-stage4-gcc: - @[ -f gcc/Makefile ] || [ -f stage4-gcc/Makefile ] \ - || exit 0 ; \ - [ -f gcc/Makefile ] || $(MAKE) stage4-start ; \ - cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - $(EXTRA_GCC_FLAGS) clean -@endif gcc-bootstrap - - -.PHONY: configure-stage4-intl maybe-configure-stage4-intl -.PHONY: all-stage4-intl maybe-all-stage4-intl -.PHONY: clean-stage4-intl maybe-clean-stage4-intl - -maybe-configure-stage4-intl: -maybe-all-stage4-intl: -maybe-clean-stage4-intl: - -@if intl-bootstrap -maybe-configure-stage4-intl: configure-stage4-intl -configure-stage4-intl: - @$(MAKE) stage4-start - @[ -f intl/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 4 in intl ; \ - cd $(HOST_SUBDIR)/intl || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/intl"; \ - libsrcdir="$$s/intl"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stage4-intl: all-stage4-intl -all-stage4-intl: configure-stage4-intl - @$(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - - -maybe-clean-stage4-intl: clean-stage4-intl -clean-stage4-intl: - @[ -f intl/Makefile ] || [ -f stage4-intl/Makefile ] \ - || exit 0 ; \ - [ -f intl/Makefile ] || $(MAKE) stage4-start ; \ - cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif intl-bootstrap - - -.PHONY: configure-stage4-ld maybe-configure-stage4-ld -.PHONY: all-stage4-ld maybe-all-stage4-ld -.PHONY: clean-stage4-ld maybe-clean-stage4-ld - -maybe-configure-stage4-ld: -maybe-all-stage4-ld: -maybe-clean-stage4-ld: - -@if ld-bootstrap -maybe-configure-stage4-ld: configure-stage4-ld -configure-stage4-ld: - @$(MAKE) stage4-start - @[ -f ld/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 4 in ld ; \ - cd $(HOST_SUBDIR)/ld || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/ld"; \ - libsrcdir="$$s/ld"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stage4-ld: all-stage4-ld -all-stage4-ld: configure-stage4-ld - @$(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - - -maybe-clean-stage4-ld: clean-stage4-ld -clean-stage4-ld: - @[ -f ld/Makefile ] || [ -f stage4-ld/Makefile ] \ - || exit 0 ; \ - [ -f ld/Makefile ] || $(MAKE) stage4-start ; \ - cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif ld-bootstrap - - -.PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp -.PHONY: all-stage4-libcpp maybe-all-stage4-libcpp -.PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp - -maybe-configure-stage4-libcpp: -maybe-all-stage4-libcpp: -maybe-clean-stage4-libcpp: - -@if libcpp-bootstrap -maybe-configure-stage4-libcpp: configure-stage4-libcpp -configure-stage4-libcpp: - @$(MAKE) stage4-start - @[ -f libcpp/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 4 in libcpp ; \ - cd $(HOST_SUBDIR)/libcpp || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libcpp"; \ - libsrcdir="$$s/libcpp"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stage4-libcpp: all-stage4-libcpp -all-stage4-libcpp: configure-stage4-libcpp - @$(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - - -maybe-clean-stage4-libcpp: clean-stage4-libcpp -clean-stage4-libcpp: - @[ -f libcpp/Makefile ] || [ -f stage4-libcpp/Makefile ] \ - || exit 0 ; \ - [ -f libcpp/Makefile ] || $(MAKE) stage4-start ; \ - cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif libcpp-bootstrap - - -.PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty -.PHONY: all-stage4-libiberty maybe-all-stage4-libiberty -.PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty - -maybe-configure-stage4-libiberty: -maybe-all-stage4-libiberty: -maybe-clean-stage4-libiberty: - -@if libiberty-bootstrap -maybe-configure-stage4-libiberty: configure-stage4-libiberty -configure-stage4-libiberty: - @$(MAKE) stage4-start - @[ -f libiberty/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 4 in libiberty ; \ - cd $(HOST_SUBDIR)/libiberty || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libiberty"; \ - libsrcdir="$$s/libiberty"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stage4-libiberty: all-stage4-libiberty -all-stage4-libiberty: configure-stage4-libiberty - @$(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - - -maybe-clean-stage4-libiberty: clean-stage4-libiberty -clean-stage4-libiberty: - @[ -f libiberty/Makefile ] || [ -f stage4-libiberty/Makefile ] \ - || exit 0 ; \ - [ -f libiberty/Makefile ] || $(MAKE) stage4-start ; \ - cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif libiberty-bootstrap - - -.PHONY: configure-stage4-zlib maybe-configure-stage4-zlib -.PHONY: all-stage4-zlib maybe-all-stage4-zlib -.PHONY: clean-stage4-zlib maybe-clean-stage4-zlib - -maybe-configure-stage4-zlib: -maybe-all-stage4-zlib: -maybe-clean-stage4-zlib: - -@if zlib-bootstrap -maybe-configure-stage4-zlib: configure-stage4-zlib -configure-stage4-zlib: - @$(MAKE) stage4-start - @[ -f zlib/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage 4 in zlib ; \ - cd $(HOST_SUBDIR)/zlib || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/zlib"; \ - libsrcdir="$$s/zlib"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stage4-zlib: all-stage4-zlib -all-stage4-zlib: configure-stage4-zlib - @$(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - - -maybe-clean-stage4-zlib: clean-stage4-zlib -clean-stage4-zlib: - @[ -f zlib/Makefile ] || [ -f stage4-zlib/Makefile ] \ - || exit 0 ; \ - [ -f zlib/Makefile ] || $(MAKE) stage4-start ; \ - cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - clean -@endif zlib-bootstrap +stage4-end:: + @rm -f stage_current +@if bfd + @cd $(HOST_SUBDIR); set bfd stage4-bfd ; \ + @UNDO_LINK_TO_DIR@ ; \ + set prev-bfd stage3-bfd ; \ + @UNDO_LINK_TO_DIR@ +@endif bfd +@if opcodes + @cd $(HOST_SUBDIR); set opcodes stage4-opcodes ; \ + @UNDO_LINK_TO_DIR@ ; \ + set prev-opcodes stage3-opcodes ; \ + @UNDO_LINK_TO_DIR@ +@endif opcodes +@if binutils + @cd $(HOST_SUBDIR); set binutils stage4-binutils ; \ + @UNDO_LINK_TO_DIR@ ; \ + set prev-binutils stage3-binutils ; \ + @UNDO_LINK_TO_DIR@ +@endif binutils +@if gas + @cd $(HOST_SUBDIR); set gas stage4-gas ; \ + @UNDO_LINK_TO_DIR@ ; \ + set prev-gas stage3-gas ; \ + @UNDO_LINK_TO_DIR@ +@endif gas +@if gcc + @cd $(HOST_SUBDIR); set gcc stage4-gcc ; \ + @UNDO_LINK_TO_DIR@ ; \ + set prev-gcc stage3-gcc ; \ + @UNDO_LINK_TO_DIR@ +@endif gcc +@if intl + @cd $(HOST_SUBDIR); set intl stage4-intl ; \ + @UNDO_LINK_TO_DIR@ ; \ + set prev-intl stage3-intl ; \ + @UNDO_LINK_TO_DIR@ +@endif intl +@if ld + @cd $(HOST_SUBDIR); set ld stage4-ld ; \ + @UNDO_LINK_TO_DIR@ ; \ + set prev-ld stage3-ld ; \ + @UNDO_LINK_TO_DIR@ +@endif ld +@if libcpp + @cd $(HOST_SUBDIR); set libcpp stage4-libcpp ; \ + @UNDO_LINK_TO_DIR@ ; \ + set prev-libcpp stage3-libcpp ; \ + @UNDO_LINK_TO_DIR@ +@endif libcpp +@if libiberty + @cd $(HOST_SUBDIR); set libiberty stage4-libiberty ; \ + @UNDO_LINK_TO_DIR@ ; \ + set prev-libiberty stage3-libiberty ; \ + @UNDO_LINK_TO_DIR@ +@endif libiberty +@if zlib + @cd $(HOST_SUBDIR); set zlib stage4-zlib ; \ + @UNDO_LINK_TO_DIR@ ; \ + set prev-zlib stage3-zlib ; \ + @UNDO_LINK_TO_DIR@ +@endif zlib +# Bubble a bugfix through all the stages up to stage 4. They +# are remade, but not reconfigured. The next stage (if any) will not +# be reconfigured as well. +.PHONY: stage4-bubble +stage4-bubble:: stage3-bubble + @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean + @if test -f stage4-lean || test -f stage3-lean ; then \ + echo Skipping rebuild of stage4 ; \ + else \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \ + fi +.PHONY: all-stage4 clean-stage4 +do-clean: clean-stage4 # FIXME: Will not need to be conditional when toplevel bootstrap is the # only possibility, but now it conflicts with no-bootstrap rules @@ -32716,7 +34174,7 @@ stageprofile-start:: @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \ echo stageprofile > stage_current ; \ echo stageprofile > stage_last; \ - $(mkinstalldirs) $(HOST_SUBDIR) + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) @if bfd @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \ mkdir stageprofile-bfd; \ @@ -32790,635 +34248,90 @@ stageprofile-start:: @CREATE_LINK_TO_DIR@ @endif libiberty @if zlib - @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \ - mkdir stageprofile-zlib; \ - set stageprofile-zlib zlib ; \ - @CREATE_LINK_TO_DIR@ ; \ - set stage1-zlib prev-zlib ; \ - @CREATE_LINK_TO_DIR@ -@endif zlib - -stageprofile-end:: - @rm -f stage_current -@if bfd - @cd $(HOST_SUBDIR); set bfd stageprofile-bfd ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-bfd stage1-bfd ; \ - @UNDO_LINK_TO_DIR@ -@endif bfd -@if opcodes - @cd $(HOST_SUBDIR); set opcodes stageprofile-opcodes ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-opcodes stage1-opcodes ; \ - @UNDO_LINK_TO_DIR@ -@endif opcodes -@if binutils - @cd $(HOST_SUBDIR); set binutils stageprofile-binutils ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-binutils stage1-binutils ; \ - @UNDO_LINK_TO_DIR@ -@endif binutils -@if gas - @cd $(HOST_SUBDIR); set gas stageprofile-gas ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-gas stage1-gas ; \ - @UNDO_LINK_TO_DIR@ -@endif gas -@if gcc - @cd $(HOST_SUBDIR); set gcc stageprofile-gcc ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-gcc stage1-gcc ; \ - @UNDO_LINK_TO_DIR@ -@endif gcc -@if intl - @cd $(HOST_SUBDIR); set intl stageprofile-intl ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-intl stage1-intl ; \ - @UNDO_LINK_TO_DIR@ -@endif intl -@if ld - @cd $(HOST_SUBDIR); set ld stageprofile-ld ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-ld stage1-ld ; \ - @UNDO_LINK_TO_DIR@ -@endif ld -@if libcpp - @cd $(HOST_SUBDIR); set libcpp stageprofile-libcpp ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-libcpp stage1-libcpp ; \ - @UNDO_LINK_TO_DIR@ -@endif libcpp -@if libiberty - @cd $(HOST_SUBDIR); set libiberty stageprofile-libiberty ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-libiberty stage1-libiberty ; \ - @UNDO_LINK_TO_DIR@ -@endif libiberty -@if zlib - @cd $(HOST_SUBDIR); set zlib stageprofile-zlib ; \ - @UNDO_LINK_TO_DIR@ ; \ - set prev-zlib stage1-zlib ; \ - @UNDO_LINK_TO_DIR@ -@endif zlib - -# Bubble a bugfix through all the stages up to stage profile. They -# are remade, but not reconfigured. The next stage (if any) will not -# be reconfigured as well. -.PHONY: stageprofile-bubble -stageprofile-bubble:: stage1-bubble - @if test -f stageprofile-lean || test -f stage1-lean ; then \ - echo Skipping rebuild of stageprofile ; \ - else \ - $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \ - fi - -.PHONY: all-stageprofile clean-stageprofile -all-stageprofile: \ - maybe-all-stageprofile-bfd \ - maybe-all-stageprofile-opcodes \ - maybe-all-stageprofile-binutils \ - maybe-all-stageprofile-gas \ - maybe-all-stageprofile-gcc \ - maybe-all-stageprofile-intl \ - maybe-all-stageprofile-ld \ - maybe-all-stageprofile-libcpp \ - maybe-all-stageprofile-libiberty \ - maybe-all-stageprofile-zlib - -do-clean: clean-stageprofile -clean-stageprofile: \ - maybe-clean-stageprofile-bfd \ - maybe-clean-stageprofile-opcodes \ - maybe-clean-stageprofile-binutils \ - maybe-clean-stageprofile-gas \ - maybe-clean-stageprofile-gcc \ - maybe-clean-stageprofile-intl \ - maybe-clean-stageprofile-ld \ - maybe-clean-stageprofile-libcpp \ - maybe-clean-stageprofile-libiberty \ - maybe-clean-stageprofile-zlib - - -.PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd -.PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd -.PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd - -maybe-configure-stageprofile-bfd: -maybe-all-stageprofile-bfd: -maybe-clean-stageprofile-bfd: - -@if bfd-bootstrap -maybe-configure-stageprofile-bfd: configure-stageprofile-bfd -configure-stageprofile-bfd: - @$(MAKE) stageprofile-start - @[ -f bfd/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage profile in bfd ; \ - cd $(HOST_SUBDIR)/bfd || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/bfd"; \ - libsrcdir="$$s/bfd"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stageprofile-bfd: all-stageprofile-bfd -all-stageprofile-bfd: configure-stageprofile-bfd - @$(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" - -maybe-clean-stageprofile-bfd: clean-stageprofile-bfd -clean-stageprofile-bfd: - @[ -f bfd/Makefile ] || [ -f stageprofile-bfd/Makefile ] \ - || exit 0 ; \ - [ -f bfd/Makefile ] || $(MAKE) stageprofile-start ; \ - cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean -@endif bfd-bootstrap - - -.PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes -.PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes -.PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes - -maybe-configure-stageprofile-opcodes: -maybe-all-stageprofile-opcodes: -maybe-clean-stageprofile-opcodes: - -@if opcodes-bootstrap -maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes -configure-stageprofile-opcodes: - @$(MAKE) stageprofile-start - @[ -f opcodes/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage profile in opcodes ; \ - cd $(HOST_SUBDIR)/opcodes || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/opcodes"; \ - libsrcdir="$$s/opcodes"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stageprofile-opcodes: all-stageprofile-opcodes -all-stageprofile-opcodes: configure-stageprofile-opcodes - @$(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" - -maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes -clean-stageprofile-opcodes: - @[ -f opcodes/Makefile ] || [ -f stageprofile-opcodes/Makefile ] \ - || exit 0 ; \ - [ -f opcodes/Makefile ] || $(MAKE) stageprofile-start ; \ - cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean -@endif opcodes-bootstrap - - -.PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils -.PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils -.PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils - -maybe-configure-stageprofile-binutils: -maybe-all-stageprofile-binutils: -maybe-clean-stageprofile-binutils: - -@if binutils-bootstrap -maybe-configure-stageprofile-binutils: configure-stageprofile-binutils -configure-stageprofile-binutils: - @$(MAKE) stageprofile-start - @[ -f binutils/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage profile in binutils ; \ - cd $(HOST_SUBDIR)/binutils || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/binutils"; \ - libsrcdir="$$s/binutils"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stageprofile-binutils: all-stageprofile-binutils -all-stageprofile-binutils: configure-stageprofile-binutils - @$(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" - -maybe-clean-stageprofile-binutils: clean-stageprofile-binutils -clean-stageprofile-binutils: - @[ -f binutils/Makefile ] || [ -f stageprofile-binutils/Makefile ] \ - || exit 0 ; \ - [ -f binutils/Makefile ] || $(MAKE) stageprofile-start ; \ - cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean -@endif binutils-bootstrap - - -.PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas -.PHONY: all-stageprofile-gas maybe-all-stageprofile-gas -.PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas - -maybe-configure-stageprofile-gas: -maybe-all-stageprofile-gas: -maybe-clean-stageprofile-gas: - -@if gas-bootstrap -maybe-configure-stageprofile-gas: configure-stageprofile-gas -configure-stageprofile-gas: - @$(MAKE) stageprofile-start - @[ -f gas/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage profile in gas ; \ - cd $(HOST_SUBDIR)/gas || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gas"; \ - libsrcdir="$$s/gas"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stageprofile-gas: all-stageprofile-gas -all-stageprofile-gas: configure-stageprofile-gas - @$(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" - -maybe-clean-stageprofile-gas: clean-stageprofile-gas -clean-stageprofile-gas: - @[ -f gas/Makefile ] || [ -f stageprofile-gas/Makefile ] \ - || exit 0 ; \ - [ -f gas/Makefile ] || $(MAKE) stageprofile-start ; \ - cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean -@endif gas-bootstrap - - -.PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc -.PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc -.PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc - -maybe-configure-stageprofile-gcc: -maybe-all-stageprofile-gcc: -maybe-clean-stageprofile-gcc: - -@if gcc-bootstrap -maybe-configure-stageprofile-gcc: configure-stageprofile-gcc -configure-stageprofile-gcc: - @$(MAKE) stageprofile-start - @[ -f gcc/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage profile in gcc ; \ - cd $(HOST_SUBDIR)/gcc || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gcc"; \ - libsrcdir="$$s/gcc"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stageprofile-gcc: all-stageprofile-gcc -all-stageprofile-gcc: configure-stageprofile-gcc - @$(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) - -maybe-clean-stageprofile-gcc: clean-stageprofile-gcc -clean-stageprofile-gcc: - @[ -f gcc/Makefile ] || [ -f stageprofile-gcc/Makefile ] \ - || exit 0 ; \ - [ -f gcc/Makefile ] || $(MAKE) stageprofile-start ; \ - cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean -@endif gcc-bootstrap - - -.PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl -.PHONY: all-stageprofile-intl maybe-all-stageprofile-intl -.PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl - -maybe-configure-stageprofile-intl: -maybe-all-stageprofile-intl: -maybe-clean-stageprofile-intl: - -@if intl-bootstrap -maybe-configure-stageprofile-intl: configure-stageprofile-intl -configure-stageprofile-intl: - @$(MAKE) stageprofile-start - @[ -f intl/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage profile in intl ; \ - cd $(HOST_SUBDIR)/intl || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/intl"; \ - libsrcdir="$$s/intl"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stageprofile-intl: all-stageprofile-intl -all-stageprofile-intl: configure-stageprofile-intl - @$(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" - -maybe-clean-stageprofile-intl: clean-stageprofile-intl -clean-stageprofile-intl: - @[ -f intl/Makefile ] || [ -f stageprofile-intl/Makefile ] \ - || exit 0 ; \ - [ -f intl/Makefile ] || $(MAKE) stageprofile-start ; \ - cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean -@endif intl-bootstrap - - -.PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld -.PHONY: all-stageprofile-ld maybe-all-stageprofile-ld -.PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld - -maybe-configure-stageprofile-ld: -maybe-all-stageprofile-ld: -maybe-clean-stageprofile-ld: - -@if ld-bootstrap -maybe-configure-stageprofile-ld: configure-stageprofile-ld -configure-stageprofile-ld: - @$(MAKE) stageprofile-start - @[ -f ld/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage profile in ld ; \ - cd $(HOST_SUBDIR)/ld || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/ld"; \ - libsrcdir="$$s/ld"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stageprofile-ld: all-stageprofile-ld -all-stageprofile-ld: configure-stageprofile-ld - @$(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" - -maybe-clean-stageprofile-ld: clean-stageprofile-ld -clean-stageprofile-ld: - @[ -f ld/Makefile ] || [ -f stageprofile-ld/Makefile ] \ - || exit 0 ; \ - [ -f ld/Makefile ] || $(MAKE) stageprofile-start ; \ - cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean -@endif ld-bootstrap - - -.PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp -.PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp -.PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp - -maybe-configure-stageprofile-libcpp: -maybe-all-stageprofile-libcpp: -maybe-clean-stageprofile-libcpp: - -@if libcpp-bootstrap -maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp -configure-stageprofile-libcpp: - @$(MAKE) stageprofile-start - @[ -f libcpp/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage profile in libcpp ; \ - cd $(HOST_SUBDIR)/libcpp || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libcpp"; \ - libsrcdir="$$s/libcpp"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stageprofile-libcpp: all-stageprofile-libcpp -all-stageprofile-libcpp: configure-stageprofile-libcpp - @$(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" - -maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp -clean-stageprofile-libcpp: - @[ -f libcpp/Makefile ] || [ -f stageprofile-libcpp/Makefile ] \ - || exit 0 ; \ - [ -f libcpp/Makefile ] || $(MAKE) stageprofile-start ; \ - cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean -@endif libcpp-bootstrap - - -.PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty -.PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty -.PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty - -maybe-configure-stageprofile-libiberty: -maybe-all-stageprofile-libiberty: -maybe-clean-stageprofile-libiberty: - -@if libiberty-bootstrap -maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty -configure-stageprofile-libiberty: - @$(MAKE) stageprofile-start - @[ -f libiberty/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage profile in libiberty ; \ - cd $(HOST_SUBDIR)/libiberty || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libiberty"; \ - libsrcdir="$$s/libiberty"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stageprofile-libiberty: all-stageprofile-libiberty -all-stageprofile-libiberty: configure-stageprofile-libiberty - @$(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" - -maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty -clean-stageprofile-libiberty: - @[ -f libiberty/Makefile ] || [ -f stageprofile-libiberty/Makefile ] \ - || exit 0 ; \ - [ -f libiberty/Makefile ] || $(MAKE) stageprofile-start ; \ - cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean -@endif libiberty-bootstrap - - -.PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib -.PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib -.PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib - -maybe-configure-stageprofile-zlib: -maybe-all-stageprofile-zlib: -maybe-clean-stageprofile-zlib: - -@if zlib-bootstrap -maybe-configure-stageprofile-zlib: configure-stageprofile-zlib -configure-stageprofile-zlib: - @$(MAKE) stageprofile-start - @[ -f zlib/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage profile in zlib ; \ - cd $(HOST_SUBDIR)/zlib || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/zlib"; \ - libsrcdir="$$s/zlib"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stageprofile-zlib: all-stageprofile-zlib -all-stageprofile-zlib: configure-stageprofile-zlib - @$(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" + @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \ + mkdir stageprofile-zlib; \ + set stageprofile-zlib zlib ; \ + @CREATE_LINK_TO_DIR@ ; \ + set stage1-zlib prev-zlib ; \ + @CREATE_LINK_TO_DIR@ +@endif zlib -maybe-clean-stageprofile-zlib: clean-stageprofile-zlib -clean-stageprofile-zlib: - @[ -f zlib/Makefile ] || [ -f stageprofile-zlib/Makefile ] \ - || exit 0 ; \ - [ -f zlib/Makefile ] || $(MAKE) stageprofile-start ; \ - cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean -@endif zlib-bootstrap +stageprofile-end:: + @rm -f stage_current +@if bfd + @cd $(HOST_SUBDIR); set bfd stageprofile-bfd ; \ + @UNDO_LINK_TO_DIR@ ; \ + set prev-bfd stage1-bfd ; \ + @UNDO_LINK_TO_DIR@ +@endif bfd +@if opcodes + @cd $(HOST_SUBDIR); set opcodes stageprofile-opcodes ; \ + @UNDO_LINK_TO_DIR@ ; \ + set prev-opcodes stage1-opcodes ; \ + @UNDO_LINK_TO_DIR@ +@endif opcodes +@if binutils + @cd $(HOST_SUBDIR); set binutils stageprofile-binutils ; \ + @UNDO_LINK_TO_DIR@ ; \ + set prev-binutils stage1-binutils ; \ + @UNDO_LINK_TO_DIR@ +@endif binutils +@if gas + @cd $(HOST_SUBDIR); set gas stageprofile-gas ; \ + @UNDO_LINK_TO_DIR@ ; \ + set prev-gas stage1-gas ; \ + @UNDO_LINK_TO_DIR@ +@endif gas +@if gcc + @cd $(HOST_SUBDIR); set gcc stageprofile-gcc ; \ + @UNDO_LINK_TO_DIR@ ; \ + set prev-gcc stage1-gcc ; \ + @UNDO_LINK_TO_DIR@ +@endif gcc +@if intl + @cd $(HOST_SUBDIR); set intl stageprofile-intl ; \ + @UNDO_LINK_TO_DIR@ ; \ + set prev-intl stage1-intl ; \ + @UNDO_LINK_TO_DIR@ +@endif intl +@if ld + @cd $(HOST_SUBDIR); set ld stageprofile-ld ; \ + @UNDO_LINK_TO_DIR@ ; \ + set prev-ld stage1-ld ; \ + @UNDO_LINK_TO_DIR@ +@endif ld +@if libcpp + @cd $(HOST_SUBDIR); set libcpp stageprofile-libcpp ; \ + @UNDO_LINK_TO_DIR@ ; \ + set prev-libcpp stage1-libcpp ; \ + @UNDO_LINK_TO_DIR@ +@endif libcpp +@if libiberty + @cd $(HOST_SUBDIR); set libiberty stageprofile-libiberty ; \ + @UNDO_LINK_TO_DIR@ ; \ + set prev-libiberty stage1-libiberty ; \ + @UNDO_LINK_TO_DIR@ +@endif libiberty +@if zlib + @cd $(HOST_SUBDIR); set zlib stageprofile-zlib ; \ + @UNDO_LINK_TO_DIR@ ; \ + set prev-zlib stage1-zlib ; \ + @UNDO_LINK_TO_DIR@ +@endif zlib +# Bubble a bugfix through all the stages up to stage profile. They +# are remade, but not reconfigured. The next stage (if any) will not +# be reconfigured as well. +.PHONY: stageprofile-bubble +stageprofile-bubble:: stage1-bubble + @if test -f stageprofile-lean || test -f stage1-lean ; then \ + echo Skipping rebuild of stageprofile ; \ + else \ + $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \ + fi +.PHONY: all-stageprofile clean-stageprofile +do-clean: clean-stageprofile # FIXME: Will not need to be conditional when toplevel bootstrap is the # only possibility, but now it conflicts with no-bootstrap rules @@ -33444,7 +34357,7 @@ stagefeedback-start:: @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \ echo stagefeedback > stage_current ; \ echo stagefeedback > stage_last; \ - $(mkinstalldirs) $(HOST_SUBDIR) + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) @if bfd @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \ mkdir stagefeedback-bfd; \ @@ -33601,552 +34514,7 @@ stagefeedback-bubble:: stage1-bubble fi .PHONY: all-stagefeedback clean-stagefeedback -all-stagefeedback: \ - maybe-all-stagefeedback-bfd \ - maybe-all-stagefeedback-opcodes \ - maybe-all-stagefeedback-binutils \ - maybe-all-stagefeedback-gas \ - maybe-all-stagefeedback-gcc \ - maybe-all-stagefeedback-intl \ - maybe-all-stagefeedback-ld \ - maybe-all-stagefeedback-libcpp \ - maybe-all-stagefeedback-libiberty \ - maybe-all-stagefeedback-zlib - do-clean: clean-stagefeedback -clean-stagefeedback: \ - maybe-clean-stagefeedback-bfd \ - maybe-clean-stagefeedback-opcodes \ - maybe-clean-stagefeedback-binutils \ - maybe-clean-stagefeedback-gas \ - maybe-clean-stagefeedback-gcc \ - maybe-clean-stagefeedback-intl \ - maybe-clean-stagefeedback-ld \ - maybe-clean-stagefeedback-libcpp \ - maybe-clean-stagefeedback-libiberty \ - maybe-clean-stagefeedback-zlib - - -.PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd -.PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd -.PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd - -maybe-configure-stagefeedback-bfd: -maybe-all-stagefeedback-bfd: -maybe-clean-stagefeedback-bfd: - -@if bfd-bootstrap -maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd -configure-stagefeedback-bfd: - @$(MAKE) stagefeedback-start - @[ -f bfd/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage feedback in bfd ; \ - cd $(HOST_SUBDIR)/bfd || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/bfd"; \ - libsrcdir="$$s/bfd"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stagefeedback-bfd: all-stagefeedback-bfd -all-stagefeedback-bfd: configure-stagefeedback-bfd - @$(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-use" - -maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd -clean-stagefeedback-bfd: - @[ -f bfd/Makefile ] || [ -f stagefeedback-bfd/Makefile ] \ - || exit 0 ; \ - [ -f bfd/Makefile ] || $(MAKE) stagefeedback-start ; \ - cd $(HOST_SUBDIR)/bfd && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean -@endif bfd-bootstrap - - -.PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes -.PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes -.PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes - -maybe-configure-stagefeedback-opcodes: -maybe-all-stagefeedback-opcodes: -maybe-clean-stagefeedback-opcodes: - -@if opcodes-bootstrap -maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes -configure-stagefeedback-opcodes: - @$(MAKE) stagefeedback-start - @[ -f opcodes/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage feedback in opcodes ; \ - cd $(HOST_SUBDIR)/opcodes || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/opcodes"; \ - libsrcdir="$$s/opcodes"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes -all-stagefeedback-opcodes: configure-stagefeedback-opcodes - @$(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-use" - -maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes -clean-stagefeedback-opcodes: - @[ -f opcodes/Makefile ] || [ -f stagefeedback-opcodes/Makefile ] \ - || exit 0 ; \ - [ -f opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \ - cd $(HOST_SUBDIR)/opcodes && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean -@endif opcodes-bootstrap - - -.PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils -.PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils -.PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils - -maybe-configure-stagefeedback-binutils: -maybe-all-stagefeedback-binutils: -maybe-clean-stagefeedback-binutils: - -@if binutils-bootstrap -maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils -configure-stagefeedback-binutils: - @$(MAKE) stagefeedback-start - @[ -f binutils/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage feedback in binutils ; \ - cd $(HOST_SUBDIR)/binutils || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/binutils"; \ - libsrcdir="$$s/binutils"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stagefeedback-binutils: all-stagefeedback-binutils -all-stagefeedback-binutils: configure-stagefeedback-binutils - @$(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-use" - -maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils -clean-stagefeedback-binutils: - @[ -f binutils/Makefile ] || [ -f stagefeedback-binutils/Makefile ] \ - || exit 0 ; \ - [ -f binutils/Makefile ] || $(MAKE) stagefeedback-start ; \ - cd $(HOST_SUBDIR)/binutils && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean -@endif binutils-bootstrap - - -.PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas -.PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas -.PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas - -maybe-configure-stagefeedback-gas: -maybe-all-stagefeedback-gas: -maybe-clean-stagefeedback-gas: - -@if gas-bootstrap -maybe-configure-stagefeedback-gas: configure-stagefeedback-gas -configure-stagefeedback-gas: - @$(MAKE) stagefeedback-start - @[ -f gas/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage feedback in gas ; \ - cd $(HOST_SUBDIR)/gas || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gas"; \ - libsrcdir="$$s/gas"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stagefeedback-gas: all-stagefeedback-gas -all-stagefeedback-gas: configure-stagefeedback-gas - @$(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-use" - -maybe-clean-stagefeedback-gas: clean-stagefeedback-gas -clean-stagefeedback-gas: - @[ -f gas/Makefile ] || [ -f stagefeedback-gas/Makefile ] \ - || exit 0 ; \ - [ -f gas/Makefile ] || $(MAKE) stagefeedback-start ; \ - cd $(HOST_SUBDIR)/gas && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean -@endif gas-bootstrap - - -.PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc -.PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc -.PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc - -maybe-configure-stagefeedback-gcc: -maybe-all-stagefeedback-gcc: -maybe-clean-stagefeedback-gcc: - -@if gcc-bootstrap -maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc -configure-stagefeedback-gcc: - @$(MAKE) stagefeedback-start - @[ -f gcc/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage feedback in gcc ; \ - cd $(HOST_SUBDIR)/gcc || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/gcc"; \ - libsrcdir="$$s/gcc"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stagefeedback-gcc: all-stagefeedback-gcc -all-stagefeedback-gcc: configure-stagefeedback-gcc - @$(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) - -maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc -clean-stagefeedback-gcc: - @[ -f gcc/Makefile ] || [ -f stagefeedback-gcc/Makefile ] \ - || exit 0 ; \ - [ -f gcc/Makefile ] || $(MAKE) stagefeedback-start ; \ - cd $(HOST_SUBDIR)/gcc && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean -@endif gcc-bootstrap - - -.PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl -.PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl -.PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl - -maybe-configure-stagefeedback-intl: -maybe-all-stagefeedback-intl: -maybe-clean-stagefeedback-intl: - -@if intl-bootstrap -maybe-configure-stagefeedback-intl: configure-stagefeedback-intl -configure-stagefeedback-intl: - @$(MAKE) stagefeedback-start - @[ -f intl/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage feedback in intl ; \ - cd $(HOST_SUBDIR)/intl || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/intl"; \ - libsrcdir="$$s/intl"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stagefeedback-intl: all-stagefeedback-intl -all-stagefeedback-intl: configure-stagefeedback-intl - @$(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-use" - -maybe-clean-stagefeedback-intl: clean-stagefeedback-intl -clean-stagefeedback-intl: - @[ -f intl/Makefile ] || [ -f stagefeedback-intl/Makefile ] \ - || exit 0 ; \ - [ -f intl/Makefile ] || $(MAKE) stagefeedback-start ; \ - cd $(HOST_SUBDIR)/intl && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean -@endif intl-bootstrap - - -.PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld -.PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld -.PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld - -maybe-configure-stagefeedback-ld: -maybe-all-stagefeedback-ld: -maybe-clean-stagefeedback-ld: - -@if ld-bootstrap -maybe-configure-stagefeedback-ld: configure-stagefeedback-ld -configure-stagefeedback-ld: - @$(MAKE) stagefeedback-start - @[ -f ld/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage feedback in ld ; \ - cd $(HOST_SUBDIR)/ld || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/ld"; \ - libsrcdir="$$s/ld"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stagefeedback-ld: all-stagefeedback-ld -all-stagefeedback-ld: configure-stagefeedback-ld - @$(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-use" - -maybe-clean-stagefeedback-ld: clean-stagefeedback-ld -clean-stagefeedback-ld: - @[ -f ld/Makefile ] || [ -f stagefeedback-ld/Makefile ] \ - || exit 0 ; \ - [ -f ld/Makefile ] || $(MAKE) stagefeedback-start ; \ - cd $(HOST_SUBDIR)/ld && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean -@endif ld-bootstrap - - -.PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp -.PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp -.PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp - -maybe-configure-stagefeedback-libcpp: -maybe-all-stagefeedback-libcpp: -maybe-clean-stagefeedback-libcpp: - -@if libcpp-bootstrap -maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp -configure-stagefeedback-libcpp: - @$(MAKE) stagefeedback-start - @[ -f libcpp/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage feedback in libcpp ; \ - cd $(HOST_SUBDIR)/libcpp || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libcpp"; \ - libsrcdir="$$s/libcpp"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp -all-stagefeedback-libcpp: configure-stagefeedback-libcpp - @$(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-use" - -maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp -clean-stagefeedback-libcpp: - @[ -f libcpp/Makefile ] || [ -f stagefeedback-libcpp/Makefile ] \ - || exit 0 ; \ - [ -f libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \ - cd $(HOST_SUBDIR)/libcpp && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean -@endif libcpp-bootstrap - - -.PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty -.PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty -.PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty - -maybe-configure-stagefeedback-libiberty: -maybe-all-stagefeedback-libiberty: -maybe-clean-stagefeedback-libiberty: - -@if libiberty-bootstrap -maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty -configure-stagefeedback-libiberty: - @$(MAKE) stagefeedback-start - @[ -f libiberty/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage feedback in libiberty ; \ - cd $(HOST_SUBDIR)/libiberty || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/libiberty"; \ - libsrcdir="$$s/libiberty"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty -all-stagefeedback-libiberty: configure-stagefeedback-libiberty - @$(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-use" - -maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty -clean-stagefeedback-libiberty: - @[ -f libiberty/Makefile ] || [ -f stagefeedback-libiberty/Makefile ] \ - || exit 0 ; \ - [ -f libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \ - cd $(HOST_SUBDIR)/libiberty && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean -@endif libiberty-bootstrap - - -.PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib -.PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib -.PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib - -maybe-configure-stagefeedback-zlib: -maybe-all-stagefeedback-zlib: -maybe-clean-stagefeedback-zlib: - -@if zlib-bootstrap -maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib -configure-stagefeedback-zlib: - @$(MAKE) stagefeedback-start - @[ -f zlib/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - echo Configuring stage feedback in zlib ; \ - cd $(HOST_SUBDIR)/zlib || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/zlib"; \ - libsrcdir="$$s/zlib"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - @stage2_werror_flag@ - -maybe-all-stagefeedback-zlib: all-stagefeedback-zlib -all-stagefeedback-zlib: configure-stagefeedback-zlib - @$(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(STAGE_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-use" - -maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib -clean-stagefeedback-zlib: - @[ -f zlib/Makefile ] || [ -f stagefeedback-zlib/Makefile ] \ - || exit 0 ; \ - [ -f zlib/Makefile ] || $(MAKE) stagefeedback-start ; \ - cd $(HOST_SUBDIR)/zlib && \ - $(MAKE) $(FLAGS_TO_PASS) \ - $(POSTSTAGE1_FLAGS_TO_PASS) \ - CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean -@endif zlib-bootstrap - - # FIXME: Will not need to be conditional when toplevel bootstrap is the # only possibility, but now it conflicts with no-bootstrap rules diff -uprN binutils-2.16.90.0.2/Makefile.tpl binutils-2.16.90.0.3/Makefile.tpl --- binutils-2.16.90.0.2/Makefile.tpl 2005-04-09 12:02:55.000000000 -0700 +++ binutils-2.16.90.0.3/Makefile.tpl 2005-05-10 15:46:40.000000000 -0700 @@ -161,7 +161,7 @@ HOST_EXPORTS = \ $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); # Similar, for later GCC stages. -STAGE_HOST_EXPORTS = \ +POSTSTAGE1_HOST_EXPORTS = \ $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \ $(HOST_EXPORTS) \ CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \ @@ -848,6 +848,35 @@ configure-[+prefix+][+module+]: [+deps+] [+args+] $${srcdiroption} [+extra_configure_flags+] \ || exit 1 @endif [+prefix+][+module+] + +[+ IF bootstrap +] +[+ FOR bootstrap_stage +] +.PHONY: configure-stage[+id+]-[+prefix+][+module+] maybe-configure-stage[+id+]-[+prefix+][+module+] +maybe-configure-stage[+id+]-[+prefix+][+module+]: +@if [+module+]-bootstrap +maybe-configure-stage[+id+]-[+prefix+][+module+]: configure-stage[+id+]-[+prefix+][+module+] +configure-stage[+id+]-[+prefix+][+module+]: [+deps+] + @$(MAKE) stage[+id+]-start + @[ -f [+subdir+]/[+module+]/Makefile ] && exit 0 || : ; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + [+exports+][+ IF prev +] \ + [+poststage1_exports+][+ ENDIF prev +] \ + echo Configuring stage [+id+] in [+subdir+]/[+module+] ; \ + cd [+subdir+]/[+module+] || exit 1; \ + case $(srcdir) in \ + /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ + *) topdir=`echo [+subdir+]/[+module+]/ | \ + sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ + esac; \ + srcdiroption="--srcdir=$${topdir}/[+module+]"; \ + libsrcdir="$$s/[+module+]"; \ + $(SHELL) $${libsrcdir}/configure \ + [+args+] $${srcdiroption} \ + [+stage_configure_flags+] [+extra_configure_flags+] +@endif [+module+]-bootstrap +[+ ENDFOR bootstrap_stage +] +[+ ENDIF bootstrap +] [+ ENDDEF +] [+ DEFINE all +] @@ -865,6 +894,41 @@ all-[+prefix+][+module+]: configure-[+pr (cd [+subdir+]/[+module+] && \ $(MAKE) [+args+] [+extra_make_flags+] $(TARGET-[+prefix+][+module+])) @endif [+prefix+][+module+] + +[+ IF bootstrap +] +[+ FOR bootstrap_stage +] +.PHONY: all-stage[+id+]-[+prefix+][+module+] maybe-all-stage[+id+]-[+prefix+][+module+] +.PHONY: clean-stage[+id+]-[+prefix+][+module+] maybe-clean-stage[+id+]-[+prefix+][+module+] +maybe-all-stage[+id+]-[+prefix+][+module+]: +maybe-clean-stage[+id+]-[+prefix+][+module+]: +@if [+module+]-bootstrap +maybe-all-stage[+id+]-[+prefix+][+module+]: all-stage[+id+]-[+prefix+][+module+] +all-stage[+id+]: all-stage[+id+]-[+prefix+][+module+] +all-stage[+id+]-[+prefix+][+module+]: configure-stage[+id+]-[+prefix+][+module+] + @$(MAKE) stage[+id+]-start + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + [+exports+][+ IF prev +] \ + [+poststage1_exports+][+ ENDIF prev +] \ + cd [+subdir+]/[+module+] && \ + $(MAKE) [+args+] [+ IF prev + +][+poststage1_args+][+ ENDIF prev + +] [+stage_make_flags+] [+extra_make_flags+] + +maybe-clean-stage[+id+]-[+prefix+][+module+]: clean-stage[+id+]-[+prefix+][+module+] +clean-stage[+id+]: clean-stage[+id+]-[+prefix+][+module+] +clean-stage[+id+]-[+prefix+][+module+]: + @[ -f [+subdir+]/[+module+]/Makefile ] || [ -f [+subdir+]/stage[+id+]-[+module+]/Makefile ] \ + || exit 0 ; \ + [ -f [+subdir+]/[+module+]/Makefile ] || $(MAKE) stage[+id+]-start ; \ + cd [+subdir+]/[+module+] && \ + $(MAKE) [+args+] [+ IF prev +] \ + [+poststage1_args+] [+ ENDIF prev +] \ + [+stage_make_flags+] [+extra_make_flags+] clean +@endif [+module+]-bootstrap + +[+ ENDFOR bootstrap_stage +] +[+ ENDIF bootstrap +] [+ ENDDEF +] # -------------------------------------- @@ -881,11 +945,16 @@ all-[+prefix+][+module+]: configure-[+pr # Modules which run on the host machine # -------------------------------------- [+ FOR host_modules +] -[+ configure prefix="" subdir="$(HOST_SUBDIR)" exports="$(HOST_EXPORTS)" +[+ configure prefix="" subdir="$(HOST_SUBDIR)" + exports="$(HOST_EXPORTS)" + poststage1_exports="$(POSTSTAGE1_HOST_EXPORTS)" args="$(HOST_CONFIGARGS)" +] -[+ all prefix="" subdir="$(HOST_SUBDIR)" exports="$(HOST_EXPORTS)" - args="$(FLAGS_TO_PASS)" +] +[+ all prefix="" subdir="$(HOST_SUBDIR)" + exports="$(HOST_EXPORTS)" + poststage1_exports="$(POSTSTAGE1_HOST_EXPORTS)" + args="$(FLAGS_TO_PASS)" + poststage1_args="$(POSTSTAGE1_FLAGS_TO_PASS)" +] .PHONY: check-[+module+] maybe-check-[+module+] maybe-check-[+module+]: @@ -1271,7 +1340,7 @@ stage[+id+]-start:: @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \ echo stage[+id+] > stage_current ; \ echo stage[+id+] > stage_last; \ - $(mkinstalldirs) $(HOST_SUBDIR)[+ + $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)[+ FOR host_modules +][+ IF bootstrap +] @if [+ module +] @cd $(HOST_SUBDIR); [ -d stage[+id+]-[+module+] ] || \ @@ -1305,70 +1374,7 @@ stage[+id+]-bubble:: [+ IF prev +]stage[ fi .PHONY: all-stage[+id+] clean-stage[+id+] -all-stage[+id+]: [+ FOR host_modules +][+ IF bootstrap +]\ - maybe-all-stage[+id+]-[+module+][+ -ENDIF bootstrap+] [+ ENDFOR host_modules +] - do-clean: clean-stage[+id+] -clean-stage[+id+]: [+ FOR host_modules +][+ IF bootstrap +]\ - maybe-clean-stage[+id+]-[+module+][+ -ENDIF bootstrap+] [+ ENDFOR host_modules +] - -[+ FOR host_modules +][+ IF bootstrap +] -.PHONY: configure-stage[+id+]-[+module+] maybe-configure-stage[+id+]-[+module+] -.PHONY: all-stage[+id+]-[+module+] maybe-all-stage[+id+]-[+module+] -.PHONY: clean-stage[+id+]-[+module+] maybe-clean-stage[+id+]-[+module+] - -maybe-configure-stage[+id+]-[+module+]: -maybe-all-stage[+id+]-[+module+]: -maybe-clean-stage[+id+]-[+module+]: - -@if [+module+]-bootstrap -maybe-configure-stage[+id+]-[+module+]: configure-stage[+id+]-[+module+] -configure-stage[+id+]-[+module+]: - @$(MAKE) stage[+id+]-start - @[ -f [+module+]/Makefile ] && exit 0 || : ; \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; [+ IF prev +] \ - $(STAGE_HOST_EXPORTS) [+ ELSE prev +] \ - $(HOST_EXPORTS) [+ ENDIF prev +] \ - echo Configuring stage [+id+] in [+module+] ; \ - cd $(HOST_SUBDIR)/[+module+] || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/[+module+]/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - srcdiroption="--srcdir=$${topdir}/[+module+]"; \ - libsrcdir="$$s/[+module+]"; \ - $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} \ - [+stage_configure_flags+] [+extra_configure_flags+] - -maybe-all-stage[+id+]-[+module+]: all-stage[+id+]-[+module+] -all-stage[+id+]-[+module+]: configure-stage[+id+]-[+module+] - @$(MAKE) stage[+id+]-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; [+ IF prev +] \ - $(STAGE_HOST_EXPORTS) [+ ELSE prev +] \ - $(HOST_EXPORTS) [+ ENDIF prev +] \ - cd $(HOST_SUBDIR)/[+module+] && \ - $(MAKE) $(FLAGS_TO_PASS) [+ IF prev +] \ - $(POSTSTAGE1_FLAGS_TO_PASS) [+ ENDIF prev +] \ - [+stage_make_flags+] [+extra_make_flags+] - -maybe-clean-stage[+id+]-[+module+]: clean-stage[+id+]-[+module+] -clean-stage[+id+]-[+module+]: - @[ -f [+module+]/Makefile ] || [ -f stage[+id+]-[+module+]/Makefile ] \ - || exit 0 ; \ - [ -f [+module+]/Makefile ] || $(MAKE) stage[+id+]-start ; \ - cd $(HOST_SUBDIR)/[+module+] && \ - $(MAKE) $(FLAGS_TO_PASS) [+ IF prev +] \ - $(POSTSTAGE1_FLAGS_TO_PASS) [+ ENDIF prev +] \ - [+stage_make_flags+] [+extra_make_flags+] clean -@endif [+module+]-bootstrap - -[+ ENDIF bootstrap +][+ ENDFOR host_modules +] # FIXME: Will not need to be conditional when toplevel bootstrap is the # only possibility, but now it conflicts with no-bootstrap rules diff -uprN binutils-2.16.90.0.2/opcodes/a29k-dis.c binutils-2.16.90.0.3/opcodes/a29k-dis.c --- binutils-2.16.90.0.2/opcodes/a29k-dis.c 2002-06-08 20:44:53.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/a29k-dis.c 2005-05-10 15:46:53.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "sysdep.h" #include "dis-asm.h" diff -uprN binutils-2.16.90.0.2/opcodes/aclocal.m4 binutils-2.16.90.0.3/opcodes/aclocal.m4 --- binutils-2.16.90.0.2/opcodes/aclocal.m4 2005-04-29 10:50:31.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/aclocal.m4 2005-05-10 15:46:53.000000000 -0700 @@ -27,7 +27,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- @@ -58,8 +58,8 @@ AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSIO # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to @@ -122,8 +122,8 @@ am_aux_dir=`cd $ac_aux_dir && pwd` # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. # serial 6 @@ -166,8 +166,8 @@ fi])]) # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be @@ -334,8 +334,8 @@ AC_SUBST([AMDEPBACKSLASH]) # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. #serial 2 @@ -412,8 +412,8 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS] # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. # serial 7 @@ -440,8 +440,8 @@ AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_ # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. # serial 11 @@ -563,8 +563,8 @@ echo "timestamp for $1" >`AS_DIRNAME([$1 # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl @@ -586,8 +586,8 @@ AC_SUBST(install_sh)]) # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. # serial 1 @@ -622,8 +622,8 @@ AC_SUBST([am__leading_dot])]) # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. # serial 3 @@ -660,8 +660,8 @@ AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINT # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. # serial 2 @@ -724,8 +724,8 @@ rm -f confinc confmf # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. # serial 3 @@ -771,8 +771,8 @@ fi # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories # created by `make install' are always world readable, even if the @@ -843,8 +843,8 @@ AC_SUBST([mkdir_p])]) # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. # serial 2 @@ -889,8 +889,8 @@ AC_DEFUN([_AM_IF_OPTION], # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. # serial 3 @@ -951,8 +951,8 @@ AC_MSG_RESULT(yes)]) # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially @@ -990,8 +990,8 @@ AC_SUBST([INSTALL_STRIP_PROGRAM])]) # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. # serial 1 diff -uprN binutils-2.16.90.0.2/opcodes/alpha-dis.c binutils-2.16.90.0.3/opcodes/alpha-dis.c --- binutils-2.16.90.0.2/opcodes/alpha-dis.c 2005-04-09 12:03:33.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/alpha-dis.c 2005-05-10 15:46:53.000000000 -0700 @@ -18,8 +18,8 @@ the GNU General Public License for more You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA +02110-1301, USA. */ #include #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/opcodes/alpha-opc.c binutils-2.16.90.0.3/opcodes/alpha-opc.c --- binutils-2.16.90.0.2/opcodes/alpha-opc.c 2005-04-09 12:03:33.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/alpha-opc.c 2005-05-10 15:46:53.000000000 -0700 @@ -18,8 +18,8 @@ You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the - Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/opcodes/arc-dis.c binutils-2.16.90.0.3/opcodes/arc-dis.c --- binutils-2.16.90.0.2/opcodes/arc-dis.c 2005-04-09 12:03:33.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/arc-dis.c 2005-05-10 15:46:53.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "ansidecl.h" #include "libiberty.h" diff -uprN binutils-2.16.90.0.2/opcodes/arc-dis.h binutils-2.16.90.0.3/opcodes/arc-dis.h --- binutils-2.16.90.0.2/opcodes/arc-dis.h 2001-03-15 14:52:00.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/arc-dis.h 2005-05-10 15:46:53.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef ARCDIS_H #define ARCDIS_H diff -uprN binutils-2.16.90.0.2/opcodes/arc-ext.c binutils-2.16.90.0.3/opcodes/arc-ext.c --- binutils-2.16.90.0.2/opcodes/arc-ext.c 2005-04-09 12:03:33.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/arc-ext.c 2005-05-10 15:46:53.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "sysdep.h" #include diff -uprN binutils-2.16.90.0.2/opcodes/arc-ext.h binutils-2.16.90.0.3/opcodes/arc-ext.h --- binutils-2.16.90.0.2/opcodes/arc-ext.h 2005-04-09 12:03:33.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/arc-ext.h 2005-05-10 15:46:53.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef ARCEXT_H #define ARCEXT_H diff -uprN binutils-2.16.90.0.2/opcodes/arc-opc.c binutils-2.16.90.0.3/opcodes/arc-opc.c --- binutils-2.16.90.0.2/opcodes/arc-opc.c 2005-04-09 12:03:33.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/arc-opc.c 2005-05-10 15:46:53.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "sysdep.h" #include diff -uprN binutils-2.16.90.0.2/opcodes/arm-dis.c binutils-2.16.90.0.3/opcodes/arm-dis.c --- binutils-2.16.90.0.2/opcodes/arm-dis.c 2005-04-09 12:03:33.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/arm-dis.c 2005-05-10 15:46:53.000000000 -0700 @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/opcodes/arm-opc.h binutils-2.16.90.0.3/opcodes/arm-opc.h --- binutils-2.16.90.0.2/opcodes/arm-opc.h 2005-04-09 12:03:33.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/arm-opc.h 2005-05-10 15:46:53.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ struct arm_opcode diff -uprN binutils-2.16.90.0.2/opcodes/avr-dis.c binutils-2.16.90.0.3/opcodes/avr-dis.c --- binutils-2.16.90.0.2/opcodes/avr-dis.c 2005-04-09 12:03:33.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/avr-dis.c 2005-05-10 15:46:53.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/opcodes/cgen-asm.c binutils-2.16.90.0.3/opcodes/cgen-asm.c --- binutils-2.16.90.0.2/opcodes/cgen-asm.c 2005-04-09 12:03:33.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/cgen-asm.c 2005-05-10 15:46:53.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., - 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "sysdep.h" #include diff -uprN binutils-2.16.90.0.2/opcodes/cgen-asm.in binutils-2.16.90.0.3/opcodes/cgen-asm.in --- binutils-2.16.90.0.2/opcodes/cgen-asm.in 2004-01-14 13:07:54.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/cgen-asm.in 2005-05-10 15:46:53.000000000 -0700 @@ -20,7 +20,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* ??? Eventually more and more of this stuff can go to cpu-independent files. Keep that in mind. */ diff -uprN binutils-2.16.90.0.2/opcodes/cgen-dis.c binutils-2.16.90.0.3/opcodes/cgen-dis.c --- binutils-2.16.90.0.2/opcodes/cgen-dis.c 2005-04-09 12:03:33.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/cgen-dis.c 2005-05-10 15:46:53.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., - 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "sysdep.h" #include diff -uprN binutils-2.16.90.0.2/opcodes/cgen-dis.in binutils-2.16.90.0.3/opcodes/cgen-dis.in --- binutils-2.16.90.0.2/opcodes/cgen-dis.in 2005-04-09 12:03:33.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/cgen-dis.in 2005-05-10 15:46:53.000000000 -0700 @@ -21,7 +21,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* ??? Eventually more and more of this stuff can go to cpu-independent files. Keep that in mind. */ diff -uprN binutils-2.16.90.0.2/opcodes/cgen-ibld.in binutils-2.16.90.0.3/opcodes/cgen-ibld.in --- binutils-2.16.90.0.2/opcodes/cgen-ibld.in 2004-01-14 13:07:54.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/cgen-ibld.in 2005-05-10 15:46:53.000000000 -0700 @@ -19,7 +19,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* ??? Eventually more and more of this stuff can go to cpu-independent files. Keep that in mind. */ diff -uprN binutils-2.16.90.0.2/opcodes/cgen-opc.c binutils-2.16.90.0.3/opcodes/cgen-opc.c --- binutils-2.16.90.0.2/opcodes/cgen-opc.c 2005-04-09 12:03:33.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/cgen-opc.c 2005-05-10 15:46:53.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., - 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "sysdep.h" #include diff -uprN binutils-2.16.90.0.2/opcodes/cgen.sh binutils-2.16.90.0.3/opcodes/cgen.sh --- binutils-2.16.90.0.2/opcodes/cgen.sh 2005-04-09 12:03:33.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/cgen.sh 2005-05-10 15:46:53.000000000 -0700 @@ -17,7 +17,7 @@ # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., -# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +# 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ # # Generate CGEN opcode files: arch-desc.[ch], arch-opc.[ch], # arch-asm.c, arch-dis.c, arch-opinst.c, arch-ibld.[ch]. diff -uprN binutils-2.16.90.0.2/opcodes/ChangeLog binutils-2.16.90.0.3/opcodes/ChangeLog --- binutils-2.16.90.0.2/opcodes/ChangeLog 2005-04-29 10:50:31.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/ChangeLog 2005-05-10 15:46:53.000000000 -0700 @@ -1,3 +1,66 @@ +2005-05-07 H.J. Lu + + PR 843 + * i386-dis.c (branch_v_mode): New. + (indirEv): Use branch_v_mode instead of v_mode. + (OP_E): Handle branch_v_mode. + +2005-05-07 H.J. Lu + + * d10v-dis.c (dis_2_short): Support 64bit host. + +2005-05-07 Nick Clifton + + * po/nl.po: Updated translation. + +2005-05-07 Nick Clifton + + * Update the address and phone number of the FSF organization in + the GPL notices in the following files: + a29k-dis.c, aclocal.m4, alpha-dis.c, alpha-opc.c, arc-dis.c, + arc-dis.h, arc-ext.c, arc-ext.h, arc-opc.c, arm-dis.c, arm-opc.h, + avr-dis.c, cgen-asm.c, cgen-asm.in, cgen-dis.c, cgen-dis.in, + cgen-ibld.in, cgen-opc.c, cgen.sh, cris-dis.c, cris-opc.c, + crx-dis.c, crx-opc.c, d10v-dis.c, d10v-opc.c, d30v-dis.c, + d30v-opc.c, dis-buf.c, dis-init.c, disassemble.c, dlx-dis.c, + fr30-asm.c, fr30-desc.c, fr30-desc.h, fr30-dis.c, fr30-ibld.c, + fr30-opc.c, fr30-opc.h, frv-asm.c, frv-desc.c, frv-desc.h, + frv-dis.c, frv-ibld.c, frv-opc.c, frv-opc.h, h8300-dis.c, + h8500-dis.c, h8500-opc.h, hppa-dis.c, i370-dis.c, i370-opc.c, + i386-dis.c, i860-dis.c, i960-dis.c, ia64-asmtab.h, ia64-dis.c, + ia64-gen.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-d.c, + ia64-opc-f.c, ia64-opc-i.c, ia64-opc-m.c, ia64-opc-x.c, + ia64-opc.c, ia64-opc.h, ip2k-asm.c, ip2k-desc.c, ip2k-desc.h, + ip2k-dis.c, ip2k-ibld.c, ip2k-opc.c, ip2k-opc.h, iq2000-asm.c, + iq2000-desc.c, iq2000-desc.h, iq2000-dis.c, iq2000-ibld.c, + iq2000-opc.c, iq2000-opc.h, m10200-dis.c, m10200-opc.c, + m10300-dis.c, m10300-opc.c, m32r-asm.c, m32r-desc.c, m32r-desc.h, + m32r-dis.c, m32r-ibld.c, m32r-opc.c, m32r-opc.h, m32r-opinst.c, + m68hc11-dis.c, m68hc11-opc.c, m68k-dis.c, m68k-opc.c, m88k-dis.c, + maxq-dis.c, mcore-dis.c, mcore-opc.h, mips-dis.c, mips-opc.c, + mips16-opc.c, mmix-dis.c, mmix-opc.c, msp430-dis.c, ns32k-dis.c, + openrisc-asm.c, openrisc-desc.c, openrisc-desc.h, openrisc-dis.c, + openrisc-ibld.c, openrisc-opc.c, openrisc-opc.h, opintl.h, + or32-dis.c, or32-opc.c, pdp11-dis.c, pdp11-opc.c, pj-dis.c, + pj-opc.c, ppc-dis.c, ppc-opc.c, s390-dis.c, s390-mkopc.c, + s390-opc.c, sh-dis.c, sh-opc.h, sh64-dis.c, sh64-opc.c, + sh64-opc.h, sparc-dis.c, sparc-opc.c, sysdep.h, tic30-dis.c, + tic4x-dis.c, tic54x-dis.c, tic54x-opc.c, tic80-dis.c, tic80-opc.c, + v850-dis.c, v850-opc.c, vax-dis.c, w65-dis.c, w65-opc.h, + xstormy16-asm.c, xstormy16-desc.c, xstormy16-desc.h, + xstormy16-dis.c, xstormy16-ibld.c, xstormy16-opc.c, + xstormy16-opc.h, xtensa-dis.c, z8k-dis.c, z8kgen.c + +2005-05-05 James E Wilson + + * ia64-opc.c: Include sysdep.h before libiberty.h. + +2005-05-05 Nick Clifton + + * configure.in (ALL_LINGUAS): Add vi. + * configure: Regenerate. + * po/vi.po: New. + 2005-04-26 Jerome Guitton * configure.in: Fix the check for basename declaration. diff -uprN binutils-2.16.90.0.2/opcodes/configure binutils-2.16.90.0.3/opcodes/configure --- binutils-2.16.90.0.2/opcodes/configure 2005-04-29 10:50:31.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/configure 2005-05-10 15:46:53.000000000 -0700 @@ -5113,7 +5113,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLA ac_compiler_gnu=$ac_cv_c_compiler_gnu -ALL_LINGUAS="fr sv tr es da de id pt_BR ro nl fi" +ALL_LINGUAS="fr sv tr es da de id pt_BR ro nl fi vi" if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 diff -uprN binutils-2.16.90.0.2/opcodes/configure.in binutils-2.16.90.0.3/opcodes/configure.in --- binutils-2.16.90.0.2/opcodes/configure.in 2005-04-29 10:50:31.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/configure.in 2005-05-10 15:46:53.000000000 -0700 @@ -60,7 +60,7 @@ AC_EXEEXT AC_PROG_CC -ALL_LINGUAS="fr sv tr es da de id pt_BR ro nl fi" +ALL_LINGUAS="fr sv tr es da de id pt_BR ro nl fi vi" CY_GNU_GETTEXT . ${srcdir}/../bfd/configure.host diff -uprN binutils-2.16.90.0.2/opcodes/cris-dis.c binutils-2.16.90.0.3/opcodes/cris-dis.c --- binutils-2.16.90.0.2/opcodes/cris-dis.c 2005-04-09 12:03:34.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/cris-dis.c 2005-05-10 15:46:53.000000000 -0700 @@ -17,7 +17,7 @@ more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "dis-asm.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/opcodes/cris-opc.c binutils-2.16.90.0.3/opcodes/cris-opc.c --- binutils-2.16.90.0.2/opcodes/cris-opc.c 2005-04-09 12:03:34.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/cris-opc.c 2005-05-10 15:46:53.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "opcode/cris.h" diff -uprN binutils-2.16.90.0.2/opcodes/crx-dis.c binutils-2.16.90.0.3/opcodes/crx-dis.c --- binutils-2.16.90.0.2/opcodes/crx-dis.c 2005-04-09 12:03:34.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/crx-dis.c 2005-05-10 15:46:53.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "dis-asm.h" #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/opcodes/crx-opc.c binutils-2.16.90.0.3/opcodes/crx-opc.c --- binutils-2.16.90.0.2/opcodes/crx-opc.c 2005-04-09 12:03:34.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/crx-opc.c 2005-05-10 15:46:53.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include "libiberty.h" diff -uprN binutils-2.16.90.0.2/opcodes/d10v-dis.c binutils-2.16.90.0.3/opcodes/d10v-dis.c --- binutils-2.16.90.0.2/opcodes/d10v-dis.c 2002-02-03 11:22:33.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/d10v-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -13,7 +13,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include @@ -253,7 +253,8 @@ dis_2_short (insn, memaddr, info, order) while (op->name) { if ((op->format & SHORT_OPCODE) - && ((op->mask & ins[j]) == (unsigned long) op->opcode)) + && ((((unsigned int) op->mask) & ins[j]) + == (unsigned int) op->opcode)) { (*info->fprintf_func) (info->stream, "%s\t", op->name); for (i = 0; op->operands[i]; i++) diff -uprN binutils-2.16.90.0.2/opcodes/d10v-opc.c binutils-2.16.90.0.3/opcodes/d10v-opc.c --- binutils-2.16.90.0.2/opcodes/d10v-opc.c 2002-06-07 19:22:17.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/d10v-opc.c 2005-05-10 15:46:54.000000000 -0700 @@ -16,7 +16,7 @@ the GNU General Public License for more You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/opcodes/d30v-dis.c binutils-2.16.90.0.3/opcodes/d30v-dis.c --- binutils-2.16.90.0.2/opcodes/d30v-dis.c 2001-11-16 14:05:55.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/d30v-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -13,7 +13,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/opcodes/d30v-opc.c binutils-2.16.90.0.3/opcodes/d30v-opc.c --- binutils-2.16.90.0.2/opcodes/d30v-opc.c 2001-03-15 14:52:03.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/d30v-opc.c 2005-05-10 15:46:54.000000000 -0700 @@ -16,7 +16,7 @@ the GNU General Public License for more You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/opcodes/disassemble.c binutils-2.16.90.0.3/opcodes/disassemble.c --- binutils-2.16.90.0.2/opcodes/disassemble.c 2005-04-09 12:03:34.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/disassemble.c 2005-05-10 15:46:54.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "sysdep.h" #include "dis-asm.h" diff -uprN binutils-2.16.90.0.2/opcodes/dis-buf.c binutils-2.16.90.0.3/opcodes/dis-buf.c --- binutils-2.16.90.0.2/opcodes/dis-buf.c 2005-04-09 12:03:34.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/dis-buf.c 2005-05-10 15:46:54.000000000 -0700 @@ -14,7 +14,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "sysdep.h" #include "dis-asm.h" diff -uprN binutils-2.16.90.0.2/opcodes/dis-init.c binutils-2.16.90.0.3/opcodes/dis-init.c --- binutils-2.16.90.0.2/opcodes/dis-init.c 2004-01-14 13:07:54.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/dis-init.c 2005-05-10 15:46:54.000000000 -0700 @@ -14,8 +14,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "sysdep.h" #include "dis-asm.h" diff -uprN binutils-2.16.90.0.2/opcodes/dlx-dis.c binutils-2.16.90.0.3/opcodes/dlx-dis.c --- binutils-2.16.90.0.2/opcodes/dlx-dis.c 2002-06-07 19:22:17.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/dlx-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "sysdep.h" #include "dis-asm.h" diff -uprN binutils-2.16.90.0.2/opcodes/fr30-asm.c binutils-2.16.90.0.3/opcodes/fr30-asm.c --- binutils-2.16.90.0.2/opcodes/fr30-asm.c 2005-04-09 12:03:34.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/fr30-asm.c 2005-05-10 15:46:54.000000000 -0700 @@ -20,7 +20,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* ??? Eventually more and more of this stuff can go to cpu-independent files. Keep that in mind. */ diff -uprN binutils-2.16.90.0.2/opcodes/fr30-desc.c binutils-2.16.90.0.3/opcodes/fr30-desc.c --- binutils-2.16.90.0.2/opcodes/fr30-desc.c 2005-04-09 12:03:34.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/fr30-desc.c 2005-05-10 15:46:54.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/fr30-desc.h binutils-2.16.90.0.3/opcodes/fr30-desc.h --- binutils-2.16.90.0.2/opcodes/fr30-desc.h 2005-04-09 12:03:34.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/fr30-desc.h 2005-05-10 15:46:54.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/fr30-dis.c binutils-2.16.90.0.3/opcodes/fr30-dis.c --- binutils-2.16.90.0.2/opcodes/fr30-dis.c 2005-04-09 12:03:34.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/fr30-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -21,7 +21,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* ??? Eventually more and more of this stuff can go to cpu-independent files. Keep that in mind. */ diff -uprN binutils-2.16.90.0.2/opcodes/fr30-ibld.c binutils-2.16.90.0.3/opcodes/fr30-ibld.c --- binutils-2.16.90.0.2/opcodes/fr30-ibld.c 2004-01-14 13:07:54.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/fr30-ibld.c 2005-05-10 15:46:54.000000000 -0700 @@ -19,7 +19,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* ??? Eventually more and more of this stuff can go to cpu-independent files. Keep that in mind. */ diff -uprN binutils-2.16.90.0.2/opcodes/fr30-opc.c binutils-2.16.90.0.3/opcodes/fr30-opc.c --- binutils-2.16.90.0.2/opcodes/fr30-opc.c 2005-04-09 12:03:34.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/fr30-opc.c 2005-05-10 15:46:54.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/fr30-opc.h binutils-2.16.90.0.3/opcodes/fr30-opc.h --- binutils-2.16.90.0.2/opcodes/fr30-opc.h 2005-04-09 12:03:34.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/fr30-opc.h 2005-05-10 15:46:54.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/frv-asm.c binutils-2.16.90.0.3/opcodes/frv-asm.c --- binutils-2.16.90.0.2/opcodes/frv-asm.c 2005-04-09 12:03:34.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/frv-asm.c 2005-05-10 15:46:54.000000000 -0700 @@ -20,7 +20,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* ??? Eventually more and more of this stuff can go to cpu-independent files. Keep that in mind. */ diff -uprN binutils-2.16.90.0.2/opcodes/frv-desc.c binutils-2.16.90.0.3/opcodes/frv-desc.c --- binutils-2.16.90.0.2/opcodes/frv-desc.c 2005-04-09 12:03:34.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/frv-desc.c 2005-05-10 15:46:54.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/frv-desc.h binutils-2.16.90.0.3/opcodes/frv-desc.h --- binutils-2.16.90.0.2/opcodes/frv-desc.h 2005-04-09 12:03:34.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/frv-desc.h 2005-05-10 15:46:54.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/frv-dis.c binutils-2.16.90.0.3/opcodes/frv-dis.c --- binutils-2.16.90.0.2/opcodes/frv-dis.c 2005-04-09 12:03:34.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/frv-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -21,7 +21,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* ??? Eventually more and more of this stuff can go to cpu-independent files. Keep that in mind. */ diff -uprN binutils-2.16.90.0.2/opcodes/frv-ibld.c binutils-2.16.90.0.3/opcodes/frv-ibld.c --- binutils-2.16.90.0.2/opcodes/frv-ibld.c 2005-04-09 12:03:34.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/frv-ibld.c 2005-05-10 15:46:54.000000000 -0700 @@ -19,7 +19,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* ??? Eventually more and more of this stuff can go to cpu-independent files. Keep that in mind. */ diff -uprN binutils-2.16.90.0.2/opcodes/frv-opc.c binutils-2.16.90.0.3/opcodes/frv-opc.c --- binutils-2.16.90.0.2/opcodes/frv-opc.c 2005-04-09 12:03:34.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/frv-opc.c 2005-05-10 15:46:54.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/frv-opc.h binutils-2.16.90.0.3/opcodes/frv-opc.h --- binutils-2.16.90.0.2/opcodes/frv-opc.h 2005-04-09 12:03:34.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/frv-opc.h 2005-05-10 15:46:54.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/h8300-dis.c binutils-2.16.90.0.3/opcodes/h8300-dis.c --- binutils-2.16.90.0.2/opcodes/h8300-dis.c 2004-07-27 21:36:11.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/h8300-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define DEFINE_TABLE diff -uprN binutils-2.16.90.0.2/opcodes/h8500-dis.c binutils-2.16.90.0.3/opcodes/h8500-dis.c --- binutils-2.16.90.0.2/opcodes/h8500-dis.c 2004-07-27 21:36:11.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/h8500-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -13,7 +13,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include diff -uprN binutils-2.16.90.0.2/opcodes/h8500-opc.h binutils-2.16.90.0.3/opcodes/h8500-opc.h --- binutils-2.16.90.0.2/opcodes/h8500-opc.h 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/h8500-opc.h 2005-05-10 15:46:54.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., - 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ typedef enum { diff -uprN binutils-2.16.90.0.2/opcodes/hppa-dis.c binutils-2.16.90.0.3/opcodes/hppa-dis.c --- binutils-2.16.90.0.2/opcodes/hppa-dis.c 2003-03-19 09:19:17.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/hppa-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "sysdep.h" #include "dis-asm.h" diff -uprN binutils-2.16.90.0.2/opcodes/i370-dis.c binutils-2.16.90.0.3/opcodes/i370-dis.c --- binutils-2.16.90.0.2/opcodes/i370-dis.c 2004-01-14 13:07:55.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/i370-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -17,7 +17,7 @@ the GNU General Public License for more You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/opcodes/i370-opc.c binutils-2.16.90.0.3/opcodes/i370-opc.c --- binutils-2.16.90.0.2/opcodes/i370-opc.c 2004-01-14 13:07:55.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/i370-opc.c 2005-05-10 15:46:54.000000000 -0700 @@ -17,8 +17,8 @@ the GNU General Public License for more You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA +02110-1301, USA. */ #include #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/opcodes/i386-dis.c binutils-2.16.90.0.3/opcodes/i386-dis.c --- binutils-2.16.90.0.2/opcodes/i386-dis.c 2005-04-29 10:50:31.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/i386-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* 80386 instruction printer by Pace Willisson (pace@prep.ai.mit.edu) July 1988 @@ -197,7 +197,7 @@ fetch_data (struct disassemble_info *inf #define Eq OP_E, q_mode #define Edq OP_E, dq_mode #define Edqw OP_E, dqw_mode -#define indirEv OP_indirE, v_mode +#define indirEv OP_indirE, branch_v_mode #define indirEp OP_indirE, f_mode #define Ew OP_E, w_mode #define Ma OP_E, v_mode @@ -323,6 +323,7 @@ fetch_data (struct disassemble_info *inf #define dqw_mode 12 /* registers like dq_mode, memory like w_mode. */ #define f_mode 13 /* 4- or 6-byte pointer operand */ #define const_1_mode 14 +#define branch_v_mode 15 /* v_mode for branch. */ #define es_reg 100 #define cs_reg 101 @@ -3155,6 +3156,18 @@ OP_E (int bytemode, int sizeflag) else oappend (names32[rm + add]); break; + case branch_v_mode: + if (mode_64bit) + oappend (names64[rm + add]); + else + { + if ((sizeflag & DFLAG) || bytemode != branch_v_mode) + oappend (names32[rm + add]); + else + oappend (names16[rm + add]); + used_prefixes |= (prefixes & PREFIX_DATA); + } + break; case v_mode: case dq_mode: case dqw_mode: @@ -3256,6 +3269,7 @@ OP_E (int bytemode, int sizeflag) case dqw_mode: oappend ("WORD PTR "); break; + case branch_v_mode: case v_mode: case dq_mode: USED_REX (REX_MODE64); diff -uprN binutils-2.16.90.0.2/opcodes/i860-dis.c binutils-2.16.90.0.3/opcodes/i860-dis.c --- binutils-2.16.90.0.2/opcodes/i860-dis.c 2004-01-14 13:07:55.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/i860-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -15,7 +15,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "dis-asm.h" #include "opcode/i860.h" diff -uprN binutils-2.16.90.0.2/opcodes/i960-dis.c binutils-2.16.90.0.3/opcodes/i960-dis.c --- binutils-2.16.90.0.2/opcodes/i960-dis.c 2004-01-14 13:07:55.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/i960-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -14,8 +14,8 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; see the file COPYING. If not, write to the -Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ +Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA +02110-1301, USA. */ #include "sysdep.h" #include "dis-asm.h" diff -uprN binutils-2.16.90.0.2/opcodes/ia64-asmtab.h binutils-2.16.90.0.3/opcodes/ia64-asmtab.h --- binutils-2.16.90.0.2/opcodes/ia64-asmtab.h 2001-03-15 14:52:09.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/ia64-asmtab.h 2005-05-10 15:46:54.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the - Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef IA64_ASMTAB_H #define IA64_ASMTAB_H diff -uprN binutils-2.16.90.0.2/opcodes/ia64-dis.c binutils-2.16.90.0.3/opcodes/ia64-dis.c --- binutils-2.16.90.0.2/opcodes/ia64-dis.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/ia64-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the - Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include #include diff -uprN binutils-2.16.90.0.2/opcodes/ia64-gen.c binutils-2.16.90.0.3/opcodes/ia64-gen.c --- binutils-2.16.90.0.2/opcodes/ia64-gen.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/ia64-gen.c 2005-05-10 15:46:54.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the - Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ /* While the ia64-opc-* set of opcode tables are easy to maintain, they waste a tremendous amount of space. ia64-gen rearranges the diff -uprN binutils-2.16.90.0.2/opcodes/ia64-opc-a.c binutils-2.16.90.0.3/opcodes/ia64-opc-a.c --- binutils-2.16.90.0.2/opcodes/ia64-opc-a.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/ia64-opc-a.c 2005-05-10 15:46:54.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the - Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "ia64-opc.h" diff -uprN binutils-2.16.90.0.2/opcodes/ia64-opc-b.c binutils-2.16.90.0.3/opcodes/ia64-opc-b.c --- binutils-2.16.90.0.2/opcodes/ia64-opc-b.c 2002-12-16 12:22:53.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/ia64-opc-b.c 2005-05-10 15:46:54.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the - Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "ia64-opc.h" diff -uprN binutils-2.16.90.0.2/opcodes/ia64-opc.c binutils-2.16.90.0.3/opcodes/ia64-opc.c --- binutils-2.16.90.0.2/opcodes/ia64-opc.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/ia64-opc.c 2005-05-10 15:46:54.000000000 -0700 @@ -16,12 +16,12 @@ You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the - Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "ansidecl.h" -#include "libiberty.h" #include "sysdep.h" +#include "libiberty.h" #include "ia64-asmtab.h" #include "ia64-asmtab.c" diff -uprN binutils-2.16.90.0.2/opcodes/ia64-opc-d.c binutils-2.16.90.0.3/opcodes/ia64-opc-d.c --- binutils-2.16.90.0.2/opcodes/ia64-opc-d.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/ia64-opc-d.c 2005-05-10 15:46:54.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the - Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ struct ia64_opcode ia64_opcodes_d[] = { diff -uprN binutils-2.16.90.0.2/opcodes/ia64-opc-f.c binutils-2.16.90.0.3/opcodes/ia64-opc-f.c --- binutils-2.16.90.0.2/opcodes/ia64-opc-f.c 2002-12-16 12:22:53.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/ia64-opc-f.c 2005-05-10 15:46:54.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the - Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "ia64-opc.h" diff -uprN binutils-2.16.90.0.2/opcodes/ia64-opc.h binutils-2.16.90.0.3/opcodes/ia64-opc.h --- binutils-2.16.90.0.2/opcodes/ia64-opc.h 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/ia64-opc.h 2005-05-10 15:46:54.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the - Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef IA64_OPC_H #define IA64_OPC_H diff -uprN binutils-2.16.90.0.2/opcodes/ia64-opc-i.c binutils-2.16.90.0.3/opcodes/ia64-opc-i.c --- binutils-2.16.90.0.2/opcodes/ia64-opc-i.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/ia64-opc-i.c 2005-05-10 15:46:54.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the - Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "ia64-opc.h" diff -uprN binutils-2.16.90.0.2/opcodes/ia64-opc-m.c binutils-2.16.90.0.3/opcodes/ia64-opc-m.c --- binutils-2.16.90.0.2/opcodes/ia64-opc-m.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/ia64-opc-m.c 2005-05-10 15:46:54.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the - Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "ia64-opc.h" diff -uprN binutils-2.16.90.0.2/opcodes/ia64-opc-x.c binutils-2.16.90.0.3/opcodes/ia64-opc-x.c --- binutils-2.16.90.0.2/opcodes/ia64-opc-x.c 2002-12-16 12:22:53.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/ia64-opc-x.c 2005-05-10 15:46:54.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the - Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "ia64-opc.h" diff -uprN binutils-2.16.90.0.2/opcodes/ip2k-asm.c binutils-2.16.90.0.3/opcodes/ip2k-asm.c --- binutils-2.16.90.0.2/opcodes/ip2k-asm.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/ip2k-asm.c 2005-05-10 15:46:54.000000000 -0700 @@ -20,7 +20,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* ??? Eventually more and more of this stuff can go to cpu-independent files. Keep that in mind. */ diff -uprN binutils-2.16.90.0.2/opcodes/ip2k-desc.c binutils-2.16.90.0.3/opcodes/ip2k-desc.c --- binutils-2.16.90.0.2/opcodes/ip2k-desc.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/ip2k-desc.c 2005-05-10 15:46:54.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/ip2k-desc.h binutils-2.16.90.0.3/opcodes/ip2k-desc.h --- binutils-2.16.90.0.2/opcodes/ip2k-desc.h 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/ip2k-desc.h 2005-05-10 15:46:54.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/ip2k-dis.c binutils-2.16.90.0.3/opcodes/ip2k-dis.c --- binutils-2.16.90.0.2/opcodes/ip2k-dis.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/ip2k-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -21,7 +21,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* ??? Eventually more and more of this stuff can go to cpu-independent files. Keep that in mind. */ diff -uprN binutils-2.16.90.0.2/opcodes/ip2k-ibld.c binutils-2.16.90.0.3/opcodes/ip2k-ibld.c --- binutils-2.16.90.0.2/opcodes/ip2k-ibld.c 2004-01-14 13:07:55.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/ip2k-ibld.c 2005-05-10 15:46:54.000000000 -0700 @@ -19,7 +19,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* ??? Eventually more and more of this stuff can go to cpu-independent files. Keep that in mind. */ diff -uprN binutils-2.16.90.0.2/opcodes/ip2k-opc.c binutils-2.16.90.0.3/opcodes/ip2k-opc.c --- binutils-2.16.90.0.2/opcodes/ip2k-opc.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/ip2k-opc.c 2005-05-10 15:46:54.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/ip2k-opc.h binutils-2.16.90.0.3/opcodes/ip2k-opc.h --- binutils-2.16.90.0.2/opcodes/ip2k-opc.h 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/ip2k-opc.h 2005-05-10 15:46:54.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/iq2000-asm.c binutils-2.16.90.0.3/opcodes/iq2000-asm.c --- binutils-2.16.90.0.2/opcodes/iq2000-asm.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/iq2000-asm.c 2005-05-10 15:46:54.000000000 -0700 @@ -20,7 +20,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* ??? Eventually more and more of this stuff can go to cpu-independent files. Keep that in mind. */ diff -uprN binutils-2.16.90.0.2/opcodes/iq2000-desc.c binutils-2.16.90.0.3/opcodes/iq2000-desc.c --- binutils-2.16.90.0.2/opcodes/iq2000-desc.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/iq2000-desc.c 2005-05-10 15:46:54.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/iq2000-desc.h binutils-2.16.90.0.3/opcodes/iq2000-desc.h --- binutils-2.16.90.0.2/opcodes/iq2000-desc.h 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/iq2000-desc.h 2005-05-10 15:46:54.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/iq2000-dis.c binutils-2.16.90.0.3/opcodes/iq2000-dis.c --- binutils-2.16.90.0.2/opcodes/iq2000-dis.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/iq2000-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -21,7 +21,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* ??? Eventually more and more of this stuff can go to cpu-independent files. Keep that in mind. */ diff -uprN binutils-2.16.90.0.2/opcodes/iq2000-ibld.c binutils-2.16.90.0.3/opcodes/iq2000-ibld.c --- binutils-2.16.90.0.2/opcodes/iq2000-ibld.c 2004-11-22 12:33:33.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/iq2000-ibld.c 2005-05-10 15:46:54.000000000 -0700 @@ -19,7 +19,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* ??? Eventually more and more of this stuff can go to cpu-independent files. Keep that in mind. */ diff -uprN binutils-2.16.90.0.2/opcodes/iq2000-opc.c binutils-2.16.90.0.3/opcodes/iq2000-opc.c --- binutils-2.16.90.0.2/opcodes/iq2000-opc.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/iq2000-opc.c 2005-05-10 15:46:54.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/iq2000-opc.h binutils-2.16.90.0.3/opcodes/iq2000-opc.h --- binutils-2.16.90.0.2/opcodes/iq2000-opc.h 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/iq2000-opc.h 2005-05-10 15:46:54.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/m10200-dis.c binutils-2.16.90.0.3/opcodes/m10200-dis.c --- binutils-2.16.90.0.2/opcodes/m10200-dis.c 2001-03-15 14:52:10.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/m10200-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -13,7 +13,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include diff -uprN binutils-2.16.90.0.2/opcodes/m10200-opc.c binutils-2.16.90.0.3/opcodes/m10200-opc.c --- binutils-2.16.90.0.2/opcodes/m10200-opc.c 2001-03-15 14:52:11.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/m10200-opc.c 2005-05-10 15:46:54.000000000 -0700 @@ -13,7 +13,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "sysdep.h" #include "opcode/mn10200.h" diff -uprN binutils-2.16.90.0.2/opcodes/m10300-dis.c binutils-2.16.90.0.3/opcodes/m10300-dis.c --- binutils-2.16.90.0.2/opcodes/m10300-dis.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/m10300-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -14,7 +14,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include diff -uprN binutils-2.16.90.0.2/opcodes/m10300-opc.c binutils-2.16.90.0.3/opcodes/m10300-opc.c --- binutils-2.16.90.0.2/opcodes/m10300-opc.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/m10300-opc.c 2005-05-10 15:46:54.000000000 -0700 @@ -14,7 +14,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file is formatted at > 80 columns. Attempting to read it on a screeen with less than 80 columns will be difficult. */ diff -uprN binutils-2.16.90.0.2/opcodes/m32r-asm.c binutils-2.16.90.0.3/opcodes/m32r-asm.c --- binutils-2.16.90.0.2/opcodes/m32r-asm.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/m32r-asm.c 2005-05-10 15:46:54.000000000 -0700 @@ -20,7 +20,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* ??? Eventually more and more of this stuff can go to cpu-independent files. Keep that in mind. */ diff -uprN binutils-2.16.90.0.2/opcodes/m32r-desc.c binutils-2.16.90.0.3/opcodes/m32r-desc.c --- binutils-2.16.90.0.2/opcodes/m32r-desc.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/m32r-desc.c 2005-05-10 15:46:54.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/m32r-desc.h binutils-2.16.90.0.3/opcodes/m32r-desc.h --- binutils-2.16.90.0.2/opcodes/m32r-desc.h 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/m32r-desc.h 2005-05-10 15:46:54.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/m32r-dis.c binutils-2.16.90.0.3/opcodes/m32r-dis.c --- binutils-2.16.90.0.2/opcodes/m32r-dis.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/m32r-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -21,7 +21,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* ??? Eventually more and more of this stuff can go to cpu-independent files. Keep that in mind. */ diff -uprN binutils-2.16.90.0.2/opcodes/m32r-ibld.c binutils-2.16.90.0.3/opcodes/m32r-ibld.c --- binutils-2.16.90.0.2/opcodes/m32r-ibld.c 2004-01-14 13:07:55.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/m32r-ibld.c 2005-05-10 15:46:54.000000000 -0700 @@ -19,7 +19,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* ??? Eventually more and more of this stuff can go to cpu-independent files. Keep that in mind. */ diff -uprN binutils-2.16.90.0.2/opcodes/m32r-opc.c binutils-2.16.90.0.3/opcodes/m32r-opc.c --- binutils-2.16.90.0.2/opcodes/m32r-opc.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/m32r-opc.c 2005-05-10 15:46:54.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/m32r-opc.h binutils-2.16.90.0.3/opcodes/m32r-opc.h --- binutils-2.16.90.0.2/opcodes/m32r-opc.h 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/m32r-opc.h 2005-05-10 15:46:54.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/m32r-opinst.c binutils-2.16.90.0.3/opcodes/m32r-opinst.c --- binutils-2.16.90.0.2/opcodes/m32r-opinst.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/m32r-opinst.c 2005-05-10 15:46:54.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/m68hc11-dis.c binutils-2.16.90.0.3/opcodes/m68hc11-dis.c --- binutils-2.16.90.0.2/opcodes/m68hc11-dis.c 2004-01-14 13:07:55.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/m68hc11-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -14,7 +14,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include diff -uprN binutils-2.16.90.0.2/opcodes/m68hc11-opc.c binutils-2.16.90.0.3/opcodes/m68hc11-opc.c --- binutils-2.16.90.0.2/opcodes/m68hc11-opc.c 2002-08-14 10:35:11.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/m68hc11-opc.c 2005-05-10 15:46:54.000000000 -0700 @@ -16,7 +16,7 @@ the GNU General Public License for more You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include diff -uprN binutils-2.16.90.0.2/opcodes/m68k-dis.c binutils-2.16.90.0.3/opcodes/m68k-dis.c --- binutils-2.16.90.0.2/opcodes/m68k-dis.c 2004-07-27 21:36:12.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/m68k-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "sysdep.h" #include "dis-asm.h" diff -uprN binutils-2.16.90.0.2/opcodes/m68k-opc.c binutils-2.16.90.0.3/opcodes/m68k-opc.c --- binutils-2.16.90.0.2/opcodes/m68k-opc.c 2004-05-27 11:26:07.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/m68k-opc.c 2005-05-10 15:46:54.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "sysdep.h" #include "opcode/m68k.h" diff -uprN binutils-2.16.90.0.2/opcodes/m88k-dis.c binutils-2.16.90.0.3/opcodes/m88k-dis.c --- binutils-2.16.90.0.2/opcodes/m88k-dis.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/m88k-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "sysdep.h" #include "dis-asm.h" diff -uprN binutils-2.16.90.0.2/opcodes/maxq-dis.c binutils-2.16.90.0.3/opcodes/maxq-dis.c --- binutils-2.16.90.0.2/opcodes/maxq-dis.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/maxq-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -18,8 +18,8 @@ for more details. You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., 59 - Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "sysdep.h" #include "dis-asm.h" diff -uprN binutils-2.16.90.0.2/opcodes/mcore-dis.c binutils-2.16.90.0.3/opcodes/mcore-dis.c --- binutils-2.16.90.0.2/opcodes/mcore-dis.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/mcore-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -13,7 +13,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "sysdep.h" #include diff -uprN binutils-2.16.90.0.2/opcodes/mcore-opc.h binutils-2.16.90.0.3/opcodes/mcore-opc.h --- binutils-2.16.90.0.2/opcodes/mcore-opc.h 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/mcore-opc.h 2005-05-10 15:46:54.000000000 -0700 @@ -14,7 +14,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "ansidecl.h" diff -uprN binutils-2.16.90.0.2/opcodes/mips16-opc.c binutils-2.16.90.0.3/opcodes/mips16-opc.c --- binutils-2.16.90.0.2/opcodes/mips16-opc.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/mips16-opc.c 2005-05-10 15:46:54.000000000 -0700 @@ -16,8 +16,8 @@ the GNU General Public License for more You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA +02110-1301, USA. */ #include #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/opcodes/mips-dis.c binutils-2.16.90.0.3/opcodes/mips-dis.c --- binutils-2.16.90.0.2/opcodes/mips-dis.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/mips-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "sysdep.h" #include "dis-asm.h" diff -uprN binutils-2.16.90.0.2/opcodes/mips-opc.c binutils-2.16.90.0.3/opcodes/mips-opc.c --- binutils-2.16.90.0.2/opcodes/mips-opc.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/mips-opc.c 2005-05-10 15:46:54.000000000 -0700 @@ -21,7 +21,7 @@ the GNU General Public License for more You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/opcodes/mmix-dis.c binutils-2.16.90.0.3/opcodes/mmix-dis.c --- binutils-2.16.90.0.2/opcodes/mmix-dis.c 2002-12-16 12:22:53.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/mmix-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -16,7 +16,7 @@ the GNU General Public License for more You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include diff -uprN binutils-2.16.90.0.2/opcodes/mmix-opc.c binutils-2.16.90.0.3/opcodes/mmix-opc.c --- binutils-2.16.90.0.2/opcodes/mmix-opc.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/mmix-opc.c 2005-05-10 15:46:54.000000000 -0700 @@ -16,7 +16,7 @@ the GNU General Public License for more You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include "opcode/mmix.h" diff -uprN binutils-2.16.90.0.2/opcodes/msp430-dis.c binutils-2.16.90.0.3/opcodes/msp430-dis.c --- binutils-2.16.90.0.2/opcodes/msp430-dis.c 2004-01-14 13:07:55.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/msp430-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include diff -uprN binutils-2.16.90.0.2/opcodes/ns32k-dis.c binutils-2.16.90.0.3/opcodes/ns32k-dis.c --- binutils-2.16.90.0.2/opcodes/ns32k-dis.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/ns32k-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" diff -uprN binutils-2.16.90.0.2/opcodes/openrisc-asm.c binutils-2.16.90.0.3/opcodes/openrisc-asm.c --- binutils-2.16.90.0.2/opcodes/openrisc-asm.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/openrisc-asm.c 2005-05-10 15:46:54.000000000 -0700 @@ -20,7 +20,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* ??? Eventually more and more of this stuff can go to cpu-independent files. Keep that in mind. */ diff -uprN binutils-2.16.90.0.2/opcodes/openrisc-desc.c binutils-2.16.90.0.3/opcodes/openrisc-desc.c --- binutils-2.16.90.0.2/opcodes/openrisc-desc.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/openrisc-desc.c 2005-05-10 15:46:54.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/openrisc-desc.h binutils-2.16.90.0.3/opcodes/openrisc-desc.h --- binutils-2.16.90.0.2/opcodes/openrisc-desc.h 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/openrisc-desc.h 2005-05-10 15:46:54.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/openrisc-dis.c binutils-2.16.90.0.3/opcodes/openrisc-dis.c --- binutils-2.16.90.0.2/opcodes/openrisc-dis.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/openrisc-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -21,7 +21,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* ??? Eventually more and more of this stuff can go to cpu-independent files. Keep that in mind. */ diff -uprN binutils-2.16.90.0.2/opcodes/openrisc-ibld.c binutils-2.16.90.0.3/opcodes/openrisc-ibld.c --- binutils-2.16.90.0.2/opcodes/openrisc-ibld.c 2004-01-14 13:07:55.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/openrisc-ibld.c 2005-05-10 15:46:54.000000000 -0700 @@ -19,7 +19,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* ??? Eventually more and more of this stuff can go to cpu-independent files. Keep that in mind. */ diff -uprN binutils-2.16.90.0.2/opcodes/openrisc-opc.c binutils-2.16.90.0.3/opcodes/openrisc-opc.c --- binutils-2.16.90.0.2/opcodes/openrisc-opc.c 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/openrisc-opc.c 2005-05-10 15:46:54.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/openrisc-opc.h binutils-2.16.90.0.3/opcodes/openrisc-opc.h --- binutils-2.16.90.0.2/opcodes/openrisc-opc.h 2005-04-09 12:03:35.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/openrisc-opc.h 2005-05-10 15:46:54.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/opintl.h binutils-2.16.90.0.3/opcodes/opintl.h --- binutils-2.16.90.0.2/opcodes/opintl.h 2001-03-15 14:52:05.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/opintl.h 2005-05-10 15:46:54.000000000 -0700 @@ -7,8 +7,8 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifdef ENABLE_NLS # include diff -uprN binutils-2.16.90.0.2/opcodes/or32-dis.c binutils-2.16.90.0.3/opcodes/or32-dis.c --- binutils-2.16.90.0.2/opcodes/or32-dis.c 2002-06-08 20:44:53.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/or32-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #define DEBUG 0 diff -uprN binutils-2.16.90.0.2/opcodes/or32-opc.c binutils-2.16.90.0.3/opcodes/or32-opc.c --- binutils-2.16.90.0.2/opcodes/or32-opc.c 2004-11-22 12:33:33.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/or32-opc.c 2005-05-10 15:46:54.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* We treat all letters the same in encode/decode routines so we need to assign some characteristics to them like signess etc. */ diff -uprN binutils-2.16.90.0.2/opcodes/pdp11-dis.c binutils-2.16.90.0.3/opcodes/pdp11-dis.c --- binutils-2.16.90.0.2/opcodes/pdp11-dis.c 2005-04-09 12:03:36.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/pdp11-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -13,7 +13,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "sysdep.h" #include "dis-asm.h" diff -uprN binutils-2.16.90.0.2/opcodes/pdp11-opc.c binutils-2.16.90.0.3/opcodes/pdp11-opc.c --- binutils-2.16.90.0.2/opcodes/pdp11-opc.c 2002-03-07 11:52:40.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/pdp11-opc.c 2005-05-10 15:46:54.000000000 -0700 @@ -13,7 +13,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "opcode/pdp11.h" diff -uprN binutils-2.16.90.0.2/opcodes/pj-dis.c binutils-2.16.90.0.3/opcodes/pj-dis.c --- binutils-2.16.90.0.2/opcodes/pj-dis.c 2005-04-09 12:03:36.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/pj-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -14,7 +14,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/opcodes/pj-opc.c binutils-2.16.90.0.3/opcodes/pj-opc.c --- binutils-2.16.90.0.2/opcodes/pj-opc.c 2005-04-09 12:03:36.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/pj-opc.c 2005-05-10 15:46:54.000000000 -0700 @@ -14,7 +14,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/opcodes/po/nl.po binutils-2.16.90.0.3/opcodes/po/nl.po --- binutils-2.16.90.0.2/opcodes/po/nl.po 2004-01-14 13:07:55.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/po/nl.po 2005-05-10 15:46:55.000000000 -0700 @@ -1,15 +1,16 @@ # Dutch messages for the Opcodes Library. -# Copyright (C) 1999, 2002, 2003 Free Software Foundation, Inc. +# Copyright (C) 1999, 2002, 2003, 2005 Free Software Foundation, Inc. # This file is distributed under the same license as the Opcodes package. -# Tim Van Holder , 1999, 2002, 2003. -# +# Tim Van Holder , 1999, 2002, 2003, 2005. +# msgid "" msgstr "" -"Project-Id-Version: opcodes 2.14rel030712\n" -"POT-Creation-Date: 2003-07-11 13:56+0930\n" -"PO-Revision-Date: 2003-07-18 17:17+0200\n" +"Project-Id-Version: opcodes 2.15.96\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-03-05 20:32+1030\n" +"PO-Revision-Date: 2005-05-05 23:36+0200\n" "Last-Translator: Tim Van Holder \n" -"Language-Team: Dutch \n" +"Language-Team: Dutch \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8-bit\n" @@ -17,34 +18,37 @@ msgstr "" # misschien 'branch' vertalen (vertakking?) # en unaligned vertalen als 'niet uitgelijnd'? -#: alpha-opc.c:335 +#: alpha-opc.c:331 msgid "branch operand unaligned" msgstr "branch-operand niet uitgelijnd" -#: alpha-opc.c:358 alpha-opc.c:380 +#: alpha-opc.c:353 alpha-opc.c:374 msgid "jump hint unaligned" msgstr "jump-hint niet uitgelijnd" -#: arc-dis.c:52 +#: arc-dis.c:76 msgid "Illegal limm reference in last instruction!\n" msgstr "Ongeldige limm-verwijzing in de laatste instructie!\n" -#: arm-dis.c:554 +#: arm-dis.c:1267 msgid "" msgstr "" # Hoort set bij 'name', of bij 'register name'? -#: arm-dis.c:1162 +#. XXX - should break 'option' at following delimiter. +#: arm-dis.c:1912 #, c-format msgid "Unrecognised register name set: %s\n" msgstr "Registernaam-verzameling niet herkend: %s\n" -#: arm-dis.c:1169 +#. XXX - should break 'option' at following delimiter. +#: arm-dis.c:1920 #, c-format msgid "Unrecognised disassembler option: %s\n" msgstr "Disassembler-optie niet herkend: %s\n" -#: arm-dis.c:1343 +#: arm-dis.c:2093 +#, c-format msgid "" "\n" "The following ARM specific disassembler options are supported for use with\n" @@ -54,11 +58,13 @@ msgstr "" "De volgende ARM-specifieke disassembler-opties worden ondersteund voor gebruik\n" "via de -M optie:\n" -#: avr-dis.c:117 avr-dis.c:127 +#: avr-dis.c:112 avr-dis.c:122 +#, c-format msgid "undefined" msgstr "niet gedefinieerd" #: avr-dis.c:179 +#, c-format msgid "Internal disassembler error" msgstr "Interne fout in de disassembler" @@ -68,13 +74,13 @@ msgstr "Interne fout in de disassembler" msgid "unknown constraint `%c'" msgstr "onbekende constraint `%c'" -#: cgen-asm.c:348 fr30-ibld.c:195 frv-ibld.c:195 ip2k-ibld.c:195 -#: iq2000-ibld.c:195 m32r-ibld.c:195 openrisc-ibld.c:195 xstormy16-ibld.c:195 +#: cgen-asm.c:336 fr30-ibld.c:197 frv-ibld.c:197 ip2k-ibld.c:197 +#: iq2000-ibld.c:197 m32r-ibld.c:197 openrisc-ibld.c:197 xstormy16-ibld.c:197 #, c-format msgid "operand out of range (%ld not between %ld and %ld)" msgstr "operand buiten bereik (%ld niet tussen %ld en %ld)" -#: cgen-asm.c:369 +#: cgen-asm.c:358 #, c-format msgid "operand out of range (%lu not between %lu and %lu)" msgstr "operand buiten bereik (%lu niet tussen %lu en %lu)" @@ -91,65 +97,65 @@ msgid "Unknown error %d\n" msgstr "Onbekende fout %d\n" # Slecht vertaald. Wat is de geijkte vertaling voor 'out of bounds'? -#: dis-buf.c:62 +#: dis-buf.c:66 #, c-format -msgid "Address 0x%x is out of bounds.\n" -msgstr "Adres 0x%x is buiten de perken.\n" +msgid "Address 0x%s is out of bounds.\n" +msgstr "Adres 0x%s is buiten de perken.\n" # Betere vertaling voor 'parsing'? -#: fr30-asm.c:323 frv-asm.c:626 ip2k-asm.c:574 iq2000-asm.c:460 m32r-asm.c:325 -#: openrisc-asm.c:261 xstormy16-asm.c:284 +#: fr30-asm.c:323 frv-asm.c:1298 ip2k-asm.c:530 iq2000-asm.c:465 +#: m32r-asm.c:338 openrisc-asm.c:252 xstormy16-asm.c:284 #, c-format msgid "Unrecognized field %d while parsing.\n" msgstr "Veld %d niet herkend tijdens parsen.\n" -#: fr30-asm.c:373 frv-asm.c:676 ip2k-asm.c:624 iq2000-asm.c:510 m32r-asm.c:375 -#: openrisc-asm.c:311 xstormy16-asm.c:334 +#: fr30-asm.c:372 frv-asm.c:1347 ip2k-asm.c:579 iq2000-asm.c:514 +#: m32r-asm.c:387 openrisc-asm.c:301 xstormy16-asm.c:333 msgid "missing mnemonic in syntax string" msgstr "mnemonic ontbreekt in syntaxstring" #. We couldn't parse it. -#: fr30-asm.c:509 fr30-asm.c:513 fr30-asm.c:600 fr30-asm.c:702 frv-asm.c:812 -#: frv-asm.c:816 frv-asm.c:903 frv-asm.c:1005 ip2k-asm.c:760 ip2k-asm.c:764 -#: ip2k-asm.c:851 ip2k-asm.c:953 iq2000-asm.c:646 iq2000-asm.c:650 -#: iq2000-asm.c:737 iq2000-asm.c:839 m32r-asm.c:511 m32r-asm.c:515 -#: m32r-asm.c:602 m32r-asm.c:704 openrisc-asm.c:447 openrisc-asm.c:451 -#: openrisc-asm.c:538 openrisc-asm.c:640 xstormy16-asm.c:470 -#: xstormy16-asm.c:474 xstormy16-asm.c:561 xstormy16-asm.c:663 +#: fr30-asm.c:507 fr30-asm.c:511 fr30-asm.c:598 fr30-asm.c:699 frv-asm.c:1482 +#: frv-asm.c:1486 frv-asm.c:1573 frv-asm.c:1674 ip2k-asm.c:714 ip2k-asm.c:718 +#: ip2k-asm.c:805 ip2k-asm.c:906 iq2000-asm.c:649 iq2000-asm.c:653 +#: iq2000-asm.c:740 iq2000-asm.c:841 m32r-asm.c:522 m32r-asm.c:526 +#: m32r-asm.c:613 m32r-asm.c:714 openrisc-asm.c:436 openrisc-asm.c:440 +#: openrisc-asm.c:527 openrisc-asm.c:628 xstormy16-asm.c:468 +#: xstormy16-asm.c:472 xstormy16-asm.c:559 xstormy16-asm.c:660 msgid "unrecognized instruction" msgstr "instructie niet herkend" -#: fr30-asm.c:556 frv-asm.c:859 ip2k-asm.c:807 iq2000-asm.c:693 m32r-asm.c:558 -#: openrisc-asm.c:494 xstormy16-asm.c:517 +#: fr30-asm.c:554 frv-asm.c:1529 ip2k-asm.c:761 iq2000-asm.c:696 +#: m32r-asm.c:569 openrisc-asm.c:483 xstormy16-asm.c:515 #, c-format msgid "syntax error (expected char `%c', found `%c')" msgstr "syntaxfout (verwachtte character `%c', maar vond `%c')" -#: fr30-asm.c:566 frv-asm.c:869 ip2k-asm.c:817 iq2000-asm.c:703 m32r-asm.c:568 -#: openrisc-asm.c:504 xstormy16-asm.c:527 +#: fr30-asm.c:564 frv-asm.c:1539 ip2k-asm.c:771 iq2000-asm.c:706 +#: m32r-asm.c:579 openrisc-asm.c:493 xstormy16-asm.c:525 #, c-format msgid "syntax error (expected char `%c', found end of instruction)" msgstr "syntaxfout (verwachtte character `%c', maar vond het einde van de instructie)" # Betere (niet-Vlaamse) vertaling voor 'junk'? -#: fr30-asm.c:594 frv-asm.c:897 ip2k-asm.c:845 iq2000-asm.c:731 m32r-asm.c:596 -#: openrisc-asm.c:532 xstormy16-asm.c:555 +#: fr30-asm.c:592 frv-asm.c:1567 ip2k-asm.c:799 iq2000-asm.c:734 +#: m32r-asm.c:607 openrisc-asm.c:521 xstormy16-asm.c:553 msgid "junk at end of line" msgstr "brol aan einde van lijn" -#: fr30-asm.c:701 frv-asm.c:1004 ip2k-asm.c:952 iq2000-asm.c:838 -#: m32r-asm.c:703 openrisc-asm.c:639 xstormy16-asm.c:662 +#: fr30-asm.c:698 frv-asm.c:1673 ip2k-asm.c:905 iq2000-asm.c:840 +#: m32r-asm.c:713 openrisc-asm.c:627 xstormy16-asm.c:659 msgid "unrecognized form of instruction" msgstr "instructievorm niet herkend" -#: fr30-asm.c:713 frv-asm.c:1016 ip2k-asm.c:964 iq2000-asm.c:850 -#: m32r-asm.c:715 openrisc-asm.c:651 xstormy16-asm.c:674 +#: fr30-asm.c:710 frv-asm.c:1685 ip2k-asm.c:917 iq2000-asm.c:852 +#: m32r-asm.c:725 openrisc-asm.c:639 xstormy16-asm.c:671 #, c-format msgid "bad instruction `%.50s...'" msgstr "slechte instructie `%s.50s...'" -#: fr30-asm.c:716 frv-asm.c:1019 ip2k-asm.c:967 iq2000-asm.c:853 -#: m32r-asm.c:718 openrisc-asm.c:654 xstormy16-asm.c:677 +#: fr30-asm.c:713 frv-asm.c:1688 ip2k-asm.c:920 iq2000-asm.c:855 +#: m32r-asm.c:728 openrisc-asm.c:642 xstormy16-asm.c:674 #, c-format msgid "bad instruction `%.50s'" msgstr "slechte instructie `%s.50s'" @@ -160,70 +166,70 @@ msgstr "slechte instructie `%s.50s'" msgid "*unknown*" msgstr "*onbekend*" -#: fr30-dis.c:320 frv-dis.c:371 ip2k-dis.c:329 iq2000-dis.c:192 m32r-dis.c:251 -#: openrisc-dis.c:138 xstormy16-dis.c:171 +#: fr30-dis.c:319 frv-dis.c:410 ip2k-dis.c:313 iq2000-dis.c:191 m32r-dis.c:262 +#: openrisc-dis.c:137 xstormy16-dis.c:170 #, c-format msgid "Unrecognized field %d while printing insn.\n" msgstr "Veld %d niet herkend bij het afdrukken van een insn.\n" -#: fr30-ibld.c:166 frv-ibld.c:166 ip2k-ibld.c:166 iq2000-ibld.c:166 -#: m32r-ibld.c:166 openrisc-ibld.c:166 xstormy16-ibld.c:166 +#: fr30-ibld.c:168 frv-ibld.c:168 ip2k-ibld.c:168 iq2000-ibld.c:168 +#: m32r-ibld.c:168 openrisc-ibld.c:168 xstormy16-ibld.c:168 #, c-format msgid "operand out of range (%ld not between %ld and %lu)" msgstr "operand buiten bereik (%ld niet tussen %ld en %lu)" -#: fr30-ibld.c:179 frv-ibld.c:179 ip2k-ibld.c:179 iq2000-ibld.c:179 -#: m32r-ibld.c:179 openrisc-ibld.c:179 xstormy16-ibld.c:179 +#: fr30-ibld.c:181 frv-ibld.c:181 ip2k-ibld.c:181 iq2000-ibld.c:181 +#: m32r-ibld.c:181 openrisc-ibld.c:181 xstormy16-ibld.c:181 #, c-format msgid "operand out of range (%lu not between 0 and %lu)" msgstr "operand buiten bereik (%lu niet tussen 0 en %lu)" -#: fr30-ibld.c:730 frv-ibld.c:829 ip2k-ibld.c:607 iq2000-ibld.c:713 -#: m32r-ibld.c:659 openrisc-ibld.c:633 xstormy16-ibld.c:678 +#: fr30-ibld.c:732 frv-ibld.c:858 ip2k-ibld.c:609 iq2000-ibld.c:715 +#: m32r-ibld.c:667 openrisc-ibld.c:635 xstormy16-ibld.c:680 #, c-format msgid "Unrecognized field %d while building insn.\n" msgstr "Veld %d niet herkend bij het opbouwen van een insn.\n" -#: fr30-ibld.c:937 frv-ibld.c:1121 ip2k-ibld.c:684 iq2000-ibld.c:890 -#: m32r-ibld.c:792 openrisc-ibld.c:735 xstormy16-ibld.c:826 +#: fr30-ibld.c:939 frv-ibld.c:1177 ip2k-ibld.c:686 iq2000-ibld.c:892 +#: m32r-ibld.c:806 openrisc-ibld.c:737 xstormy16-ibld.c:828 #, c-format msgid "Unrecognized field %d while decoding insn.\n" msgstr "Veld %d niet herkend bij het decoderen van een insn.\n" -#: fr30-ibld.c:1086 frv-ibld.c:1375 ip2k-ibld.c:761 iq2000-ibld.c:1024 -#: m32r-ibld.c:902 openrisc-ibld.c:815 xstormy16-ibld.c:939 +#: fr30-ibld.c:1088 frv-ibld.c:1458 ip2k-ibld.c:763 iq2000-ibld.c:1026 +#: m32r-ibld.c:922 openrisc-ibld.c:817 xstormy16-ibld.c:941 #, c-format msgid "Unrecognized field %d while getting int operand.\n" msgstr "Veld %d niet herkend bij het ophalen van een int-operand.\n" -#: fr30-ibld.c:1215 frv-ibld.c:1609 ip2k-ibld.c:818 iq2000-ibld.c:1138 -#: m32r-ibld.c:992 openrisc-ibld.c:875 xstormy16-ibld.c:1032 +#: fr30-ibld.c:1217 frv-ibld.c:1719 ip2k-ibld.c:820 iq2000-ibld.c:1140 +#: m32r-ibld.c:1018 openrisc-ibld.c:877 xstormy16-ibld.c:1034 #, c-format msgid "Unrecognized field %d while getting vma operand.\n" msgstr "Veld %d niet herkend bij het ophalen van een vma-operand.\n" -#: fr30-ibld.c:1349 frv-ibld.c:1852 ip2k-ibld.c:880 iq2000-ibld.c:1261 -#: m32r-ibld.c:1090 openrisc-ibld.c:944 xstormy16-ibld.c:1134 +#: fr30-ibld.c:1351 frv-ibld.c:1989 ip2k-ibld.c:882 iq2000-ibld.c:1263 +#: m32r-ibld.c:1122 openrisc-ibld.c:946 xstormy16-ibld.c:1136 #, c-format msgid "Unrecognized field %d while setting int operand.\n" msgstr "Veld %d niet herkend bij het instellen van een int-operand.\n" -#: fr30-ibld.c:1471 frv-ibld.c:2083 ip2k-ibld.c:930 iq2000-ibld.c:1372 -#: m32r-ibld.c:1176 openrisc-ibld.c:1001 xstormy16-ibld.c:1224 +#: fr30-ibld.c:1473 frv-ibld.c:2247 ip2k-ibld.c:932 iq2000-ibld.c:1374 +#: m32r-ibld.c:1214 openrisc-ibld.c:1003 xstormy16-ibld.c:1226 #, c-format msgid "Unrecognized field %d while setting vma operand.\n" msgstr "Veld %d niet herkend bij het instellen van een vma-operand.\n" -#: frv-asm.c:365 +#: frv-asm.c:978 msgid "register number must be even" msgstr "registernummer moet paar zijn" -#: h8300-dis.c:377 +#: h8300-dis.c:358 #, c-format msgid "Hmmmm 0x%x" msgstr "Hmmmm 0x%x" -#: h8300-dis.c:760 +#: h8300-dis.c:744 #, c-format msgid "Don't understand 0x%x \n" msgstr "Ik begrijp 0x%x niet\n" @@ -234,40 +240,40 @@ msgid "can't cope with insert %d\n" msgstr "kan niet omgaan met insert %d\n" #. Couldn't understand anything. -#: h8500-dis.c:350 +#: h8500-dis.c:342 #, c-format msgid "%02x\t\t*unknown*" msgstr "%02x\t\t*onbekend*" -#: i386-dis.c:1699 +#: i386-dis.c:1733 msgid "" msgstr "" -#: ia64-gen.c:295 +#: ia64-gen.c:297 #, c-format msgid "%s: Error: " msgstr "%s: Fout: " -#: ia64-gen.c:308 +#: ia64-gen.c:310 #, c-format msgid "%s: Warning: " msgstr "%s: Let Op: " -#: ia64-gen.c:494 ia64-gen.c:728 +#: ia64-gen.c:496 ia64-gen.c:730 #, c-format msgid "multiple note %s not handled\n" msgstr "meervoudige noot %s wordt niet opgevangen\n" -#: ia64-gen.c:605 +#: ia64-gen.c:607 msgid "can't find ia64-ic.tbl for reading\n" msgstr "kan invoerbestand ia64-ic.tbl niet vinden\n" -#: ia64-gen.c:810 +#: ia64-gen.c:812 #, c-format msgid "can't find %s for reading\n" msgstr "kan invoerbestand %s niet vinden\n" -#: ia64-gen.c:1034 +#: ia64-gen.c:1036 #, c-format msgid "" "most recent format '%s'\n" @@ -276,77 +282,77 @@ msgstr "" "het meest recente formaat '%s'\n" "lijkt meer beperkend dan '%s'\n" -#: ia64-gen.c:1045 +#: ia64-gen.c:1047 #, c-format msgid "overlapping field %s->%s\n" msgstr "overlappend veld %s->%s\n" -#: ia64-gen.c:1236 +#: ia64-gen.c:1244 #, c-format msgid "overwriting note %d with note %d (IC:%s)\n" msgstr "noot %d wordt overschreven door noot %d (IC:%s)\n" -#: ia64-gen.c:1435 +#: ia64-gen.c:1443 #, c-format msgid "don't know how to specify %% dependency %s\n" msgstr "ik weet niet hoe ik de %%-dependency %s moet opgeven\n" -#: ia64-gen.c:1457 +#: ia64-gen.c:1465 #, c-format msgid "Don't know how to specify # dependency %s\n" msgstr "Ik weet niet hoe ik de #-dependency %s moet opgeven\n" -#: ia64-gen.c:1496 +#: ia64-gen.c:1504 #, c-format msgid "IC:%s [%s] has no terminals or sub-classes\n" msgstr "IC:%s [%s] heeft geen eindsymbolen of subklassen\n" -#: ia64-gen.c:1499 +#: ia64-gen.c:1507 #, c-format msgid "IC:%s has no terminals or sub-classes\n" msgstr "IC:%s heeft geen eindsymbolen of subklassen\n" -#: ia64-gen.c:1508 +#: ia64-gen.c:1516 #, c-format msgid "no insns mapped directly to terminal IC %s [%s]" msgstr "er zijn geen insns die rechtstreeks naar eindsymbool IC %s [%s] vertaald worden" -#: ia64-gen.c:1511 +#: ia64-gen.c:1519 #, c-format msgid "no insns mapped directly to terminal IC %s\n" msgstr "er zijn geen insns die rechtstreeks naar eindsymbool IC %s vertaald worden\n" -#: ia64-gen.c:1522 +#: ia64-gen.c:1530 #, c-format msgid "class %s is defined but not used\n" msgstr "klasse %s is gedefinieerd maar wordt niet gebruikt\n" -#: ia64-gen.c:1533 +#: ia64-gen.c:1541 #, c-format msgid "Warning: rsrc %s (%s) has no chks%s\n" msgstr "Let Op: rsrc %s (%s) heeft geen chks%s\n" -#: ia64-gen.c:1537 +#: ia64-gen.c:1545 #, c-format msgid "rsrc %s (%s) has no regs\n" msgstr "rsrc %s (%s) heeft geen regs\n" -#: ia64-gen.c:2436 +#: ia64-gen.c:2444 #, c-format msgid "IC note %d in opcode %s (IC:%s) conflicts with resource %s note %d\n" msgstr "IC noot %d in opcode %s (IC:%s) geeft een conflict met resource %s noot %d\n" -#: ia64-gen.c:2464 +#: ia64-gen.c:2472 #, c-format msgid "IC note %d for opcode %s (IC:%s) conflicts with resource %s note %d\n" msgstr "IC noot %d voor opcode %s (IC:%s) geeft een conflict met resource %s noot %d\n" -#: ia64-gen.c:2478 +#: ia64-gen.c:2486 #, c-format msgid "opcode %s has no class (ops %d %d %d)\n" msgstr "opcode %s heeft geen klasse (ops %d %d %d)\n" -#: ia64-gen.c:2789 +#: ia64-gen.c:2816 #, c-format msgid "unable to change directory to \"%s\", errno = %s\n" msgstr "kan niet naar directory \"%s\" gaan, errno = %s\n" @@ -358,67 +364,67 @@ msgid "W keyword invalid in FR operand s msgstr "keyword W is ongeldig in operand-slot FR" #. Invalid offset present. -#: ip2k-asm.c:122 +#: ip2k-asm.c:117 msgid "offset(IP) is not a valid form" msgstr "offset(IP) is geen geldige vorm" #. Found something there in front of (DP) but it's out #. of range. -#: ip2k-asm.c:175 +#: ip2k-asm.c:165 msgid "(DP) offset out of range." msgstr "(DP) offset buiten bereik" #. Found something there in front of (SP) but it's out #. of range. -#: ip2k-asm.c:221 +#: ip2k-asm.c:206 msgid "(SP) offset out of range." msgstr "(SP) offset buiten bereik" -#: ip2k-asm.c:241 +#: ip2k-asm.c:222 msgid "illegal use of parentheses" msgstr "ongeldig gebruik van haakjes" -#: ip2k-asm.c:248 +#: ip2k-asm.c:229 msgid "operand out of range (not between 1 and 255)" msgstr "operand buiten bereik (niet tussen 1 en 255)" #. Something is very wrong. opindex has to be one of the above. -#: ip2k-asm.c:273 +#: ip2k-asm.c:254 msgid "parse_addr16: invalid opindex." msgstr "parse_addr16: ongeldige opindex." -#: ip2k-asm.c:353 +#: ip2k-asm.c:309 msgid "Byte address required. - must be even." msgstr "Byte-adres vereist. - moet paar zijn." -#: ip2k-asm.c:362 +#: ip2k-asm.c:318 msgid "cgen_parse_address returned a symbol. Literal required." msgstr "cgen_parse_address gaf een symbool terug terwijl een letterlijke waarde vereist is." -#: ip2k-asm.c:420 +#: ip2k-asm.c:376 #, c-format msgid "%operator operand is not a symbol" msgstr "operand van %operator is geen symbool" -#: ip2k-asm.c:474 +#: ip2k-asm.c:430 msgid "Attempt to find bit index of 0" msgstr "Poging tot vinden van bit-index van 0" -#: iq2000-asm.c:110 iq2000-asm.c:141 +#: iq2000-asm.c:115 iq2000-asm.c:146 msgid "immediate value cannot be register" msgstr "onmiddellijke waarde kan geen register zijn" # of moet 'immediate' behouden worden? -#: iq2000-asm.c:120 iq2000-asm.c:151 +#: iq2000-asm.c:126 iq2000-asm.c:156 msgid "immediate value out of range" msgstr "onmiddellijke waarde is buiten bereik" -#: iq2000-asm.c:180 +#: iq2000-asm.c:185 msgid "21-bit offset out of range" msgstr "21-bit offset is buiten bereik" -#: iq2000-asm.c:205 iq2000-asm.c:235 iq2000-asm.c:272 iq2000-asm.c:305 -#: openrisc-asm.c:96 openrisc-asm.c:155 +#: iq2000-asm.c:210 iq2000-asm.c:240 iq2000-asm.c:277 iq2000-asm.c:310 +#: openrisc-asm.c:90 openrisc-asm.c:144 msgid "missing `)'" msgstr "`)' ontbreekt" @@ -432,17 +438,17 @@ msgstr "onbekend\t0x%02x" msgid "unknown\t0x%04lx" msgstr "onbekend\t0x%04lx" -#: m10300-dis.c:766 +#: m10300-dis.c:767 #, c-format msgid "unknown\t0x%04x" msgstr "onbekend\t0x%04x" -#: m68k-dis.c:429 +#: m68k-dis.c:295 #, c-format msgid "\n" msgstr "\n" -#: m68k-dis.c:1007 +#: m68k-dis.c:1089 #, c-format msgid "" msgstr "" @@ -452,26 +458,27 @@ msgstr "" msgid "# " msgstr "# " -#: mips-dis.c:699 +#: mips-dis.c:720 msgid "# internal error, incomplete extension sequence (+)" msgstr "# interne fout, onvolledige extension sequence (+)" -#: mips-dis.c:742 +#: mips-dis.c:779 #, c-format msgid "# internal error, undefined extension sequence (+%c)" msgstr "# interne fout, extension sequence (+%c) niet gedefinieerd" -#: mips-dis.c:1000 +#: mips-dis.c:1037 #, c-format msgid "# internal error, undefined modifier(%c)" msgstr "# interne fout, modifier(%c) niet gedefinieerd" -#: mips-dis.c:1751 +#: mips-dis.c:1793 #, c-format msgid "# internal disassembler error, unrecognised modifier (%c)" msgstr "# interne fout in disassembler, modifier(%c) niet herkend" -#: mips-dis.c:1763 +#: mips-dis.c:1805 +#, c-format msgid "" "\n" "The following MIPS specific disassembler options are supported for use\n" @@ -481,7 +488,8 @@ msgstr "" "De volgende MIPS-specifieke disassembler-opties worden ondersteund voor gebruik\n" "via de -M optie (meerdere opties moeten door komma's gescheiden worden):\n" -#: mips-dis.c:1767 +#: mips-dis.c:1809 +#, c-format msgid "" "\n" " gpr-names=ABI Print GPR names according to specified ABI.\n" @@ -492,7 +500,8 @@ msgstr "" " Standaard: gebaseerd op het binair bestand dat\n" " gedesassembleerd wordt.\n" -#: mips-dis.c:1771 +#: mips-dis.c:1813 +#, c-format msgid "" "\n" " fpr-names=ABI Print FPR names according to specified ABI.\n" @@ -502,7 +511,8 @@ msgstr "" " fpr-names=ABI Druk FPR-namen af volgens de opgegeven ABI.\n" " Standaard: numeriek.\n" -#: mips-dis.c:1775 +#: mips-dis.c:1817 +#, c-format msgid "" "\n" " cp0-names=ARCH Print CP0 register names according to\n" @@ -515,7 +525,8 @@ msgstr "" " Standaard: gebaseerd op het binair bestand dat\n" " gedesassembleerd wordt.\n" -#: mips-dis.c:1780 +#: mips-dis.c:1822 +#, c-format msgid "" "\n" " hwr-names=ARCH Print HWR names according to specified \n" @@ -528,7 +539,8 @@ msgstr "" " gedesassembleerd wordt.\n" "\n" -#: mips-dis.c:1785 +#: mips-dis.c:1827 +#, c-format msgid "" "\n" " reg-names=ABI Print GPR and FPR names according to\n" @@ -537,7 +549,8 @@ msgstr "" "\n" " reg-names=ABI Druk GPR- en FPR-namen af volgens de opgegeven ABI.\n" -#: mips-dis.c:1789 +#: mips-dis.c:1831 +#, c-format msgid "" "\n" " reg-names=ARCH Print CP0 register and HWR names according to\n" @@ -547,7 +560,8 @@ msgstr "" " reg-names=ARCH Druk CP0 registernamen en HWR-namen af volgens de\n" " opgegeven architectuur.\n" -#: mips-dis.c:1793 +#: mips-dis.c:1835 +#, c-format msgid "" "\n" " For the options above, the following values are supported for \"ABI\":\n" @@ -557,11 +571,13 @@ msgstr "" " Voor de bovenstaande opties zijn dit de ondersteunde waarden voor \"ABI\":\n" " " -#: mips-dis.c:1798 mips-dis.c:1806 mips-dis.c:1808 +#: mips-dis.c:1840 mips-dis.c:1848 mips-dis.c:1850 +#, c-format msgid "\n" msgstr "\n" -#: mips-dis.c:1800 +#: mips-dis.c:1842 +#, c-format msgid "" "\n" " For the options above, The following values are supported for \"ARCH\":\n" @@ -597,88 +613,93 @@ msgstr "onbekend type operanden: %d" #. * anyway! #. #: ns32k-dis.c:631 +#, c-format msgid "$" msgstr "$" -#: ppc-opc.c:781 ppc-opc.c:809 +#: ppc-opc.c:794 ppc-opc.c:822 msgid "invalid conditional option" msgstr "ongeldige voorwaardelijke optie" # Dit kan waarschijnlijk beter -#: ppc-opc.c:811 +#: ppc-opc.c:824 msgid "attempt to set y bit when using + or - modifier" msgstr "poging om y bit in te stellen wanneer + of - modifier gebruikt wordt" -#: ppc-opc.c:840 +#: ppc-opc.c:852 msgid "offset not a multiple of 16" msgstr "offset is geen veelvoud van 16" -#: ppc-opc.c:860 +#: ppc-opc.c:871 msgid "offset not a multiple of 2" msgstr "offset is geen veelvoud van 2" -#: ppc-opc.c:862 +#: ppc-opc.c:873 msgid "offset greater than 62" msgstr "offset is groter dan 62" -#: ppc-opc.c:881 ppc-opc.c:927 ppc-opc.c:975 +#: ppc-opc.c:892 ppc-opc.c:937 ppc-opc.c:981 msgid "offset not a multiple of 4" msgstr "offset is geen veelvoud van 4" -#: ppc-opc.c:883 +#: ppc-opc.c:894 msgid "offset greater than 124" msgstr "offset is groter dan 124" -#: ppc-opc.c:902 +#: ppc-opc.c:913 msgid "offset not a multiple of 8" msgstr "offset is geen veelvoud van 8" -#: ppc-opc.c:904 +#: ppc-opc.c:915 msgid "offset greater than 248" msgstr "offset is groter dan 248" -#: ppc-opc.c:950 +#: ppc-opc.c:958 msgid "offset not between -2048 and 2047" msgstr "offset ligt niet tussen -2048 en 2047" -#: ppc-opc.c:973 +#: ppc-opc.c:979 msgid "offset not between -8192 and 8191" msgstr "offset ligt niet tussen -8192 en 8191" -#: ppc-opc.c:1011 +#: ppc-opc.c:1007 +msgid "invalid mask field" +msgstr "ongeldig maskerveld" + +#: ppc-opc.c:1033 msgid "ignoring invalid mfcr mask" msgstr "ongeldig mfcr-masker wordt genegeerd" -#: ppc-opc.c:1059 +#: ppc-opc.c:1075 msgid "ignoring least significant bits in branch offset" msgstr "minst significante bits worden genegeerd in branch offset" -#: ppc-opc.c:1090 ppc-opc.c:1125 +#: ppc-opc.c:1105 ppc-opc.c:1140 msgid "illegal bitmask" msgstr "illegaal bitmasker" -#: ppc-opc.c:1192 +#: ppc-opc.c:1205 msgid "value out of range" msgstr "waarde buiten bereik" # of is laadbereik beter? -#: ppc-opc.c:1262 +#: ppc-opc.c:1273 msgid "index register in load range" msgstr "indexregister in load-bereik" -#: ppc-opc.c:1279 +#: ppc-opc.c:1289 msgid "source and target register operands must be different" msgstr "bron- en doel-registeroperanden moeten verschillen" -#: ppc-opc.c:1294 +#: ppc-opc.c:1304 msgid "invalid register operand when updating" msgstr "ongeldige register-operand bij update" -#: ppc-opc.c:1335 +#: ppc-opc.c:1343 msgid "target register operand must be even" msgstr "doel-registeroperand moet paar zijn" -#: ppc-opc.c:1350 +#: ppc-opc.c:1357 msgid "source register operand must be even" msgstr "bron-registeroperand moet paar zijn" @@ -703,12 +724,12 @@ msgstr "Interne fout: sparch-opcode.h is msgid "Internal error: bad sparc-opcode.h: \"%s\" == \"%s\"\n" msgstr "Interne fout: sparch-opcode.h is verkeerd: \"%s\" == \"%s\"\n" -#: v850-dis.c:221 +#: v850-dis.c:225 #, c-format msgid "unknown operand shift: %x\n" msgstr "onbekende operand-shift: %x\n" -#: v850-dis.c:233 +#: v850-dis.c:237 #, c-format msgid "unknown pop reg: %d\n" msgstr "onbekend pop reg: %d\n" @@ -719,49 +740,49 @@ msgstr "onbekend pop reg: %d\n" #. v850_insert_operand() in gas/config/tc-v850.c. Error messages #. containing the string 'out of range' will be ignored unless a #. specific command line option is given to GAS. -#: v850-opc.c:68 +#: v850-opc.c:69 msgid "displacement value is not in range and is not aligned" msgstr "displacement-waarde is niet in bereik en is niet uitgelijnd" -#: v850-opc.c:69 +#: v850-opc.c:70 msgid "displacement value is out of range" msgstr "displacement-waarde is buiten bereik" -#: v850-opc.c:70 +#: v850-opc.c:71 msgid "displacement value is not aligned" msgstr "displacement-waarde is niet uitgelijnd" # of moet 'immediate' behouden worden? -#: v850-opc.c:72 +#: v850-opc.c:73 msgid "immediate value is out of range" msgstr "onmiddellijke waarde is buiten bereik" # Repeated message..., use 'to an odd...' to merge it -#: v850-opc.c:83 +#: v850-opc.c:84 msgid "branch value not in range and to odd offset" msgstr "branch-waarde niet in bereik en naar onpare offset" -#: v850-opc.c:85 v850-opc.c:117 +#: v850-opc.c:86 v850-opc.c:118 msgid "branch value out of range" msgstr "branch-waarde buiten bereik" -#: v850-opc.c:88 v850-opc.c:120 +#: v850-opc.c:89 v850-opc.c:121 msgid "branch to odd offset" msgstr "branch naar onpare offset" -#: v850-opc.c:115 +#: v850-opc.c:116 msgid "branch value not in range and to an odd offset" msgstr "branch-waarde niet in bereik en naar een onpare offset" -#: v850-opc.c:346 +#: v850-opc.c:347 msgid "invalid register for stack adjustment" msgstr "ongeldig register voor stack-aanpassing" -#: v850-opc.c:370 +#: v850-opc.c:371 msgid "immediate value not in range and not even" msgstr "onmiddellijke waarde niet in bereik en niet paar" -#: v850-opc.c:375 +#: v850-opc.c:376 msgid "immediate value must be even" msgstr "onmiddellijke waarde moet paar zijn" diff -uprN binutils-2.16.90.0.2/opcodes/po/vi.po binutils-2.16.90.0.3/opcodes/po/vi.po --- binutils-2.16.90.0.2/opcodes/po/vi.po 1969-12-31 16:00:00.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/po/vi.po 2005-05-10 15:46:55.000000000 -0700 @@ -0,0 +1,805 @@ +# Vietnamese Translation for opcodes-2.15.96. +# Copyright © 2005 Free Software Foundation, Inc. +# Clytie Siddall , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: opcodes 2.15.96\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-03-05 20:32+1030\n" +"PO-Revision-Date: 2005-05-04 21:52+0930\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: alpha-opc.c:331 +msgid "branch operand unaligned" +msgstr "chưa canh lề tác tử cành" + +#: alpha-opc.c:353 alpha-opc.c:374 +msgid "jump hint unaligned" +msgstr "chưa canh lề lời gợi ý nhảy" + +#: arc-dis.c:76 +msgid "Illegal limm reference in last instruction!\n" +msgstr "Không cho phép tham chiếu loại limm trong câu lệnh cuối cùng.\n" + +#: arm-dis.c:1267 +msgid "" +msgstr "" + +#. XXX - should break 'option' at following delimiter. +#: arm-dis.c:1912 +#, c-format +msgid "Unrecognised register name set: %s\n" +msgstr "Không chấp nhận tập hợp tên thanh ghi: %s\n" + +#. XXX - should break 'option' at following delimiter. +#: arm-dis.c:1920 +#, c-format +msgid "Unrecognised disassembler option: %s\n" +msgstr "Không chấp nhận tùy chọn rã: %s\n" + +#: arm-dis.c:2093 +#, c-format +msgid "" +"\n" +"The following ARM specific disassembler options are supported for use with\n" +"the -M switch:\n" +msgstr "" +"\n" +"Hỗ trợ những tùy chọn rã đặc trưng cho ARM theo đây để sử dụng với đối số -M:\n" + +#: avr-dis.c:112 avr-dis.c:122 +#, c-format +msgid "undefined" +msgstr "chưa định nghĩa" + +#: avr-dis.c:179 +#, c-format +msgid "Internal disassembler error" +msgstr "lỗi rã nội bộ" + +#: avr-dis.c:227 +#, c-format +msgid "unknown constraint `%c'" +msgstr "không biết ràng buộc `%c'" + +#: cgen-asm.c:336 fr30-ibld.c:197 frv-ibld.c:197 ip2k-ibld.c:197 +#: iq2000-ibld.c:197 m32r-ibld.c:197 openrisc-ibld.c:197 xstormy16-ibld.c:197 +#, c-format +msgid "operand out of range (%ld not between %ld and %ld)" +msgstr "tác tử ở ngoại phạm vị (%ld không phải ở giữa %ld và %ld)" + +#: cgen-asm.c:358 +#, c-format +msgid "operand out of range (%lu not between %lu and %lu)" +msgstr "tác tử ở ngoại phạm vị (%lu không phải ở giữa %lu và %lu)" + +#: d30v-dis.c:312 +#, c-format +msgid "" +msgstr "" + +#. Can't happen. +#: dis-buf.c:57 +#, c-format +msgid "Unknown error %d\n" +msgstr "Không biết lỗi %d\n" + +#: dis-buf.c:66 +#, c-format +msgid "Address 0x%s is out of bounds.\n" +msgstr "Địa chỉ 0x%s ở ngoại phạm vị. \n" + +#: fr30-asm.c:323 frv-asm.c:1298 ip2k-asm.c:530 iq2000-asm.c:465 +#: m32r-asm.c:338 openrisc-asm.c:252 xstormy16-asm.c:284 +#, c-format +msgid "Unrecognized field %d while parsing.\n" +msgstr "Không chấp nhận trường %d trong khi phân tách.\n" + +#: fr30-asm.c:372 frv-asm.c:1347 ip2k-asm.c:579 iq2000-asm.c:514 +#: m32r-asm.c:387 openrisc-asm.c:301 xstormy16-asm.c:333 +msgid "missing mnemonic in syntax string" +msgstr "thiếu điều giúp trí nhớ trong chuỗi cú pháp" + +#. We couldn't parse it. +#: fr30-asm.c:507 fr30-asm.c:511 fr30-asm.c:598 fr30-asm.c:699 frv-asm.c:1482 +#: frv-asm.c:1486 frv-asm.c:1573 frv-asm.c:1674 ip2k-asm.c:714 ip2k-asm.c:718 +#: ip2k-asm.c:805 ip2k-asm.c:906 iq2000-asm.c:649 iq2000-asm.c:653 +#: iq2000-asm.c:740 iq2000-asm.c:841 m32r-asm.c:522 m32r-asm.c:526 +#: m32r-asm.c:613 m32r-asm.c:714 openrisc-asm.c:436 openrisc-asm.c:440 +#: openrisc-asm.c:527 openrisc-asm.c:628 xstormy16-asm.c:468 +#: xstormy16-asm.c:472 xstormy16-asm.c:559 xstormy16-asm.c:660 +msgid "unrecognized instruction" +msgstr "không chấp nhận câu lệnh" + +#: fr30-asm.c:554 frv-asm.c:1529 ip2k-asm.c:761 iq2000-asm.c:696 +#: m32r-asm.c:569 openrisc-asm.c:483 xstormy16-asm.c:515 +#, c-format +msgid "syntax error (expected char `%c', found `%c')" +msgstr "gặp lỗi cú pháp (ngờ ký tự `%c', còn tìm `%c')" + +#: fr30-asm.c:564 frv-asm.c:1539 ip2k-asm.c:771 iq2000-asm.c:706 +#: m32r-asm.c:579 openrisc-asm.c:493 xstormy16-asm.c:525 +#, c-format +msgid "syntax error (expected char `%c', found end of instruction)" +msgstr "gặp lỗi cú pháp (ngờ ký tự `%c', còn tìm kết thức câu lệnh)" + +#: fr30-asm.c:592 frv-asm.c:1567 ip2k-asm.c:799 iq2000-asm.c:734 +#: m32r-asm.c:607 openrisc-asm.c:521 xstormy16-asm.c:553 +msgid "junk at end of line" +msgstr "gặp rác tại kết thức dòng" + +#: fr30-asm.c:698 frv-asm.c:1673 ip2k-asm.c:905 iq2000-asm.c:840 +#: m32r-asm.c:713 openrisc-asm.c:627 xstormy16-asm.c:659 +msgid "unrecognized form of instruction" +msgstr "không chấp nhận dạng câu lệnh" + +#: fr30-asm.c:710 frv-asm.c:1685 ip2k-asm.c:917 iq2000-asm.c:852 +#: m32r-asm.c:725 openrisc-asm.c:639 xstormy16-asm.c:671 +#, c-format +msgid "bad instruction `%.50s...'" +msgstr "câu lệnh sai `%.50s'" + +#: fr30-asm.c:713 frv-asm.c:1688 ip2k-asm.c:920 iq2000-asm.c:855 +#: m32r-asm.c:728 openrisc-asm.c:642 xstormy16-asm.c:674 +#, c-format +msgid "bad instruction `%.50s'" +msgstr "câu lệnh sai `%.50s'" + +#. Default text to print if an instruction isn't recognized. +#: fr30-dis.c:41 frv-dis.c:41 ip2k-dis.c:41 iq2000-dis.c:41 m32r-dis.c:41 +#: mmix-dis.c:284 openrisc-dis.c:41 xstormy16-dis.c:41 +msgid "*unknown*" +msgstr "*không biết*" + +#: fr30-dis.c:319 frv-dis.c:410 ip2k-dis.c:313 iq2000-dis.c:191 m32r-dis.c:262 +#: openrisc-dis.c:137 xstormy16-dis.c:170 +#, c-format +msgid "Unrecognized field %d while printing insn.\n" +msgstr "Không chấp nhận trường %d trong khi in ra câu lệnh.\n" + +#: fr30-ibld.c:168 frv-ibld.c:168 ip2k-ibld.c:168 iq2000-ibld.c:168 +#: m32r-ibld.c:168 openrisc-ibld.c:168 xstormy16-ibld.c:168 +#, c-format +msgid "operand out of range (%ld not between %ld and %lu)" +msgstr "tác tử ở ngoại phạm vị (%ld không phải ở giữa %ld và %lu)" + +#: fr30-ibld.c:181 frv-ibld.c:181 ip2k-ibld.c:181 iq2000-ibld.c:181 +#: m32r-ibld.c:181 openrisc-ibld.c:181 xstormy16-ibld.c:181 +#, c-format +msgid "operand out of range (%lu not between 0 and %lu)" +msgstr "tác tử ở ngoại phạm vị (%lu không phải ở giữa 0 và %lu)" + +#: fr30-ibld.c:732 frv-ibld.c:858 ip2k-ibld.c:609 iq2000-ibld.c:715 +#: m32r-ibld.c:667 openrisc-ibld.c:635 xstormy16-ibld.c:680 +#, c-format +msgid "Unrecognized field %d while building insn.\n" +msgstr "Không chấp nhận trường %d trong khi xây dụng câu lệnh.\n" + +#: fr30-ibld.c:939 frv-ibld.c:1177 ip2k-ibld.c:686 iq2000-ibld.c:892 +#: m32r-ibld.c:806 openrisc-ibld.c:737 xstormy16-ibld.c:828 +#, c-format +msgid "Unrecognized field %d while decoding insn.\n" +msgstr "Không chấp nhận trường %d trong khi giải mã câu lệnh.\n" + +#: fr30-ibld.c:1088 frv-ibld.c:1458 ip2k-ibld.c:763 iq2000-ibld.c:1026 +#: m32r-ibld.c:922 openrisc-ibld.c:817 xstormy16-ibld.c:941 +#, c-format +msgid "Unrecognized field %d while getting int operand.\n" +msgstr "Không chấp nhận trường %d trong khi gọi tác tử số nguyên.\n" + +#: fr30-ibld.c:1217 frv-ibld.c:1719 ip2k-ibld.c:820 iq2000-ibld.c:1140 +#: m32r-ibld.c:1018 openrisc-ibld.c:877 xstormy16-ibld.c:1034 +#, c-format +msgid "Unrecognized field %d while getting vma operand.\n" +msgstr "Không chấp nhận trường %d trong khi gọi tác tử vma.\n" + +#: fr30-ibld.c:1351 frv-ibld.c:1989 ip2k-ibld.c:882 iq2000-ibld.c:1263 +#: m32r-ibld.c:1122 openrisc-ibld.c:946 xstormy16-ibld.c:1136 +#, c-format +msgid "Unrecognized field %d while setting int operand.\n" +msgstr "Không chấp nhận trường %d trong khi lập tác tử số nguyên.\n" + +#: fr30-ibld.c:1473 frv-ibld.c:2247 ip2k-ibld.c:932 iq2000-ibld.c:1374 +#: m32r-ibld.c:1214 openrisc-ibld.c:1003 xstormy16-ibld.c:1226 +#, c-format +msgid "Unrecognized field %d while setting vma operand.\n" +msgstr "Không chấp nhận trường %d trong khi lập tác tử vma.\n" + +#: frv-asm.c:978 +msgid "register number must be even" +msgstr "số thanh ghi phải là số chẵn" + +#: h8300-dis.c:358 +#, c-format +msgid "Hmmmm 0x%x" +msgstr "Ừm 0x%x" + +#: h8300-dis.c:744 +#, c-format +msgid "Don't understand 0x%x \n" +msgstr "Không hiểu 0x%x \n" + +#: h8500-dis.c:143 +#, c-format +msgid "can't cope with insert %d\n" +msgstr "không quản lý được điều chèn %d\n" + +#. Couldn't understand anything. +#: h8500-dis.c:342 +#, c-format +msgid "%02x\t\t*unknown*" +msgstr "°không biết*%02x\t\t" + +#: i386-dis.c:1733 +msgid "" +msgstr "" + +#: ia64-gen.c:297 +#, c-format +msgid "%s: Error: " +msgstr "%s: Lỗi" + +#: ia64-gen.c:310 +#, c-format +msgid "%s: Warning: " +msgstr "%s: Cảnh báo" + +#: ia64-gen.c:496 ia64-gen.c:730 +#, c-format +msgid "multiple note %s not handled\n" +msgstr "không quản lý được đa chú thích %s\n" + +#: ia64-gen.c:607 +msgid "can't find ia64-ic.tbl for reading\n" +msgstr "không tìm được ia64-ic.tbl để đọc\n" + +#: ia64-gen.c:812 +#, c-format +msgid "can't find %s for reading\n" +msgstr "không tìm được %s để đọc\n" + +#: ia64-gen.c:1036 +#, c-format +msgid "" +"most recent format '%s'\n" +"appears more restrictive than '%s'\n" +msgstr "" +"hình như dạng thức gần đây nhất '%s'\n" +"giới hạn hơn '%s'\n" + +#: ia64-gen.c:1047 +#, c-format +msgid "overlapping field %s->%s\n" +msgstr "trường chồng lấp %s->%s\n" + +#: ia64-gen.c:1244 +#, c-format +msgid "overwriting note %d with note %d (IC:%s)\n" +msgstr "đang ghi đề chú thích %d với chú thích %d (IC:%s)\n" + +#: ia64-gen.c:1443 +#, c-format +msgid "don't know how to specify %% dependency %s\n" +msgstr "không biết cách ghi rõ %% dạng phụ thuộc %s\n" + +#: ia64-gen.c:1465 +#, c-format +msgid "Don't know how to specify # dependency %s\n" +msgstr "Không biết cách ghi rõ # dạng phụ thuộc %s\n" + +#: ia64-gen.c:1504 +#, c-format +msgid "IC:%s [%s] has no terminals or sub-classes\n" +msgstr "IC:%s [%s] không có điều mở rộng hoàn thành hay hạng con nào\n" + +#: ia64-gen.c:1507 +#, c-format +msgid "IC:%s has no terminals or sub-classes\n" +msgstr "IC:%s không có điều mở rộng hoàn thành hay hạng con nào\n" + +#: ia64-gen.c:1516 +#, c-format +msgid "no insns mapped directly to terminal IC %s [%s]" +msgstr "không ảnh xạ câu lệnh nào trực tiếp vào IC mở rộng hoàn thành %s [%s]" + +#: ia64-gen.c:1519 +#, c-format +msgid "no insns mapped directly to terminal IC %s\n" +msgstr "không ảnh xạ câu lệnh nào trực tiếp vào IC mở rộng hoàn thành %s\n" + +#: ia64-gen.c:1530 +#, c-format +msgid "class %s is defined but not used\n" +msgstr "đã định nghĩa còn chưa sử dụng hạng %s\n" + +#: ia64-gen.c:1541 +#, c-format +msgid "Warning: rsrc %s (%s) has no chks%s\n" +msgstr "Cảnh báo: tài nguyên %s (%s) không có cản trở %s\n" + +#: ia64-gen.c:1545 +#, c-format +msgid "rsrc %s (%s) has no regs\n" +msgstr "Tài nguyên %s (%s) không có tàì nguyên con\n" + +#: ia64-gen.c:2444 +#, c-format +msgid "IC note %d in opcode %s (IC:%s) conflicts with resource %s note %d\n" +msgstr "Chú thích IC %d trong opcode (mã thi hành) %s (IC:%s) thì xung đột với tài nguyên %s chú thích %d\n" + +#: ia64-gen.c:2472 +#, c-format +msgid "IC note %d for opcode %s (IC:%s) conflicts with resource %s note %d\n" +msgstr "Chú thích IC %d cho opcode (mã thi hành) %s (IC:%s) thì xung đột với tài nguyên %s chú thích %d\n" + +#: ia64-gen.c:2486 +#, c-format +msgid "opcode %s has no class (ops %d %d %d)\n" +msgstr "opcode (mã thi hành) %s không có hạng (những tác tử %d %d %d)\n" + +#: ia64-gen.c:2816 +#, c-format +msgid "unable to change directory to \"%s\", errno = %s\n" +msgstr "không thay đổi được thư mục thành \"%s\", số lỗi = %s\n" + +#. We've been passed a w. Return with an error message so that +#. cgen will try the next parsing option. +#: ip2k-asm.c:92 +msgid "W keyword invalid in FR operand slot." +msgstr "Tử khóa W không hợp lệ trong vị trí tác tử FR." + +#. Invalid offset present. +#: ip2k-asm.c:117 +msgid "offset(IP) is not a valid form" +msgstr "offset(IP) (hiệu số) không là dạng hợp lệ" + +#. Found something there in front of (DP) but it's out +#. of range. +#: ip2k-asm.c:165 +msgid "(DP) offset out of range." +msgstr "(DP) hiệu số ở ngoại phạm vị." + +#. Found something there in front of (SP) but it's out +#. of range. +#: ip2k-asm.c:206 +msgid "(SP) offset out of range." +msgstr "(SP) hiệu số ở ngoại phạm vị." + +#: ip2k-asm.c:222 +msgid "illegal use of parentheses" +msgstr "không cho phép cách sử dụng ngoặc" + +#: ip2k-asm.c:229 +msgid "operand out of range (not between 1 and 255)" +msgstr "tác tử ở ngoại phạm vị (không phải ở giữa số 1 và số 255)" + +#. Something is very wrong. opindex has to be one of the above. +#: ip2k-asm.c:254 +msgid "parse_addr16: invalid opindex." +msgstr "parse_addr16: (địa chỉ phân tách) opindex (chỉ mục loại tác tử) không hợp lệ." + +#: ip2k-asm.c:309 +msgid "Byte address required. - must be even." +msgstr "Cần đến địa chỉ byte - phải là số chẵn." + +#: ip2k-asm.c:318 +msgid "cgen_parse_address returned a symbol. Literal required." +msgstr "cgen_parse_address (địa chỉ phân tách cgen) đã gọi một ký hiệu: còn cần đến hằng mã nguồn." + +#: ip2k-asm.c:376 +#, fuzzy, c-format +msgid "%operator operand is not a symbol" +msgstr "%toán tử tác tử không phải là một ký hiệu" + +#: ip2k-asm.c:430 +msgid "Attempt to find bit index of 0" +msgstr "Cố tìm ra chỉ mục bit của số 0" + +#: iq2000-asm.c:115 iq2000-asm.c:146 +msgid "immediate value cannot be register" +msgstr "giá trị trực tiếp không thể là thanh ghi" + +#: iq2000-asm.c:126 iq2000-asm.c:156 +msgid "immediate value out of range" +msgstr "giá trị trực tiếp ở ngoại pham vị" + +#: iq2000-asm.c:185 +msgid "21-bit offset out of range" +msgstr "hiệu số 21-bit ở ngoại phạm vị" + +#: iq2000-asm.c:210 iq2000-asm.c:240 iq2000-asm.c:277 iq2000-asm.c:310 +#: openrisc-asm.c:90 openrisc-asm.c:144 +msgid "missing `)'" +msgstr "thiếu `)'" + +#: m10200-dis.c:199 +#, c-format +msgid "unknown\t0x%02x" +msgstr "không biết\t0x%02x" + +#: m10200-dis.c:339 +#, c-format +msgid "unknown\t0x%04lx" +msgstr "không biết\t0x%04lx" + +#: m10300-dis.c:767 +#, c-format +msgid "unknown\t0x%04x" +msgstr "không biết\t0x%04x" + +#: m68k-dis.c:295 +#, c-format +msgid "\n" +msgstr "\n" + +#: m68k-dis.c:1089 +#, c-format +msgid "" +msgstr "" + +#: m88k-dis.c:746 +#, c-format +msgid "# " +msgstr "# " + +#: mips-dis.c:720 +msgid "# internal error, incomplete extension sequence (+)" +msgstr "# lỗi nội bộ, dãy mở rộng chưa hoàn thành (+)" + +#: mips-dis.c:779 +#, c-format +msgid "# internal error, undefined extension sequence (+%c)" +msgstr "# lỗi nội bộ, chưa định nghĩa dãy mở rộng (+%c)" + +#: mips-dis.c:1037 +#, c-format +msgid "# internal error, undefined modifier(%c)" +msgstr "# lỗi nội bộ, chưa định nghĩa điều sửa đổi(%c)" + +#: mips-dis.c:1793 +#, c-format +msgid "# internal disassembler error, unrecognised modifier (%c)" +msgstr "# lỗi rã nội bộ, không chấp nhận điều sửa đổi (%c)" + +#: mips-dis.c:1805 +#, c-format +msgid "" +"\n" +"The following MIPS specific disassembler options are supported for use\n" +"with the -M switch (multiple options should be separated by commas):\n" +msgstr "" +"\n" +"Hỗ trợ sử dụng những tùy chọn rã đặc trưng cho MIPS theo đây\n" +"với đối số -M (hãy phân cách nhiều tùy chọn bằng dấu phẩy):\n" + +#: mips-dis.c:1809 +#, c-format +msgid "" +"\n" +" gpr-names=ABI Print GPR names according to specified ABI.\n" +" Default: based on binary being disassembled.\n" +msgstr "" +"\n" +" gpr-names=ABI In ra các _tên GPR_ theo ABI được ghi rõ.\n" +" Mặc định: trên cơ sở mã nhi phân đang bị rã\n" + +#: mips-dis.c:1813 +#, c-format +msgid "" +"\n" +" fpr-names=ABI Print FPR names according to specified ABI.\n" +" Default: numeric.\n" +msgstr "" +"\n" +" fpr-names=ABI In ra các _tên FPR_ theo ABI được ghi rõ..\n" +" Mặc định: dạng số\n" + +#: mips-dis.c:1817 +#, c-format +msgid "" +"\n" +" cp0-names=ARCH Print CP0 register names according to\n" +" specified architecture.\n" +" Default: based on binary being disassembled.\n" +msgstr "" +"\n" +" cp0-names=ARCH In ra các _tên CP0_ theo kiến trức được ghi rõ\n" +" Mặc định: trên cơ sở mã nhi phân đang bị rã.\n" + +#: mips-dis.c:1822 +#, c-format +msgid "" +"\n" +" hwr-names=ARCH Print HWR names according to specified \n" +"\t\t\t architecture.\n" +" Default: based on binary being disassembled.\n" +msgstr "" +"\n" +" hwr-names=ARCH In ra các _tên HWR_ theo kiến trức \t\t\t được ghi rõ.\n" +" Mặc định: trên cơ sở mã nhi phân đang bị rã.\n" + +#: mips-dis.c:1827 +#, c-format +msgid "" +"\n" +" reg-names=ABI Print GPR and FPR names according to\n" +" specified ABI.\n" +msgstr "" +"\n" +" reg-names=ABI In ra các _tên_ cả hai loại GPR và FPR theo ABI được ghi rõ.\n" + +#: mips-dis.c:1831 +#, c-format +msgid "" +"\n" +" reg-names=ARCH Print CP0 register and HWR names according to\n" +" specified architecture.\n" +msgstr "" +"\n" +" reg-names=ARCH In ra các _tên_ HWR và thanh ghi CP0 theo\n" +"\t\t\t\t\t\tkiến trức đươc ghi rõ.\n" + +#: mips-dis.c:1835 +#, c-format +msgid "" +"\n" +" For the options above, the following values are supported for \"ABI\":\n" +" " +msgstr "" +"\n" +" Với những tùy chọn ở trên, hỗ trợ những giá trị theo đây cho \"ABI\":\n" +" " + +#: mips-dis.c:1840 mips-dis.c:1848 mips-dis.c:1850 +#, c-format +msgid "\n" +msgstr "\n" + +#: mips-dis.c:1842 +#, c-format +msgid "" +"\n" +" For the options above, The following values are supported for \"ARCH\":\n" +" " +msgstr "" +"\n" +" Với những tùy chọn ở trên, hỗ trợ những giá trị theo đây cho \"ARCH\":\n" +" " + +#: mmix-dis.c:34 +#, c-format +msgid "Bad case %d (%s) in %s:%d\n" +msgstr "Trường hợp sai %d (%s) trong %s:%d\n" + +#: mmix-dis.c:44 +#, c-format +msgid "Internal: Non-debugged code (test-case missing): %s:%d" +msgstr "Nội bộ: chưa gỡ lỗi mã (thiếu trường hợp thử): %s:%d" + +#: mmix-dis.c:53 +msgid "(unknown)" +msgstr "(không biết)" + +#: mmix-dis.c:519 +#, c-format +msgid "*unknown operands type: %d*" +msgstr "*không biết loại tác tử: %d*" + +#. I and Z are output operands and can`t be immediate +#. * A is an address and we can`t have the address of +#. * an immediate either. We don't know how much to increase +#. * aoffsetp by since whatever generated this is broken +#. * anyway! +#. +#: ns32k-dis.c:631 +#, c-format +msgid "$" +msgstr "$" + +#: ppc-opc.c:794 ppc-opc.c:822 +msgid "invalid conditional option" +msgstr "tùy chọn thuộc điều kiện không hợp lệ" + +#: ppc-opc.c:824 +msgid "attempt to set y bit when using + or - modifier" +msgstr "cố lập «bit y» khi sử dụng điều sửa đổi + hay -" + +#: ppc-opc.c:852 +msgid "offset not a multiple of 16" +msgstr "hiệu số không phải là bội số cho 16" + +#: ppc-opc.c:871 +msgid "offset not a multiple of 2" +msgstr "hiệu số không phải là bội số cho 2" + +#: ppc-opc.c:873 +msgid "offset greater than 62" +msgstr "hiệu số hơn 62" + +#: ppc-opc.c:892 ppc-opc.c:937 ppc-opc.c:981 +msgid "offset not a multiple of 4" +msgstr "hiệu số không phải là bội số cho 4" + +#: ppc-opc.c:894 +msgid "offset greater than 124" +msgstr "hiệu số hơn 124" + +#: ppc-opc.c:913 +msgid "offset not a multiple of 8" +msgstr "hiệu số không phải là bội số cho 8" + +#: ppc-opc.c:915 +msgid "offset greater than 248" +msgstr "hiệu số hơn 248" + +#: ppc-opc.c:958 +msgid "offset not between -2048 and 2047" +msgstr "hiệu số không phải ở giữa -2048 và 2047" + +#: ppc-opc.c:979 +msgid "offset not between -8192 and 8191" +msgstr "hiệu số không phải ở giữa -8192 và 8191" + +#: ppc-opc.c:1007 +msgid "invalid mask field" +msgstr "trường mặt nạ không hợp lệ" + +#: ppc-opc.c:1033 +msgid "ignoring invalid mfcr mask" +msgstr "đang bỏ qua mặt nạ mfcr không hợp lệ" + +#: ppc-opc.c:1075 +msgid "ignoring least significant bits in branch offset" +msgstr "đang bỏ qua các bit trọng đai ít nhất trong hiệu số cành" + +#: ppc-opc.c:1105 ppc-opc.c:1140 +msgid "illegal bitmask" +msgstr "không cho phép mặt nặ bit" + +#: ppc-opc.c:1205 +msgid "value out of range" +msgstr "giá trị cành ở ngoại phạm vị" + +#: ppc-opc.c:1273 +msgid "index register in load range" +msgstr "thanh ghi cơ số trong phạm vị nạp" + +#: ppc-opc.c:1289 +msgid "source and target register operands must be different" +msgstr "tác tử thanh ghi cả hai loại nguồn và đích đều phải là khác nhau" + +#: ppc-opc.c:1304 +msgid "invalid register operand when updating" +msgstr "gặp tác tử thanh ghi không hợp lệ khi cập nhật" + +#: ppc-opc.c:1343 +msgid "target register operand must be even" +msgstr "tác tử thanh ghi đích phải là số chẵn" + +#: ppc-opc.c:1357 +msgid "source register operand must be even" +msgstr "tác tử thanh ghi nguồn phải là số chẵn" + +#. Mark as non-valid instruction. +#: sparc-dis.c:760 +msgid "unknown" +msgstr "không biết" + +#: sparc-dis.c:835 +#, c-format +msgid "Internal error: bad sparc-opcode.h: \"%s\", %#.8lx, %#.8lx\n" +msgstr "Lỗi nội bộ: sparc-opcode.h sai: \"%s\", %#.8lx, %#.8lx\n" + +#: sparc-dis.c:846 +#, c-format +msgid "Internal error: bad sparc-opcode.h: \"%s\", %#.8lx, %#.8lx\n" +msgstr "Lỗi nội bộ: sparc-opcode.h sai: \"%s\", %#.8lx, %#.8lx\n" + +#: sparc-dis.c:895 +#, c-format +msgid "Internal error: bad sparc-opcode.h: \"%s\" == \"%s\"\n" +msgstr "Lỗi nội bộ: sparc-opcode.h sai: \"%s\" == \"%s\"\n" + +#: v850-dis.c:225 +#, c-format +msgid "unknown operand shift: %x\n" +msgstr "không biết phím shift (bên trái hay bên phải) của tác tử: %x\n" + +#: v850-dis.c:237 +#, c-format +msgid "unknown pop reg: %d\n" +msgstr "không biết thanh ghi trong câu lệnh pop đống: %d\n" + +#. The functions used to insert and extract complicated operands. +#. Note: There is a conspiracy between these functions and +#. v850_insert_operand() in gas/config/tc-v850.c. Error messages +#. containing the string 'out of range' will be ignored unless a +#. specific command line option is given to GAS. +#: v850-opc.c:69 +msgid "displacement value is not in range and is not aligned" +msgstr "giá trị di chuyển ở ngoại phạm vị và chưa canh lề nó" + +#: v850-opc.c:70 +msgid "displacement value is out of range" +msgstr "giá trị di chuyển ở ngoại phạm vị" + +#: v850-opc.c:71 +msgid "displacement value is not aligned" +msgstr "chưa canh lề giá trị di chuyển" + +#: v850-opc.c:73 +msgid "immediate value is out of range" +msgstr "giá trị trực tiếp ở ngoại phạm vị" + +#: v850-opc.c:84 +msgid "branch value not in range and to odd offset" +msgstr "giá trị cành ở ngoại phạm vị và với hiệu số lẻ" + +#: v850-opc.c:86 v850-opc.c:118 +msgid "branch value out of range" +msgstr "giá trị cành ở ngoại phạm vị" + +#: v850-opc.c:89 v850-opc.c:121 +msgid "branch to odd offset" +msgstr "nhánh với hiệu số lẻ" + +#: v850-opc.c:116 +msgid "branch value not in range and to an odd offset" +msgstr "giá trị nhánh ở ngoại phạm vị và với hiệu số lẻ" + +#: v850-opc.c:347 +msgid "invalid register for stack adjustment" +msgstr "thanh ghi không hợp lệ để điều chỉnh đống" + +#: v850-opc.c:371 +msgid "immediate value not in range and not even" +msgstr "giá trị trực tiếp ở ngoạị phạm vị và không là số chẵn" + +#: v850-opc.c:376 +msgid "immediate value must be even" +msgstr "giá trị trực tiếp phải là số chẵn" + +#: xstormy16-asm.c:76 +msgid "Bad register in preincrement" +msgstr "Thanh ghi sai trong điều trước lượng gia" + +#: xstormy16-asm.c:81 +msgid "Bad register in postincrement" +msgstr "Thanh ghi sai trong điều sau lượng gia" + +#: xstormy16-asm.c:83 +msgid "Bad register name" +msgstr "Tên thanh ghi sai" + +#: xstormy16-asm.c:87 +msgid "Label conflicts with register name" +msgstr "Nhãn xung đột với tên thanh ghi" + +#: xstormy16-asm.c:91 +msgid "Label conflicts with `Rx'" +msgstr "Nhãn xung đột với `Rx'" + +#: xstormy16-asm.c:93 +msgid "Bad immediate expression" +msgstr "Biểu thức trực tiếp sai" + +#: xstormy16-asm.c:115 +msgid "No relocation for small immediate" +msgstr "Không có điều bố trí lại số nhỏ trực tiếp" + +#: xstormy16-asm.c:125 +msgid "Small operand was not an immediate number" +msgstr "Tác tử nhỏ không phải đã là số trực tiếp" + +#: xstormy16-asm.c:164 +msgid "Operand is not a symbol" +msgstr "Tác tử không phải là một ký hiệu" + +#: xstormy16-asm.c:172 +msgid "Syntax error: No trailing ')'" +msgstr "Lỗi cú pháp: không có ')' đi theo" diff -uprN binutils-2.16.90.0.2/opcodes/ppc-dis.c binutils-2.16.90.0.3/opcodes/ppc-dis.c --- binutils-2.16.90.0.2/opcodes/ppc-dis.c 2005-04-09 12:03:36.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/ppc-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -17,7 +17,7 @@ the GNU General Public License for more You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/opcodes/ppc-opc.c binutils-2.16.90.0.3/opcodes/ppc-opc.c --- binutils-2.16.90.0.2/opcodes/ppc-opc.c 2005-04-29 10:50:31.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/ppc-opc.c 2005-05-10 15:46:54.000000000 -0700 @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/opcodes/s390-dis.c binutils-2.16.90.0.3/opcodes/s390-dis.c --- binutils-2.16.90.0.2/opcodes/s390-dis.c 2005-04-09 12:03:36.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/s390-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include #include "ansidecl.h" diff -uprN binutils-2.16.90.0.2/opcodes/s390-mkopc.c binutils-2.16.90.0.3/opcodes/s390-mkopc.c --- binutils-2.16.90.0.2/opcodes/s390-mkopc.c 2005-04-09 12:03:36.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/s390-mkopc.c 2005-05-10 15:46:54.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include #include diff -uprN binutils-2.16.90.0.2/opcodes/s390-opc.c binutils-2.16.90.0.3/opcodes/s390-opc.c --- binutils-2.16.90.0.2/opcodes/s390-opc.c 2005-04-09 12:03:36.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/s390-opc.c 2005-05-10 15:46:54.000000000 -0700 @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include #include "ansidecl.h" diff -uprN binutils-2.16.90.0.2/opcodes/sh64-dis.c binutils-2.16.90.0.3/opcodes/sh64-dis.c --- binutils-2.16.90.0.2/opcodes/sh64-dis.c 2003-03-19 09:19:17.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/sh64-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -13,7 +13,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include diff -uprN binutils-2.16.90.0.2/opcodes/sh64-opc.c binutils-2.16.90.0.3/opcodes/sh64-opc.c --- binutils-2.16.90.0.2/opcodes/sh64-opc.c 2005-04-09 12:03:36.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/sh64-opc.c 2005-05-10 15:46:54.000000000 -0700 @@ -13,7 +13,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "sh64-opc.h" #include diff -uprN binutils-2.16.90.0.2/opcodes/sh64-opc.h binutils-2.16.90.0.3/opcodes/sh64-opc.h --- binutils-2.16.90.0.2/opcodes/sh64-opc.h 2005-04-09 12:03:36.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/sh64-opc.h 2005-05-10 15:46:54.000000000 -0700 @@ -13,7 +13,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _SH64_OPC_INCLUDED_H #define _SH64_OPC_INCLUDED_H diff -uprN binutils-2.16.90.0.2/opcodes/sh-dis.c binutils-2.16.90.0.3/opcodes/sh-dis.c --- binutils-2.16.90.0.2/opcodes/sh-dis.c 2004-09-15 12:05:05.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/sh-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/opcodes/sh-opc.h binutils-2.16.90.0.3/opcodes/sh-opc.h --- binutils-2.16.90.0.2/opcodes/sh-opc.h 2005-04-09 12:03:36.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/sh-opc.h 2005-05-10 15:46:54.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" diff -uprN binutils-2.16.90.0.2/opcodes/sparc-dis.c binutils-2.16.90.0.3/opcodes/sparc-dis.c --- binutils-2.16.90.0.2/opcodes/sparc-dis.c 2004-04-12 12:56:38.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/sparc-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include diff -uprN binutils-2.16.90.0.2/opcodes/sparc-opc.c binutils-2.16.90.0.3/opcodes/sparc-opc.c --- binutils-2.16.90.0.2/opcodes/sparc-opc.c 2004-05-27 11:26:07.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/sparc-opc.c 2005-05-10 15:46:54.000000000 -0700 @@ -17,8 +17,8 @@ for more details. You should have received a copy of the GNU General Public License along with this software; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ +the Free Software Foundation, 51 Franklin Street - Fifth Floor, +Boston, MA 02110-1301, USA. */ /* FIXME-someday: perhaps the ,a's and such should be embedded in the instruction's name rather than the args. This would make gas faster, pinsn diff -uprN binutils-2.16.90.0.2/opcodes/sysdep.h binutils-2.16.90.0.3/opcodes/sysdep.h --- binutils-2.16.90.0.2/opcodes/sysdep.h 2001-03-15 14:52:15.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/sysdep.h 2005-05-10 15:46:54.000000000 -0700 @@ -16,7 +16,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* Do system-dependent stuff, mainly driven by autoconf-detected info. diff -uprN binutils-2.16.90.0.2/opcodes/tic30-dis.c binutils-2.16.90.0.3/opcodes/tic30-dis.c --- binutils-2.16.90.0.2/opcodes/tic30-dis.c 2002-12-16 12:22:53.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/tic30-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -14,8 +14,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include #include diff -uprN binutils-2.16.90.0.2/opcodes/tic4x-dis.c binutils-2.16.90.0.3/opcodes/tic4x-dis.c --- binutils-2.16.90.0.2/opcodes/tic4x-dis.c 2003-05-05 14:46:51.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/tic4x-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include "libiberty.h" diff -uprN binutils-2.16.90.0.2/opcodes/tic54x-dis.c binutils-2.16.90.0.3/opcodes/tic54x-dis.c --- binutils-2.16.90.0.2/opcodes/tic54x-dis.c 2001-11-16 14:05:55.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/tic54x-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -14,8 +14,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include #include diff -uprN binutils-2.16.90.0.2/opcodes/tic54x-opc.c binutils-2.16.90.0.3/opcodes/tic54x-opc.c --- binutils-2.16.90.0.2/opcodes/tic54x-opc.c 2001-11-16 14:05:55.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/tic54x-opc.c 2005-05-10 15:46:54.000000000 -0700 @@ -14,8 +14,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "sysdep.h" #include "dis-asm.h" diff -uprN binutils-2.16.90.0.2/opcodes/tic80-dis.c binutils-2.16.90.0.3/opcodes/tic80-dis.c --- binutils-2.16.90.0.2/opcodes/tic80-dis.c 2001-03-15 14:52:15.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/tic80-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -13,7 +13,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include diff -uprN binutils-2.16.90.0.2/opcodes/tic80-opc.c binutils-2.16.90.0.3/opcodes/tic80-opc.c --- binutils-2.16.90.0.2/opcodes/tic80-opc.c 2001-03-15 14:52:15.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/tic80-opc.c 2005-05-10 15:46:54.000000000 -0700 @@ -15,8 +15,8 @@ the GNU General Public License for more You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ +Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA +02110-1301, USA. */ #include #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/opcodes/v850-dis.c binutils-2.16.90.0.3/opcodes/v850-dis.c --- binutils-2.16.90.0.2/opcodes/v850-dis.c 2004-01-14 13:07:55.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/v850-dis.c 2005-05-10 15:46:54.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include diff -uprN binutils-2.16.90.0.2/opcodes/v850-opc.c binutils-2.16.90.0.3/opcodes/v850-opc.c --- binutils-2.16.90.0.2/opcodes/v850-opc.c 2005-04-09 12:03:36.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/v850-opc.c 2005-05-10 15:46:55.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "sysdep.h" #include "opcode/v850.h" diff -uprN binutils-2.16.90.0.2/opcodes/vax-dis.c binutils-2.16.90.0.3/opcodes/vax-dis.c --- binutils-2.16.90.0.2/opcodes/vax-dis.c 2005-04-09 12:03:36.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/vax-dis.c 2005-05-10 15:46:55.000000000 -0700 @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include diff -uprN binutils-2.16.90.0.2/opcodes/w65-dis.c binutils-2.16.90.0.3/opcodes/w65-dis.c --- binutils-2.16.90.0.2/opcodes/w65-dis.c 2005-04-09 12:03:36.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/w65-dis.c 2005-05-10 15:46:55.000000000 -0700 @@ -14,7 +14,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/opcodes/w65-opc.h binutils-2.16.90.0.3/opcodes/w65-opc.h --- binutils-2.16.90.0.2/opcodes/w65-opc.h 2005-04-09 12:03:36.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/w65-opc.h 2005-05-10 15:46:55.000000000 -0700 @@ -17,7 +17,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/xstormy16-asm.c binutils-2.16.90.0.3/opcodes/xstormy16-asm.c --- binutils-2.16.90.0.2/opcodes/xstormy16-asm.c 2005-04-09 12:03:36.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/xstormy16-asm.c 2005-05-10 15:46:55.000000000 -0700 @@ -20,7 +20,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* ??? Eventually more and more of this stuff can go to cpu-independent files. Keep that in mind. */ diff -uprN binutils-2.16.90.0.2/opcodes/xstormy16-desc.c binutils-2.16.90.0.3/opcodes/xstormy16-desc.c --- binutils-2.16.90.0.2/opcodes/xstormy16-desc.c 2005-04-09 12:03:36.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/xstormy16-desc.c 2005-05-10 15:46:55.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/xstormy16-desc.h binutils-2.16.90.0.3/opcodes/xstormy16-desc.h --- binutils-2.16.90.0.2/opcodes/xstormy16-desc.h 2005-04-09 12:03:36.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/xstormy16-desc.h 2005-05-10 15:46:55.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/xstormy16-dis.c binutils-2.16.90.0.3/opcodes/xstormy16-dis.c --- binutils-2.16.90.0.2/opcodes/xstormy16-dis.c 2005-04-09 12:03:36.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/xstormy16-dis.c 2005-05-10 15:46:55.000000000 -0700 @@ -21,7 +21,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* ??? Eventually more and more of this stuff can go to cpu-independent files. Keep that in mind. */ diff -uprN binutils-2.16.90.0.2/opcodes/xstormy16-ibld.c binutils-2.16.90.0.3/opcodes/xstormy16-ibld.c --- binutils-2.16.90.0.2/opcodes/xstormy16-ibld.c 2004-01-14 13:07:55.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/xstormy16-ibld.c 2005-05-10 15:46:55.000000000 -0700 @@ -19,7 +19,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* ??? Eventually more and more of this stuff can go to cpu-independent files. Keep that in mind. */ diff -uprN binutils-2.16.90.0.2/opcodes/xstormy16-opc.c binutils-2.16.90.0.3/opcodes/xstormy16-opc.c --- binutils-2.16.90.0.2/opcodes/xstormy16-opc.c 2005-04-09 12:03:36.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/xstormy16-opc.c 2005-05-10 15:46:55.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/xstormy16-opc.h binutils-2.16.90.0.3/opcodes/xstormy16-opc.h --- binutils-2.16.90.0.2/opcodes/xstormy16-opc.h 2005-04-09 12:03:36.000000000 -0700 +++ binutils-2.16.90.0.3/opcodes/xstormy16-opc.h 2005-05-10 15:46:55.000000000 -0700 @@ -18,7 +18,7 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., -59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ diff -uprN binutils-2.16.90.0.2/opcodes/xtensa-dis.c binutils-2.16.90.0.3/opcodes/xtensa-dis.c --- binutils-2.16.90.0.2/opcodes/xtensa-dis.c 2004-11-22 12:33:34.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/xtensa-dis.c 2005-05-10 15:46:55.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include diff -uprN binutils-2.16.90.0.2/opcodes/z8k-dis.c binutils-2.16.90.0.3/opcodes/z8k-dis.c --- binutils-2.16.90.0.2/opcodes/z8k-dis.c 2004-01-14 13:07:55.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/z8k-dis.c 2005-05-10 15:46:55.000000000 -0700 @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "sysdep.h" diff -uprN binutils-2.16.90.0.2/opcodes/z8kgen.c binutils-2.16.90.0.3/opcodes/z8kgen.c --- binutils-2.16.90.0.2/opcodes/z8kgen.c 2004-01-14 13:07:55.000000000 -0800 +++ binutils-2.16.90.0.3/opcodes/z8kgen.c 2005-05-10 15:46:55.000000000 -0700 @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ /* This program generates z8k-opc.h. Compile with -fwritable-strings. */