diff options
author | Kaz Kojima <kkojima@rr.iij4u.or.jp> | 2003-08-02 13:46:44 +0000 |
---|---|---|
committer | Kaz Kojima <kkojima@rr.iij4u.or.jp> | 2003-08-02 13:46:44 +0000 |
commit | 866f48b717574d0bcf220751e0626e60432eb207 (patch) | |
tree | db11ff4d401f4e8c8627d178079d457b96b820f1 /bfd | |
parent | edf6a2322f3685e9e4ad54c5682e377553ef9c86 (diff) | |
download | gdb-866f48b717574d0bcf220751e0626e60432eb207.zip gdb-866f48b717574d0bcf220751e0626e60432eb207.tar.gz gdb-866f48b717574d0bcf220751e0626e60432eb207.tar.bz2 |
* 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.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/elf32-sh.c | 2 |
2 files changed, 4 insertions, 2 deletions
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 <kkojima@rr.iij4u.or.jp> + + * elf32-sh.c (sh_elf_check_relocs): Don't set DF_TEXTREL here. + 2003-08-01 H.J. Lu <hongjiu.lu@intel.com> * 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; } |