diff options
author | Steve Chamberlain <steve@cygnus> | 1991-05-08 19:21:48 +0000 |
---|---|---|
committer | Steve Chamberlain <steve@cygnus> | 1991-05-08 19:21:48 +0000 |
commit | d0ec7a8ee45ad23107d26161b3499d33b99922a6 (patch) | |
tree | 297883f2c1184ec84635db108472d0587c46576d /bfd/aout.c | |
parent | a5c6b4b3b58effba6d4a89c71bf32c8daca005c6 (diff) | |
download | gdb-d0ec7a8ee45ad23107d26161b3499d33b99922a6.zip gdb-d0ec7a8ee45ad23107d26161b3499d33b99922a6.tar.gz gdb-d0ec7a8ee45ad23107d26161b3499d33b99922a6.tar.bz2 |
Various portability lints.
Fixed reloc bug in ieee and oasys.
Diffstat (limited to 'bfd/aout.c')
-rwxr-xr-x | bfd/aout.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1273,7 +1273,9 @@ swap_std_reloc_out (abfd, g, natptr) else { r_extern = 0; if (g->section == NULL) { - BFD_ASSERT(0); + /* It is possible to have a reloc with nothing, we generate an + abs + 0 */ + r_addend = 0; r_index = N_ABS | N_EXT; } else if(g->section->output_section == obj_textsec(abfd)) { |