* aoutx.h (NAME(aout,new_section_hook)): Don't set N_EXT in target

index.
This commit is contained in:
Ian Lance Taylor 1994-04-08 16:24:01 +00:00
parent 376f8f6844
commit e48f985cd2
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
Fri Apr 8 12:22:02 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* aoutx.h (NAME(aout,new_section_hook)): Don't set N_EXT in target
index.
Wed Apr 6 20:44:56 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* config.bfd, configure.host: Add mips-*-sysv4* support.

View file

@ -989,19 +989,19 @@ NAME(aout,new_section_hook) (abfd, newsect)
{
if (obj_textsec(abfd) == NULL && !strcmp(newsect->name, ".text")) {
obj_textsec(abfd)= newsect;
newsect->target_index = N_TEXT | N_EXT;
newsect->target_index = N_TEXT;
return true;
}
if (obj_datasec(abfd) == NULL && !strcmp(newsect->name, ".data")) {
obj_datasec(abfd) = newsect;
newsect->target_index = N_DATA | N_EXT;
newsect->target_index = N_DATA;
return true;
}
if (obj_bsssec(abfd) == NULL && !strcmp(newsect->name, ".bss")) {
obj_bsssec(abfd) = newsect;
newsect->target_index = N_BSS | N_EXT;
newsect->target_index = N_BSS;
return true;
}