addr.seg != (GET_TLS_SEG_REG)
|| addr.disp == NULL_RTX
|| GET_CODE (addr.disp) != CONST)
Thoughts?
Regards,
Leif Ekblad
I've made a patch along these lines (enclosed).
Change log:
* gcc/config/i386/i386.c: Use DEFAULT_TLS_SEG_REG to access TLS
* gcc/config/i386/i386.h: Define default segment register for TLS
* gcc/config/i386/rdos.h: Added TLS configuration for RDOS
Regards,
Leif Ekblad
- Original Me
, but not with target Linux.
Uros, could you commit the patch if it is acceptable?
Regards,
Leif Ekblad
- Original Message -
From: "Uros Bizjak"
To: "Leif Ekblad"
Cc: "Michael Matz" ;
Sent: Tuesday, May 14, 2013 8:19 PM
Subject: Re: Using GS for TLS
bit addressing when it should be
using 64-bit addressing. I have no patch for this as I don't understand what
is going on here well enough, but __cpuid_count is defined in
gcc/config/i386/cpuid.h.
In order to be able to continue to test the medium memory model I'd need
patches to be applied to fix these issues.
Regards,
Leif Ekblad
RDOS Development
address for both code and
data.
Additionally, when I tried the small memory model with a start address of
text above 4G, the linker complains about 32-bit fixups overflowing.
Leif Ekblad
- Original Message -
From: "H.J. Lu"
To: "Leif Ekblad"
Cc: "GCC Pat
this
problem.
Leif Ekblad
- Original Message -
From: "Andi Kleen"
To: "Uros Bizjak"
Cc: ; "Richard Henderson" ; "Jakub
Jelinek" ; ; "H.J. Lu"
Sent: Monday, December 24, 2012 10:32 PM
Subject: Re: [RFC PATCH, i386]: Use %r15 for REAL_
osgcc.h:236:5: error: PIC register clobbered by
'rbx' in 'asm'
RdosUserGateEdiEcxPar0RetEbx(usergate_open_file, FileName, Access, size,
res);
^
I would prefer to change PIC register to r15 instead, or alternatively make
this an target-option.
Regards,
Leif Ekblad
-
model &
PIC.
* gcc/config/i386/rdos.h: Added new file for rdos target definition.
* gcc/config.gcc: Added rdos target
The change to gthr.m4 requires rebuilding the configure scripts.
Tested with target rdos and rdos32. Is this ok for trunk?
Regards,
Leif Ekblad
gcc.diff
Description: Binary data
em? Might that be because it will
not use rbx, but instead another register? OTOH, the code seems to work and
rbx is not assigned to PIC at the point of the call, but to the defined
parameter.
Regards,
Leif Ekblad
- Original Message -
From: "Jakub Jelinek"
To: "Le
r15 register names.
* gcc/config/i386/i386.opt: Changed initial value for large-data-threshold
to 0 to allow detection of modification.
* gcc/config/i386/rdos.h: Added new file for rdos target definition.
* gcc/config.gcc: Added rdos target
Tested for target rdos and rdos32.
Regards,
Leif Ek
-data-threshold
to 0 to allow detection of modification.
* gcc/config/i386/rdos.h: Added new file for 64-bit rdos target.
* gcc/config/i386/rdos32.h: Added new file for 32-bit rdos target.
* gcc/config.gcc: Added rdos targets
Leif Ekblad
- Original Message -
From: "Uros Bizjak"
onfig/i386/rdos64.h: Specific definitions for 64-bit rdos target.
* gcc/config.gcc: Added rdos targets
Tested on target rdos and rdos32.
Leif Ekblad
- Original Message -
From: "Leif Ekblad"
To: "Uros Bizjak" ;
Cc: "H.J. Lu"
Sent: Monday, January 07, 2013 1
If the patch is ok, could some maintainer add it to trunk?
Regards,
Leif Ekblad
- Original Message -
From: "Richard Biener"
To: "Uros Bizjak"
Cc: "Leif Ekblad" ; ; "H.J. Lu"
; "Jakub Jelinek"
Sent: Wednesday, January 09, 2013
it with libgcc instead.
Regards,
Leif Ekblad
- Original Message -
From: "Uros Bizjak"
To: "Leif Ekblad"
Cc: "Richard Biener" ; ; "H.J.
Lu" ; "Jakub Jelinek"
Sent: Monday, January 28, 2013 8:23 AM
Subject: Re: [PATCH] Adding tar
- Original Message -
From: "Uros Bizjak"
To: "Leif Ekblad"
Cc: "Richard Biener" ; ; "H.J.
Lu" ; "Jakub Jelinek"
Sent: Monday, January 28, 2013 9:03 PM
Subject: Re: [PATCH] Adding target rdos to GCC
On Mon, Jan 28, 2013 at 8:57
That looks good. Thanks, Uros.
Leif
- Original Message -
From: "Uros Bizjak"
To: "Leif Ekblad"
Cc: "Richard Biener" ; ; "H.J.
Lu" ; "Jakub Jelinek"
Sent: Monday, January 28, 2013 9:45 PM
Subject: Re: [PATCH] Adding target rd
16 matches
Mail list logo