aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-01-08 19:39:50 +0000
committerSteve Chamberlain <sac@cygnus>1992-01-08 19:39:50 +0000
commit32e4477444e71291d94bab804c899652510e583f (patch)
tree0b1d64f8cfb522a95cac5361ad2bec4b1ec599e9 /gas/config
parent3fb965c44e9a31e3d1a477e8640b206b47567ea4 (diff)
downloadgdb-32e4477444e71291d94bab804c899652510e583f.zip
gdb-32e4477444e71291d94bab804c899652510e583f.tar.gz
gdb-32e4477444e71291d94bab804c899652510e583f.tar.bz2
* config/obj-coffbfd.c: lint
* config/tc-h8300.c, config/tc-h8300.h: Too Many bug fixes * config/tc-m68k.h, config/tc-sparc.h: Override default listing options to give better effect.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/obj-coffbfd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gas/config/obj-coffbfd.c b/gas/config/obj-coffbfd.c
index 9847d46..07ec33b 100644
--- a/gas/config/obj-coffbfd.c
+++ b/gas/config/obj-coffbfd.c
@@ -227,7 +227,7 @@ seg_info_type seg_info_off_by_4[N_SEG] =
#define SEG_INFO_FROM_SEG_NUMBER(x) (seg_info_off_by_4[(x)])
-static relax_addressT
+ relax_addressT
DEFUN(relax_align,(address, alignment),
register relax_addressT address AND
register long alignment )
@@ -348,8 +348,8 @@ void DEFUN(do_relocs_for,(abfd, file_cursor),
/* Only output some of the relocations */
if (TC_COUNT_RELOC(fix_ptr))
{
-#ifdef TC_RELOC_MANGLE(fix_ptr, &intr)
- TC_RELOC_MANGLE(fix_ptr, &intr);
+#ifdef TC_RELOC_MANGLE
+ TC_RELOC_MANGLE(fix_ptr, &intr, base);
#else
symbolS *dot;
@@ -904,8 +904,7 @@ DEFUN_VOID(obj_coff_endef)
if (SF_GET_FUNCTION(def_symbol_in_progress)) {
know(sizeof(def_symbol_in_progress) <= sizeof(long));
function_lineoff
- = c_line_new((long)
- def_symbol_in_progress,0, 0, &zero_address_frag);
+ = c_line_new(def_symbol_in_progress,0, 0, &zero_address_frag);
@@ -1732,6 +1731,7 @@ DEFUN_VOID(obj_coff_section)
}
change_to_section(section_name, len,exp);
+*section_name_end = c;
}