aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-04-08 16:24:01 +0000
committerIan Lance Taylor <ian@airs.com>1994-04-08 16:24:01 +0000
commite48f985cd2daae5674391935a16ad687e21ecab6 (patch)
tree643db131ac5a21d031717d1d9ed0bb3612c723b8
parent376f8f6844b619ea35cd61c5241f74011d075ef6 (diff)
downloadgdb-e48f985cd2daae5674391935a16ad687e21ecab6.zip
gdb-e48f985cd2daae5674391935a16ad687e21ecab6.tar.gz
gdb-e48f985cd2daae5674391935a16ad687e21ecab6.tar.bz2
* aoutx.h (NAME(aout,new_section_hook)): Don't set N_EXT in target
index.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/aoutx.h6
2 files changed, 8 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index a98c5b7..1d9023c 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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.
diff --git a/bfd/aoutx.h b/bfd/aoutx.h
index ec5780f..ca56a50 100644
--- a/bfd/aoutx.h
+++ b/bfd/aoutx.h
@@ -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;
}