PR 6848 fix
Alan Modra
amodra@bigpond.net.au
Thu Aug 21 22:24:00 GMT 2008
More information about the Binutils mailing list
Thu Aug 21 22:24:00 GMT 2008
- Previous message (by thread): PR 6848 fix
- Next message (by thread): PR 6848 fix
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Aug 21, 2008 at 08:05:08AM -0700, Steve Ellcey wrote:
> Alan,
>
> This patch broke my HPPA (32 bit) build. Compiling a simple hello
> world program with GCC results in the following error message from
> the GNU assembler:
Sadly, there is no way for me to reproduce this, since the SOM support
only builds natively. (Someone did post patches at one stage to
supply the needed header files, but the patch really needs HP review
and approval.)
At a guess, try the following:
Index: gas/config/tc-hppa.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-hppa.c,v
retrieving revision 1.138
diff -u -p -r1.138 tc-hppa.c
--- gas/config/tc-hppa.c 16 Mar 2008 23:16:03 -0000 1.138
+++ gas/config/tc-hppa.c 21 Aug 2008 22:20:06 -0000
@@ -8246,7 +8246,7 @@ md_begin (void)
dummy_symbol = symbol_find_or_make ("L$dummy");
S_SET_SEGMENT (dummy_symbol, text_section);
/* Force the symbol to be converted to a real symbol. */
- (void) symbol_get_bfdsym (dummy_symbol);
+ (void) symbol_get_bfdsym (dummy_symbol)->flags |= BSF_KEEP;
#endif
}
--
Alan Modra
Australia Development Lab, IBM
- Previous message (by thread): PR 6848 fix
- Next message (by thread): PR 6848 fix
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list