alpha tls tests

Alan Modra amodra@bigpond.net.au
Thu Jan 23 23:14:00 GMT 2003


On Fri, Jan 24, 2003 at 09:36:20AM +1030, Alan Modra wrote:
> On Thu, Jan 23, 2003 at 02:50:13PM -0800, H. J. Lu wrote:
> > Error: can't resolve `szicode' {.text section} - `icode' {.text section} 
> > ./build-hppa-linux/gas/testsuite/gas.log:FAIL: Check for sym1-sym2 acceptance
> > /export/linux/src/binutils/binutils/gas/testsuite/gas/hppa/unsorted/labeldiffs.s:38:
> > Error: can't resolve `szicode' {.text section} - `icode' {.text section}
> > ./build-hppa-linux/gas/testsuite/gas.log:FAIL: Difference of labels
> 
> Fallout from last night's gas change, I guess.  I ran an hppa-linux
> build and test run, so I wonder why I didn't see the regression?

Duh.  Didn't commit this one.

	* config/tc-hppa.h (DIFF_EXPR_OK): Define.
	(MD_APPLY_SYM_VALUE): Move.

We may need this defined for SOM too.  Can someone check please?

Index: gas/config/tc-hppa.h
===================================================================
RCS file: /cvs/src/src/gas/config/tc-hppa.h,v
retrieving revision 1.22
diff -u -p -r1.22 tc-hppa.h
--- gas/config/tc-hppa.h	21 Nov 2002 19:06:28 -0000	1.22
+++ gas/config/tc-hppa.h	23 Jan 2003 12:53:41 -0000
@@ -140,6 +140,9 @@ int hppa_fix_adjustable PARAMS((struct f
    normally appear safe to handle it completely within GAS.  */
 #define TC_FORCE_RELOCATION(FIX) hppa_force_relocation (FIX)
 
+/* Values passed to md_apply_fix3 don't include the symbol value.  */
+#define MD_APPLY_SYM_VALUE(FIX) 0
+
 #ifdef OBJ_SOM
 /* If a symbol is imported, but never used, then the symbol should
    *not* end up in the symbol table.  Likewise for absolute symbols
@@ -161,10 +164,9 @@ int hppa_fix_adjustable PARAMS((struct f
 #define UNDEFINED_DIFFERENCE_OK
 #endif
 
-/* Values passed to md_apply_fix3 don't include the symbol value.  */
-#define MD_APPLY_SYM_VALUE(FIX) 0
-
 #ifdef OBJ_ELF
+#define DIFF_EXPR_OK 1
+
 /* Handle .type psuedo.  Given a type string of `millicode', set the
    internal elf symbol type to STT_PARISC_MILLI, and return
    BSF_FUNCTION for the BFD symbol type.  */


-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list