From 866f48b717574d0bcf220751e0626e60432eb207 Mon Sep 17 00:00:00 2001 From: Kaz Kojima Date: Sat, 2 Aug 2003 13:46:44 +0000 Subject: * elf32-sh.c (sh_elf_check_relocs): Don't set DF_TEXTREL here. * ld-sh/shared-2.d, ld-sh/textrel1.s, ld-sh/textrel2.s: New test. --- bfd/ChangeLog | 4 ++++ bfd/elf32-sh.c | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'bfd') diff --git a/bfd/ChangeLog b/bfd/ChangeLog index cf9c453..1b4b2cc 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2003-08-02 Kaz Kojima + + * elf32-sh.c (sh_elf_check_relocs): Don't set DF_TEXTREL here. + 2003-08-01 H.J. Lu * elfxx-ia64.c (get_got): Align the .got section at 8 bytes. diff --git a/bfd/elf32-sh.c b/bfd/elf32-sh.c index 39fb14c..5417865 100644 --- a/bfd/elf32-sh.c +++ b/bfd/elf32-sh.c @@ -6497,8 +6497,6 @@ sh_elf_check_relocs (bfd *abfd, struct bfd_link_info *info, asection *sec, sreloc, 2)) return FALSE; } - if (sec->flags & SEC_READONLY) - info->flags |= DF_TEXTREL; elf_section_data (sec)->sreloc = sreloc; } -- cgit v1.1